summaryrefslogtreecommitdiff
path: root/proto
AgeCommit message (Collapse)Author
2025-02-27Merge "[owners] Remove yro@google.com from ↵ Owner Cleanup Bot
proto/src/metrics_constants/OWNERS" into main am: af45abbeb4 am: 011eae961f Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3507246 Change-Id: I992ccca56381e3c1f772050a20d23dfb454b189d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-27Merge "[owners] Remove yro@google.com from ↵ Owner Cleanup Bot
proto/src/metrics_constants/OWNERS" into main
2025-02-26Merge "Remove yanglu@google.com from proto/src/metrics_constants/OWNERS" ↵ Treehugger Robot
into main am: d17a61ab47 am: a302322788 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3270851 Change-Id: Iddb54f10e7004b6d3e83c03d3d3897cbd94bdfcd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-26Merge "Remove yanglu@google.com from proto/src/metrics_constants/OWNERS" ↵ Treehugger Robot
into main
2025-02-25[owners] Remove yro@google.com from proto/src/metrics_constants/OWNERS Owner Cleanup Bot
This suggested change is automatically generated based on group memberships and affiliations. Please approve this change and vote the highest CR. This will keep the OWNERs file tidy. We ask that you do not ignore this change and approve it unless you know a reason the OWNER should remain. It can always be reverted if needed. If this change is in error, vote the lowest CR value (i.e. reject the CL) and the bot will abandon it. See the owner's recent review activity for context: https://android-review.googlesource.com/q/yro@google.com To report an issue, file a bug in the Infra>Codereview component. Change-Id: I1260f4e0f34c11f4dd13f1a04f7b1f0f03072f51
2025-01-08Revert^2 "[HA Input] Show notification to hint user can change input device ↵ Chaitanya Cheemala (xWF)
when calling" This reverts commit d05661f1d99a824d68f2950fc36c32b698eff787. Reason for revert: CL owner requested to revert this in order to fix the bug b/388436864 with their existing fix. Thanks! Change-Id: Ica69286f6bc55366ef9e979279608d8c951df5e6
2025-01-08Revert "[HA Input] Show notification to hint user can change input device ↵ Chaitanya Cheemala (xWF)
when calling" This reverts commit 8f561169dc1ce4c6696804e884d842bede05bb77. Reason for revert: Likely culprit for b/388436864 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I14b956e53929d019cde8144d5e4a44cf84dfb1f4
2025-01-06[HA Input] Show notification to hint user can change input device when calling jasonwshsu
* Listen to phone state 'CALL_STATE_OFFHOOK' and show notification when hearing device is connected * 'Switch' action button on notification to temporary switch input device * 'Settings' action button on notification to launch to device details page * Tap on notification to also bring user to device details page Bug: 349255906 Test: atest HearingDevicePhoneCallNotificationControllerTest SystemNotificationChannelsTest Flag: com.android.settingslib.flags.hearing_devices_input_routing_control Change-Id: Ic4920e2fde5e0c002018b15c2734a3b27b60d038
2024-12-04Fix hidden API usages to alternative API usages Sandeep Bandaru
After moving the code to mainline module, all interactions from platform should be via APIs or relevant util classes cloned and jarjar'd within the module. This change moves such usages to existing APIs or makes a module-utils copy of such classes to be used independantly in the module. Flag: build.release_ondevice_intelligence_module Bug: 376427781 Change-Id: I5bc5fa5b7e2e2ba2899b4cbba536103d66a6aa19
2024-10-02Delete super-obsolete zen onboarding Matías Hernández
A notification was shown when upgrading from pre-P to P because default DND settings had changed. The default was later changed back so it was already obsolete at that point. Moreover, it should be impossible to upgrade from pre-P to V in one step. Bug: 346789065 Test: atest SystemNotificationChannelsTest for channel removal, otherwise N/A since this is code deletion Flag: EXEMPT Unflaggable -- removing resources, manifest entries, etc. Change-Id: I1c6af0e25b15108554c5fd57abff23da5d2a749e
2024-09-17Remove yanglu@google.com from proto/src/metrics_constants/OWNERS Owner Cleanup Bot
This suggested change is automatically generated based on group memberships and affiliations. If this change is unnecessary or in error, vote the lowest CR value (i.e. reject the CL) and the bot will abandon it. Vote the highest CR to approve this change. You may also abandon this change. See the owner's recent activity for context: https://android-review.googlesource.com/q/yanglu@google.com To report an issue, file a bug in the Infra>Codereview component. Change-Id: Icd7126555fa3214986b5846344ed58c6fb91e7f2
2024-07-30[PB] Do not show snapshot if uiMode has changed. wilsonshih
- Record uiMode in TaskSnapshot. - While preparing predictive back animation, if the uiMode of snapshot is not match activity's uiMode, fallback to use splash screen surface. - Draw windowless splash screen with latest theme & configuration. Flag: EXEMPT bugfix Bug: 351119448 Test: follow issue description, switch dark/light theme then trigger predictive back, verify no serious contrast changes. Test: atest SnapshotDrawerUtilsTest StartingSurfaceDrawerTests ActivityTaskManagerThumbnailLoaderTest ActivitySnapshotControllerTests TaskSnapshotPersisterLoaderTest Change-Id: I8c3b4e9444e5cfacf21c97da3b0d13c1ef76fcf3
2024-06-21Notification for wrong HSUM state Adam Bookatz
It is theoretically possible to flash (without wiping) an HSUM build onto a device that was hitherto non-HSUM (or vice versa). In that case, we purposefully leave the device in the previous mode, since there is no way to safely change the HSUM state. However, that situation may be confusing to the user, who may flash the device (or receive an OTA) without realising that a wipe was required in order to change their HSUM state. We therefore now show a notification when this happens, instructing the user to factory reset the device, so that it can get into the correct HSUM state. This is only expected to affect experiments/dogfooding. Normally, we do not expect organizations to OTA between HSUM-non-HSUM builds without wiping. If an OEM wishes to do this inadvisable activity, they would be advised to similarly disable this notification. Test: manual Bug: 341963779 Flag: EXEMPT bugfix Change-Id: I620afa7db941c117e93529f408c728b8c1d411c1
2024-06-20Merge "ID for avalanche education HUN" into main Lyn Han
2024-06-20ID for avalanche education HUN Lyn
Bug: 342555873 Test: just adding id Flag: com.android.systemui.notification_avalanche_throttle_hun Change-Id: Ic26778ec0595d9807d7159af47e9bf3b059b1212
2024-06-13Expose InferenceInfo via Hidden API for V to use in Settings App. sandeepbandaru
- Parse InferenceInfo based on a proto definition to be reused in the remote implementation and passed as byte[] in the result Bundle incase of success and Base64 string in the PersistableBundle incase of failures. - Add a in-memory list of inference info as received from the remote implementation. - Evict entries based on max-age of configured 3 hours, as settings app will query this data every hour. Bug: 335390745 Change-Id: I92883c1009ffcda4f499e439928ab4528f6483a5
2024-06-13Merge "Adding OWNERS file for protos and test folders related to ↵ Sandeep Bandaru
ondeviceintelligence" into main am: 6665b8b764 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3119795 Change-Id: I42a6bc59d8a17d80e441964d550fad28ad1e50e4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-13Merge "Adding OWNERS file for protos and test folders related to ↵ Sandeep Bandaru
ondeviceintelligence" into main
2024-06-13Adding OWNERS file for protos and test folders related to ondeviceintelligence sandeepbandaru
Test: n/a Change-Id: Ie87d499889b070eab989d1355174be01dc7d49d1
2024-05-24Merge Android 24Q2 Release (ab/11526283) to aosp-main-future Xin Li
Bug: 337098550 Merged-In: Ie71e752f0224aa239ba1350d50996ce4b510949a Change-Id: Ib25c1abf055b0114e0494088df5585f65df27595
2024-05-16Merge "Add vm name and version to am capabilities" into main am: 9e3197876e ↵ Treehugger Robot
am: d333c8a20f Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3086485 Change-Id: Iae0ef015767c98cb02d482bbf6b2721fa5917058 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-15Add vm name and version to am capabilities Fabien Sanglard
This CL is part of the go/kddm project, to deprecate DDM protocol. HELO packet currently return the VM name and version, this CL allows to retrieves the same invo from a tool accessible from shell. The data is retrieved the same way it is retrieved in DdmHandleHello. handleHELO (System.getproperty). Test: NA Bug: go/kddm Change-Id: Id5cf9bf768f397bf3595e577f0da7a001b7ec394
2024-04-11Merge "Add Framework and VM capabilities to am" into main am: 1fc9f2216d am: ↵ Treehugger Robot
429b9cfe83 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3026305 Change-Id: I01053bf5d9dcb5e7e9be5a7684a4d095bc707ae0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11Add Framework and VM capabilities to am Fabien Sanglard
DDM is set to be deprecated soon. We need another venue to discover the capabilities of the VM and Framework we used to get from FEAT and HELO packets. Test: NA Bug: 333926583 Change-Id: I4743e2e840b6f87f9eb41a51e36ef0b6cab3ebe1
2024-02-23Track excessive binder calls in the critical event logs. Olivier Gaillard
It will help to understand if any ANRs are due to high binder calls. Change-Id: I3aad499f73ff00c52689c69e85ac87ca8b91e5ac
2024-01-10Merge "[Drag To Hide] Shows notification when user drag-to-hide a11y ↵ Jason Hsu
floating button" into main
2024-01-09[Drag To Hide] Shows notification when user drag-to-hide a11y floating button jasonwshsu
* Click on notification to bring back a11y floating button * Swipe notification to remove a11y floating button and its services * A11y service key changed to dismiss notification * Align to create ACCESSIBILITY channel in systemui NotificationChannels Bug: 298718415 Flag: ACONFIG com.android.systemui.floating_menu_drag_to_hide DEVELOPMENT Test: atest MenuViewLayerTest MenuNotificationFactoryTest NotificationChannelsTest Change-Id: Ie209ec946ea15903acfa6913492605277e9d7057
2024-01-08Log an event when packages are installed to understand the impact on ANRs. Olivier Gaillard
Bug: 318823843 Change-Id: I700ff65587f14a75e869c8c76a6ae7022f6c3067
2023-11-07Log when system server started time and add it to the ANR dumps Olivier Gaillard
Change-Id: I7b8584580fefd41f5654de47e76b20929f5ab28b
2023-10-13Refactor screenshot logging in case of external display Nicolò Mazzucato
This makes a few changes to make error logging more explicit in case of connected displays. - RequestProcessor now throws a typed exception, so we can avoid catching unrelated errors in TakeScreenshotExecutor - ScreenshotNotificationsController can be created only with a factory, providing a displayId. The display ID is used to append "(External Display)" string for error notifications happening on any display that is not the default one. - There can be a maximum of 2 error notifications: one for the default display (as before), and another that is shown in case of any error in any external display connected. - Error reporting for ScreenshotData processing or ScreenshotController issues has been completely moved to TakeScreenshotExecutor and scoped to display ID. TakeScreenshotService still reports some early failures unrelated to displays. - As we can't specify the displayId in UiEventLogger: if the failure is generic and we reach it from TakescreenshotService, only one SCREENSHOT_REQUESTED_... is reported. However, if the screenshot request reaches TakeScreenshotExecutor, then one event per display will be reported. Test: RequestProcessorTest, TakeScreenshotExecutorTest, TakeScreenshotServiceTest Bug: 296575569 Bug: 290910794 Change-Id: If187e9713b344605466a2dcb78267ededccfcc85
2023-10-11Polite notifications Valentin Iftime
Add polite notifications implementation to NotificationAttentionHelper: - 2 cooldown strategies: to be reduced to a single strategy after dogfood. Test: atest BuzzBeepBlinkTest Test: atest NotificationAttentionHelperTest Bug: 270456865 Change-Id: I185a0a4b13d6602061c664d1babe6beff7630cd1
2023-04-10Sound Dose Notification Behnam Heydarshahi
Send a notification when SoundDose dialog is ignored by user to inform them that the audio was lowered by the system. CsdWarningDialog now uses DelayedExecutor instead of CountDownTimer. Implement tests for CsdWarningDialog and its client. Bug: b/267464531 Test: atest VolumeDialogImplTest CsdWarningDialogTest Change-Id: I9c0ad6b410e0eb009b6a1ea032c7f618a4f4791a
2023-02-14Merge "Show notification when work profile switched off" Anthony Alridge
2023-02-13Show notification when work profile switched off Anthony Alridge
This will notify the user if phone calls and messages are unavailable. Screenshots in bug Bug: 262720433 Test: Manually tested on Pixel 6a Change-Id: I060c3fa225fe1cf53344d9f8b634e8afbbab468d
2023-02-03Usb: Add UVC support to UsbManager and UsbDeviceManager Avichal Rakesh
This CL adds support for UVC gadget function in USB System service. Bug: 242344221 Test: Manually tested that the UVC function can be enabled when needed. API-Coverage-Bug: 267667903 Change-Id: Ifd93f065426a224274ec39f53366dd6e3fee0bfa
2023-01-26Add "am capabilities" for tools probling Fabien Sanglard
There is no way to know which command/flags are supported in am. This CL adds a "capability" command which allows to probe programatically. Test: NA Bug: 265460189 Change-Id: If50269251a6907968e7c8afe10bf873f25338b91
2022-12-21Merge "Letterboxing improvements for tabletop mode" into tm-qpr-dev am: ↵ Mariia Sandrikova
59326ce728 am: 0a6aa03d88 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20111697 Change-Id: Id4f85578ab3a712fa7b90c26bd02cb0a3c50f844 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21Merge "Letterboxing improvements for tabletop mode" into tm-qpr-dev am: ↵ Mariia Sandrikova
59326ce728 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20111697 Change-Id: I4006f2c9a1a88b530a6d79f83420d268365b6fa5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19Letterboxing improvements for tabletop mode William Osborn
Move letterboxed apps to the top screen and resize when in tabletop pose and move to the left for book mode. Also allow double-tapping to move the app to the alternative half of the screen. Bug: 245740388 Test: locally tested Change-Id: I14434ad23091de3957f04284e03da8701f159fa4
2022-12-02Adds complete U implementation of AltitudeConverter. Brian Julian
Relnote: N/A Bug: 231327615 Test: atest CtsLocationNoneTestCases Change-Id: I7bac8b12ddd68732f99ff04e30f169657c2d2e71
2022-10-26Merge "Letterbox Reacheability Multiplier Persistence" into tm-qpr-dev am: ↵ Massimo Carli
a8117a579f am: 82a3d574a0 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19429915 Change-Id: I09f187d2620654a68b96f6722abe97ac6ef2c094 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-26Merge "Letterbox Reacheability Multiplier Persistence" into tm-qpr-dev am: ↵ Massimo Carli
a8117a579f Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19429915 Change-Id: I8949d6f923a335d88e49e84848bec7992084f1e1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25Letterbox Reacheability Multiplier Persistence Massimo Carli
Persist values for horizontal and vertical position multipliers. Test: atest LetterboxConfigurationTest LetterboxConfigurationPersisterTest Fixes: 199434061 Change-Id: I194828be402ff1fd234e371055522962647a4d32
2022-10-24Merge "Create API for reporting color space support to Camera2 framework ↵ Austin Borger
consumers."
2022-10-20Create API for reporting color space support to Camera2 framework consumers. Austin Borger
Test: Ran CtsCameraTestCases Test: Ran new VTS test for color space reporting Test: Created app to test display P3 camera, switching between color spaces Bug: 238359088 Change-Id: I5c74ea438970cbe55f93b925a6744f4343bc545a
2022-10-19Stop using notification for IME switcher Yohei Yukawa
InputMethodManagerService has had logic to show notifications when the IME switcher icon cannot be shown on NavigationBar[1][2][3][4][5]. With this CL, such a fallback behavior is completely removed. Devices and form-factors that need a special handling need to come up with their own solution rather than relying on this historical notification mechanism. [1]: I2b9e955003c1f6703978824c947d5f322a039714 7cfc0ed21a3fafabafb40b38a8589808ad1517af [2]: Id36c8c34159bea8b72557b40bcf024d401f580b6 01065a5719414b0855da2820beb9bd4a6459ba1b [3]: I34a95732ef3e7c20d6549b57230c11f0c3db04d6 d4b625994f7664666ac7b53bf6a7d79a6459b3f1 [4]: I58421143bee25be459f4f744688b37614a750051 f62c0b837a6d2f20b103db749c5cb46ada9f9e43 [5]: I6ad818fc9ef08991e24c5020498243f1fc417998 24ab9e18a74b052e4f5b8fb04c48d7f16ea071ae Bug: 245989733 Test: atest CtsPermission2TestCases:ProtectedBroadcastsTest Test: presubmit Change-Id: I3b09d2b05ba9bde686b360b9f720b5d4258551c3
2022-08-24Add notification ID for APM enhancement Stephanie Bak
Bug: 239983569 Test: atest com.android.server.wifi Change-Id: I90708ae9b38a40f48fd9003e16c4c45ec71bf53f Merged-In: I1cb0ec847040e47b563b39b622e12c49e41082bc
2022-08-18Use message ID from proto for BT APM notification Stephanie Bak
Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 Merged-In: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002
2022-08-17Merge "Better OWNERS for system_messages.proto" am: 74a44839b9 am: ↵ Adrian Roos
d283ac489f am: 10fb42f313 am: 317f7a4e35 am: 8cabb848b6 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2186207 Change-Id: I394baab8cdc9c6c9a17a27d20976ac0511dd07a2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16Use message ID from proto for BT APM notification Stephanie Bak
Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 Merged-In: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002