Janusz Sobczak
f4d85f9b90
Migrate to AnyInvocable in platform code
...
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -08:00
hai007
7f34968b78
Add Units Test for P2pPointToPointPcpHandler
...
PiperOrigin-RevId: 504064711
2023-01-23 13:20:11 -08:00
Eiden Kim
df6e8d951f
Update custom path log to show correct path
...
PiperOrigin-RevId: 502765322
2023-01-17 21:01:51 -08:00
Eiden Kim
d9b4985c76
Update custom path log to show correct path
...
PiperOrigin-RevId: 502735941
2023-01-17 17:55:26 -08:00
Janusz Sobczak
4fc1583b94
Migrate to absl::AnyInvocable
...
PiperOrigin-RevId: 501392167
2023-01-11 15:19:33 -08:00
hai007
7a9916f726
Fix WifiDirect small logic error
...
PiperOrigin-RevId: 501309880
2023-01-11 10:00:28 -08:00
Eiden Kim
6ac239688f
Rollback for cl/499340098 - remove DebugString() log
...
PiperOrigin-RevId: 500772955
2023-01-09 12:01:30 -08:00
hai007
32ace29ccf
Change wifi_hotspot_credential.h to wifi_credential.h
...
PiperOrigin-RevId: 500223301
2023-01-06 15:05:22 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007
f7f0a266fe
WIFI Direct implementation (5)
...
Part 5: Add WifiDirect Server/Client Socket and Credential
PiperOrigin-RevId: 499401159
2023-01-03 23:10:15 -08:00
Eiden Kim
871e0d2e62
Add a debug log for payload processing error
...
PiperOrigin-RevId: 499340098
2023-01-03 16:19:37 -08:00
Guogang Li
2cee171493
Fixed random crashes during transfer
...
PiperOrigin-RevId: 499329220
2023-01-03 15:24:03 -08:00
hai007
f772614a46
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 498310370
2022-12-28 21:46:22 -08:00
hai007
499b2691f4
WIFI Direct implementation (3)
...
Part 3: BWU and client interface part
PiperOrigin-RevId: 498218241
2022-12-28 11:22:48 -08:00
Nick Bourdakos
07998a05ed
Change "ios" package name to "apple" since its usage isn't limited to iOS
...
PiperOrigin-RevId: 497046967
2022-12-21 18:09:42 -08:00
hai007
c3c9a7ffc9
Extend endpoint disconnection timeout.
...
This extends the endpoint disconnection timeout to be slightly longer than the WebRTC connection attempt timeout. This allows an in-progress bandwidth upgrade to resolve before we clean up the endpoint.
Failing to properly clean up the bandwidth upgrade can lead to a delay when shutting down Nearby Connections and can crash the process instead of allowing a clean shutdown.
PiperOrigin-RevId: 496750001
2022-12-20 14:18:59 -08:00
Nick Bourdakos
682813388f
Disable WebRTC for ARM based CPUs
...
PiperOrigin-RevId: 495707681
2022-12-15 15:15:00 -08:00
hai007
255c2672ea
Internal cleanup.
...
PiperOrigin-RevId: 495138142
2022-12-13 15:11:48 -08:00
hai007
fcfec33a7c
Clarify BWU retry method name and fix a small logic error
...
PiperOrigin-RevId: 493936270
2022-12-08 10:45:08 -08:00
Aaron Yu
4762d1e3ee
Add parent_folder support for custom save path
...
PiperOrigin-RevId: 493415518
2022-12-06 14:39:07 -08:00
hai007
fa7c8a2ec8
WIFI Direct implementation (2)
...
Part 2: Connection common code for WIFI Direct
PiperOrigin-RevId: 493153750
2022-12-05 17:14:26 -08:00
Aaron Yu
49af1a96b6
Add SetCustomSavePath API to Nearby Connections
...
PiperOrigin-RevId: 492563503
2022-12-02 14:38:55 -08:00
Guogang Li
1c32c738fb
Call BWU callback after medium connection initiated
...
PiperOrigin-RevId: 491949519
2022-11-30 10:06:19 -08:00
hai007
82f35a1401
Add "PayloadDirection" as an extra index for a payload's ThroughputRecorder
...
PiperOrigin-RevId: 491516038
2022-11-28 20:48:52 -08:00
hai007
2012acdbcc
Change BWU priority from Hotspot to WifiLan
...
PiperOrigin-RevId: 491388299
2022-11-28 10:55:28 -08:00
Janusz Sobczak
a3b6058753
Fully qualify ::location::nearby imports.
...
Find and replace exercise.
Replace
`using location::nearby`
with
`using ::location::nearby`
and
`using <Name> = location::nearby`
with
`using <Name> = ::location::nearby`
PiperOrigin-RevId: 490087051
2022-11-21 15:33:21 -08:00
Adam Cozzette
b1d1019541
Internal change
...
PiperOrigin-RevId: 489671461
2022-11-19 05:04:29 -08:00
hai007
5066b189f9
Pass over MediumMetadata to client_proxy for incoming connection
...
PiperOrigin-RevId: 489597576
2022-11-18 17:41:42 -08:00
Janusz Sobczak
743e9b4a69
Do not use an iterator after modifying a collection
...
Iterators returned by equals_range() are no longer valid when collection is modified.
PiperOrigin-RevId: 488728730
2022-11-15 12:31:07 -08:00
Nick Bourdakos
4fb6ba318c
Internal change
...
PiperOrigin-RevId: 486691317
2022-11-07 09:59:14 -08:00
Janusz Sobczak
a90b7f85fc
Disable medium env by default.
...
MediumEnvironment's initial state will now match the state after calling `Stop()`.
Cleaned up tests that were calling Stop() before test start.
PiperOrigin-RevId: 486277290
2022-11-04 18:56:30 -07:00
Anay Wadhera
74f7f5ec5c
Fix visibility rules
...
PiperOrigin-RevId: 485897261
2022-11-03 09:44:47 -07:00
John Carroll
180b76cf84
Split file path processing off into it's own static class and implement validation.
...
PiperOrigin-RevId: 485890871
2022-11-03 09:18:34 -07:00
Johnson Lu
cf26a98379
Add gateway field in WifiDirectCredentials
...
PiperOrigin-RevId: 481066785
2022-10-13 23:15:51 -07:00
hai007
8ef1a5f3a9
Fix Throughput Profiling Nightly Sanitizer Analysis test case error
...
PiperOrigin-RevId: 478878990
2022-10-04 14:08:31 -07:00
Eiden Kim
7350643c36
Update Prng usage so that it can generate random values on different threads.
...
PiperOrigin-RevId: 478025630
2022-09-30 10:31:27 -07:00
hai007
8f681dece0
Throughput profiling
...
PiperOrigin-RevId: 477752265
2022-09-29 10:02:11 -07:00
Eiden Kim
028d2ae96a
Fix to generate endpoint_id randomly.
...
PiperOrigin-RevId: 476421714
2022-09-23 11:37:47 -07:00
Guogang Li
397964b5da
Fixed the crash after sending a file from windows device
...
PiperOrigin-RevId: 472782884
2022-09-07 12:15:32 -07:00
John Carroll
55c4714b99
Cleanup the code. Change inputs on ImplementationPlatform::GetDownloadPath from std::string& to absl::string_view.
...
PiperOrigin-RevId: 472770249
2022-09-07 11:22:24 -07:00
Anay Wadhera
92bf3356ee
Reshuffle device.h to internal as both Connections and Presence will be utilizing it.
...
PiperOrigin-RevId: 472745171
2022-09-07 09:35:12 -07:00
Anay Wadhera
6b692c120d
Nearby Connections: Introduce Device wrapper class
...
We are implementing the Device wrapper for connections to interact with Nearby Presence.
PiperOrigin-RevId: 469796313
2022-08-24 12:34:02 -07:00
Adam Cozzette
d92f1d4757
Internal change.
...
PiperOrigin-RevId: 468293287
2022-08-17 14:27:18 -07:00
Nick Bourdakos
c48e27d754
Add GitHub Action for testing Linux build.
...
PiperOrigin-RevId: 466797648
2022-08-10 15:18:44 -07:00
Pu Shi
643c0efdde
[Nearby Connections] Add methods to shutdown executors in bwu_manager
...
Adding methods that allow us to shutdown executors in bwu_manager
during Nearby Connections shutdown process to prevent potential crashes.
PiperOrigin-RevId: 466425604
2022-08-09 11:57:38 -07:00
guogang
9b12bdde8d
Fixed the crash in connection close event
...
PiperOrigin-RevId: 465657456
2022-08-05 15:14:13 -07:00
jfcarroll
5b3d443815
Remove the call to Toggle from the BluetoothRadio destructor. https://buganizer.corp.google.com/issues/237492358
...
PiperOrigin-RevId: 465451962
2022-08-04 18:22:51 -07:00
jfcarroll
778c77eacd
Persist the original radio name, and restore it on app start if the radio name is our radio name.
...
PiperOrigin-RevId: 464148898
2022-07-29 13:43:35 -07:00
hai007
ef014d47b8
Disable encryption for HOTSPOT
...
PiperOrigin-RevId: 463773343
2022-07-28 00:51:47 -07:00
hai007
d41cd674c8
Add onSessionComplete method in ClientProxy to log session
...
PiperOrigin-RevId: 461772377
2022-07-18 19:17:19 -07:00