Commit Graph
775 Commits
Author SHA1 Message Date
hais c1e898bcf1 Initial impl for PresenceClient
PiperOrigin-RevId: 437370707
2022-03-25 17:37:25 -07:00
hais c9bb09ce6e Presence discovery data types
PiperOrigin-RevId: 437004937
2022-03-24 08:52:35 -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 4acd3b1a1d Initial impl for Nearby Presence in Nearby SDk.
discovery associated data types.

PiperOrigin-RevId: 436615656
2022-03-22 17:56:17 -07:00
edwinwu c3d4ffba65 [BLE Refactor] Fixed BloomFilterBase base member _bits is not initialized when construct from a non-empty ByteArray.
PiperOrigin-RevId: 436229874
2022-03-21 09:37:53 -07:00
jfcarroll 6d24d42132 Fix a bug where output files aren't being downloaded.
PiperOrigin-RevId: 435672340
2022-03-18 10:24:20 -07:00
jfcarroll 517d77f5aa This adds parent path and file name to the Payload constructor. This will affect chrome.
PiperOrigin-RevId: 435223740
2022-03-16 19:18:13 -07:00
guogang 31b2aae6c5 Fixed crashes during bandwidth upgrade
PiperOrigin-RevId: 435192352
2022-03-16 16:36:09 -07:00
eidenkim 2b5c99df70 Refactor Nearby Connections Service layer in Nearby Sharing Service
PiperOrigin-RevId: 434850962
2022-03-15 14:06:26 -07:00
edwinwu 0702409047 [BLE Refactor] Modify to allow zero numSlots for AdvertisementHeader.
PiperOrigin-RevId: 434634152
2022-03-14 19:39:50 -07:00
hai007 9239fb0767 Update connections_log.proto
PiperOrigin-RevId: 433386097
2022-03-08 21:17:00 -08:00
edwinwu 66b425dc4e [BLE Refactor] Impl Start/Stop AdvertisementGattServer
PiperOrigin-RevId: 432657453
2022-03-05 08:33:01 -08:00
hai007 eadc972af3 Fix BWU crash problem because WIFI_LAN create socket based on IPV6.
PiperOrigin-RevId: 432222945
2022-03-03 10:16:22 -08:00
edwinwu 91dfdefb9f [BLE Refactor] Impl Start/Stop Advertising function in medium layer.
PiperOrigin-RevId: 432185275
2022-03-03 07:04:32 -08:00
edwinwu 450c536889 Clean up files.
PiperOrigin-RevId: 431835232
2022-03-01 19:56:36 -08:00
guogang e0bb166c62 Use 4 bytes string as IP address in NsdServiceInfo
PiperOrigin-RevId: 431543437
2022-02-28 15:44:41 -08:00
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