Commit Graph
689 Commits
Author SHA1 Message Date
deling-google 6bb367801e Remove ukey2 folder 2022-03-31 12:06:07 -07:00
deling-google 7001cac45e Update .gitmodules
Delete submodule ukey2
2022-03-31 12:04:31 -07:00
bourdakos 0f8c1b1fbe Move public headers to be compatible with SPM
PiperOrigin-RevId: 438583798
2022-03-31 09:16:17 -07:00
bourdakos ac069b6eda Add Package.swift
PiperOrigin-RevId: 438582458
2022-03-31 09:09:35 -07:00
bourdakos a4feafd4f8 Fix a few struct initializers that are not compatible with c++14
PiperOrigin-RevId: 438565404
2022-03-31 07:44:24 -07:00
bourdakos 7c4bb693b5 Return the actual download path instead of tmp directory
PiperOrigin-RevId: 438464501
2022-03-30 20:26:26 -07:00
bourdakos 4e1c8c8222 Don't include base/logging.h for SPM builds
PiperOrigin-RevId: 438453534
2022-03-30 19:11:34 -07:00
bourdakos 267afabefd Escape file paths to avoid crashes when paths include spaces
PiperOrigin-RevId: 438437189
2022-03-30 17:26:43 -07:00
suetfei a952c85e49 Internal Flow Change.
PiperOrigin-RevId: 438421136
2022-03-30 16:11:51 -07:00
edwinwu 190d3ebafc [BLE Refactor] Impl Start/Stop Scanning and DiscoveredPeripheral callback function in medium layer and ScanCallback in platform layer.
PiperOrigin-RevId: 438293171
2022-03-30 07:08:05 -07:00
suetfei d65e41cc4a Internal Flow Fix
PiperOrigin-RevId: 438157831
2022-03-29 16:41:43 -07:00
bourdakos 15d3fa0df5 Put CreateWebRtcMedium behind NO_WEBRTC flag
PiperOrigin-RevId: 437864516
2022-03-28 15:07:30 -07:00
bourdakos 6050084473 BEGIN_PUBLIC
Remove GTMStringEncoding dependency, because it is unused
END_PUBLIC

PiperOrigin-RevId: 437854852
2022-03-28 14:27:33 -07:00
hai007 e74b650980 Adding Annotations
PiperOrigin-RevId: 437668370
2022-03-27 22:05:03 -07:00
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