Home
last modified time | relevance | path

Searched refs:addAction (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DDefaultCrossProfileIntentFiltersUtils.java81 .addAction(Intent.ACTION_DIAL)
82 .addAction(Intent.ACTION_VIEW)
98 .addAction(Intent.ACTION_DIAL)
99 .addAction(Intent.ACTION_VIEW)
115 .addAction(Intent.ACTION_DIAL)
116 .addAction(Intent.ACTION_VIEW)
130 .addAction(Intent.ACTION_DIAL)
131 .addAction(Intent.ACTION_VIEW)
148 .addAction(Intent.ACTION_DIAL)
161 .addAction(Intent.ACTION_DIAL)
[all …]
/aosp14/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DNotificationHelper.java81 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 …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
H A DCarIdlenessTracker.java82 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
83 filter.addAction(Intent.ACTION_SCREEN_OFF); in startTracking()
86 filter.addAction(ACTION_GARAGE_MODE_ON); in startTracking()
87 filter.addAction(ACTION_GARAGE_MODE_OFF); in startTracking()
90 filter.addAction(ACTION_FORCE_IDLE); in startTracking()
91 filter.addAction(ACTION_UNFORCE_IDLE); in startTracking()
92 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
H A DDeviceIdlenessTracker.java91 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
92 filter.addAction(Intent.ACTION_SCREEN_OFF); in startTracking()
95 filter.addAction(Intent.ACTION_DREAMING_STARTED); in startTracking()
96 filter.addAction(Intent.ACTION_DREAMING_STOPPED); in startTracking()
99 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
102 filter.addAction(Intent.ACTION_DOCK_IDLE); in startTracking()
103 filter.addAction(Intent.ACTION_DOCK_ACTIVE); in startTracking()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DSystemActions.java634 intentFilter.addAction(INTENT_ACTION_BACK); in createIntentFilter()
635 intentFilter.addAction(INTENT_ACTION_HOME); in createIntentFilter()
636 intentFilter.addAction(INTENT_ACTION_RECENTS); in createIntentFilter()
639 intentFilter.addAction(INTENT_ACTION_POWER_DIALOG); in createIntentFilter()
640 intentFilter.addAction(INTENT_ACTION_LOCK_SCREEN); in createIntentFilter()
642 intentFilter.addAction(INTENT_ACTION_HEADSET_HOOK); in createIntentFilter()
647 intentFilter.addAction(INTENT_ACTION_DPAD_UP); in createIntentFilter()
648 intentFilter.addAction(INTENT_ACTION_DPAD_DOWN); in createIntentFilter()
649 intentFilter.addAction(INTENT_ACTION_DPAD_LEFT); in createIntentFilter()
650 intentFilter.addAction(INTENT_ACTION_DPAD_RIGHT); in createIntentFilter()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuItemAccessibilityDelegate.java54 info.addAction(moveTopLeft); in onInitializeAccessibilityNodeInfo()
61 info.addAction(moveTopRight); in onInitializeAccessibilityNodeInfo()
68 info.addAction(moveBottomLeft); in onInitializeAccessibilityNodeInfo()
75 info.addAction(moveBottomRight); in onInitializeAccessibilityNodeInfo()
86 info.addAction(moveToOrOutEdge); in onInitializeAccessibilityNodeInfo()
92 info.addAction(removeMenu); in onInitializeAccessibilityNodeInfo()
/aosp14/frameworks/base/core/java/com/android/internal/content/
H A DPackageMonitor.java66 mPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED); in PackageMonitor()
67 mPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageMonitor()
68 mPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageMonitor()
69 mPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); in PackageMonitor()
70 mPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED); in PackageMonitor()
71 mPackageFilt.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in PackageMonitor()
78 mNonDataFilt.addAction(Intent.ACTION_UID_REMOVED); in PackageMonitor()
79 mNonDataFilt.addAction(Intent.ACTION_USER_STOPPED); in PackageMonitor()
80 mNonDataFilt.addAction(Intent.ACTION_PACKAGES_SUSPENDED); in PackageMonitor()
81 mNonDataFilt.addAction(Intent.ACTION_PACKAGES_UNSUSPENDED); in PackageMonitor()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSplitClockView.java73 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()
H A DDateView.java95 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
96 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
97 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
98 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onAttachedToWindow()
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DPackageChangeReceiver.java39 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);
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DActionReplacingCallbackTest.java150 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testCallbacks_singleRootNodeThenReplacer_returnsNodeWithReplacedActions()
169 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testCallbacks_singleNonrootNodeThenReplacer_returnsNodeWithNoActions()
192 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testCallbacks_replacerThenSingleRootNode_returnsNodeWithReplacedActions()
259 infoFromApp.addAction(ACTION_CONTEXT_CLICK); in testConstructor_actionReplacerThrowsException_passesDataToService()
283 root.addAction(ACTION_CLICK); in getReplacerNodes()
284 root.addAction(ACTION_EXPAND); in getReplacerNodes()
291 other.addAction(ACTION_COLLAPSE); in getReplacerNodes()
310 rootInfoFromApp.addAction(ACTION_CONTEXT_CLICK); in getAppNodeList()
313 otherInfoFromApp.addAction(ACTION_CLICK); in getAppNodeList()
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/
H A DSystemPackageResetHelper.java50 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onRegister()
51 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onRegister()
52 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in onRegister()
53 filter.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); in onRegister()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
H A DInstalledTilesComponentRepository.kt109 addAction(Intent.ACTION_PACKAGE_ADDED)
110 addAction(Intent.ACTION_PACKAGE_CHANGED)
111 addAction(Intent.ACTION_PACKAGE_REMOVED)
112 addAction(Intent.ACTION_PACKAGE_REPLACED)
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationCollectorTest.kt101 addAction(Intent.ACTION_VIEW)
119 addAction(Intent.ACTION_VIEW)
280 addAction(Intent.ACTION_VIEW)
295 addAction(Intent.ACTION_VIEW)
312 addAction(Intent.ACTION_VIEW)
329 addAction(Intent.ACTION_VIEW)
343 addAction(Intent.ACTION_VIEW)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerView.java127 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
130 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
135 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
139 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
142 info.addAction(new AccessibilityAction(R.id.action_move_rb_full,
145 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
148 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
153 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
157 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
160 info.addAction(new AccessibilityAction(R.id.action_move_rb_full,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DUserTrackerImpl.kt114 addAction(Intent.ACTION_USER_INFO_CHANGED)
116 addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE)
117 addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE)
118 addAction(Intent.ACTION_MANAGED_PROFILE_ADDED)
119 addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED)
120 addAction(Intent.ACTION_MANAGED_PROFILE_UNLOCKED)
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRoute2ProviderWatcher.java85 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
86 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
87 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
88 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
89 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
H A DRemoteDisplayProviderWatcher.java79 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
80 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
81 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
82 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
83 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DCachedDeviceStateService.java73 filter.addAction(Intent.ACTION_BATTERY_CHANGED); in onBootPhase()
74 filter.addAction(Intent.ACTION_SCREEN_ON); in onBootPhase()
75 filter.addAction(Intent.ACTION_SCREEN_OFF); in onBootPhase()
/aosp14/frameworks/base/services/core/java/com/android/server/tv/
H A DTvRemoteProviderWatcher.java92 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
93 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
94 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
95 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
96 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
/aosp14/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java62 mFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in onCreate()
63 mFilter.addAction(Intent.ACTION_BATTERY_LOW); in onCreate()
64 mFilter.addAction(Intent.ACTION_BATTERY_OKAY); in onCreate()
65 mFilter.addAction(Intent.ACTION_POWER_CONNECTED); in onCreate()
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DPipActivity.java187 filter.addAction(ACTION_NO_OP); in onCreate()
188 filter.addAction(ACTION_SWITCH_ON); in onCreate()
189 filter.addAction(ACTION_SWITCH_OFF); in onCreate()
190 filter.addAction(ACTION_CLEAR); in onCreate()
191 filter.addAction(ACTION_SET_REQUESTED_ORIENTATION); in onCreate()
192 filter.addAction(ACTION_ENTER_PIP); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DPluginManagerImpl.java105 mPluginPrefs.addAction(action); in addPluginListener()
131 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in startListening()
132 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in startListening()
133 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in startListening()
136 filter.addAction(PLUGIN_CHANGED); in startListening()
137 filter.addAction(DISABLE_PLUGIN); in startListening()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/
H A DBluetoothConstraint.java68 filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in startMonitoring()
69 filter.addAction(BluetoothDevice.ACTION_ACL_CONNECTED); in startMonitoring()
70 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in startMonitoring()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DWatchedIntentHandlingTest.java58 f.addAction("action-1"); in testWatchedIntentFilter()
59 f.addAction("action-2"); in testWatchedIntentFilter()
60 f.addAction("action-3"); in testWatchedIntentFilter()
61 f.addAction("action-4"); in testWatchedIntentFilter()

12345678910>>...15