Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/services/core/java/com/android/server/job/controllers/idle/
DCarIdlenessTracker.java71 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
74 filter.addAction(ACTION_GARAGE_MODE_ON); in startTracking()
75 filter.addAction(ACTION_GARAGE_MODE_OFF); in startTracking()
78 filter.addAction(ACTION_FORCE_IDLE); in startTracking()
79 filter.addAction(ACTION_UNFORCE_IDLE); in startTracking()
80 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
DDeviceIdlenessTracker.java79 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
80 filter.addAction(Intent.ACTION_SCREEN_OFF); in startTracking()
83 filter.addAction(Intent.ACTION_DREAMING_STARTED); in startTracking()
84 filter.addAction(Intent.ACTION_DREAMING_STOPPED); in startTracking()
87 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
90 filter.addAction(Intent.ACTION_DOCK_IDLE); in startTracking()
91 filter.addAction(Intent.ACTION_DOCK_ACTIVE); in startTracking()
/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/core/java/com/android/internal/content/
DPackageMonitor.java45 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED);
46 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED);
47 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED);
48 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART);
49 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED);
50 sPackageFilt.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED);
52 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED);
53 sNonDataFilt.addAction(Intent.ACTION_USER_STOPPED);
54 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_SUSPENDED);
55 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.java85 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
86 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
87 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
88 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java127 filter.addAction(Intent.ACTION_USER_SWITCHED); in setListening()
128 filter.addAction(Intent.ACTION_MANAGED_PROFILE_ADDED); in setListening()
129 filter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in setListening()
130 filter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE); in setListening()
131 filter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE); in setListening()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java202 filter.addAction(mPhone.getActionDetached()); in TelephonyTester()
205 filter.addAction(mPhone.getActionAttached()); in TelephonyTester()
210 filter.addAction(ACTION_TEST_CONFERENCE_EVENT_PACKAGE); in TelephonyTester()
211 filter.addAction(ACTION_TEST_DIALOG_EVENT_PACKAGE); in TelephonyTester()
212 filter.addAction(ACTION_TEST_SUPP_SRVC_FAIL); in TelephonyTester()
213 filter.addAction(ACTION_TEST_HANDOVER_FAIL); in TelephonyTester()
214 filter.addAction(ACTION_TEST_SUPP_SRVC_NOTIFICATION); in TelephonyTester()
215 filter.addAction(ACTION_TEST_IMS_E_CALL); in TelephonyTester()
218 filter.addAction(ACTION_TEST_SERVICE_STATE); in TelephonyTester()
221 filter.addAction(ACTION_TEST_CHANGE_NUMBER); in TelephonyTester()
/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/uiservicestests/src/com/android/server/notification/
DNotificationTest.java447 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame()
450 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame()
462 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentText()
465 .addAction(new Notification.Action.Builder(icon, "TEXT 2", intent).build()) in testActionsDifferentText()
477 .addAction(new Notification.Action.Builder(icon, in testActionsDifferentSpannables()
484 .addAction(new Notification.Action.Builder(icon, "test1", intent).build()) in testActionsDifferentSpannables()
496 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentNumber()
499 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentNumber()
500 .addAction(new Notification.Action.Builder(icon, "TEXT 2", intent).build()) in testActionsDifferentNumber()
513 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent1).build()) in testActionsDifferentIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
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/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java73 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
74 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
75 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
76 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
77 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
/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/services/core/java/com/android/server/deviceidle/
DBluetoothConstraint.java66 filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in startMonitoring()
67 filter.addAction(BluetoothDevice.ACTION_ACL_CONNECTED); in startMonitoring()
68 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in startMonitoring()
/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/core/java/com/android/server/webkit/
DWebViewUpdateService.java105 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
106 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart()
107 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart()
118 userAddedFilter.addAction(Intent.ACTION_USER_STARTED); in onStart()
119 userAddedFilter.addAction(Intent.ACTION_USER_REMOVED); in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java292 nb.addAction(0, in showWarningNotification()
314 nb.addAction(0, in showAutoSaverSuggestionNotification()
692 filter.addAction(ACTION_SHOW_BATTERY_SETTINGS); in init()
693 filter.addAction(ACTION_START_SAVER); in init()
694 filter.addAction(ACTION_DISMISSED_WARNING); in init()
695 filter.addAction(ACTION_CLICKED_TEMP_WARNING); in init()
696 filter.addAction(ACTION_DISMISSED_TEMP_WARNING); in init()
697 filter.addAction(ACTION_CLICKED_THERMAL_SHUTDOWN_WARNING); in init()
698 filter.addAction(ACTION_DISMISSED_THERMAL_SHUTDOWN_WARNING); in init()
699 filter.addAction(ACTION_SHOW_START_SAVER_CONFIRMATION); in init()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java182 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK); in obtainRootAccessibilityNodeInfo()
183 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_DISMISS); in obtainRootAccessibilityNodeInfo()
184 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW); in obtainRootAccessibilityNodeInfo()
185 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND); in obtainRootAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewAccessibilityDelegate.java64 info.addAction(mActions.get(SPLIT_TASK_TOP)); in onInitializeAccessibilityNodeInfo()
66 info.addAction(mActions.get(SPLIT_TASK_LEFT)); in onInitializeAccessibilityNodeInfo()
68 info.addAction(mActions.get(SPLIT_TASK_RIGHT)); in onInitializeAccessibilityNodeInfo()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java130 filter.addAction(Intent.ACTION_BATTERY_LOW); in startTracking()
131 filter.addAction(Intent.ACTION_BATTERY_OKAY); in startTracking()
133 filter.addAction(BatteryManager.ACTION_CHARGING); in startTracking()
134 filter.addAction(BatteryManager.ACTION_DISCHARGING); in startTracking()
153 filter.addAction(Intent.ACTION_BATTERY_CHANGED); in setMonitorBatteryLocked()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java139 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp()
140 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
141 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
142 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
143 mIntentFilter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in setUp()
144 mIntentFilter.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStateTrackerTest.java100 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testSupplicantStateChangeIntent()
125 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testAuthPassInSupplicantStateChangeIntent()
151 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testAuthFailedInSupplicantStateChangeIntent()
181 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testReasonCodeInSupplicantStateChangeIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java81 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in setListening()
82 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in setListening()
83 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in setListening()
84 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in setListening()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java143 mPluginPrefs.addAction(action); in getOneShotPlugin()
170 mPluginPrefs.addAction(action); in addPluginListener()
190 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in startListening()
191 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in startListening()
192 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in startListening()
193 filter.addAction(PLUGIN_CHANGED); in startListening()
194 filter.addAction(DISABLE_PLUGIN); in startListening()
254 nb.addAction(new Action.Builder(null, "Restart SysUI", pi).build()); in onReceive()

12345678910>>...12