Commit Graph
316 Commits
Author SHA1 Message Date
Guogang Li 52c80303e3 Enhance on advertising
PiperOrigin-RevId: 655044204
2024-07-22 23:57:16 -07:00
Guogang Li d576caa4f3 Internal API fix
PiperOrigin-RevId: 653475092
2024-07-17 22:02:13 -07:00
Guogang Li 304a0e2851 Add more logs for GATT advertising
PiperOrigin-RevId: 653282565
2024-07-17 10:35:57 -07:00
Guogang Li f2724e85f2 Apply task scheduler
PiperOrigin-RevId: 653046912
2024-07-16 18:17:56 -07:00
Guogang Li d30f53f92b Added a class to schedule multiple tasks
PiperOrigin-RevId: 652871095
2024-07-16 09:20:24 -07:00
Guogang Li 0f4f02c7f0 Internal crash fix
PiperOrigin-RevId: 651635619
2024-07-11 21:25:06 -07:00
Eiden Kim dca2997f5d Added more checks to file path validation.
PiperOrigin-RevId: 635580793
2024-05-20 15:03:50 -07:00
Eiden Kim b224f8660c Check illegal characters from the file and parent folder name
PiperOrigin-RevId: 634941778
2024-05-17 18:46:26 -07:00
Eiden Kim 33d66fd169 Check illegal characters from the file and parent folder name
PiperOrigin-RevId: 634598623
2024-05-16 18:54:45 -07:00
hai007 19adc300a0 Automated Code Change
PiperOrigin-RevId: 627267684
2024-04-22 22:39:50 -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
Francis Tsui 1e08b2d886 Fixed remaining filesystem calls that throws exceptions.
PiperOrigin-RevId: 620379472
2024-03-29 17:33:25 -07:00
Hai Shang 30c9c55d3b Initial Async version of StartAdvertising for windows.
PiperOrigin-RevId: 616915567
2024-03-18 12:43:12 -07:00
hai007 cf2a1eb0b1 Internal change
PiperOrigin-RevId: 613133183
2024-03-06 10:21:45 -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
Francis Tsui 63e744e133 Finish migrating account_manager.h to new location.
PiperOrigin-RevId: 592074168
2023-12-18 19:11: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
Guogang Li 71b5c1d591 Put some logs in session manager
PiperOrigin-RevId: 558896551
2023-08-21 14:12:01 -07:00
Guogang Li fabeff0d57 Added APIs to control device sleep
These APIs can be used to prevent device into sleep when sending supper big files.

PiperOrigin-RevId: 556809236
2023-08-14 09:05:11 -07:00
Janusz Sobczak 5393daf9f1 Merge logging and types build targets
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.

PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
Guogang Li 5b155f9a4a Added data section filter in BLE scanning
PiperOrigin-RevId: 553660098
2023-08-09 19:11:48 -07:00
Guogang Li 20f2291476 Added APIs to allow/prevent sleep in session manager
PiperOrigin-RevId: 552958620
2023-08-01 16:26:47 -07:00
Guogang Li 868d3ce046 Resolved the issue to monitor lock/unlock in platform SDK
PiperOrigin-RevId: 552655345
2023-07-31 19:13:27 -07:00
Guogang Li eb5f8aed10 Fixed WI-FI hotspot stuck issue during close
PiperOrigin-RevId: 551703821
2023-07-27 18:57:27 -07:00
Janusz Sobczak 974d4b357c Skip SDP check for FP rfcomm connection on Windows
The SDP checks fails but rfcomm connection works.
Skipping the SDP check does not seem to have any ill side effects.

PiperOrigin-RevId: 551370531
2023-07-26 18:15:44 -07:00