Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java44 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED);
45 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED);
46 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED);
47 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART);
48 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED);
49 sPackageFilt.addAction(Intent.ACTION_UID_REMOVED);
51 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED);
52 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
53 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
/frameworks/base/core/java/com/android/internal/app/
DExternalMediaFormatActivity.java76 filter.addAction(Intent.ACTION_MEDIA_REMOVED); in onResume()
77 filter.addAction(Intent.ACTION_MEDIA_CHECKING); in onResume()
78 filter.addAction(Intent.ACTION_MEDIA_MOUNTED); in onResume()
79 filter.addAction(Intent.ACTION_MEDIA_SHARED); in onResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java143 filter.addAction(Intent.ACTION_ALARM_CHANGED); in PhoneStatusBarPolicy()
144 filter.addAction(Intent.ACTION_SYNC_STATE_CHANGED); in PhoneStatusBarPolicy()
145 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in PhoneStatusBarPolicy()
146 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in PhoneStatusBarPolicy()
147 filter.addAction(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED); in PhoneStatusBarPolicy()
148 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in PhoneStatusBarPolicy()
149 filter.addAction(TtyIntent.TTY_ENABLED_CHANGE_ACTION); in PhoneStatusBarPolicy()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1553 private void addAction(Action a) { in addAction() method in RemoteViews
1579 addAction(new ViewGroupAction(viewId, nestedView)); in addView()
1589 addAction(new ViewGroupAction(viewId, null)); in removeAllViews()
1598 addAction(new ReflectionActionWithoutParams(viewId, "showNext")); in showNext()
1607 addAction(new ReflectionActionWithoutParams(viewId, "showPrevious")); in showPrevious()
1648 addAction(new TextViewSizeAction(viewId, units, size)); in setTextViewTextSize()
1662 addAction(new TextViewDrawableAction(viewId, false, left, top, right, bottom)); in setTextViewCompoundDrawables()
1674 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom)); in setTextViewCompoundDrawablesRelative()
1714 addAction(new SetEmptyView(viewId, emptyViewId)); in setEmptyView()
1773 addAction(new SetOnClickPendingIntent(viewId, pendingIntent)); in setOnClickPendingIntent()
[all …]
DDateTimeView.java222 filter.addAction(Intent.ACTION_TIME_TICK);
223 filter.addAction(Intent.ACTION_TIME_CHANGED);
224 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
225 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED);
DViewFlipper.java91 filter.addAction(Intent.ACTION_SCREEN_OFF); in onAttachedToWindow()
92 filter.addAction(Intent.ACTION_USER_PRESENT); in onAttachedToWindow()
DAnalogClock.java103 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
104 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
105 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileState.java99 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in BluetoothProfileState()
100 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in BluetoothProfileState()
101 filter.addAction(BluetoothInputDevice.ACTION_CONNECTION_STATE_CHANGED); in BluetoothProfileState()
102 filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in BluetoothProfileState()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardUpdateMonitor.java263 filter.addAction(Intent.ACTION_TIME_TICK); in KeyguardUpdateMonitor()
264 filter.addAction(Intent.ACTION_TIME_CHANGED); in KeyguardUpdateMonitor()
265 filter.addAction(Intent.ACTION_BATTERY_CHANGED); in KeyguardUpdateMonitor()
266 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in KeyguardUpdateMonitor()
267 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in KeyguardUpdateMonitor()
268 filter.addAction(TelephonyManager.ACTION_PHONE_STATE_CHANGED); in KeyguardUpdateMonitor()
269 filter.addAction(SPN_STRINGS_UPDATED_ACTION); in KeyguardUpdateMonitor()
270 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in KeyguardUpdateMonitor()
271 filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); in KeyguardUpdateMonitor()
272 filter.addAction(Intent.ACTION_USER_SWITCHED); in KeyguardUpdateMonitor()
[all …]
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java119 filter.addAction(Intent.ACTION_TIME_TICK); in setUpdates()
120 filter.addAction(Intent.ACTION_TIME_CHANGED); in setUpdates()
121 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in setUpdates()
DClock.java82 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
83 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
84 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
85 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onAttachedToWindow()
DBluetoothController.java45 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in BluetoothController()
46 filter.addAction(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED); in BluetoothController()
DLocationController.java53 filter.addAction(LocationManager.GPS_ENABLED_CHANGE_ACTION); in LocationController()
54 filter.addAction(LocationManager.GPS_FIX_CHANGE_ACTION); in LocationController()
DNetworkController.java219 filter.addAction(WifiManager.RSSI_CHANGED_ACTION); in NetworkController()
220 filter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in NetworkController()
221 filter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in NetworkController()
222 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in NetworkController()
223 filter.addAction(Telephony.Intents.SPN_STRINGS_UPDATED_ACTION); in NetworkController()
224 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in NetworkController()
225 filter.addAction(ConnectivityManager.INET_CONDITION_ACTION); in NetworkController()
226 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in NetworkController()
227 filter.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED); in NetworkController()
231 filter.addAction(WimaxManagerConstants.WIMAX_NETWORK_STATE_CHANGED_ACTION); in NetworkController()
[all …]
/frameworks/base/services/java/com/android/server/
DAppWidgetService.java164 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in systemReady()
165 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in systemReady()
166 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in systemReady()
171 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in systemReady()
172 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in systemReady()
176 userFilter.addAction(Intent.ACTION_USER_REMOVED); in systemReady()
DNetworkTimeUpdateService.java120 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIME); in registerForTelephonyIntents()
121 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); in registerForTelephonyIntents()
137 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in registerForConnectivityIntents()
/frameworks/base/core/java/android/webkit/
DAccessibilityInjector.java151 info.addAction(AccessibilityNodeInfo.ACTION_NEXT_AT_MOVEMENT_GRANULARITY); in onInitializeAccessibilityNodeInfo()
152 info.addAction(AccessibilityNodeInfo.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY); in onInitializeAccessibilityNodeInfo()
153 info.addAction(AccessibilityNodeInfo.ACTION_NEXT_HTML_ELEMENT); in onInitializeAccessibilityNodeInfo()
154 info.addAction(AccessibilityNodeInfo.ACTION_PREVIOUS_HTML_ELEMENT); in onInitializeAccessibilityNodeInfo()
155 info.addAction(AccessibilityNodeInfo.ACTION_CLICK); in onInitializeAccessibilityNodeInfo()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java129 mFilter.addAction(TelephonyManager.ACTION_PHONE_STATE_CHANGED); in notifyPhoneCallState()
139 mFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in notifyServiceState()
149 mFilter.addAction(TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED); in notifySignalStrength()
DSmsStorageMonitor.java82 filter.addAction(Intent.ACTION_DEVICE_STORAGE_FULL); in SmsStorageMonitor()
83 filter.addAction(Intent.ACTION_DEVICE_STORAGE_NOT_FULL); in SmsStorageMonitor()
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateTracker.java88 filter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in startMonitoring()
89 filter.addAction(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION); in startMonitoring()
90 filter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in startMonitoring()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java101 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
102 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setUp()
103 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
104 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
/frameworks/base/core/java/com/android/internal/widget/
DDigitalClock.java192 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
193 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
194 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestActivity.java232 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in onCreate()
233 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in onCreate()
234 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in onCreate()
235 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in onCreate()
236 mIntentFilter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in onCreate()
237 mIntentFilter.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in onCreate()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java115 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredServicesCache()
116 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredServicesCache()
117 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredServicesCache()
122 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in RegisteredServicesCache()
123 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in RegisteredServicesCache()

12345