Commit Graph
659 Commits
Author SHA1 Message Date
suetfei fe8bb9a880 Internal script change
PiperOrigin-RevId: 431088787
2022-02-25 20:58:58 -08:00
hais 1f84ecddf4 Minor doc update
PiperOrigin-RevId: 431040464
2022-02-25 15:16:20 -08:00
hais f3df0ebb26 Internal doc minor change
PiperOrigin-RevId: 431007272
2022-02-25 14:53:56 -08:00
edwinwu 433d9d84f8 BEGIN_PUBLIC
Fix the format of offline_wire_formats.proto
END_PUBLIC.

-- error caused by copybara-presubmit =>

```
Migration resulted in error 'PERMANENT_ERROR'
Non reversible transformations:

diff --git a/origin/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto b/reverse/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto
index de0aed4..5d4bb08 100644
--- a/origin/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto
+++ b/reverse/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto
@@ -143,7 +143,9 @@ message PayloadTransferFrame {

   // Accompanies DATA packets.
   message PayloadChunk {
-    enum Flags { LAST_CHUNK = 0x1; }
+    enum Flags {
+      LAST_CHUNK = 0x1;
+    }
     optional int32 flags = 1;
     optional int64 offset = 2;
     optional bytes body = 3;

Workflow 'presubmit_piper_to_github' is not reversible
Configuration errorErrors happened during the migration
```

PiperOrigin-RevId: 430878757
2022-02-25 14:53:56 -08:00
johnsonlu 81bdb7adc9 Create a Bluetooth endpoint for Device inject connections. Will implement connection lifecycle callback for the inject connections in the following CL.
PiperOrigin-RevId: 430573921
2022-02-25 14:53:56 -08:00
edwinwu 8f22ffefd4 [BLE Refactor] Move /cal/ble.h , base_types.h to /platform/implementation/ble_v2.h
PiperOrigin-RevId: 430133309
2022-02-21 22:14:20 -08:00
hai007 1f00687330 Make IsPreferred() comparator irreflexive.
PiperOrigin-RevId: 429993786
2022-02-21 02:02:10 -08:00
edwinwu 8326aeef38 [BLE Refactor] Implement CreateAdvertisementHeader in BleV2 medium.
PiperOrigin-RevId: 429550598
2022-02-18 06:30:09 -08:00
guogang ca172feb55 Updated header file of windns.h
PiperOrigin-RevId: 429323019
2022-02-17 09:04:27 -08:00
suetfei bbc32bbb3f Fix the path to iOS example.
PiperOrigin-RevId: 429163479
2022-02-16 16:07:39 -08:00
suetfei 1326bae8a6 Fix typo in README.
PiperOrigin-RevId: 429163293
2022-02-16 16:06:33 -08:00
suetfei f7224ec68a Fix typo in README.
PiperOrigin-RevId: 428910739
2022-02-15 17:03:43 -08:00
suetfei cec9d9c2a7 Update README.md 2022-02-14 18:57:02 -08:00
suetfei 27675b167f Bring ukey2 to latest. 2022-02-14 21:43:55 -05:00
suetfei 1edb5d6fd0 Update ukey2 2022-02-14 20:17:05 -05:00
guogang 12377c32d1 Enabled platform types visible to nearby sharing
PiperOrigin-RevId: 428640501
2022-02-14 16:48:52 -08:00
guogang fe5296404a Updated visibility to nearby sharing
PiperOrigin-RevId: 428634963
2022-02-14 16:21:51 -08:00
suetfei 3c8a279829 Add WORKSPACE and .bazelrc and make other changes for bazel build.
PiperOrigin-RevId: 428343135
2022-02-13 08:50:47 -08:00
hai007 47072f1f1a Update connections_log.proto
1. Add Bluetooth multipleAdvertisement support status into metrics.
2. Add the send buffer size and receive buffer size of the created WiFi Hotspot, WiFi Direct, WiFi Aware, WiFi LAN sockets.

PiperOrigin-RevId: 428175918
2022-02-12 01:24:55 -08:00
edwinwu 659f0a659c [BLE Refactor] Merge platform/implementation/ble_v2.h to /cal/api/ble.h for Advertising defintions.
PiperOrigin-RevId: 428145899
2022-02-11 20:11:50 -08:00
suetfei 0e6620c970 Internal refactor to fix missing includes.
PiperOrigin-RevId: 427669790
2022-02-09 23:53:37 -08:00
suetfei ae0337db3b Internal refactor to fix bug.
PiperOrigin-RevId: 427513885
2022-02-09 10:49:31 -08:00
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