Commit Graph
2439 Commits
Author SHA1 Message Date
Francis Tsui 048e48e415 internal change
PiperOrigin-RevId: 628599038
2024-04-26 22:10:58 -07:00
Francis Tsui af59ff9794 internal changes.
PiperOrigin-RevId: 628561715
2024-04-26 18:14:26 -07:00
hai007 a1b80ff649 Update identity type name
PiperOrigin-RevId: 628545355
2024-04-26 16:57:25 -07:00
hai007 54eff829b5 Update identity type name
PiperOrigin-RevId: 628513553
2024-04-26 14:40:17 -07:00
Francis Tsui 159ca34072 Add Shutdown method to TaskRunner.
PiperOrigin-RevId: 628448253
2024-04-26 10:44:21 -07:00
hai007 7c973ee9d2 1. Refine CATEGORY_NEARBY_ERROR in BT, WFD, Wifi Hotspot outgoing logs
2. Define new result code for the TieBreak cases

PiperOrigin-RevId: 628401240
2024-04-26 07:37:10 -07:00
Guogang Li c9c8544669 Added a new Uuid constructor from UUID string
PiperOrigin-RevId: 628288959
2024-04-25 21:48:39 -07:00
hai007 f72ceedfd2 Automated Code Change
PiperOrigin-RevId: 628287046
2024-04-25 21:36:00 -07:00
hai007 18a03848e7 Records the Wifi Aware supports status
PiperOrigin-RevId: 628267165
2024-04-25 19:47:22 -07:00
hai007 f4bad55cac Internal change
PiperOrigin-RevId: 628207314
2024-04-25 15:23:36 -07:00
hai007 e9b57452b1 Remove LDT build flag, build against rust ldt by default
PiperOrigin-RevId: 628196553
2024-04-25 14:47:07 -07:00
Hai Shang 77515694c8 Internal fix.
PiperOrigin-RevId: 628181275
2024-04-25 13:56:13 -07:00
hai007 08c37823d0 Automated Code Change
PiperOrigin-RevId: 627971802
2024-04-24 23:38:50 -07:00
Francis Tsui 683b46488a Fix non hermetic test cases.
PiperOrigin-RevId: 627875242
2024-04-24 15:48:54 -07:00
Nabil Wadih 63838e6d6c PR #2483: Bazel build support for building rust and beto-core targets
Imported from GitHub PR https://github.com/google/nearby/pull/2483

This adds the necessary build rules to build with the LDT rust implementation in bazel, currently it is compiled out by a compiler flag.

This also updates the C++ standard to C++20 in order to be compatible with beto-core's targets
Copybara import of the project:

--
b28eabb2be386bfad4d71df94b7dd77fe34b6b13 by Nabil Wadih <nwadih@google.com>:

Bazel build support for building rust and beto-core targets

--
765f8076642bc54c6a500e5f91c942bcfea55b39 by Nabil Wadih <nwadih@google.com>:

Bazel build support for building rust and beto-core targets

--
3658bdc10dbe8f0bb912e233b411b153179a79eb by Nabil Wadih <nwadih@google.com>:

Bazel build support for building rust and beto-core targets

--
65321ef4fcdf9d1cbdfe866bd3364f3701819a9c by Nabil Wadih <nwadih@google.com>:

Bazel build support for building rust and beto-core targets

--
f52590fd46a04d081c7175a1e342212c1e9174cd by Nabil Wadih <nabil.wadih@gmail.com>:

Update validate.yaml
--
eef6b260cb12701e3dee4a2e41a98ad7aa23183b by Nabil Wadih <nabil.wadih@gmail.com>:

Update validate.yaml
--
b47f67138310263003db29cf05b93f2a60fe487e by Nabil Wadih <nwadih@google.com>:

Bazel build support for building rust and beto-core targets

Merging this change closes #2483

PiperOrigin-RevId: 627873727
2024-04-24 15:42:51 -07:00
Anthony Rueda 9065c0a933 [Presence] Add V1 encrypted adv hmac_key fields and update naming to align with latest changes to go/nearby-presence-spec
PiperOrigin-RevId: 627563098
2024-04-23 18:11:44 -07:00
hai007 eba96c9673 Remove unused include to fix OSS build
PiperOrigin-RevId: 627473304
2024-04-23 12:42:17 -07:00
hai007 47caa7979a Fix copybara export of build rules for beto-core
PiperOrigin-RevId: 627464568
2024-04-23 12:09:50 -07:00
hai007 bb9305bdf3 Fix OSS bazel build on MacOS
see bazelbuild/bazel#10472 for more info on why this is needed. Without it, the build will try to use system headers which conflict with project defined headers in this build for boringssl

PiperOrigin-RevId: 627458516
2024-04-23 11:50:42 -07:00
hai007 e9c39b46b3 Fix copybara export of beto-core headers
PiperOrigin-RevId: 627449838
2024-04-23 11:23:24 -07:00
hai007 1c4bd01fe6 Update presence build rules and copybara export to OSS
- updates the build to be compatible with ldt in the open source repo

PiperOrigin-RevId: 627415836
2024-04-23 09:40:55 -07:00
Anay Wadhera d5b75beaee Merge pull request #2468 from google/nwadih/fixMacOsBuild
Fix OSS bazel build on MacOS
2024-04-23 09:21:58 -07:00
hai007 19adc300a0 Automated Code Change
PiperOrigin-RevId: 627267684
2024-04-22 22:39:50 -07:00
Francis Tsui f1631fafe1 Fix TSAN errors.
PiperOrigin-RevId: 627186253
2024-04-22 16:12:55 -07:00
Francis Tsui ef924e5003 improve concurrency handling.
PiperOrigin-RevId: 626916898
2024-04-21 22:24:34 -07:00
Nabil Wadih 608a331abe Fix OSS bazel build on MacOS
see https://github.com/bazelbuild/bazel/issues/10472 for more info on
why this is needed. Without it, the build will try to use system
headers which conflict with project defined headers in this build
for boringssl
2024-04-19 17:23:41 -07:00
Francis Tsui 1b4db47fb6 Remove wildcard lambda capture.
PiperOrigin-RevId: 626457708
2024-04-19 13:41:10 -07:00
Francis Tsui dbb6550c2f Remove experiments_log.proto.
PiperOrigin-RevId: 626095230
2024-04-18 11:23:46 -07:00
hai007 540ebba9b4 Automated Code Change
PiperOrigin-RevId: 625953967
2024-04-18 01:49:36 -07:00
Hai Shang bcad0cae6e Last CL for the 1 bit solution in BLE v2.
PiperOrigin-RevId: 625856655
2024-04-17 17:31:38 -07:00
Ryan Hansberry 5c933e5b9c [Device Provider] Add FakeDeviceProvider for testing
Create a FakeDeviceProvider class which will be used in testing for NearbyPresence
and NearbyConnections. To assist with testing PresenceService will store a NearbyDeviceProvider base class instead of the implementation specific PresenceDeviceProvider.

PiperOrigin-RevId: 625845617
2024-04-17 16:47:31 -07:00
Francis Tsui 012b9b0569 Cleanup EventLogger interface.
PiperOrigin-RevId: 625797877
2024-04-17 13:59:30 -07:00
Eiden Kim 42f7afb940 Adjust flag setting for unknown file delete
PiperOrigin-RevId: 625671393
2024-04-17 07:11:53 -07:00
Eiden Kim 486b4bfaca Remove unknown files from PAYLOAD_TRANSFER offline frame
PiperOrigin-RevId: 625500482
2024-04-16 17:14:40 -07:00
Eiden Kim e5279bfd49 Don't upgrade bandwidth until the user accepts.
PiperOrigin-RevId: 625488273
2024-04-16 16:28:26 -07:00
ftsui c14dfebf60 PR #2453: Compile protos
Imported from GitHub PR https://github.com/google/nearby/pull/2453

<!--
  Thanks for submitting a pull request!
  We appreciate you spending the time to work on these changes. Please provide
  enough information so that others can review your pull request.
-->

## Summary

<!--
 Explain the motivation for making this change. What existing problem does the
 pull request solve?
-->

## How did you test this change?

<!--
  For example, the commands you ran and their output or screenshots / videos if
  the pull request changes the user interface.
-->

Copybara import of the project:

--
880e0076291b25a6a94ce018a86d3c15c5f55944 by ftsui <ftsui@google.com>:

Compile protos

--
3e152cb7d1183f38946ae30874879f1008ce33cb by ftsui <ftsui@google.com>:

Fix merge marker.

Merging this change closes #2453

PiperOrigin-RevId: 625469935
2024-04-16 15:20:35 -07:00
Eiden Kim 35a8289ef4 Block any BWU frames before the NC connection accepted by both side
PiperOrigin-RevId: 625459811
2024-04-16 14:49:14 -07:00
hai007 198243f4c3 Automated Code Change
PiperOrigin-RevId: 625233447
2024-04-16 01:04:56 -07:00
Francis Tsui 4443aa4251 Add experiment_log.proto
PiperOrigin-RevId: 625106788
2024-04-15 15:44:27 -07:00
Francis Tsui eb4337f1ea Change ownership model of NearbySharingEventLogger.
PiperOrigin-RevId: 625064926
2024-04-15 13:31:07 -07:00
Eiden Kim b40a0d9046 Add a flag to nearby_connections_feature_flags.h manually
PiperOrigin-RevId: 625010913
2024-04-15 10:46:28 -07:00
Francis Tsui a8bf25d692 Create common MockEventLogger.
PiperOrigin-RevId: 624994414
2024-04-15 10:00:17 -07:00
Eiden Kim 63b12edb45 Add flags to nearby_sharing_feature_flags.h manually
PiperOrigin-RevId: 624970993
2024-04-15 08:36:56 -07:00
hai007 6fc1559d23 Automated Code Change
PiperOrigin-RevId: 624435924
2024-04-13 02:06:34 -07:00
hai007 d1f3a91e24 Initial implementation of rust decoder
PiperOrigin-RevId: 624312324
2024-04-12 15:40:44 -07:00
Daniel Classon 05dac6b184 [Nearby Connections] Rename async scanning flag
Renames the enable_ble_v2_async_scanning_advertising flag to just
enable_ble_v2_async_scanning, reflecting that scanning/advertising
can be enabled independently. Work required to add async
advertising is tracked in b/333408829.

PiperOrigin-RevId: 624254277
2024-04-12 12:15:21 -07:00
hai007 535538d5d1 annotate EventType enum
PiperOrigin-RevId: 624254082
2024-04-12 12:10:31 -07:00
Francis Tsui f6b6ee0446 Fix TSAN errors.
PiperOrigin-RevId: 623943443
2024-04-11 14:39:28 -07:00
Francis Tsui 7bc8677590 Fix TSAN error.
PiperOrigin-RevId: 623926109
2024-04-11 13:41:58 -07:00
Francis Tsui 033d88ca24 TSAN error fixes.
PiperOrigin-RevId: 623908987
2024-04-11 12:42:12 -07:00