/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | DefaultCrossProfileIntentFiltersUtils.java | 80 .addAction(Intent.ACTION_DIAL) 81 .addAction(Intent.ACTION_VIEW) 97 .addAction(Intent.ACTION_DIAL) 98 .addAction(Intent.ACTION_VIEW) 115 .addAction(Intent.ACTION_DIAL) 136 .addAction(Intent.ACTION_VIEW) 137 .addAction(Intent.ACTION_SENDTO) 164 .addAction(Intent.ACTION_MAIN) 199 .addAction(Intent.ACTION_PICK) 210 .addAction(Intent.ACTION_PICK) [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | AccessibilityEventRouter.java | 70 addAction(info); in AccessibilityEventRouter() 74 addAction(info); in AccessibilityEventRouter() 77 addAction(info); in AccessibilityEventRouter() 101 private void addAction(AccessibilityNodeInfoCompat info) { in addAction() method in AccessibilityEventRouter 102 info.addAction(AccessibilityActionCompat.ACTION_CLICK); in addAction() 104 info.addAction(AccessibilityNodeInfoCompat.ACTION_LONG_CLICK); in addAction()
|
/aosp12/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | NotificationHelper.java | 81 filter.addAction(RequestUtils.ACTION_FFWD); in onStart() 82 filter.addAction(RequestUtils.ACTION_NEXT); in onStart() 83 filter.addAction(RequestUtils.ACTION_PAUSE); in onStart() 84 filter.addAction(RequestUtils.ACTION_PLAY); in onStart() 85 filter.addAction(RequestUtils.ACTION_PREV); in onStart() 86 filter.addAction(RequestUtils.ACTION_REW); in onStart() 216 .addAction(R.drawable.ic_skip_previous, "Previous", in updateNotification() 218 .addAction(R.drawable.ic_fast_rewind, "Rewind", in updateNotification() 220 .addAction(playPauseIcon, playPauseLabel, in updateNotification() 222 .addAction(R.drawable.ic_fast_forward, "Fast Forward", in updateNotification() [all …]
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/ |
H A D | CarIdlenessTracker.java | 81 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking() 82 filter.addAction(Intent.ACTION_SCREEN_OFF); in startTracking() 85 filter.addAction(ACTION_GARAGE_MODE_ON); in startTracking() 86 filter.addAction(ACTION_GARAGE_MODE_OFF); in startTracking() 89 filter.addAction(ACTION_FORCE_IDLE); in startTracking() 90 filter.addAction(ACTION_UNFORCE_IDLE); in startTracking() 91 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
|
H A D | DeviceIdlenessTracker.java | 90 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking() 91 filter.addAction(Intent.ACTION_SCREEN_OFF); in startTracking() 94 filter.addAction(Intent.ACTION_DREAMING_STARTED); in startTracking() 95 filter.addAction(Intent.ACTION_DREAMING_STOPPED); in startTracking() 98 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking() 101 filter.addAction(Intent.ACTION_DOCK_IDLE); in startTracking() 102 filter.addAction(Intent.ACTION_DOCK_ACTIVE); in startTracking()
|
/aosp12/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 47 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED); 48 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED); 49 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED); 50 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); 51 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED); 52 sPackageFilt.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); 54 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED); 55 sNonDataFilt.addAction(Intent.ACTION_USER_STOPPED); 56 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_SUSPENDED); 57 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_UNSUSPENDED); [all …]
|
/aosp12/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
H A D | PackageIntentReceiver.java | 34 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageIntentReceiver() 35 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageIntentReceiver() 41 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in PackageIntentReceiver() 42 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in PackageIntentReceiver()
|
/aosp12/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
H A D | DialogsActivity.java | 90 addAction("Request write", () -> { in onCreate() 93 addAction("Request trash", () -> { in onCreate() 96 addAction("Request untrash", () -> { in onCreate() 99 addAction("Request delete", () -> { in onCreate() 102 addAction("Request favorite", () -> { in onCreate() 106 addAction("Request unfavorite", () -> { in onCreate() 158 private Button addAction(String title, Supplier<PendingIntent> supplier) { in addAction() method in DialogsActivity
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationTest.java | 364 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame() 394 .addAction(new Notification.Action.Builder(icon, in testActionsDifferentSpannables() 401 .addAction(new Notification.Action.Builder(icon, "test1", intent).build()) in testActionsDifferentSpannables() 445 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent) in testActionsIgnoresRemoteInputs() 452 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent) in testActionsIgnoresRemoteInputs() 467 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent) in testFreeformRemoteInputActionPair_noRemoteInput() 491 .addAction(actionWithoutRemoteInput) in testFreeformRemoteInputActionPair_hasRemoteInput() 492 .addAction(actionWithRemoteInput) in testFreeformRemoteInputActionPair_hasRemoteInput() 508 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent) in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput() 539 .addAction(actionWithoutFreeformRemoteInput) in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() [all …]
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | AdjustVolumeRestrictedPreferenceController.java | 64 filter.addAction(AudioManager.VOLUME_CHANGED_ACTION); in getIntentFilter() 65 filter.addAction(AudioManager.STREAM_MUTE_CHANGED_ACTION); in getIntentFilter() 66 filter.addAction(AudioManager.MASTER_MUTE_CHANGED_ACTION); in getIntentFilter() 67 filter.addAction(AudioManager.STREAM_DEVICES_CHANGED_ACTION); in getIntentFilter()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | SystemActions.java | 481 intentFilter.addAction(INTENT_ACTION_BACK); in createIntentFilter() 482 intentFilter.addAction(INTENT_ACTION_HOME); in createIntentFilter() 483 intentFilter.addAction(INTENT_ACTION_RECENTS); in createIntentFilter() 484 intentFilter.addAction(INTENT_ACTION_NOTIFICATIONS); in createIntentFilter() 485 intentFilter.addAction(INTENT_ACTION_QUICK_SETTINGS); in createIntentFilter() 486 intentFilter.addAction(INTENT_ACTION_POWER_DIALOG); in createIntentFilter() 487 intentFilter.addAction(INTENT_ACTION_LOCK_SCREEN); in createIntentFilter() 488 intentFilter.addAction(INTENT_ACTION_TAKE_SCREENSHOT); in createIntentFilter() 489 intentFilter.addAction(INTENT_ACTION_ACCESSIBILITY_BUTTON); in createIntentFilter() 490 intentFilter.addAction(INTENT_ACTION_ACCESSIBILITY_BUTTON_CHOOSER); in createIntentFilter() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SplitClockView.java | 73 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow() 74 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow() 75 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onAttachedToWindow() 76 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onAttachedToWindow() 77 filter.addAction(Intent.ACTION_USER_SWITCHED); in onAttachedToWindow()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
H A D | NotificationFragment.java | 186 .addAction( in initImportanceHighBotton() 189 .addAction( in initImportanceHighBotton() 192 .addAction( in initImportanceHighBotton() 313 .addAction( in initCustomizableMessageButton() 318 .addAction( in initCustomizableMessageButton() 382 .addAction( in initMessagingStyleButtonForDiffPerson() 387 .addAction( in initMessagingStyleButtonForDiffPerson() 417 .addAction( in initMessagingStyleButtonForSamePerson() 422 .addAction( in initMessagingStyleButtonForSamePerson() 460 .addAction( in initMessagingStyleButtonForLongMessageSamePerson() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ManagedProfileControllerImpl.java | 135 filter.addAction(Intent.ACTION_USER_SWITCHED); in setListening() 136 filter.addAction(Intent.ACTION_MANAGED_PROFILE_ADDED); in setListening() 137 filter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in setListening() 138 filter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE); in setListening() 139 filter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE); in setListening()
|
/aosp12/frameworks/base/telephony/common/com/android/internal/telephony/ |
H A D | PackageChangeReceiver.java | 39 sPackageIntentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); 40 sPackageIntentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); 41 sPackageIntentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); 42 sPackageIntentFilter.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); 43 sPackageIntentFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED);
|
/aosp12/packages/apps/Settings/src/com/android/settings/localepicker/ |
H A D | LocaleLinearLayoutManager.java | 100 info.addAction(mActionMoveUp); in onInitializeAccessibilityNodeInfoForItem() 101 info.addAction(mActionMoveTop); in onInitializeAccessibilityNodeInfoForItem() 104 info.addAction(mActionMoveDown); in onInitializeAccessibilityNodeInfoForItem() 105 info.addAction(mActionMoveBottom); in onInitializeAccessibilityNodeInfoForItem() 108 info.addAction(mActionRemove); in onInitializeAccessibilityNodeInfoForItem()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | ActionReplacingCallbackTest.java | 149 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testCallbacks_singleRootNodeThenReplacer_returnsNodeWithReplacedActions() 168 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testCallbacks_singleNonrootNodeThenReplacer_returnsNodeWithNoActions() 191 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testCallbacks_replacerThenSingleRootNode_returnsNodeWithReplacedActions() 258 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testConstructor_actionReplacerThrowsException_passesDataToService() 282 root.addAction(ACTION_CLICK); in getReplacerNodes() 283 root.addAction(ACTION_EXPAND); in getReplacerNodes() 290 other.addAction(ACTION_COLLAPSE); in getReplacerNodes() 309 rootInfoFromApp.addAction(ACTION_CONTEXT_CLICK); in getAppNodeList() 312 otherInfoFromApp.addAction(ACTION_CLICK); in getAppNodeList()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | ItemDelegateCompat.java | 60 info.addAction(moveTopLeft); in onInitializeAccessibilityNodeInfo() 67 info.addAction(moveTopRight); in onInitializeAccessibilityNodeInfo() 74 info.addAction(moveBottomLeft); in onInitializeAccessibilityNodeInfo() 81 info.addAction(moveBottomRight); in onInitializeAccessibilityNodeInfo() 92 info.addAction(moveToOrOutEdge); in onInitializeAccessibilityNodeInfo()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | TelephonyTester.java | 229 filter.addAction(mPhone.getActionDetached()); in TelephonyTester() 232 filter.addAction(mPhone.getActionAttached()); in TelephonyTester() 237 filter.addAction(ACTION_TEST_CONFERENCE_EVENT_PACKAGE); in TelephonyTester() 238 filter.addAction(ACTION_TEST_DIALOG_EVENT_PACKAGE); in TelephonyTester() 239 filter.addAction(ACTION_TEST_SUPP_SRVC_FAIL); in TelephonyTester() 240 filter.addAction(ACTION_TEST_HANDOVER_FAIL); in TelephonyTester() 241 filter.addAction(ACTION_TEST_SUPP_SRVC_NOTIFICATION); in TelephonyTester() 242 filter.addAction(ACTION_TEST_IMS_E_CALL); in TelephonyTester() 243 filter.addAction(ACTION_TEST_RECEIVE_DTMF); in TelephonyTester() 247 filter.addAction(ACTION_TEST_SERVICE_STATE); in TelephonyTester() [all …]
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
H A D | BluetoothStateReceiver.java | 41 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); 42 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); 43 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); 44 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); 45 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED);
|
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
H A D | DomainVerificationCollectorTest.kt | 98 addAction(Intent.ACTION_VIEW) 113 addAction(Intent.ACTION_VIEW) 271 addAction(Intent.ACTION_VIEW) 283 addAction(Intent.ACTION_VIEW) 297 addAction(Intent.ACTION_VIEW) 311 addAction(Intent.ACTION_VIEW) 322 addAction(Intent.ACTION_VIEW)
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/ |
H A D | RegisteredComponentCache.java | 71 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredComponentCache() 72 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredComponentCache() 73 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredComponentCache() 78 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in RegisteredComponentCache() 79 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in RegisteredComponentCache() 83 userFilter.addAction(Intent.ACTION_USER_SWITCHED); in RegisteredComponentCache()
|
/aosp12/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaRoute2ProviderWatcher.java | 75 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start() 76 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start() 77 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start() 78 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start() 79 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | OnShutdownReboot.java | 57 filter.addAction(Intent.ACTION_SHUTDOWN); in OnShutdownReboot() 58 filter.addAction(Intent.ACTION_REBOOT); in OnShutdownReboot() 62 OnShutdownReboot addAction(BiConsumer<Context, Intent> action) { in addAction() method in OnShutdownReboot
|
/aosp12/packages/apps/Settings/src/com/android/settings/datetime/ |
H A D | TimeChangeListenerMixin.java | 43 filter.addAction(Intent.ACTION_TIME_TICK); in onResume() 44 filter.addAction(Intent.ACTION_TIME_CHANGED); in onResume() 45 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onResume()
|