hai007
f78c8ac5a0
[Sharing][Analytics]
...
1. Adding acceptance status logging for LAUNCH_CONSENT event.
2. add new consent type for device contact consent.
PiperOrigin-RevId: 394745696
2021-09-03 13:24:53 -07:00
edwinwu
24539d170f
analytics: 3p NC: Implement Payload.
...
PiperOrigin-RevId: 394695112
2021-09-03 09:07:14 -07:00
edwinwu
8d8d435548
update nearby_connections: proto: analytics: BUILD file.
...
PiperOrigin-RevId: 394663167
2021-09-03 05:32:43 -07:00
hai007
43682b0d2b
[Sharing][Analytics] Adding DeclineAgreement logging when user drop off in opt-in page.
...
PiperOrigin-RevId: 394616282
2021-09-02 22:55:32 -07:00
edwinwu
a21b4b55d7
analytics: 3p NC: Implement EstablishedConnections.
...
PiperOrigin-RevId: 394582833
2021-09-02 18:01:11 -07:00
jfcarroll
ada8d857cb
Somehow this change was dropped.
...
PiperOrigin-RevId: 394501870
2021-09-02 11:12:19 -07:00
jfcarroll
17676ac999
Initial implementation of CountDownLatch
...
PiperOrigin-RevId: 394478506
2021-09-02 09:28:30 -07:00
jfcarroll
e721faca4c
Missed the copyright date on these
...
PiperOrigin-RevId: 394477350
2021-09-02 09:23:23 -07:00
edwinwu
cef1f5a567
analytics: 3p NC: Implement internal class PendingPayload and LogicalConnection. This is pre-work for EstablishedConnections.
...
PiperOrigin-RevId: 394404345
2021-09-02 01:05:14 -07:00
hais
011a201ee2
Check in BLE cal interface.
...
PiperOrigin-RevId: 394298358
2021-09-01 13:13:28 -07:00
jfcarroll
e895f3c100
Initial implementation of ConditionVariable and Mutex
...
PiperOrigin-RevId: 394293910
2021-09-01 12:56:04 -07:00
edwinwu
2a629b2c1b
nearby_connections: proto: analytics: sync protos and add unit test for proto ConnectionsLog.
...
PiperOrigin-RevId: 394164605
2021-08-31 23:45:52 -07:00
eidenkim
fd938a745c
Added ServiceControllerRouter Init/Close function
...
PiperOrigin-RevId: 393999592
2021-08-31 07:46:43 -07:00
hai007
67a1271abe
Saving the payload files with the file name and parent folder, so that Sharing doesn't have to rename/move the file.
...
PiperOrigin-RevId: 393929024
2021-08-30 23:26:36 -07:00
edwinwu
15a81bb0bf
Fixes memory leak in AnalyticsRecorder.
...
PiperOrigin-RevId: 393905139
2021-08-30 19:42:32 -07:00
edwinwu
f37dfd2e8a
Fixes access ponter after free in connection_info.channel->GetMedium()
...
PiperOrigin-RevId: 393904932
2021-08-30 19:40:21 -07:00
xlythe
ebec902cb8
[Windows] Fix build from GetTid removal
...
PiperOrigin-RevId: 393795930
2021-08-30 10:06:55 -07:00
jfcarroll
9f8d186e42
Updating the winrt headers
...
After this C/L you must update your Windows SDK to 10.0.20348.0 in order to build on Visual Studio
PiperOrigin-RevId: 393786833
2021-08-30 09:22:59 -07:00
hai007
8e2f2da45d
Remove GetTid() since it is not used.
...
PiperOrigin-RevId: 393453493
2021-08-27 16:50:05 -07:00
hai007
ad82c4c489
Updated core_adapter.h to match the change on core_adapter.cc
...
PiperOrigin-RevId: 393430067
2021-08-27 14:36:32 -07:00
edwinwu
0232b47e02
ios: nearbyConnections: Fixes the issue that can't Advertise and Discover for WifiLan.
...
- The local WifilanSocket and WifilanService is local variable which will be invalid if out of scope. Move them to the member and let the WifiLanMedium control the life scope.
PiperOrigin-RevId: 393133266
2021-08-26 08:47:32 -07:00
jfcarroll
81b72ab1bf
Final implementation of all BluetoothAdapter methods
...
PiperOrigin-RevId: 393009194
2021-08-25 16:53:17 -07:00
edwinwu
62e7c01cd3
analytics: 3p NC: Implement ConnectionAttempt.
...
PiperOrigin-RevId: 392794192
2021-08-24 18:44:26 -07:00
hai007
3e40931286
No changes to public files
...
PiperOrigin-RevId: 392585608
2021-08-23 21:55:15 -07:00
edwinwu
c73504e68d
analytics: 3p NC: Defines interface EventLogger for Analytics logger.
...
- this is the init cl.
doc: go/nc-analytics-api
PiperOrigin-RevId: 391901111
2021-08-19 20:03:15 -07:00
hais
7a82740e2b
remove ending new line character in attomic_boolean_test.cc
...
PiperOrigin-RevId: 391602715
2021-08-18 13:53:24 -07:00
edwinwu
56b7daf88d
Fixes bluetooth_medium is not supported then don't continue for BleDiscoveredHandler.
...
PiperOrigin-RevId: 391418495
2021-08-17 17:55:56 -07:00
jfcarroll
913a639a5d
BluetoothClassicMedium::GetRemoteDevice and BluetoothClassicSocket::Close implmentations
...
PiperOrigin-RevId: 390691122
2021-08-13 14:16:01 -07:00
jfcarroll
628255ac59
Cleanup Items that I didn't want or otherwise didn't get in the last c/l
...
PiperOrigin-RevId: 390507261
2021-08-12 18:29:06 -07:00
jfcarroll
07d33cfa9e
Initial implementation of BluetoothServerSocket
...
PiperOrigin-RevId: 390461649
2021-08-12 14:33:26 -07:00
jfcarroll
512ba2af43
Fix for the broken build, the signature of core constructor was changed, so I changed the core_adapter accordingly
...
PiperOrigin-RevId: 390458570
2021-08-12 14:20:29 -07:00
edwinwu
bf41ac7e9f
Fixes the bluetooth MAC address not contained in ble_advertisement if invalid. Add the reserved bytes.
...
PiperOrigin-RevId: 390290878
2021-08-11 22:14:32 -07:00
hai007
dc2d249cc4
For the purpose of better understanding of the WiFi technology device used during Nearby Sharing, We'll log the above parameters into ClearCut server.
...
Storage increase will be:
1.Build version: take RQ3A.210805.001.A1 as example, it needs 18 bytes in one device, so need 36 bytes in two devices.
2.Incoming or outgoing conection (
4 bytes tech +
4 bytes band +
4 bytes channel +
6 bytes network_operator +
2 bytes country_code +
1 byte tdls +
4 bytes try_counts +
1 byte wifi_ap_status +
4 bytes max_tx_speed +
4 bytes max_rx_speed) = 34 bytes)
So need 34*4 = 136 bytes in two directions initial connections and two directions bandwidth upgrades.
So there are total 172 bytes grows in each share.
(172 bytes in each sharing * 400000 shares/daily * 7 days/week) / GB = about 0.45 GB) (400000 was based on current shares/daily in Prod.)
PiperOrigin-RevId: 390282437
2021-08-11 20:57:25 -07:00
hai007
2eba476031
Client is able to send payload when the connection unencrypted, for example, NC allow client to send payload to multiple endpoints when at least one endpoint encrypted, it's a security leak that sending data to other unencrypted endpoint. Reject to send unencrypted data in PayloadManager to fix this.
...
PiperOrigin-RevId: 390047577
2021-08-10 21:20:06 -07:00
hai007
38a2f6a1fc
Initial commit of the CancellationFlag implementation
...
PiperOrigin-RevId: 389276621
2021-08-06 15:37:44 -07:00
hai007
434a50d3e2
input and output stream implementation
...
PiperOrigin-RevId: 389229126
2021-08-06 12:06:31 -07:00
nohle
f483110a8d
[NearbyConnections][C++] Have Cores share single ServiceControllerRouter
...
We refactor the `Core`/`ServiceControllerRouter`/`ServiceController` classes to better align with the GmsCore implementation. Notably,
1. `Core` instances share the same `ServiceControllerRouter`.
2. `ServiceControllerRouter` directly owns one `OfflineServiceController`--that is created lazily and destroyed when when the router is destroyed--instead of using a factory method to create `ServiceController`s.
3. Removes obsolete "strategy" logic from `ServiceControllerRouter`, which used to recreate service controllers if the "strategy" changed.
4. Removes `ServiceControllerRouter::ClientDisconnecting()`, which is identical to `StopAllEndpoints()`.
5. Makes various C++ style clean-ups like removing unnecessary static variables/functions.
See analogous Chrome OS changes at http://crrev.com/c/3025604 .
PiperOrigin-RevId: 389188124
2021-08-06 09:07:31 -07:00
hai007
7a02eaad37
Implemented BluetoothClassicMedium::ConnectToService
...
PiperOrigin-RevId: 389007196
2021-08-05 13:15:57 -07:00
xlythe
cb169f5897
Add '//buildenv/target:non_prod' compatibility
...
PiperOrigin-RevId: 388806419
2021-08-04 16:11:49 -07:00
jsobczak
dfc61a8f05
Move license text to BUILD files top
...
PiperOrigin-RevId: 388579579
2021-08-03 17:10:57 -07:00
nohle
ecb5e7488a
[NearbyConnections][C++] Change FATAL logs to ERROR
...
PiperOrigin-RevId: 388525052
2021-08-03 13:02:49 -07:00
hai007
0937be0fbb
Moved connections/windows to third_party, and copied the blueprint file into third_party
...
PiperOrigin-RevId: 388521021
2021-08-03 12:46:34 -07:00
jsobczak
4be6b7a70d
Internal change
...
PiperOrigin-RevId: 388461110
2021-08-03 08:34:09 -07:00
hai007
236bc66e9a
Moved connections/windows to third_party, and copied the blueprint file into third_party
...
PiperOrigin-RevId: 387621210
2021-08-02 18:52:21 -07:00
hais
4851400442
nearby presence with fake advertisement.
...
PiperOrigin-RevId: 388309745
2021-08-02 14:55:57 -07:00
xlythe
24d9ea6fe6
asdf
...
PiperOrigin-RevId: 387879731
2021-07-30 14:54:35 -07:00
hai007
942e6cbaa8
Moved connections/windows to third_party, and copied the blueprint file into third_party
...
PiperOrigin-RevId: 387621210
2021-07-29 11:58:12 -07:00
hai007
bc8b7117e7
Moved connections/windows to third_party, and copied the blueprint file into third_party
...
PiperOrigin-RevId: 387621210
2021-07-29 11:02:38 -07:00
xlythe
1db4420c59
BEGIN_PUBLIC
...
Microsoft has updated the winrt library
END_PUBLC
PiperOrigin-RevId: 387591860
2021-07-29 08:44:22 -07:00
hai007
b1815095dd
BEGIN_PUBLIC
...
Microsoft has updated the winrt library
END_PUBLC
PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00