summaryrefslogtreecommitdiff
path: root/proto/src
AgeCommit message (Collapse)Author
2021-01-08proto: Add OWNERS file for camera.protoShuzhen Wang
Test: None Bug: 175339054 Change-Id: I58e73855bf96bb2547db513f91968cd4c2d9e303
2020-12-08Merge changes from topic "dec5" am: c2793cf12bJeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519384 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifdc390f5ae046c515a30158f3f55b831be147547
2020-12-08Improve OWNERS coverage across frameworks/base/.Jeff Sharkey
As general background, OWNERS files expedite code reviews by helping code authors quickly find relevant reviewers, and they also ensure that stakeholders are involved in code changes in their areas. Some teams under frameworks/base/ have been using OWNERS files successfully for many years, and we're ready to expand them to cover more areas. Here's the historical coverage statistics for the last two years of changes before these new OWNERS changes land: -- 56% of changes are fully covered by OWNERS -- 17% of changes are partially covered by OWNERS -- 25% of changes have no OWNERS coverage Working closely with team leads, we've now identified clear OWNERS on a per-package basis, and we're using "include" directives whenever possible to to simplify future maintenance. With this extensive effort, we've now improved our coverage as follows: -- 98% of changes are fully covered by OWNERS -- 1% of changes are partially covered by OWNERS -- 1% of changes have no OWNERS coverage This specific change is automatically generated by a script that identifies relevant "include" directives. Bug: 174932174 Test: manual Exempt-From-Owner-Approval: refactoring with team leads buy-in Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813 Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-08-05Migrate PiP logs to UiEventHongwei Wang
Per go/uievent, migrated PiP logs to UiEvent and also in this change - Deprecates counterpart proto definitions in metrics_constants - Record PiP logs from SysUI only, deprecates what's used to be in WM Changes to the actual logging - No longer logs the actual aspect ratio - Disables logging the change of aspect ratio since there are flood of events can trigger this - Splits menu visibility log to SHOW_MENU and HIDE_MENU - Splits removal of PiP to TAP_TO_REMOVE and DRAG_TO_REMOVE - No longer logs supportsEnterPipOnTaskSwitch - Adds new RESIZE logging Bug: 147508020 Test: $ANDROID_HOST_OUT/bin/statsd_testdrive -terse 90 Merged-In: I805d16ae6f30c07270b743f7ae1e66cbbd121131 Change-Id: I805d16ae6f30c07270b743f7ae1e66cbbd121131
2020-04-16DO NOT MERGE Update NFW location access notification stringsSoonil Nagarkar
Bug: 153651821 Test: manual Change-Id: I9816555be467d22eba65778a48899144bdad8436
2020-04-10Add SettingsStats puller in StatsPullAtomServiceRaff Tsai
1. Add typed_features.proto contain StringListParam proto 2. Add SettingsStatsUtil to parse DeviceConfig whitelist and create log 3. Add test case in SettingsStatsUtilTest Test: atest FrameworksServicesTests:SettingsStatsUtilTest adb shell cmd stats pull-source 10080 Bug: 142941011 Change-Id: I5a161cf12dd6d52ae80813e6d1fe10ecbc5d05cd
2020-02-27Remove the notification when FGS while-in-use permission is restricted.Hui Yu
Bug: 136219221 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java Change-Id: I996abab1c7032e5247883f3b06ba2bd82c425007
2020-02-24Store original task width and height instead of scalePeter Kalauskas
Store the original task snapshot size instead of the scale from which the bitmap was saved. This simplifies the logic around restoring and saving from the proto, as both the reduced scale and full scale snapshots make use and share the same state. Also remove scale from TaskSnapshot, and remove and reducedScale from TaskSnapshot.Builder. Test: TaskSnapshotCacheTest Test: TaskSnapshotControllerTest Test: TaskSnapshotPersisterLoaderTest Test: TaskSnapshotSurfaceTest Bug: 148491788 Bug: 148617404 Bug: 142063079 Change-Id: I1dccaba87c3d8b95bf4156f41f9fd5d40019f675
2020-02-22[adbwifi] Make AdbManager changes for adb over WiFi.Joshua Duong
This CL has a couple of notable changes: - Add communication layer between adbd, system server, and Settings UI - Add system notification (Wireless debugging connected) when at least one device is connected. - Add trusted networks (BSSID) to the keystore. - Changed the keystore format to: <keyStore version="1"> <adbKey ... /> <wifiAP ... /> </keyStore> - Currently, trusted networks don't have a expiration time. Also, only way to clear it is by blowing up the keystore (revoke permissions). - Add pairing mechanism: - Using libadbwifi_pairing_connection C++ library to pair a device using SPAKE2 protocol over TLS. - Register MDNS service for client discovery. - Removed ability to ctl.start/stop adbd from UsbDeviceManager - AdbService now controls when to do this Bug: 111434128, 119490154, 119492574 Test: Manual. From developer options: 1) USB debugging off, WiFi Debugging off - Ensure both transports are disabled by trying to connect via WiFi and USB. 2) USB debugging on, WiFi Debugging off - Connections via USB are available, WiFi is disabled 3) USB debugging off, WiFi Debugging on - Connections via WiFi are available (IP + port), USB is not available 4) USB debugging on, WiFi Debugging on - Check both transports work Change-Id: I9f87679d195da99a55b6faf7131da1f1af65fe01 Exempt-From-Owner-Approval: approved in aosp master (cherry picked from commit a5969b5a1d9fe08783c32ea23bead56252a74383)
2020-02-19Show a notification when FGS while-in-use permission is restricted.Hui Yu
Change from showing a toast to a notification. Bug: 136219221 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java to trigger the notification. Change-Id: If22a72fb5a70b14d0b424fbcfe6d1e5c70f2a34d
2020-02-13Wifi: Notification id for sim requiredKumar Anand
Framework needs to launch a notification when wifi is disconnected due to SIM removal Bug: 147113247 Test: atest FrameworksWifiTests Change-Id: I4901eda93ec46e577a8d947736b9f6a7b2f70f68
2020-02-06Add location notification and target sdk checksSoonil Nagarkar
Check target SDKs to disallow using setSecureSetting with LOCATION_MODE and point clients to setLocationEnabled() instead. Show notifications to users when location settings are changed by the admin. Bug: 136219903 Test: manual - triggered setLocationEnabled and observed notification Change-Id: I07c150e62230b06f76ec7bd5197a23e703ffb918
2020-01-23Add rotation field to ThumbnailData for task snapshotsVinit Nayak
Add the rotation a task was in when its snapshot is taken. This is used by launcher to know which way to orient the bitmap when performing quickswitch fixes: 143892437 Test: Test: With launcher in portrait * Thumbnail in reverse portrait, landscape, seascape, normal With launcher in landscape * Thumbnail in seascape, normal, reverse portrait, landscape With launcher in seascape * Thumbnail in seascape, normal, reverse portrait, landscape Change-Id: Iaf32341d0db1fc023c29676e0d365eee03b98959
2020-01-23Add DPM methods to allow org owned PO to suspend personal appsPavel Grafov
* When personal apps are suspended, only dialer, IMEs, a11y, launcher are some other critical apps are exempted. * User is presented with notification, clicking on which invokes an activity in the DPC. Bug: 147414651 Test: manual via TestDPC Change-Id: I09f8dad08e54b0ce8201cd5c76b3f34342e0da8f
2020-01-17Wifi: Add notification ID for softap auto shutdownlesl
Notify the user that their softap disabled because there are no connected devices and shutdown timeout expired. Bug: 142752869 Test: atest FrameworksWifiTests Change-Id: Ib68607c1fcdced280191af397eda3cc900bdf7cf
2019-12-24Wifi: Add notification ID for eap failureIsaac Chiou
Framework needs to launch notification when specific eap failure occurs. Add notification ID for this behavior. Bug: 139880103 Test: atest FrameworksWifiTests Test: manual test Change-Id: I416417ce8dc3d49002e03271f5945c0452191f39
2019-11-14Add notification ID for no random mac supportxshu
Bug: 144172117 Test: atest FrameworksWifiTests Change-Id: Iad7f21651bc20304fc3b8e108c04057c4bb51b2e
2019-10-28proto(wifi): Move wifi proto out of common folderRoshan Pius
Need to statically link the generated wifi proto stubs. So, moving it out of framework. Bug: 143455267 Test: Compiles Change-Id: I3bfcf1d997623e17f0f49ca2527cc2ea54bbdd32
2019-10-26Merge "BssidBlocklistMonitor proto changes"Oscar Shu
2019-10-23BssidBlocklistMonitor proto changesxshu
proto changes to support BssidBlocklistMonitor Bug: 139287182 Test: unit tests Change-Id: I00f6940903871fe65d7b577b87bcc9170a7ff428
2019-10-23Merge "Better notification to user when DNS-over-TLS is broken" am: ↵Lucas Lin
81852c8481 am: eb24608dbc am: a55366ffdb am: 7038dfad2a Change-Id: Iffbdc181d8249f26b3c370474583673aaa1c5032
2019-10-23Merge "Better notification to user when DNS-over-TLS is broken" am: ↵Lucas Lin
81852c8481 am: eb24608dbc am: a55366ffdb Change-Id: I9d840678b1612c89b7917e8eece0c920326a83a0
2019-10-23Merge "Better notification to user when DNS-over-TLS is broken"Lucas Lin
am: 81852c8481 Change-Id: I8be963e35ed5e5ba914c6d3504a52ccb789aaf29
2019-10-22Better notification to user when DNS-over-TLS is brokenlucaslin
Provide a specifc notification to let users know that device has no internet is because it really doesn't have internet access or it's caused by private DNS resolution failed. Bug: 113242081 Test: atest FrameworksNetTests Change-Id: I710c88a4742f5fd56c39fc797d7fa3ad36dba553
2019-10-14Deprecate unused metricsarangelov
PROVISIONING_TRAMPOLINE_ACTIVITY_TIME_MS PROVISIONING_POST_ENCRYPTION_ACTIVITY_TIME_MS PROVISIONING_FINALIZATION_ACTIVITY_TIME_MS These metrics are meant to measure intermediate screens, e.g. screens which finish() in onCreate. It does not make sense to measure the time they have been shown. Test: compiled Fixes: 135599174 Change-Id: I14d4f0b9fb5d70cfaeb386eb14348c0cc499113a
2019-10-04Merge "Revert "Wifi usability: Change the unit of the threshold for tx/rx ↵Mingguang Xu
throughput from Mbps to Kbps"" into qt-qpr1-dev
2019-10-04Revert "Wifi usability: Change the unit of the threshold for tx/rx ↵Mingguang Xu
throughput from Mbps to Kbps" This reverts commit 078fe45552425c18aa8052da0ae3c9205fa5c309. Reason for revert: This change introduced a bug and it completely changed the functionality of WiFi data stall detection, e.g., high Tx link speed can easily trigger data stall.  We would like to roll back them to restore the normal functionality of Wifi data stall detection. Bug: 141995185 Change-Id: I024808b580955545b084112c4b14921f038b595f Merged-In: I078d28ed81a84e32aaece839a51590364a974481
2019-09-25Add a notification when console is activeWei Wang
Performance is largely impacted when console is running, and device should not ship with that configuration. Moreover, we have seen cases, when performance of new features was tested with UART on. This CL adds a notification when console service is active indicating UART is on. Fixes: 119623211 Test: Enable UART and see warning after boot Test: Disable UART and no warning Change-Id: Ie60f763088a15608027986ac855466eb7fc97264
2019-09-21Merge "Add log metrics for Aware Display Settings" into qt-qpr1-devEdgar Wang
2019-09-20Merge "Add log metrics for Aware Display Settings"TreeHugger Robot
2019-09-20Add log metrics for Aware Display SettingsEdgar Wang
Bug: 136610131 Test: rebuild Merged-In: I5b96a3a04a1d2c1ba01b9ec1f707dec040a331c3 Change-Id: Ibfdcba4be652cf7885f46e7549c344e12ae11127
2019-09-20Add log metrics for Aware Display SettingsEdgar Wang
Bug: 136610131 Test: rebuild Change-Id: I5b96a3a04a1d2c1ba01b9ec1f707dec040a331c3
2019-09-19Merge "Wifi usability: Change the unit of the threshold for tx/rx throughput ↵Mingguang Xu
from Mbps to Kbps" into qt-qpr1-dev am: a295feab37 am: db114da8a5 Change-Id: I4693287fb44a9fa22b2b786b96a2d8be414e7376
2019-09-19Wifi usability: Change the unit of the threshold for tx/rx throughput from ↵Mingguang Xu
Mbps to Kbps Data stall event can be triggered if the tx/rx tput is consecutively below a threshold over multiple RSSI polls. Changing the unit of the threshold from Mbps to Kbps allows us to configure a value below 1Mbps, e.g., 400Kbps. Bug: 141027476 Test: frameworks/base/wifi/tests/runtests.sh Signed-off-by: Mingguang Xu <mingguangxu@google.com> Change-Id: Ib7b398fb6975c0d03b09550db9bf68a2bb8bddfb Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
2019-09-18Merge "Wifi usability: Data stall detection based on link layer stats" into ↵Mingguang Xu
qt-qpr1-dev am: d65f8c6704 am: 12a8212d5b Change-Id: I07309df430dc46c4ef8cbae83b9f1097a08bfb3f
2019-09-18Merge "Wifi usability: Data stall detection based on link layer stats" into ↵Mingguang Xu
qt-qpr1-dev
2019-09-18Wifi usability: Data stall detection based on link layer statsMingguang Xu
This is an effort to define new criterion for triggering Wifi data stall: (1) Defined data stall criterion based on transmit and/or receive throughput, transmit packet error rate, and CCA level. Data stall is triggered when transmit and/or receive links are consecutively bad over multiple RSSI polls. (2) Added DeviceConfig flags (that is disabled by default) which may be configured on the server side to tune the thresholds at which data stall gets triggered. Bug: 141027476 Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I895fd54cc7ec32815bce1899354ca265d4e93ea9 Signed-off-by: Mingguang Xu <mingguangxu@google.com> Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
2019-09-16Merge "L5 Metrics Addition:" into qt-qpr1-devBlake Kragten
2019-09-13Add constant for System actions in Sharesheet.Alison Cichowlas
Test: manual; compiles Bug: 140928181 Change-Id: I66e38efbf87bed573766a17cc1401ed19e606c48 (cherry picked from commit a2d980661cb7d02c917764bde1d426cb55bc2d88) Merged-In: I66e38efbf87bed573766a17cc1401ed19e606c48
2019-09-13L5 Metrics Addition:Blake Kragten
Added L5 metrics to determine if L5 should be enabled or not. Test: On device adb shell dumpsys location Output: Number of CN0 reports: 149 Top 4 Avg CN0 mean (dB-Hz): 26.100838872410307 Top 4 Avg CN0 standard deviation (dB-Hz): 1.7702387090734562 Total number of sv status messages processed: 4202 Total number of L5 sv status messages processed: 703 Total number of sv status messages processed, where sv is used in fix: 1979 Total number of L5 sv status messages processed, where sv is used in fix: 46 Number of L5 CN0 reports: 97 L5 Top 4 Avg CN0 mean (dB-Hz): 20.273711379041377 L5 Top 4 Avg CN0 standard deviation (dB-Hz): 2.632911219511556 Used-in-fix constellation types: GPS GLONASS GALILEO Output Logs: https://drive.google.com/drive/folders/1tGEolHWtF92UkJ8lxgFihIzfWLl8ChZK?usp=sharing Bug: 137575988 Change-Id: Id306d7cc27c9410a5ad73f5a0940c25f8d795686 Merged-In: Id306d7cc27c9410a5ad73f5a0940c25f8d795686
2019-09-13Merge "L5 Metrics Addition:"Blake Kragten
2019-09-12Add constant for System actions in Sharesheet.Alison Cichowlas
Test: manual; compiles Bug: 140928181 Change-Id: I66e38efbf87bed573766a17cc1401ed19e606c48
2019-09-12L5 Metrics Addition:Blake Kragten
Added L5 metrics to determine if L5 should be enabled or not. Test: On device adb shell dumpsys location Output: Number of CN0 reports: 149 Top 4 Avg CN0 mean (dB-Hz): 26.100838872410307 Top 4 Avg CN0 standard deviation (dB-Hz): 1.7702387090734562 Total number of sv status messages processed: 4202 Total number of L5 sv status messages processed: 703 Total number of sv status messages processed, where sv is used in fix: 1979 Total number of L5 sv status messages processed, where sv is used in fix: 46 Number of L5 CN0 reports: 97 L5 Top 4 Avg CN0 mean (dB-Hz): 20.273711379041377 L5 Top 4 Avg CN0 standard deviation (dB-Hz): 2.632911219511556 Used-in-fix constellation types: GPS GLONASS GALILEO Output Logs: https://drive.google.com/drive/folders/1tGEolHWtF92UkJ8lxgFihIzfWLl8ChZK?usp=sharing Bug: 137575988 Change-Id: Id306d7cc27c9410a5ad73f5a0940c25f8d795686
2019-07-25Merge "WifiMetrics: add per-band Tx and Rx speed histogram" into qt-r1-dev ↵Kai Shi
am: 6564df6264 am: e6fb43cff3 am: 4b8e648da6 Change-Id: I94f28a860e18d80be6c5dc5db677aa17af5b2c73
2019-07-19WifiMetrics: add per-band Tx and Rx speed histogramKai Shi
Bug: 137886569 Test: Unit tests for Wifi: frameworks/opt/net/wifi/tests/wifitests/runtest.sh and manual test Change-Id: I30aae21651237b1bc7291527d0beab3e28dadb21
2019-07-16Adds identifier to TaskSnapshotHongwei Wang
This identifier is introduced to differentiate two task snapshots in AiAi. Currently, the timestamp (in millis) is chosen as the identifier. Bug: 136563752 Test: atest TaskSnapshotPersisterLoaderTest Change-Id: I249511d1e4bb34a93d5db08d2b1cea3b1ee5d034
2019-06-24Adds metrics categories for gesture navigation dialogsMehdi Alizadeh
Bug: 135211145 Test: Builds Change-Id: I0bc0749bbbb9b78d3d125e1a0f1e9bc35b645db2
2019-06-19Merge "Add config to control full task snapshot scale" into qt-devTim Joines
2019-06-18Add metrics for mainline modules license UI.Andrew Sapperstein
Bug: 135183006 Test: none Change-Id: Id5f0ed37f64545d7e1b73f9aad61a0357460eea5
2019-06-18Add config to control full task snapshot scaleWinson Chung
- Also save the scale with the snapshot data instead of trying to infer it from the state - Also recycle the reduced resolution snapshot copy after writing it Bug: 135150767 Test: atest TaskSnapshotPersisterLoaderTest Change-Id: I64a9ccf16f3966ad5c6d07ff0b6ce8e9dd710e40