Home
last modified time | relevance | path

Searched refs:intentFilter (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceFeatureQueryManager.java47 ImsServiceFeatureQuery(ComponentName name, String intentFilter) { in ImsServiceFeatureQuery() argument
49 mIntentFilter = intentFilter; in ImsServiceFeatureQuery()
169 public boolean startQuery(ComponentName name, String intentFilter) { in startQuery() argument
175 ImsServiceFeatureQuery query = new ImsServiceFeatureQuery(name, intentFilter); in startQuery()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java127 IntentFilter intentFilter = new IntentFilter(); in NotificationChannelController() local
128 intentFilter.addAction(Intent.ACTION_LOCALE_CHANGED); in NotificationChannelController()
129 intentFilter.addAction(Intent.ACTION_SIM_STATE_CHANGED); in NotificationChannelController()
130 context.registerReceiver(mBroadcastReceiver, intentFilter); in NotificationChannelController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java161 IntentFilter intentFilter = new IntentFilter(); in PipNotification() local
162 intentFilter.addAction(ACTION_MENU); in PipNotification()
163 intentFilter.addAction(ACTION_CLOSE); in PipNotification()
164 context.registerReceiver(mEventReceiver, intentFilter); in PipNotification()
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DTestApplication.java48 IntentFilter intentFilter = new IntentFilter(Constants.ACTION_BROADCAST_REGISTERED_RECEIVE); in createRegisteredReceiver() local
49 registerReceiver(registered, intentFilter); in createRegisteredReceiver()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java115 final IntentFilter intentFilter = new IntentFilter(); in setUp() local
116 intentFilter.addAction(ACTION_JOB_STARTED); in setUp()
117 intentFilter.addAction(ACTION_JOB_STOPPED); in setUp()
118 mContext.registerReceiver(mJobStateChangeReceiver, intentFilter); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java230 IntentFilter intentFilter = new IntentFilter(); in listenToAccountUpdates() local
231 intentFilter.addAction(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION); in listenToAccountUpdates()
234 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); in listenToAccountUpdates()
235 mContext.registerReceiverAsUser(this, mUserHandle, intentFilter, null, null); in listenToAccountUpdates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java76 IntentFilter intentFilter = new IntentFilter(); in PhoneStateMonitor() local
78 intentFilter.addAction(action); in PhoneStateMonitor()
85 }, intentFilter); in PhoneStateMonitor()
/frameworks/base/core/java/android/net/util/
DMultinetworkPolicyTracker.java115 final IntentFilter intentFilter = new IntentFilter(); in start() local
116 intentFilter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in start()
118 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, mHandler); in start()
/frameworks/base/services/core/java/com/android/server/location/
DGnssVisibilityControl.java159 IntentFilter intentFilter = new IntentFilter(); in listenForProxyAppsPackageUpdates() local
160 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in listenForProxyAppsPackageUpdates()
161 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in listenForProxyAppsPackageUpdates()
162 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in listenForProxyAppsPackageUpdates()
163 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in listenForProxyAppsPackageUpdates()
164 intentFilter.addDataScheme("package"); in listenForProxyAppsPackageUpdates()
183 }, UserHandle.ALL, intentFilter, null, mHandler); in listenForProxyAppsPackageUpdates()
DGnssLocationProvider.java2112 IntentFilter intentFilter = new IntentFilter();
2113 intentFilter.addAction(ALARM_WAKEUP);
2114 intentFilter.addAction(ALARM_TIMEOUT);
2115 intentFilter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED);
2116 intentFilter.addAction(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED);
2117 intentFilter.addAction(Intent.ACTION_SCREEN_OFF);
2118 intentFilter.addAction(Intent.ACTION_SCREEN_ON);
2119 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED);
2120 intentFilter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED);
2121 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this);
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java166 IntentFilter intentFilter = new IntentFilter(); in registerUserRemovedReceiver() local
167 intentFilter.addAction(Intent.ACTION_USER_REMOVED); in registerUserRemovedReceiver()
176 }, UserHandle.ALL, intentFilter, null, null); in registerUserRemovedReceiver()
185 IntentFilter intentFilter = new IntentFilter(); in onStart() local
186 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart()
187 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
188 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart()
189 intentFilter.addDataScheme("package"); in onStart()
190 intentFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onStart()
206 }, UserHandle.ALL, intentFilter, null, null); in onStart()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java84 IntentFilter intentFilter = new IntentFilter(); in RatRatcheter() local
85 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in RatRatcheter()
90 intentFilter, null /* broadcastPermission */, null); in RatRatcheter()
DSimActivationTracker.java92 IntentFilter intentFilter = new IntentFilter(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in SimActivationTracker() local
93 mPhone.getContext().registerReceiver(mReceiver, intentFilter); in SimActivationTracker()
DNetworkRegistrationManager.java102 IntentFilter intentFilter = new IntentFilter(); in NetworkRegistrationManager() local
103 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in NetworkRegistrationManager()
107 contextAsUser.registerReceiver(mBroadcastReceiver, intentFilter, in NetworkRegistrationManager()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java138 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerPackageInstallReceiver() local
139 intentFilter.addDataScheme("package"); in registerPackageInstallReceiver()
140 context.registerReceiver(sCarrierAppInstallReceiver, intentFilter); in registerPackageInstallReceiver()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java179 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_TIME_CHANGED); in startListening() local
180 intentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in startListening()
181 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in startListening()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java158 IntentFilter intentFilter = new IntentFilter(DEBUG_ACTION_SET_MODE); in startDebugOnlyBroadcastReceiver() local
159 intentFilter.addAction(DEBUG_ACTION_SET_SURFACE); in startDebugOnlyBroadcastReceiver()
179 }, intentFilter); in startDebugOnlyBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java213 IntentFilter intentFilter = new IntentFilter(); in start() local
214 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in start()
215 intentFilter.addAction(Intent.ACTION_USER_UNLOCKED); in start()
231 }, UserHandle.ALL, intentFilter, null, mHandler); in start()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java265 IntentFilter intentFilter = new IntentFilter(); in getCommitCallback() local
266 intentFilter.addAction(action); in getCommitCallback()
267 mContext.registerReceiver(broadcastReceiver, intentFilter); in getCommitCallback()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java214 IntentFilter intentFilter = new IntentFilter(); in GpsNetInitiatedHandler() local
215 intentFilter.addAction(Intent.ACTION_NEW_OUTGOING_CALL); in GpsNetInitiatedHandler()
216 intentFilter.addAction(LocationManager.MODE_CHANGED_ACTION); in GpsNetInitiatedHandler()
217 mContext.registerReceiver(mBroadcastReciever, intentFilter); in GpsNetInitiatedHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DAccessNetworksManager.java213 IntentFilter intentFilter = new IntentFilter(); in AccessNetworksManager() local
214 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in AccessNetworksManager()
218 contextAsUser.registerReceiver(mConfigChangedReceiver, intentFilter, in AccessNetworksManager()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java170 IntentFilter intentFilter = new IntentFilter(); in WifiDisplayController() local
171 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in WifiDisplayController()
172 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in WifiDisplayController()
173 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in WifiDisplayController()
174 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in WifiDisplayController()
175 context.registerReceiver(mWifiP2pReceiver, intentFilter, null, mHandler); in WifiDisplayController()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java160 IntentFilter intentFilter = new IntentFilter(); in RegisteredServicesCache() local
161 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredServicesCache()
162 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredServicesCache()
163 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredServicesCache()
164 intentFilter.addDataScheme("package"); in RegisteredServicesCache()
165 mContext.registerReceiverAsUser(mPackageReceiver, UserHandle.ALL, intentFilter, null, null); in RegisteredServicesCache()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java103 IntentFilter intentFilter = in onCreate() local
105 intentFilter.addAction(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); in onCreate()
106 intentFilter.addAction(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED); in onCreate()
107 registerReceiver(mReceiver, intentFilter); in onCreate()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java185 final IntentFilter intentFilter = new IntentFilter(); in startDiscovery() local
186 intentFilter.addAction(BluetoothDevice.ACTION_FOUND); in startDiscovery()
189 registerReceiver(mBluetoothBroadcastReceiver, intentFilter); in startDiscovery()

123