suetfei
efdd4c0f6a
Internal refactor to replace unsupported dependencies.
...
PiperOrigin-RevId: 427474223
2022-02-09 08:10:08 -08:00
suetfei
7dbe976c51
Internal cleaup for protos.
...
PiperOrigin-RevId: 427170889
2022-02-08 06:01:50 -08:00
suetfei
bdce5dd2be
Support NO_WEBRTC in platform/* except WINDOWS.
...
PiperOrigin-RevId: 427067819
2022-02-07 18:01:36 -08:00
hai007
3c9565a923
Match GetPayloadPath code in nearby/internal/platform/implementation/windows/platform.cc
...
PiperOrigin-RevId: 427062438
2022-02-07 17:31:31 -08:00
suetfei
37f8b4487e
Internal flow change phase 2.
...
PiperOrigin-RevId: 427059704
2022-02-07 17:17:20 -08:00
fdi
7661019dc3
[Sharing] Setup self share analytics.
...
PiperOrigin-RevId: 427048806
2022-02-07 16:29:02 -08:00
suetfei
42059a624b
Internal Fix Flow 2-4
...
PiperOrigin-RevId: 426518593
2022-02-04 16:35:25 -08:00
hai007
2f4676c58a
Modify BUILD visibility rule to expose generated WinRT stubs to Nearby Sharing //location/nearby/cpp/sharing
...
PiperOrigin-RevId: 426242397
2022-02-03 14:44:07 -08:00
jfcarroll
9abc9a59b9
Combine InputFile and OutputFile into a single class.
...
PiperOrigin-RevId: 426172033
2022-02-03 09:57:50 -08:00
hais
fa02d255e3
Internal doc date update
...
PiperOrigin-RevId: 426031570
2022-02-02 19:10:00 -08:00
hais
a5086f3878
Modify copybara rules
...
PiperOrigin-RevId: 426029875
2022-02-02 19:09:34 -08:00
hais
8c48433ae9
Delete overlooked file in cl/425434260.
...
PiperOrigin-RevId: 426018546
2022-02-02 17:58:59 -08:00
hai007
b66e7aa6d8
Fix WiFiLan discovery failure problem
...
PiperOrigin-RevId: 426014146
2022-02-02 17:10:26 -08:00
hais
f5fcd35ced
nearby sdk refactor
...
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00
suetfei
287f0d7174
Internal Flow change for BUILD.
...
PiperOrigin-RevId: 424991730
2022-02-02 11:51:37 -08:00
jfcarroll
1bc6798e14
Replace Bluetooth Device creation in the constructor.
...
PiperOrigin-RevId: 424887789
2022-02-02 11:45:15 -08:00
jfcarroll
1e61c5fb23
This is the fix for StartDiscovery/Connect/Disconnect/StartDiscovery.
...
PiperOrigin-RevId: 424866263
2022-02-02 11:45:04 -08:00
suetfei
5bc20e2ea4
Internal cleaup for protos.
...
PiperOrigin-RevId: 424738503
2022-02-02 11:44:51 -08:00
suetfei
6b1887c962
Internal process bug fix.
...
PiperOrigin-RevId: 424383037
2022-02-02 11:40:50 -08:00
hai007
71292b991b
Delete implicit conversion from raw pointer to rtc::scoped_refptr.
...
See bugs.webrtc.org/13464 for context.
PiperOrigin-RevId: 424019378
2022-02-02 11:38:02 -08:00
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
8ffac387ab
Fix "Connection Accept" failure when HelloConnection works as Advertiser
...
PiperOrigin-RevId: 423347535
2022-01-21 10:02:38 -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
bourdakos
04ec681865
Updates GNCDiscoverer to allow requesting a connection with endpoint info as Data
...
and fixes bug where the discovered endpoint info was being sent in connection request instead of the discoverer's endpoint info
PiperOrigin-RevId: 422568179
2022-01-18 08:58:16 -08:00
bourdakos
4d77e82e24
Updates GNCMBonjourConnection to wait for streams to open before writing chunks in order to prevent prematurely ending the streams
...
PiperOrigin-RevId: 422568091
2022-01-18 08:57:12 -08:00
hai007
40ac9b3b25
Implement Disconnect from Endpoint feature
...
PiperOrigin-RevId: 421878981
2022-01-14 11:52:50 -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
edwinwu
6dfd9fa0a5
Remove local_name from AdvertiseSettings.
...
PiperOrigin-RevId: 421241012
2022-01-12 02:07:32 -08:00
hai007
e885c1d42e
Add Transfer File payload function
...
PiperOrigin-RevId: 420862465
2022-01-10 14:52:24 -08:00
suetfei
24784b5ebb
Internal flow refactor
...
PiperOrigin-RevId: 420779427
2022-01-10 09:27:28 -08:00
hai007
c90f1d023e
1. In b/206869351, WiFi framework already relaxed the permission checking for WifiManager.getCountryCode() API from requesting NETWORK_SETTING permission to COARSE location. So we can change our code to get country code from WifiManager from Android T.
...
2. Remove @SuppressWarnings("nullness") in Utils class.
PiperOrigin-RevId: 420221014
2022-01-06 23:24:18 -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
hai007
53f7d6270e
Internal change.
...
PiperOrigin-RevId: 419828224
2022-01-05 07:46:52 -08:00
edwinwu
9b7f7a293c
add copybara rule of import/include for ios platform
...
PiperOrigin-RevId: 419820195
2022-01-05 06:55:53 -08:00
hai007
24d5e10784
Add one NULL_MESSAGE into the Description enum to represent the null case.
...
PiperOrigin-RevId: 419725172
2022-01-04 18:56:42 -08:00
hai007
7cddbe3c09
Define _SILENCE_CLANG_COROUTINE_MESSAGE for the :windows cc_library.
...
The experimental/coroutine header is not officially supported by lexan. In the next Windows SDK release, this is signaled by an error during compilation, which is silenced by setting \D_SILENCE_CLANG_COROUTINE_MESSAGE from the command line.
This change sets _SILENCE_CLANG_COROUTINE_MESSAGE in advance of the SDK release. This prevents a break from occurring when the new SDK is released.
BEGIN_PUBLIC
END_PUBLIC
BROKEN: sponge/8b4d6f2f-c407-4860-a0f7-60102a8d003a
WORKING: sponge/fa0111e2-4780-4757-8cf0-da46672648b9
PiperOrigin-RevId: 419499670
2022-01-03 18:48:03 -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
hais
8f20fecfab
Naive doc update.
...
PiperOrigin-RevId: 417720413
2021-12-22 18:33:56 -08:00
hais
ebce4a6131
Add date in contributing doc.
...
PiperOrigin-RevId: 417716314
2021-12-22 18:33:56 -08:00
hais
1043ba5be7
Format README.md with line chars limit.
...
PiperOrigin-RevId: 417710002
2021-12-22 18:33:56 -08:00
fdi
df0c08007b
[Connections][Analytics] Add log source for NC logs.
...
PiperOrigin-RevId: 417531016
2021-12-21 14:48:30 -08:00
hai007
7406ad8bff
RTCConfiguration's default value for sdp_semantics is about to
...
change from kPlanB to kUnifiedPlan. Because of this, all uses
of RTCConfiguration has to be updated to explicitly set the
sdp_semantics field.
The NO-OP version of this CL would be to set it to kPlanB and
file a buganizer issue to track migration from kPlanB to
kUnifiedPlan, but because nearby's use cases only uses data
channels (i.e. it does not use WebRTC for audio and video)
nearby should not care about which SDP semantics is used, and as
such this CL goes ahead and updates it to kUnifiedPlan.
For more info, see go/plan-b-removal-and-intro-to-unified-plan
and b/208964426.
PiperOrigin-RevId: 417348949
2021-12-21 14:48:20 -08:00
hais
161e842a0b
Update date on README.md
...
PiperOrigin-RevId: 417055011
2021-12-21 14:48:10 -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