Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/services/core/java/com/android/server/pm/
DDefaultCrossProfileIntentFiltersUtils.java47 .addAction(Intent.ACTION_CALL_EMERGENCY)
48 .addAction(Intent.ACTION_CALL_PRIVILEGED)
65 .addAction(Intent.ACTION_CALL_EMERGENCY)
66 .addAction(Intent.ACTION_CALL_PRIVILEGED)
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)
126 .addAction(Intent.ACTION_CALL_BUTTON)
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
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 …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
DCarIdlenessTracker.java81 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()
DDeviceIdlenessTracker.java90 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()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java47 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
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()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java476 intentFilter.addAction(INTENT_ACTION_BACK); in createIntentFilter()
477 intentFilter.addAction(INTENT_ACTION_HOME); in createIntentFilter()
478 intentFilter.addAction(INTENT_ACTION_RECENTS); in createIntentFilter()
479 intentFilter.addAction(INTENT_ACTION_NOTIFICATIONS); in createIntentFilter()
480 intentFilter.addAction(INTENT_ACTION_QUICK_SETTINGS); in createIntentFilter()
481 intentFilter.addAction(INTENT_ACTION_POWER_DIALOG); in createIntentFilter()
482 intentFilter.addAction(INTENT_ACTION_LOCK_SCREEN); in createIntentFilter()
483 intentFilter.addAction(INTENT_ACTION_TAKE_SCREENSHOT); in createIntentFilter()
484 intentFilter.addAction(INTENT_ACTION_ACCESSIBILITY_BUTTON); in createIntentFilter()
485 intentFilter.addAction(INTENT_ACTION_ACCESSIBILITY_BUTTON_CHOOSER); in createIntentFilter()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java135 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()
/frameworks/base/telephony/common/com/android/internal/telephony/
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);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java364 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame()
367 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame()
379 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentText()
382 .addAction(new Notification.Action.Builder(icon, "TEXT 2", intent).build()) in testActionsDifferentText()
394 .addAction(new Notification.Action.Builder(icon, in testActionsDifferentSpannables()
401 .addAction(new Notification.Action.Builder(icon, "test1", intent).build()) in testActionsDifferentSpannables()
413 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentNumber()
416 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentNumber()
417 .addAction(new Notification.Action.Builder(icon, "TEXT 2", intent).build()) in testActionsDifferentNumber()
430 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent1).build()) in testActionsDifferentIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DItemDelegateCompat.java60 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java149 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()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationCollectorTest.kt98 addAction(Intent.ACTION_VIEW) in verifyV1NoValidIntentFilter()
113 addAction(Intent.ACTION_VIEW) in verifyV1NoValidIntentFilter()
271 addAction(Intent.ACTION_VIEW) in mockPkg()
283 addAction(Intent.ACTION_VIEW) in mockPkg()
297 addAction(Intent.ACTION_VIEW) in mockPkg()
311 addAction(Intent.ACTION_VIEW) in mockPkg()
322 addAction(Intent.ACTION_VIEW) in mockPkg()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderWatcher.java75 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()
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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java229 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 …]
/frameworks/base/services/core/java/com/android/server/
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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterFailBringUpAll.java83 filter.addAction(mActionFailBringUp); in DcTesterFailBringUpAll()
86 filter.addAction(mPhone.getActionDetached()); in DcTesterFailBringUpAll()
89 filter.addAction(mPhone.getActionAttached()); in DcTesterFailBringUpAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java75 filter.addAction(ACTION_FINGERPRINT_WAKE); in start()
76 filter.addAction(ACTION_FACE_WAKE); in start()
77 filter.addAction(ACTION_TURN_ON_SCREEN); in start()
/frameworks/base/services/core/java/com/android/server/tv/
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()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DWatchedIntentHandlingTest.java56 f.addAction("action-1"); in testWatchedIntentFilter()
57 f.addAction("action-2"); in testWatchedIntentFilter()
58 f.addAction("action-3"); in testWatchedIntentFilter()
59 f.addAction("action-4"); in testWatchedIntentFilter()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/
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()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
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()

12345678910>>...15