Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceFeatureQueryManager.java46 ImsServiceFeatureQuery(ComponentName name, String intentFilter) { in ImsServiceFeatureQuery() argument
48 mIntentFilter = intentFilter; in ImsServiceFeatureQuery()
139 public boolean startQuery(ComponentName name, String intentFilter) { in startQuery() argument
145 ImsServiceFeatureQuery query = new ImsServiceFeatureQuery(name, intentFilter); in startQuery()
/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/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java119 IntentFilter intentFilter = new IntentFilter(); in NotificationChannelController() local
120 intentFilter.addAction(Intent.ACTION_LOCALE_CHANGED); in NotificationChannelController()
121 intentFilter.addAction(Intent.ACTION_SIM_STATE_CHANGED); in NotificationChannelController()
122 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/core/java/android/net/util/
DMultinetworkPolicyTracker.java107 final IntentFilter intentFilter = new IntentFilter(); in start() local
108 intentFilter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in start()
110 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, null); in start()
/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/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/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/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.java2079 IntentFilter intentFilter = new IntentFilter();
2080 intentFilter.addAction(ALARM_WAKEUP);
2081 intentFilter.addAction(ALARM_TIMEOUT);
2082 intentFilter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED);
2083 intentFilter.addAction(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED);
2084 intentFilter.addAction(Intent.ACTION_SCREEN_OFF);
2085 intentFilter.addAction(Intent.ACTION_SCREEN_ON);
2086 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED);
2087 intentFilter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED);
2088 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this);
/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()
87 intentFilter, null, null); in RatRatcheter()
DSimActivationTracker.java93 IntentFilter intentFilter = new IntentFilter(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in SimActivationTracker() local
94 mPhone.getContext().registerReceiver(mReceiver, intentFilter); in SimActivationTracker()
DNetworkRegistrationManager.java103 IntentFilter intentFilter = new IntentFilter(); in NetworkRegistrationManager() local
104 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in NetworkRegistrationManager()
106 intentFilter, null, null); 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/role/
DRoleManagerService.java168 IntentFilter intentFilter = new IntentFilter(); in registerUserRemovedReceiver() local
169 intentFilter.addAction(Intent.ACTION_USER_REMOVED); in registerUserRemovedReceiver()
178 }, UserHandle.ALL, intentFilter, null, null); in registerUserRemovedReceiver()
187 IntentFilter intentFilter = new IntentFilter(); in onStart() local
188 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart()
189 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
190 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart()
191 intentFilter.addDataScheme("package"); in onStart()
192 intentFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onStart()
208 }, UserHandle.ALL, intentFilter, null, null); in onStart()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java178 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_TIME_CHANGED); in startListening() local
179 intentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in startListening()
180 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/
DNewNetworkTimeUpdateService.java139 IntentFilter intentFilter = new IntentFilter(); in registerForTelephonyIntents() local
140 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIME); in registerForTelephonyIntents()
141 mContext.registerReceiver(mNitzReceiver, intentFilter); in registerForTelephonyIntents()
DOldNetworkTimeUpdateService.java139 IntentFilter intentFilter = new IntentFilter(); in registerForTelephonyIntents() local
140 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIME); in registerForTelephonyIntents()
141 mContext.registerReceiver(mNitzReceiver, intentFilter); in registerForTelephonyIntents()
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.java205 IntentFilter intentFilter = new IntentFilter(); in GpsNetInitiatedHandler() local
206 intentFilter.addAction(Intent.ACTION_NEW_OUTGOING_CALL); in GpsNetInitiatedHandler()
207 intentFilter.addAction(LocationManager.MODE_CHANGED_ACTION); in GpsNetInitiatedHandler()
208 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()
216 intentFilter, null, null); in AccessNetworksManager()
/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/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()

123