Commit Graph
2765 Commits
Author SHA1 Message Date
Nick Bourdakos 1a87241ffd Implement GattClient#Disconnect for Apple implementation of BLEv2
PiperOrigin-RevId: 679218551
2024-09-26 11:09:30 -07:00
Guogang Li dc35037fee Log API calls to Nearby Connections
PiperOrigin-RevId: 678791269
2024-09-25 11:56:27 -07:00
hai007 2455d0cc66 Capture java.lang.RuntimeException: Bad file descriptor
Tested: https://paste.googleplex.com/6476512456081408

PiperOrigin-RevId: 678531933
2024-09-24 22:19:19 -07:00
Francis Tsui 3cd3614a4a Deprecate flags that have been fully rolled out.
PiperOrigin-RevId: 678305598
2024-09-24 10:30:50 -07:00
Anay Wadhera d9b38e2efd Don't attach vendor ID to advertisements that aren't in everyone mode.
PiperOrigin-RevId: 678117611
2024-09-24 00:47:32 -07:00
Anay Wadhera 6d2a38b6c8 Send wifi credentials payload in OutgoingShareSession.
PiperOrigin-RevId: 678115944
2024-09-24 00:41:02 -07:00
Suet-Fei Li bdca4aa707 Add de-duplicate in NearbySharing based on device_id matching.
PiperOrigin-RevId: 677910987
2024-09-23 13:10:56 -07:00
Anay Wadhera 42c1ad3173 Log vendor ID when registering a receive surface.
PiperOrigin-RevId: 677850820
2024-09-23 10:34:19 -07:00
Francis Tsui 75b972a2b7 Internal
PiperOrigin-RevId: 677537999
2024-09-22 14:35:34 -07:00
hai007 65195aad2c Refine more result codes on both side to trace timeout symptom
Tested: https://paste.googleplex.com/4890424402771968 (test 3 scenario, log correctly)

PiperOrigin-RevId: 677097795
2024-09-20 22:43:02 -07:00
hai007 9b4a4da7d2 [Nearby Windows][Hotspot] Store the Hotspot SSID to a file in case the APP get close unexpected.
PiperOrigin-RevId: 676945569
2024-09-20 13:10:21 -07:00
hai007 7717a721e3 Add NcSetCustomSavePath to NC C API so that the default file saving path can be configured.
PiperOrigin-RevId: 676880838
2024-09-20 10:01:29 -07:00
hai007 4472521793 1. Fixing module food devices naming and add nearby teamfood, dogfood group
2. Aline NS and NC grpups

PiperOrigin-RevId: 676646473
2024-09-19 18:51:31 -07:00
Guogang Li 6707efeed8 internal refactor
PiperOrigin-RevId: 676552917
2024-09-19 13:58:21 -07:00
hai007 a9adb87b53 Update filename in IfThisThenThat Lint
PiperOrigin-RevId: 676501755
2024-09-19 11:46:27 -07:00
Guogang Li 47f2dfec28 Removed platform types dependency from windows platform codes
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
hai007 a9e753e1e1 Add LINT.IfChange for kNearbyShareDeviceNameMaxLength
PiperOrigin-RevId: 676109286
2024-09-18 13:33:13 -07:00
hai007 c66d1820a1 Add module food devices into the logsource
PiperOrigin-RevId: 675829649
2024-09-17 21:42:39 -07:00
hai007 c001e31efe Add module food devices into the logsource
PiperOrigin-RevId: 675786084
2024-09-17 18:38:36 -07:00
hai007 601ca32370 [Nearby Windows][Hotspot] Fix the issue that the Hotspot profile is not deleted correctly in client side after the Hotspot connection.
PiperOrigin-RevId: 675771020
2024-09-17 17:38:03 -07:00
Francis Tsui 161676afc5 Cancel disconnection timer on disconnect.
PiperOrigin-RevId: 675593917
2024-09-17 09:19:08 -07:00
hai007 1d2e43e931 Automated Code Change
PiperOrigin-RevId: 675305801
2024-09-16 15:10:32 -07:00
Guogang Li f7e54916c0 Fixed a bug in file reading
PiperOrigin-RevId: 674498290
2024-09-13 18:15:35 -07:00
Francis Tsui 2f4eb8649a Improve frame validation logging.
PiperOrigin-RevId: 674365762
2024-09-13 11:15:58 -07:00
Anay Wadhera 153ea88c7a Don't add addresses to the list of available addresses if we're not connected to a network.
PiperOrigin-RevId: 674029079
2024-09-12 15:16:33 -07:00
Nick Bourdakos 149366bd12 Fix a bug that prevented switching from everyone mode to temporary everyone mode
PiperOrigin-RevId: 673949109
2024-09-12 12:11:18 -07:00
Anay Wadhera c9702906ba Remove unused OnAllowedContactsChanged method from NearbySharingServiceImpl
PiperOrigin-RevId: 673123330
2024-09-10 15:12:31 -07:00
Anay Wadhera e0484fc373 Remove unnecessary OnOutgoingAdvertisementDecoded() method
PiperOrigin-RevId: 673108179
2024-09-10 14:33:26 -07:00
Francis Tsui 4babeeaed8 Fix flaky test.
PiperOrigin-RevId: 673077504
2024-09-10 13:12:48 -07:00
hai007 f139ee4469 Add more reconnect result code, NS test result works as expected. (https://paste.googleplex.com/6745784126275584)
PiperOrigin-RevId: 672760888
2024-09-09 19:35:50 -07:00
Francis Tsui 30c8e0e722 Simplify winrt build target.
PiperOrigin-RevId: 672754586
2024-09-09 19:13:58 -07:00
Francis Tsui c358dedd91 internal
PiperOrigin-RevId: 672682541
2024-09-09 14:52:01 -07:00
Anay Wadhera 5a1bfcb904 Add a new constructor for FileAttachment to support precomputation of mime type and attachment type.
PiperOrigin-RevId: 672643121
2024-09-09 12:59:12 -07:00
Francis Tsui 48001e65cd Really remove recursive locks in IncomingFramesReader.
PiperOrigin-RevId: 672616279
2024-09-09 11:39:15 -07:00
Dmitri Gribenko 686abb539f Automated Code Change
PiperOrigin-RevId: 672586811
2024-09-09 10:19:22 -07:00
Martin Brænne 013213b4bd Automated Code Change
PiperOrigin-RevId: 672557543
2024-09-09 08:43:56 -07:00
Guogang Li 3c8737f92d internal dependency updates
PiperOrigin-RevId: 672555643
2024-09-09 08:36:04 -07:00
Anay Wadhera b15cbddb8b Use absl::NoDestructor for static flat_hash_map
PiperOrigin-RevId: 671853605
2024-09-06 12:22:30 -07:00
Anay Wadhera e36398b124 Remove open()-related and unused code.
PiperOrigin-RevId: 671851469
2024-09-06 12:15:46 -07:00
Anay Wadhera a8cd7d0b3d Lowercase the file extension when looking it up against our well known extensions database.
PiperOrigin-RevId: 671835506
2024-09-06 11:28:19 -07:00
Anay Wadhera e8e2218632 Set up lints.
PiperOrigin-RevId: 671526248
2024-09-05 15:11:40 -07:00
Anthony Rueda 6dd3fbcd3d [Presence] Deprecate signature_version field in protos.
PiperOrigin-RevId: 671511383
2024-09-05 14:30:15 -07:00
Francis Tsui d89e1f6832 Use client_secret and client_id from prefs in grpc client.
PiperOrigin-RevId: 671450009
2024-09-05 11:39:47 -07:00
Francis Tsui b531fd255a Add IWYU pragma to logs header.
PiperOrigin-RevId: 671441592
2024-09-05 11:19:08 -07:00
Anay Wadhera 2610b7c564 remove unused dependency
PiperOrigin-RevId: 671398677
2024-09-05 09:23:51 -07:00
Francis Tsui 83c6a8bbbe Add missing header file.
PiperOrigin-RevId: 671090966
2024-09-04 14:01:55 -07:00
Guogang Li a08e89f0f1 Decrease BLE header logging level
PiperOrigin-RevId: 670758902
2024-09-03 17:18:52 -07:00
Francis Tsui 05685dda5b Update copybara rule to ban direct use of absl/log in entire repo.
PiperOrigin-RevId: 670757551
2024-09-03 17:13:40 -07:00
Crisrael Lucero 3917415c7a Remove the logging.h include replacement
PiperOrigin-RevId: 670721120
2024-09-03 15:09:45 -07:00
Guogang Li f8669cf16d Clean up logging implementations
PiperOrigin-RevId: 670714192
2024-09-03 14:48:52 -07:00