Francis Tsui
8d41593056
Internal changes.
...
PiperOrigin-RevId: 623002360
2024-04-08 17:56:34 -07:00
hai007
2a56254756
Automated Code Change
...
PiperOrigin-RevId: 621908243
2024-04-04 10:52:30 -07:00
Francis Tsui
d33c8c6aef
Fix preference file loading bug.
...
PiperOrigin-RevId: 621604205
2024-04-03 12:27:51 -07:00
hai007
80570e55b0
Automated Code Change
...
PiperOrigin-RevId: 620702020
2024-03-31 16:16:32 -07:00
Francis Tsui
1e08b2d886
Fixed remaining filesystem calls that throws exceptions.
...
PiperOrigin-RevId: 620379472
2024-03-29 17:33:25 -07:00
Guogang Li
387a51b260
internal update
...
PiperOrigin-RevId: 619595164
2024-03-27 11:25:55 -07:00
Francis Tsui
0c086a3c93
Minor fixes to reduce copying.
...
PiperOrigin-RevId: 616927443
2024-03-18 13:22:56 -07:00
Hai Shang
30c9c55d3b
Initial Async version of StartAdvertising for windows.
...
PiperOrigin-RevId: 616915567
2024-03-18 12:43:12 -07:00
Francis Tsui
a082f36021
Switch glog to absl::log.
...
PiperOrigin-RevId: 615535748
2024-03-13 14:03:23 -07:00
hai007
cf2a1eb0b1
Internal change
...
PiperOrigin-RevId: 613133183
2024-03-06 10:21:45 -08:00
Copybara-Service
ee404cb766
Merge pull request #2307 from ChenWangG:patch-1
...
PiperOrigin-RevId: 612604370
2024-03-04 15:42:43 -08:00
Daniel Classon
f09368247b
[Nearby Connections] Use async StartScanning when flag enabled
...
Creates the feature flag `enable_ble_v2_async_scanning_advertising` which
enables/disables the use of the async StartScanning, StopScanning,
StartAdvertising, StopAdvertising, etc methods over the soon-to-be deprecated
synchronous versions of those methods. Opted for feature flag over NearbyFlag,
as ChromeOS is the only current consumer and doesn't use Mendel.
Also sets the feature flag to enabled in the ServiceControllerRouter, which
is where ChromeOS sets NC feature flags at startup.
This CL also fully links up the asynchronous Scanning methods. Advertising
will be addressed in a follow up CL.
PiperOrigin-RevId: 608158273
2024-02-18 12:59:02 -08:00
Juliet Levesque
6b2f7fa94e
[Nearby Presence] Fetch and select correct local credentials
...
Fetch the local credentials and select the correct local credential by verifying the validity of the time. This CL will be followed by
using the selected local credential for authentication. See go/cros-nearby-presence-np-nc-authentication for details.
PiperOrigin-RevId: 603772266
2024-02-02 17:23:41 -08:00
Guogang Li
caa82a41d8
Added flag control to Bluetooth update
...
PiperOrigin-RevId: 599538193
2024-01-18 09:54:54 -08:00
hai007
744219b1e6
Fix Intel PIE bugs and update test code
...
PiperOrigin-RevId: 598965857
2024-01-16 14:54:48 -08:00
Guogang Li
e1f7044f28
Fixed the bug to get file size
...
PiperOrigin-RevId: 597266370
2024-01-10 09:05:15 -08:00
Guogang Li
cd4963b0f9
Added write timeout for Wi-Fi LAN socket
...
PiperOrigin-RevId: 596987503
2024-01-09 11:06:28 -08:00
Francis Tsui
1072030be8
Copy sharing/internal, sharing/common and sharing/scheduling to github.
...
- Move Abseil pin to same as that used in Chromium.
- Disabled layering_check due to build failure in absl.
PiperOrigin-RevId: 596631921
2024-01-08 10:20:37 -08:00
hai007
6ae46a9496
Add visibilities
...
PiperOrigin-RevId: 596118852
2024-01-05 17:26:39 -08:00
Francis Tsui
aea7a09a24
Switch DeviceInfo to use UTF-8 strings.
...
- Move conversion from native to UTF-8 into platform impl.
PiperOrigin-RevId: 592912664
2023-12-21 11:35:20 -08:00
hai007
16cb7f70b3
Implement Auto-reconnect after disconnection [1]
...
PiperOrigin-RevId: 592344338
2023-12-19 14:27:40 -08:00
Francis Tsui
63e744e133
Finish migrating account_manager.h to new location.
...
PiperOrigin-RevId: 592074168
2023-12-18 19:11:52 -08:00
Francis Tsui
85091845a8
Turn AccountManager into pure abstract interface.
...
PiperOrigin-RevId: 591143389
2023-12-14 21:55:29 -08:00
Hai Shang
0ff449d9fc
internal fix
...
PiperOrigin-RevId: 590025851
2023-12-11 19:05:52 -08:00
hai007
6ebe52a418
Add Intel PIE based API to set Hotspot client scan channel
...
PiperOrigin-RevId: 586019580
2023-11-28 10:09:16 -08:00
Dmitri Gribenko
7103acb274
Use standard integer types
...
PiperOrigin-RevId: 585669976
2023-11-27 09:07:02 -08:00
hai007
7484132a95
Fix the following potential warnings:
...
* `-Wdeprecated-declarations`
* `-Wfinal-dtor-non-final-class`
* `-Werror=inconsistent-missing-override`
* `-Wignored-pragmas`
* `-Wint-to-void-pointer-cast`
* `-Winvalid-offsetof`
* `-Wmacro-redefined`
* `-Wmicrosoft-template`
* `-Wmicrosoft-cast`
* `-Wmicrosoft-exception-spec`
* `-Wmicrosoft-template-shadow`
* `-Wmicrosoft-unqualified-friend`
* `-Wmisleading-indentation`
* `-Werror=string-conversion`
* `-Wunused-result`
* `-Wunused-value`
* `-Wunused-variable`
* `-Wvla-extension`
* `-Wnon-virtual-dtor`
* `-Wimplicit-fallthrough`
PiperOrigin-RevId: 585621864
2023-11-27 05:24:59 -08:00
hai007
42043ee856
Add more log for Intel PIE API calling
...
PiperOrigin-RevId: 578409693
2023-10-31 23:20:48 -07:00
hai007
629e7ba7c9
Disable Intel PIE for github Opensource repo
...
PiperOrigin-RevId: 576593321
2023-10-25 11:34:34 -07:00
Guogang Li
7dea977b74
Try to fix Bluetooth issue to get service
...
PiperOrigin-RevId: 570475245
2023-10-03 13:12:31 -07:00
Guogang Li
3fdcbe4ddc
Added write timeout for Wi-Fi LAN socket
...
PiperOrigin-RevId: 570122181
2023-10-02 11:21:14 -07:00
hai007
d477a2d174
Apply GO frequency to NC that queries from Intel PIE SDK
...
PiperOrigin-RevId: 569558266
2023-09-29 12:25:01 -07:00
Aaron Yu
eba928e784
Fix bluetooth adapter null pointer exception
...
PiperOrigin-RevId: 568994552
2023-09-27 16:34:43 -07:00
Guogang Li
d095f505d3
Send payloads one by one
...
PiperOrigin-RevId: 568988147
2023-09-27 16:08:37 -07:00
Guogang Li
a1a442c8eb
Try to fix a crash when checking Bluetooth state
...
PiperOrigin-RevId: 568982667
2023-09-27 15:47:17 -07:00
hai007
77bc7311c6
Fix bug to work with PIE SDK version PHWFW07641_22.230.0.8PDK-20230707T202651Z-001
...
PiperOrigin-RevId: 567438343
2023-09-21 15:36:19 -07:00
Aaron Yu
7bde3abf8b
Harden ble v2 gatt server
...
PiperOrigin-RevId: 567069079
2023-09-20 13:48:56 -07:00
Guogang Li
1e5587e2db
Log the failure to get RF service
...
PiperOrigin-RevId: 567017321
2023-09-20 10:58:17 -07:00
Guogang Li
9774b5f53c
Fixed crash in Bluetooth Adapter
...
PiperOrigin-RevId: 566452194
2023-09-18 16:57:16 -07:00
hai007
091b4ebfa5
Hotspot Test Code
...
PiperOrigin-RevId: 565393814
2023-09-14 09:38:08 -07:00
Guogang Li
fe9c9f90b6
Refactored Bluetooth classic medium
...
PiperOrigin-RevId: 564813626
2023-09-12 13:21:47 -07:00
Guogang Li
533e145097
Added more logs for Wi-Fi socket
...
PiperOrigin-RevId: 564514790
2023-09-11 15:14:20 -07:00
hai007
c51830a97f
Port Intel PIE DLL, so we can query and control Intel WIFI directly
...
PiperOrigin-RevId: 563303511
2023-09-08 18:41:47 -07:00
Nick Bourdakos
197d3f8476
Fix weave bug for payloads that exceed the maximum write length
...
PiperOrigin-RevId: 563185164
2023-09-06 12:39:47 -07:00
Nick Bourdakos
aa0c06257f
Add macOS as an OS type
...
PiperOrigin-RevId: 561959449
2023-09-01 08:19:11 -07:00
Nick Bourdakos
16c6ef924b
Fix iOS BLE bugs and crashes
...
PiperOrigin-RevId: 561695661
2023-08-31 10:37:46 -07:00
Nick Bourdakos
965cc0ecbc
Add implementation for async BLE start scan/advertise
...
PiperOrigin-RevId: 559863656
2023-08-24 14:07:46 -07:00
Nick Bourdakos
91fb4a9a3e
Add stop advertising and stop scanning BLE implementation for Apple platforms
...
PiperOrigin-RevId: 559838443
2023-08-24 12:45:23 -07:00
Nick Bourdakos
387393f1d6
Delete old BLE code for Apple platforms
...
PiperOrigin-RevId: 559515626
2023-08-23 12:54:15 -07:00
Nick Bourdakos
034865481a
Sanitize incoming file names
...
PiperOrigin-RevId: 559175545
2023-08-22 11:37:02 -07:00