summaryrefslogtreecommitdiff
path: root/proto/src
AgeCommit message (Collapse)Author
2022-05-02Add ICE metrics const.Bauuuuu
Change-Id: I4299fca7c4b8f38d513e3f044ebfb77a292e9094
2022-03-15Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
2021-07-08Add unique notification ids for mic/cam togglesEvan Severson
Test: Build and try notifications Fixes: 192059115 Change-Id: I328ef6b1649b8930df4ed81393a0352317d360da
2021-04-09NAS Settings MigrationChloris Kuo
Change default NAS to AiAi for Pixel devices Bug: 173106358 Test: manually on device, atest Change-Id: I2fe0b3eed479188509df5ce65d1b2a1281e6c85a
2021-03-19Camera: Define camera stream proto separatelyShuzhen Wang
Define camera stream proto within framework so that the atoms.proto can be used in standalone fashion, avoiding extra dependency. Test: Run camera and inspect logging data using statsd_testdrive Bug: 175339054 Change-Id: I41299025504ff009116c9149750c5c505ce27504
2021-03-18Prompt notifications for non-accessibility serviceslucychang
Prompts a notification for the non-accessibility category service after 24 hours enabled to alert users the service has powerful permissions to view and control the device. And the notification won't be resend to the same service by saving the dismiss record to Settings. Bug: 176965357 Test: atest AccessibilitySecurityPolicyTest atest PolicyWarningUIControllerTest and manually test Change-Id: Id5daf7b14dc88cf3f71a53f46fa9a8f1dee91822
2021-01-29Allocate new message Id for IMSI notificationNate Jiang
Bug: 178658577 Test: build Change-Id: Iee270f957d14e4d147c5c849b3985c44b6982b1d
2021-01-09Merge "proto: Add OWNERS file for camera.proto" am: 928789a180 am: ↵Treehugger Robot
7102a70e38 am: a76c73468a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543875 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I54d7d02ad8862b0f770fa0133a9cb803e30950f3
2021-01-08proto: Add OWNERS file for camera.protoShuzhen Wang
Test: None Bug: 175339054 Change-Id: I58e73855bf96bb2547db513f91968cd4c2d9e303
2020-12-09Revert "Temporarily replace "android.com" accounts."Jeff Sharkey
This reverts commit 0ace970e1997c91b1b105eb3e326963bc04164d3. Bug: 174932174, 175111824 Exempt-From-Owner-Approval: refactoring with team leads buy-in Change-Id: I152186408ecf6da1cb7354d14737de7cce55a34b
2020-12-08resolve merge conflicts of 358f0d4fc8c248498cf113c41e043877a14e89a1 to masterJeff Sharkey
Bug: 174932174 Test: I solemnly swear I tested this conflict resolution. Exempt-From-Owner-Approval: refactoring with team leads buy-in Change-Id: I9262a08ffc1ccede8e519d0eed90ed2bfcf0232c
2020-12-08Temporarily replace "android.com" accounts.Jeff Sharkey
We're temporarily blocked on internal Gerrit tooling to support relaxed OWNERS validation, so this change temporarily replaces all "android.com" accounts with "google.com" equivalents. Bug: 174932174,175111824 Exempt-From-Owner-Approval: refactoring with team leads buy-in Change-Id: I114f2a40cee1b65e21250da7372e11c18cd73e25
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-11-19Merge "Show notification to promote window magnification mode available"Ryan Lin
2020-11-18Don't handle the system UI visibility at server sideTiger Huang
The system UI visibility has been deprecated. Except disable flags, it should be converted to the new APIs before being sent to WMS. This CL renames mSystemUiVisibilitiy to mDisableFLags in WindowState. Bug: 149813814 Test: atest TaskSnapshotControllerTest TaskSnapshotPersisterLoaderTest Change-Id: I6730ba664359656ee814c7bc959844d6ed4aaeb9
2020-11-12Show notification to promote window magnification mode availableryanlwlin
The magnification mode is full-screen when the migrating deivce turns on magnification settings. We show a notification prompt the user that new window magnifier to guide the user to take a look. Bug: 168635084 Test: 1. adb shell settings put secure \ accessibility_show_window_magnification_prompt 1 2. use full-screen magnification to see if it works well. atest WindowMagnificationPromptControllerTest atest FullScreenMagnificationGestureHandlerTest Change-Id: I40dfc49307d2dad380f1e662960d35f5cc5e7524
2020-09-30Show a notification when a BG-launch FGS is restricted.Hui Yu
Previously each BG-launch FGS that is restricted has a logcat message, now we also display a notification that has: Title: "Foreground Service BG-Launch Restricted" Content: "App restricted:" + app package name Detail: intent of the FGS. Use following command to turn on the FGS BG-launch restriction feature: adb shell device_config put activity_manager default_fgs_starts_restriction_enabled true adb shell device_config get activity_manager default_fgs_starts_restriction_enabled Bug: 157473819 Test: Observe the notification when FGS BG-launch is restricted. atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testFgsStartFromBG Change-Id: Ia1ce1c7e103fbfa0a8487b0a3009b2d2ca61ba74
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-08-04Migrate 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 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