Commit Graph
23 Commits
Author SHA1 Message Date
Francis Tsui 5911d53352 Reset endpointUD after login and logout.
PiperOrigin-RevId: 810648551
2025-09-23 18:00:51 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
Edwin Wu 77a75f4389 Add WEB_RTC_NON_CELLULAR enum, III
PiperOrigin-RevId: 686391802
2024-10-16 00:07:37 -07:00
Francis Tsui b03a383f7a Trivial replacement of NEARBY_LOG with NEARBY_LOGS.
PiperOrigin-RevId: 667740113
2024-08-26 15:34:21 -07:00
Guogang Li 9b8d708a7f Add use_stable_endpoint_id to AdvertisingOptions
PiperOrigin-RevId: 638501216
2024-05-29 20:25:48 -07:00
Anay Wadhera bf23ee5851 Remove endpoint ID CHECKs from Core
PiperOrigin-RevId: 631535509
2024-05-07 13:47:36 -07:00
Janusz Sobczak 56acecdffa Migrate to AnyInvocable in DiscoveryListener
PiperOrigin-RevId: 571077933
2023-10-05 11:20:17 -07:00
Anay Wadhera 2c4bf0471f change connections v3 API surface to use the new advertising/discovery options
PiperOrigin-RevId: 559300673
2023-08-22 20:38:28 -07:00
Anay Wadhera 4958a32c35 make ResultCallback a bare function type and convert to AnyInvocable
PiperOrigin-RevId: 551081080
2023-07-25 21:07:48 -07:00
Anay Wadhera 4ecbd3bca1 Filter devices based on type when listening for incoming connections.
PiperOrigin-RevId: 546124493
2023-07-06 16:40:00 -07:00
Anay Wadhera 5da4b33824 Revert "Revert incoming connections listener changes for internal breakages."
PiperOrigin-RevId: 542381558
2023-06-21 15:36:44 -07:00
Anay Wadhera 1973b09849 Revert incoming connections listener changes for internal breakages.
PiperOrigin-RevId: 542010849
2023-06-20 12:16:10 -07:00
Anay Wadhera 5737b867ed implement startlisteningforincomingconnections
PiperOrigin-RevId: 540707703
2023-06-15 15:31:08 -07:00
Crisrael Lucero a821e0378c Replace dynamic_cast with reinterpret_cast
PiperOrigin-RevId: 538330024
2023-06-06 17:03:12 -07:00
Anay Wadhera 20622608b3 Plumb core into servicecontroller
PiperOrigin-RevId: 537480170
2023-06-02 21:21:57 -07:00
Anay Wadhera f2cadc2815 move payload listeners to absl::AnyInvocable
PiperOrigin-RevId: 533365325
2023-05-18 23:30:01 -07:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Aaron Yu 49af1a96b6 Add SetCustomSavePath API to Nearby Connections
PiperOrigin-RevId: 492563503
2022-12-02 14:38:55 -08:00
Pu Shi ab80dbc2a3 [Nearby Connections] Extend timeout waiting for StopAllEndpoints to finish.
PiperOrigin-RevId: 479608809
2022-10-07 10:04:54 -07:00
hai007 7e081c663a Add dump function to nearby connections.
Sample output:
```
Time: 2022-06-23T17:24:14.3815934+00:00
Windows version: 10.0 build 19042
NearbyShare version: 1.2.3.4
Nearby Share Settings
  Device name: Deling's PC
  Visibility: 1
  Enabled: 1
  ShowNotification: 0
  DataUsage: 0
  Allowed contacts:
Nearby Sharing Service state
  IsScanning: 0
  IsConnecting: 0
  IsTransferring: 0
  IsSendingFile: 0
  IsReceivingFile: 0
Nearby Connections State
  Client ID: -5841239073452700193
  Local Endpoint ID: IWV0
  High Vis Mode: 0
  Is Advertising: 0
  Advertising Service ID:
  Is Discovering: 0
  Discovery Service ID:
  Connections:
  Discovered endpoint IDs:
```
PiperOrigin-RevId: 458066027
2022-06-29 14:33:41 -07:00
nohle 463d391fcd [Nearby Connections][C++] Track bandwidth upgrade mediums for each endpoint (1/4)
This CL should be a no-op.

Provide better access to the service ID during bandwidth upgrade handling. Notably, 1) have the endpoint channel store its associated service ID, and 2) send the service ID on a connect/disconnect.

The service ID identifies the application, for example, "NearbySharing". In future CLs, we will use the service IDs to better handle bandwidth-upgrade bookkeeping when multiple services are running simultaneously. Specifically, we will better handle reverting a bandwidth-upgrade medium without interfering with other services.

PiperOrigin-RevId: 442019209
2022-04-15 08:15:53 -07:00
jfcarroll f4b80ccb59 These are the changes for Payload::Type => PayloadType for the flattening CL
PiperOrigin-RevId: 436767666
2022-03-23 10:11:15 -07:00
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00