/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 106 IntentFilter intentFilter = new IntentFilter(); in startMonitoring() local 107 intentFilter.addAction(Intent.ACTION_USER_ADDED); in startMonitoring() 108 intentFilter.addAction(Intent.ACTION_USER_REMOVED); in startMonitoring() 109 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, intentFilter, null, null); in startMonitoring() 111 intentFilter = new IntentFilter(); in startMonitoring() 112 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in startMonitoring() 113 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in startMonitoring() 114 intentFilter.addDataScheme("package"); in startMonitoring() 115 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, intentFilter, null, null); in startMonitoring()
|
D | Vpn.java | 310 IntentFilter intentFilter = new IntentFilter(); in maybeRegisterPackageChangeReceiverLocked() local 312 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in maybeRegisterPackageChangeReceiverLocked() 313 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in maybeRegisterPackageChangeReceiverLocked() 314 intentFilter.addDataScheme("package"); in maybeRegisterPackageChangeReceiverLocked() 315 intentFilter.addDataSchemeSpecificPart(packageName, PatternMatcher.PATTERN_LITERAL); in maybeRegisterPackageChangeReceiverLocked() 317 mPackageIntentReceiver, UserHandle.of(mUserHandle), intentFilter, null, null); in maybeRegisterPackageChangeReceiverLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkTimeUpdateService.java | 139 IntentFilter intentFilter = new IntentFilter(); in registerForTelephonyIntents() local 140 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIME); in registerForTelephonyIntents() 141 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); in registerForTelephonyIntents() 142 mContext.registerReceiver(mNitzReceiver, intentFilter); in registerForTelephonyIntents() 156 IntentFilter intentFilter = new IntentFilter(); in registerForConnectivityIntents() local 157 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in registerForConnectivityIntents() 158 mContext.registerReceiver(mConnectivityReceiver, intentFilter); in registerForConnectivityIntents()
|
D | ServiceWatcher.java | 155 IntentFilter intentFilter = new IntentFilter(); in start() local 156 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in start() 157 intentFilter.addAction(Intent.ACTION_USER_UNLOCKED); in start() 170 }, UserHandle.ALL, intentFilter, null, mHandler); in start()
|
/frameworks/base/services/net/java/android/net/util/ |
D | AvoidBadWifiTracker.java | 91 final IntentFilter intentFilter = new IntentFilter(); in start() local 92 intentFilter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in start() 94 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, null); in start()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 69 IntentFilter intentFilter = new IntentFilter(); in FusedLocationProvider() local 70 intentFilter.addAction(Intent.ACTION_USER_SWITCHED); in FusedLocationProvider() 79 }, UserHandle.ALL, intentFilter, null, mHandler); in FusedLocationProvider()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RatRatcheter.java | 56 IntentFilter intentFilter = new IntentFilter(); in RatRatcheter() local 57 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in RatRatcheter() 59 intentFilter, null, null); in RatRatcheter()
|
D | SmsApplication.java | 746 IntentFilter intentFilter = new IntentFilter(); in replacePreferredActivity() local 747 intentFilter.addAction(Intent.ACTION_SENDTO); in replacePreferredActivity() 748 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in replacePreferredActivity() 749 intentFilter.addDataScheme(scheme); in replacePreferredActivity() 750 packageManager.replacePreferredActivityAsUser(intentFilter, in replacePreferredActivity()
|
D | SubscriptionInfoUpdater.java | 127 IntentFilter intentFilter = new IntentFilter(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in SubscriptionInfoUpdater() local 128 intentFilter.addAction(IccCardProxy.ACTION_INTERNAL_SIM_STATE_CHANGED); in SubscriptionInfoUpdater() 129 intentFilter.addAction(Intent.ACTION_USER_UNLOCKED); in SubscriptionInfoUpdater() 130 mContext.registerReceiver(sReceiver, intentFilter); in SubscriptionInfoUpdater()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
D | AuthenticatorHelper.java | 230 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/ |
D | GnssLocationProvider.java | 2212 IntentFilter intentFilter; 2214 intentFilter = new IntentFilter(); 2215 intentFilter.addAction(Intents.DATA_SMS_RECEIVED_ACTION); 2216 intentFilter.addDataScheme("sms"); 2217 intentFilter.addDataAuthority("localhost", "7275"); 2218 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this); 2220 intentFilter = new IntentFilter(); 2221 intentFilter.addAction(Intents.WAP_PUSH_RECEIVED_ACTION); 2223 intentFilter.addDataType("application/vnd.omaloc-supl-init"); 2227 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this); [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1482 IntentFilter intentFilter = new IntentFilter(); in registerForBroadcasts() local 1483 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in registerForBroadcasts() 1484 intentFilter.addAction(Intent.ACTION_USER_PRESENT); in registerForBroadcasts() 1485 intentFilter.addAction(Intent.ACTION_SCREEN_OFF); in registerForBroadcasts() 1486 intentFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in registerForBroadcasts() 1487 intentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in registerForBroadcasts() 1488 intentFilter.addAction(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED); in registerForBroadcasts() 1489 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in registerForBroadcasts() 1490 intentFilter.addAction(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED); in registerForBroadcasts() 1495 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALL_STATE_CHANGED); in registerForBroadcasts() [all …]
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 181 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_TIME_CHANGED); in startListening() local 182 intentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in startListening() 183 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in startListening()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 206 IntentFilter intentFilter = new IntentFilter(); in GpsNetInitiatedHandler() local 207 intentFilter.addAction(Intent.ACTION_NEW_OUTGOING_CALL); in GpsNetInitiatedHandler() 208 intentFilter.addAction(LocationManager.MODE_CHANGED_ACTION); in GpsNetInitiatedHandler() 209 mContext.registerReceiver(mBroadcastReciever, intentFilter); in GpsNetInitiatedHandler()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 154 IntentFilter intentFilter = new IntentFilter(); in RegisteredServicesCache() local 155 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredServicesCache() 156 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredServicesCache() 157 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredServicesCache() 158 intentFilter.addDataScheme("package"); in RegisteredServicesCache() 159 mContext.registerReceiverAsUser(mPackageReceiver, UserHandle.ALL, intentFilter, null, null); in RegisteredServicesCache()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 75 final IntentFilter intentFilter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); in ConnectivityController() local 77 mConnectivityReceiver, UserHandle.SYSTEM, intentFilter, null, null); in ConnectivityController()
|
/frameworks/base/docs/html/training/managing-audio/ |
D | audio-output.jd | 79 private IntentFilter intentFilter = new IntentFilter(AudioManager.ACTION_AUDIO_BECOMING_NOISY); 82 registerReceiver(myNoisyAudioStreamReceiver(), intentFilter);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayController.java | 171 IntentFilter intentFilter = new IntentFilter(); in WifiDisplayController() local 172 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in WifiDisplayController() 173 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in WifiDisplayController() 174 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in WifiDisplayController() 175 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in WifiDisplayController() 176 context.registerReceiver(mWifiP2pReceiver, intentFilter, null, mHandler); in WifiDisplayController()
|
D | NightDisplayService.java | 433 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_TIME_CHANGED); in onStart() local 434 intentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onStart() 435 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in onStart()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | wifi-direct.jd | 77 private final IntentFilter intentFilter = new IntentFilter(); 85 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); 88 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); 91 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); 94 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); 169 registerReceiver(receiver, intentFilter);
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 103 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/SystemUI/src/com/android/systemui/tv/pip/ |
D | PipManager.java | 214 IntentFilter intentFilter = new IntentFilter(); in initialize() local 215 intentFilter.addAction(Intent.ACTION_MEDIA_RESOURCE_GRANTED); in initialize() 216 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in initialize()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | IntentFirewall.java | 441 FirewallIntentFilter intentFilter = new FirewallIntentFilter(this); in readChild() local 442 intentFilter.readFromXml(parser); in readChild() 443 mIntentFilters.add(intentFilter); in readChild()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 547 IntentFilter intentFilter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); in SyncManager() local 548 context.registerReceiver(mConnectivityIntentReceiver, intentFilter); in SyncManager() 551 intentFilter = new IntentFilter(Intent.ACTION_BOOT_COMPLETED); in SyncManager() 552 intentFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in SyncManager() 553 context.registerReceiver(mBootCompletedReceiver, intentFilter); in SyncManager() 556 intentFilter = new IntentFilter(Intent.ACTION_DEVICE_STORAGE_LOW); in SyncManager() 557 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); in SyncManager() 558 context.registerReceiver(mStorageIntentReceiver, intentFilter); in SyncManager() 560 intentFilter = new IntentFilter(Intent.ACTION_SHUTDOWN); in SyncManager() 561 intentFilter.setPriority(100); in SyncManager() [all …]
|
/frameworks/base/docs/html/work/ |
D | cosu.jd | 440 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MAIN); 441 intentFilter.addCategory(Intent.CATEGORY_HOME); 442 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); 448 mAdminComponentName, intentFilter, new ComponentName(
|