Commit Graph
2453 Commits
Author SHA1 Message Date
Anay Wadhera bf23ee5851 Remove endpoint ID CHECKs from Core
PiperOrigin-RevId: 631535509
2024-05-07 13:47:36 -07:00
Francis Tsui 346999639c Remove use of ShareTarget from payload tracker.
PiperOrigin-RevId: 631211496
2024-05-06 15:56:37 -07:00
Ryan Hansberry 7d0312eca6 Add Call Transfer action bit
Phones are now broadcasting this action bit. Allow platform
impls to handle these Call Transfer ADVs.

PiperOrigin-RevId: 631085965
2024-05-06 09:24:15 -07:00
Hai Shang 17df967296 replace secrect_id to id inside presence credential manager
PiperOrigin-RevId: 630558485
2024-05-03 19:28:48 -07:00
Francis Tsui dd7dbdf98d Remove unnecessary optional when processing endpoint_id.
PiperOrigin-RevId: 630416001
2024-05-03 09:46:48 -07:00
Francis Tsui d759708f53 Remove unnecessary passing of ShareTarget.
PiperOrigin-RevId: 630226988
2024-05-02 17:37:44 -07:00
hai007 50c1838e00 Use rust based decoding logic by default
PiperOrigin-RevId: 629850723
2024-05-01 15:09:13 -07:00
hai007 464380d931 Implement action bit parsing logic for rust implemented decoder
- This does not change any public APIs, but makes the rust backed impl fill in
   the values of the current public API.

PiperOrigin-RevId: 629844656
2024-05-01 14:48:28 -07:00
Crisrael Lucero fb4099455e [Nearby Presence] Use different include path for NEARBY_CHROMIUM Rust ldt
PiperOrigin-RevId: 629810240
2024-05-01 13:00:00 -07:00
Francis Tsui 8e3cfd04f8 Add tests for sharing_platform_base.
PiperOrigin-RevId: 629794040
2024-05-01 12:05:34 -07:00
hai007 63b1f24432 Automated Code Change
PiperOrigin-RevId: 629361945
2024-04-30 03:54:48 -07:00
Francis Tsui e532ee1b92 Internal change
PiperOrigin-RevId: 629183197
2024-04-29 14:15:45 -07:00
hai007 bba1ca540f Remove provisioned identity type from proto
PiperOrigin-RevId: 629178167
2024-04-29 13:59:55 -07:00
hai007 0b04994f71 Update identity type name
PiperOrigin-RevId: 629163344
2024-04-29 13:12:45 -07:00
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