suetfei
1b0efd13ef
Internal change.
...
PiperOrigin-RevId: 423369197
2022-02-02 11:37:42 -08:00
suetfei
9d4ad8a1d7
Internal refactor.
...
PiperOrigin-RevId: 423349737
2022-01-21 10:10:52 -08:00
hai007
e429d2d373
[nearby] Migrate to new rtc::Thread::PostTask() API.
...
In WebRTC, rtc::Thread contains multiple PostTask signatures.
The one that takes "RTC_FROM_HERE" is being deprecated. This CL
upgrades to the newer version to unblock the old signature's
removal. See https://crbug.com/webrtc/13582 .
PiperOrigin-RevId: 423317626
2022-01-21 07:26:06 -08:00
jfcarroll
56eb46db06
Separate ConnectionOptions into AdvertisingOptions, ConnectionOptions and DiscoveryOptions everywhere in the core.
...
PiperOrigin-RevId: 422626306
2022-01-18 12:56:04 -08:00
edwinwu
cf937ed90f
[BLE Refactor] BleAdvertisementHeader by adding psm value and extended advertisement flag to align with Android's counterpart.
...
PiperOrigin-RevId: 421797950
2022-01-14 05:08:02 -08:00
suetfei
5e845655bb
[Nearby Directory Refactoring] Move nearby/proto codes into the appropriate directories.
...
PiperOrigin-RevId: 421636973
2022-01-13 12:48:51 -08:00
suetfei
24784b5ebb
Internal flow refactor
...
PiperOrigin-RevId: 420779427
2022-01-10 09:27:28 -08:00
edwinwu
fa2b583245
Clean up test for apis added by Analytics.
...
PiperOrigin-RevId: 420187861
2022-01-06 18:41:07 -08:00
suetfei
acc6f2de9a
Move third_party/nearby/cpp/analytics to third_party/nearby/internal/analytics.
...
PiperOrigin-RevId: 420135432
2022-01-06 13:47:33 -08:00
hais
cdcd37c616
update date in readme.md
...
PiperOrigin-RevId: 420118461
2022-01-06 12:24:04 -08:00
jfcarroll
9ce7be9812
Refactor Input/Output file to use const char* instead of standard string, and to use parent_folder and file_name for input and output files. This also incorporates the move from nearby_connections to nearby.
...
PiperOrigin-RevId: 418002199
2021-12-23 07:04:38 -08:00
jfcarroll
fa352aa5a9
Update iOS InputFile.
...
PiperOrigin-RevId: 416864503
2021-12-21 14:47:59 -08:00
edwinwu
2fc61869f9
Add GetDynamicPortRange api for Wifilan medium
...
PiperOrigin-RevId: 416669312
2021-12-21 14:47:49 -08:00
edwinwu
2e316588f7
Update iOS InputFile.
...
PiperOrigin-RevId: 416188311
2021-12-21 14:47:20 -08:00
jfcarroll
52358d7992
This adds ".nearby/" to payloads that don't have a filename (they are using payloadid instead)
...
PiperOrigin-RevId: 416135626
2021-12-13 14:31:41 -08:00
jfcarroll
c77356eb92
Missed tagging a commented out test for edwinwu, and cleaned up some minor problems with the filename/path validator.
...
PiperOrigin-RevId: 416134225
2021-12-13 14:24:45 -08:00
cvandermerwe
5107a030fd
Replace #include "*.proto.h" with #include "*.pb.h"
...
PiperOrigin-RevId: 415594549
2021-12-10 13:16:09 -08:00
jfcarroll
f12bb6c405
Refactor Input/Output file to use const char* instead of standard string, and to use parent_folder and file_name for input and output files. This also incorporates the move from nearby_connections to nearby.
...
PiperOrigin-RevId: 415587802
2021-12-10 12:49:50 -08:00
edwinwu
5ba6623eac
Remove #include "third_party/nearby/proto/connections_enums.proto.h"
...
PiperOrigin-RevId: 414865191
2021-12-07 17:14:24 -08:00
jfcarroll
31465e1ce3
Quick fix for missing methods in EndpointChannel class
...
All changes tagged with TODO(jfcarroll) should be reviewed, these are likely not correct changes.
PiperOrigin-RevId: 413948514
2021-12-03 09:06:25 -08:00
edwinwu
e1cf7a9e9f
Add AdvertisingMetadata and DiscoveryMetadata in AnalyticsRecorder.
...
PiperOrigin-RevId: 413683376
2021-12-02 08:21:30 -08:00
edwinwu
b48610144b
Add ConnectionAttemptMetadata for ConnectionAttempt in AnalyticsRecorder.
...
PiperOrigin-RevId: 413682624
2021-12-02 08:17:33 -08:00
hais
a192cd3e32
Patch recent cls from nearby_connections;
...
Sync github to replace nearby_connections with nearby.
PiperOrigin-RevId: 411609608
2021-11-22 11:38:39 -08:00
nohle
12dccd6841
Allow WifiLan upgrades in config
...
PiperOrigin-RevId: 408753729
2021-11-09 18:20:47 -08:00
nohle
dd237591f9
Request IP and port only after creating WifiLan server socket
...
PiperOrigin-RevId: 408657640
2021-11-09 11:16:15 -08:00
suetfei
1b4ae4b28a
[Nearby Connection] Add webrtc_stub.*, BUILD.bazel and rename webrtc_socket_wrapper.* => webrtc_socket.* & webrtc_socket.* => webrtc_socket_impl.*.
...
PiperOrigin-RevId: 408278672
2021-11-08 01:43:53 -08:00
edwinwu
29ab3ac8ac
Remove unnecessary param in mediums/WifiLan
...
PiperOrigin-RevId: 407484635
2021-11-03 19:44:16 -07:00
edwinwu
acf516189b
nearbyconnections : Replace WifiLanV2 to WifiLan.
...
PiperOrigin-RevId: 406033177
2021-10-27 18:59:43 -07:00
suetfei
94ef1b532b
[Nearby Connection] Move peer_id.* & webrtc_socket_wrapper.* up one directory.
...
PiperOrigin-RevId: 406011497
2021-10-27 16:47:51 -07:00
edwinwu
57ee5f10a4
nearbyconnections : Implement WifiLanV2 BandwidthUpgrade functions.
...
PiperOrigin-RevId: 405821802
2021-10-26 23:52:23 -07:00
edwinwu
7197b84e4d
nearbyconnections : Implement WifiLanV2 Connection functions for /medium, /public(wrapper), /g3.
...
PiperOrigin-RevId: 405820452
2021-10-26 23:39:26 -07:00
edwinwu
83480d6473
nearbyconnections : Implement WifiLanV2 Discovery functions for /medium, /public(wrapper), /g3.
...
PiperOrigin-RevId: 405782006
2021-10-26 18:27:36 -07:00
edwinwu
32836a8357
nearbyconnections : Implement WifiLanV2 Advertising functions for /medium, /public(wrapper), /g3.
...
PiperOrigin-RevId: 405547661
2021-10-25 19:45:53 -07:00
edwinwu
d0da545834
nearbyconnections : Define interfaces of /medium, /public(wrapper), /g3 WifiLanV2.
...
PiperOrigin-RevId: 405537829
2021-10-25 18:35:42 -07:00
jfcarroll
b733dde4e7
'Flattening' of payload.h
...
PiperOrigin-RevId: 404800166
2021-10-21 08:28:01 -07:00
edwinwu
296274bc48
nearbyconnections : Adds accessor of ServiceType for NsdServiceInfo.
...
PiperOrigin-RevId: 404003948
2021-10-18 10:55:45 -07:00
suetfei
f20e7de4e7
[Nearby Cleanup] Remove dead code and unused includes.
...
PiperOrigin-RevId: 402933192
2021-10-13 15:13:11 -07:00
nohle
51a19d24c1
Fix dereferencing of null channel
...
PiperOrigin-RevId: 401814449
2021-10-08 11:19:12 -07:00
suetfei
686351c4c3
Replace some C like syntax and add missing include files.
...
PiperOrigin-RevId: 401541156
2021-10-07 10:07:35 -07:00
hai007
beff51e626
Internal Change
...
PiperOrigin-RevId: 401312277
2021-10-06 12:35:01 -07:00
jfcarroll
679838223c
Added defs in build files for building windows dll
...
PiperOrigin-RevId: 401062093
2021-10-05 13:23:17 -07:00
edwinwu
38f89e4e05
analytics: 3p NC: Update Connections_log.proto
...
PiperOrigin-RevId: 400862464
2021-10-04 18:21:32 -07:00
guogang
4c72e4667e
Fixed the issue to initialize an EndpointInfo instance in payload manager.
...
PiperOrigin-RevId: 400624671
2021-10-03 20:59:29 -07:00
nohle
0d803da06e
Replace proto.h includes with pb.h
...
PiperOrigin-RevId: 399801411
2021-09-29 16:20:05 -07:00
nohle
bc8769c64e
[Nearby Connections][C++] Wake up keep-alive thread to unblock destruction
...
PiperOrigin-RevId: 399693890
2021-09-29 08:39:37 -07:00
hais
e52b7e1edd
Add more time buffer so that the alarm will be executed as expected in tests. It will fix the flaky EndpointIdRotateWhenHighVizAdvertisementAgainForAWhile test.
...
PiperOrigin-RevId: 399248463
2021-09-27 12:08:47 -07:00
edwinwu
e4a3da97d1
analytics: 3p NC: Implement AnalyticsRecorder::OnErrorCode
...
PiperOrigin-RevId: 396041619
2021-09-10 17:42:34 -07:00
edwinwu
1eda3dfc9a
analytics: 3p NC: Implement BandwidthUpgradeAttempt.
...
PiperOrigin-RevId: 394802558
2021-09-03 20:20:28 -07:00
edwinwu
24539d170f
analytics: 3p NC: Implement Payload.
...
PiperOrigin-RevId: 394695112
2021-09-03 09:07:14 -07:00
edwinwu
a21b4b55d7
analytics: 3p NC: Implement EstablishedConnections.
...
PiperOrigin-RevId: 394582833
2021-09-02 18:01:11 -07:00