Commit Graph
2423 Commits
Author SHA1 Message Date
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
Anay Wadhera 96374d7ba1 Update Android README to expose more of the QS surfaces
PiperOrigin-RevId: 623883363
2024-04-11 11:18:12 -07:00
hai007 10501ebf9c Update Westworld logging to include connection events
PiperOrigin-RevId: 623881505
2024-04-11 11:13:20 -07:00
hai007 03f0b3dae9 Automated Code Change
PiperOrigin-RevId: 623732541
2024-04-11 00:29:33 -07:00
hai007 0215e35043 Deprecate the IO_ENDPOINT_IO_ERROR_ON_XXX related result code due to we changed to apply the CONNECTIVITY_CHANNEL_IO_ERROR_ON_XXX in cl/621498234,
PiperOrigin-RevId: 623718959
2024-04-10 23:14:46 -07:00
Edwin Wu 78505e91f7 Add the privacy manifests for swift NC-SDK.
PiperOrigin-RevId: 623676227
2024-04-10 19:19:11 -07:00
Anay Wadhera 6a2f0c6956 Merge pull request #2421 from anayw2001/main
Update Android documentation
2024-04-10 15:16:15 -04:00
Anay Wadhera 93b7fcbec4 Clean up formatting a bit more 2024-04-10 14:31:02 -04:00
hai007 1e1d841965 Multiplex implementation - Create Virtual Output Stream
PiperOrigin-RevId: 623540454
2024-04-10 10:44:50 -07:00
Nick Bourdakos a08a42077c PR #2404: Add license header to all source files
Imported from GitHub PR https://github.com/google/nearby/pull/2404

Copybara import of the project:

--
a6fbb3c396321c0b9012b787323f5f2ff652fd8f by Nick Bourdakos <bourdakos1@gmail.com>:

Add license header to all source files

Merging this change closes #2404

PiperOrigin-RevId: 623540004
2024-04-10 10:40:38 -07:00
hai007 c198af1495 Automated Code Change
PiperOrigin-RevId: 623376075
2024-04-09 22:14:22 -07:00
Anay Wadhera 5a890470dd Detail the content provider for folder sharing 2024-04-09 16:04:12 -04:00
Anay Wadhera 4a15d6d91c Be consistent with code headers 2024-04-09 15:53:42 -04:00
Anay Wadhera b9ca6d45f7 Fix formatting 2024-04-09 14:24:33 -04:00
Anay Wadhera b14096ce2c Update README.md to include more details about how to use Quick Share 2024-04-09 14:20:32 -04:00
Anay Wadhera 8f7065ef09 Add buttons to launch Quick Share settings/receiving UI 2024-04-09 17:36:06 +00:00
Anay Wadhera 274ba757a7 Upgrade to Gradle 8.2.2 2024-04-09 17:09:32 +00:00