Guogang Li
eb914ecc59
A small refactor to start BLE V2 advertisement
...
PiperOrigin-RevId: 730619310
2025-02-24 15:32:04 -08:00
hai007
40fe5ec318
[Quick Share] Introduce a new SharingUseCase
...
PiperOrigin-RevId: 730588845
2025-02-24 14:06:57 -08:00
Guogang Li
a7bb6673a6
internal update
...
PiperOrigin-RevId: 729773934
2025-02-21 22:24:57 -08:00
Guogang Li
5f3b7493cc
enhance base85 test
...
PiperOrigin-RevId: 729773681
2025-02-21 22:20:16 -08:00
Anay Wadhera
b2da90cf81
Rename device target back to NearbyConnections.
...
PiperOrigin-RevId: 729556500
2025-02-21 09:29:46 -08:00
Bryan Kersting
79ae5cab5a
Fix unsound Rust reference in np_ffi_CredentialSlab_add_v0_credential
...
Currently, in the Rust implementation of `np_ffi_CredentialSlab_add_v0_credential`, we take the underlying buffer of the passed `V0MatchableCredential` and turn it into a Rust `&[u8]` by calling `unsafe slice::from_raw_parts`. The safety contract of `from_raw_parts` states that the passed pointer can neither be null, nor be unaligned. In the `advertisment_decoder_rust_impl.cc` we have a code path that leads to a null pointer being passed, though. We get a nullpointer if we pass a `std::vector` of size 0. This change fixes the issue by making sure we always pass a non-null buffer.
PiperOrigin-RevId: 729417182
2025-02-21 00:37:51 -08:00
hai007
51607dc548
Update the assigned mediums and leave those unassigned as the default false.
...
PiperOrigin-RevId: 729383663
2025-02-20 22:26:57 -08:00
Guogang Li
fdb0f0f351
read endpoint info
...
PiperOrigin-RevId: 729312008
2025-02-20 17:31:45 -08:00
Anay Wadhera
add588c622
Add support for setting the flag reader.
...
PiperOrigin-RevId: 729271203
2025-02-20 15:19:46 -08:00
Anay Wadhera
bddf053bf3
Split framework targets into per-arch and per-target frameworks.
...
PiperOrigin-RevId: 729231119
2025-02-20 13:29:24 -08:00
Guogang Li
c3467c0c2a
handle new advertisement format
...
PiperOrigin-RevId: 729140392
2025-02-20 09:24:37 -08:00
Edwin Wu
0057b219d2
In windows, discovery phase and outgoing attempt won't be recorded due to pointer is reset to null.
...
PiperOrigin-RevId: 728907296
2025-02-19 19:15:40 -08:00
Edwin Wu
0c1b0ae1d9
Rename NWFramwork folder name to a more proper name WiFiCommon
...
PiperOrigin-RevId: 728865577
2025-02-19 16:43:32 -08:00
Juliet Levesque
e7f45020bb
[BLE V2] Mark ChromeOS fast advertisements as non-connectable
...
PiperOrigin-RevId: 728862084
2025-02-19 16:33:41 -08:00
Guogang Li
46c0f153fe
handle data element
...
PiperOrigin-RevId: 728727545
2025-02-19 10:38:28 -08:00
Guogang Li
eea3441da9
Internal refactor
...
PiperOrigin-RevId: 727057179
2025-02-14 14:07:18 -08:00
Anay Wadhera
60d5fe440e
internal analytics
...
PiperOrigin-RevId: 727050454
2025-02-14 13:46:08 -08:00
Anay Wadhera
5001b9fd08
Make NC_DATA's length field an unsigned int
...
PiperOrigin-RevId: 726729432
2025-02-13 19:29:48 -08:00
Guogang Li
3de3a9479d
Create a help class to generate data
...
PiperOrigin-RevId: 726714013
2025-02-13 18:25:07 -08:00
Guogang Li
788984f182
read bits from base stream
...
PiperOrigin-RevId: 726515524
2025-02-13 09:17:14 -08:00
hai007
00e6b231f6
Automated Code Change
...
PiperOrigin-RevId: 726320513
2025-02-12 21:58:34 -08:00
Francis Tsui
1d3b17821b
Fix issue with multiple Cancellations for same target ID.
...
PiperOrigin-RevId: 726234081
2025-02-12 16:08:37 -08:00
Francis Tsui
2587c6abad
Do not reschedule private cert expiration check if user is logged out.
...
PiperOrigin-RevId: 726168581
2025-02-12 13:10:47 -08:00
hai007
d08d976c0a
Output the instant_connection_result field to the sender flow table
...
PiperOrigin-RevId: 725938297
2025-02-12 00:33:22 -08:00
Anay Wadhera
f94c4837d7
add date last modified to payload header
...
PiperOrigin-RevId: 725738383
2025-02-11 12:54:28 -08:00
Guogang Li
58eea077e1
support base85 encoding/decoding
...
PiperOrigin-RevId: 725692677
2025-02-11 10:50:44 -08:00
hai007
7b31ce68c4
Log IC result into bandwidth quality change
...
PiperOrigin-RevId: 725553323
2025-02-11 03:00:20 -08:00
Edwin Wu
74146df90a
Rename WifiLan to NWFramework(Network.Framework) and put them as common codes.
...
PiperOrigin-RevId: 725486114
2025-02-10 22:47:21 -08:00
Francis Tsui
9a98e8dacf
Fix updating OutgoingShareSession for dedup.
...
PiperOrigin-RevId: 725347879
2025-02-10 14:28:28 -08:00
Anay Wadhera
6eb9675117
internal change
...
PiperOrigin-RevId: 724963078
2025-02-09 12:34:22 -08:00
hai007
47c6e742da
Automated Code Change
...
PiperOrigin-RevId: 724626448
2025-02-08 01:59:09 -08:00
Guogang Li
0ce08ab931
internal fix
...
PiperOrigin-RevId: 723992593
2025-02-06 10:43:23 -08:00
hai007
c6c8c23923
[Analytics]Join HaTs session ID with Flow ID.
...
PiperOrigin-RevId: 723305804
2025-02-04 18:35:08 -08:00
Francis Tsui
3706d9d497
Cleanup
...
PiperOrigin-RevId: 723240490
2025-02-04 15:08:14 -08:00
Nick Bourdakos
dc0633c0f8
Internal change
...
PiperOrigin-RevId: 723164767
2025-02-04 11:28:56 -08:00
Anay Wadhera
2fec57f2b3
PR #3188 : Remove validation steps related to fastpair rust
...
Imported from GitHub PR https://github.com/google/nearby/pull/3188
## Summary
This project was removed as part of deprecating OSS fastpair.
## How did you test this change?
CI
Copybara import of the project:
--
5d372ff181351d5b2a8129e38f716481d56647d5 by Anay Wadhera <awadhera@google.com >:
Remove validation steps related to fastpair rust
This project was removed as part of deprecating OSS fastpair.
Merging this change closes #3188
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/nearby/pull/3188 from anayw2001:main 5d372ff181351d5b2a8129e38f716481d56647d5
PiperOrigin-RevId: 722914722
2025-02-03 20:56:22 -08:00
hai007
97690c6996
[cpp23] Remove usage of std::aligned_storage in nearby
...
Deprecated in C++23. Details in https://crbug.com/388068052 .
PiperOrigin-RevId: 722745132
2025-02-03 12:02:21 -08:00
Francis Tsui
e76adeab50
Move disconnection timeout into OutgoingShareSession.
...
PiperOrigin-RevId: 722519076
2025-02-02 22:59:12 -08:00
Francis Tsui
17c6dd8ee4
Keep management of outgoing_share_target_map_ and outgoing_share_session_map_ together.
...
PiperOrigin-RevId: 721918835
2025-01-31 15:15:17 -08:00
Guogang Li
0575cbd155
Make sure got IP from hotspot
...
PiperOrigin-RevId: 721907499
2025-01-31 14:39:59 -08:00
Guogang Li
a51a93a6a1
Create xcframework for Nearby Connections
...
PiperOrigin-RevId: 721578171
2025-01-30 17:52:17 -08:00
Francis Tsui
79b99ae0a9
Fix build breakage from toolchain option changes.
...
PiperOrigin-RevId: 721433123
2025-01-30 10:15:29 -08:00
Francis Tsui
c9686fdb0f
Add APK support
...
PiperOrigin-RevId: 720620879
2025-01-28 10:19:49 -08:00
hai007
f976f7e05a
Add Bluetooth Multiplex and WiFiLan Multiplex flags for better control.
...
PiperOrigin-RevId: 720337637
2025-01-27 15:57:52 -08:00
Anay Wadhera
b2a71e427d
internal change
...
PiperOrigin-RevId: 720250168
2025-01-27 11:43:17 -08:00
Guogang Li
ed6562754b
Enhance on keep alive
...
PiperOrigin-RevId: 719317678
2025-01-24 08:45:49 -08:00
Eiden Kim
639581f6db
Internal change
...
PiperOrigin-RevId: 718041042
2025-01-21 13:12:51 -08:00
Suet-Fei Li
7b9217583b
set a default lambda value for if_hp_realtek_device_.
...
PiperOrigin-RevId: 718018321
2025-01-21 12:11:38 -08:00
Guogang Li
b0be56bec8
Support blocking socket in Wi-Fi hotspot medium
...
PiperOrigin-RevId: 718006644
2025-01-21 11:42:56 -08:00
hai007
d73d1d0515
Solve BWU failing problem when Multiplex is enabled
...
PiperOrigin-RevId: 717982248
2025-01-21 10:45:21 -08:00