Commit Graph
7 Commits
Author SHA1 Message Date
hai007 083d692205 Update connections_log.proto
PiperOrigin-RevId: 409772395
2021-11-14 01:39:58 -08:00
edwinwu 38f89e4e05 analytics: 3p NC: Update Connections_log.proto
PiperOrigin-RevId: 400862464
2021-10-04 18:21:32 -07:00
nohle 0d803da06e Replace proto.h includes with pb.h
PiperOrigin-RevId: 399801411
2021-09-29 16:20:05 -07:00
hai007 d68a8f6216 Add following information into metrics:
1. country code: where the device is located.
2. network operator: the telephony operator MCC/MNC value.
3. tdls status: the TDLS status of the WiFi Lan
4. AP frequency: the wifi frequency of the connected WiFi AP.
5. Tethering status: the enable status of the wifi Hotspot.
6. try counts: the try counds of the medium operation.
7. Tx/Rx speed: the MAX TX/RX speed of the WiFi network.
8. Channel width: the supported WiFi frequency MHz value. e.g. 20MHz or 40MHz for the WiFi Direct Client or WiFi Hotspot STA.

Storage increase will be:
1.4 bytes connected_ap_frequency in advertising side
2.4 bytes connected_ap_frequency + 1 byte supports_extended_ble_advertisements in discover side.
3. Incoming or outgoing conection:
    4 bytes wifi_channel_width
    So need 4*4 = 16 bytes in two directions initial connections and two directions bandwidth upgrades.

So there are total 4+5+16 =  25 bytes grows in each share.

(25 bytes in each sharing * 1072782 shares/daily * 7 days/week) / GB = about 0.175 GB)
(1072782 was based on current daily activedevice on 20210906.)

PiperOrigin-RevId: 398656656
2021-09-23 23:02:45 -07:00
edwinwu 8d8d435548 update nearby_connections: proto: analytics: BUILD file.
PiperOrigin-RevId: 394663167
2021-09-03 05:32:43 -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
hai007 3e40931286 No changes to public files
PiperOrigin-RevId: 392585608
2021-08-23 21:55:15 -07:00