/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | IntentFilterData.java | 116 IntentFilter intentFilter = new IntentFilter(mAction); in createIntentFilter() local 120 intentFilter.addCategory(category); in createIntentFilter() 123 intentFilter.addDataScheme(mDataScheme); in createIntentFilter() 127 intentFilter.addDataType(mDataType); in createIntentFilter() 133 return intentFilter; in createIntentFilter()
|
D | PreferredActivity.java | 86 IntentFilter intentFilter = intentFilterData.createIntentFilter(); in configure() local 87 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in configure() 110 packageManager.replacePreferredActivity(intentFilter, match, set, packageActivity); in configure()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RegisteredComponentCache.java | 70 IntentFilter intentFilter = new IntentFilter(); in RegisteredComponentCache() local 71 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredComponentCache() 72 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredComponentCache() 73 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredComponentCache() 74 intentFilter.addDataScheme("package"); in RegisteredComponentCache() 75 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, intentFilter, null, null); in RegisteredComponentCache()
|
D | ConfirmConnectToWifiNetworkActivity.java | 49 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 50 intentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in onCreate() 51 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
|
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/ |
D | ShowBlockReportSpamDialogReceiver.java | 65 IntentFilter intentFilter = new IntentFilter(); in getIntentFilter() local 66 intentFilter.addAction(ACTION_SHOW_DIALOG_TO_BLOCK_NUMBER_AND_OPTIONALLY_REPORT_SPAM); in getIntentFilter() 67 intentFilter.addAction(ACTION_SHOW_DIALOG_TO_BLOCK_NUMBER); in getIntentFilter() 68 intentFilter.addAction(ACTION_SHOW_DIALOG_TO_REPORT_NOT_SPAM); in getIntentFilter() 69 intentFilter.addAction(ACTION_SHOW_DIALOG_TO_UNBLOCK_NUMBER); in getIntentFilter() 70 return intentFilter; in getIntentFilter()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateHelperTest.java | 197 Predicate<IntentFilter> carModeFilterTest = (intentFilter) -> in testReceiverAndIntentFilter() 198 2 == intentFilter.countActions() in testReceiverAndIntentFilter() 199 && intentFilter.hasAction(UiModeManager.ACTION_ENTER_CAR_MODE_PRIORITIZED) in testReceiverAndIntentFilter() 200 && intentFilter.hasAction(UiModeManager.ACTION_EXIT_CAR_MODE_PRIORITIZED); in testReceiverAndIntentFilter() 202 Predicate<IntentFilter> packageRemovedFilterTest = (intentFilter) -> in testReceiverAndIntentFilter() 203 1 == intentFilter.countActions() in testReceiverAndIntentFilter() 204 && intentFilter.hasAction(Intent.ACTION_PACKAGE_REMOVED) in testReceiverAndIntentFilter() 205 && intentFilter.hasDataScheme("package"); in testReceiverAndIntentFilter()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryBroadcastReceiver.java | 99 final IntentFilter intentFilter = new IntentFilter(); in register() local 100 intentFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in register() 101 intentFilter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in register() 103 final Intent intent = mContext.registerReceiver(this, intentFilter); in register()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceNamePreferenceController.java | 70 final IntentFilter intentFilter = new IntentFilter(); in onStart() local 71 intentFilter.addAction(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED); in onStart() 72 intentFilter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in onStart() 73 mContext.registerReceiver(mReceiver, intentFilter); in onStart()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanBroadcastReceiver.java | 43 IntentFilter intentFilter = new IntentFilter(); in startListening() local 44 intentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in startListening() 45 intentFilter.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED); in startListening() 46 context.registerReceiver(getInstance(), intentFilter); in startListening() local
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbConnectionBroadcastReceiver.java | 101 final IntentFilter intentFilter = new IntentFilter(); in register() local 102 intentFilter.addAction(UsbManager.ACTION_USB_STATE); in register() 103 intentFilter.addAction(UsbManager.ACTION_USB_PORT_CHANGED); in register() 104 final Intent intent = mContext.registerReceiver(this, intentFilter); in register()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleService.java | 157 IntentFilter intentFilter = new IntentFilter(); in registerUserRemovedReceiver() local 158 intentFilter.addAction(Intent.ACTION_USER_REMOVED); in registerUserRemovedReceiver() 168 }, intentFilter, null, null); in registerUserRemovedReceiver() 175 IntentFilter intentFilter = new IntentFilter(); in onStart() local 176 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart() 177 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart() 178 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart() 179 intentFilter.addDataScheme("package"); in onStart() 180 intentFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onStart() 196 }, intentFilter, null, null); in onStart()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 147 IntentFilter intentFilter = new IntentFilter(); in RegisteredServicesCache() local 148 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredServicesCache() 149 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredServicesCache() 150 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredServicesCache() 151 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in RegisteredServicesCache() 152 intentFilter.addAction(Intent.ACTION_PACKAGE_FIRST_LAUNCH); in RegisteredServicesCache() 153 intentFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in RegisteredServicesCache() 154 intentFilter.addDataScheme("package"); in RegisteredServicesCache() 155 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null); in RegisteredServicesCache() local
|
D | RegisteredNfcFServicesCache.java | 154 IntentFilter intentFilter = new IntentFilter(); in RegisteredNfcFServicesCache() local 155 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredNfcFServicesCache() 156 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredNfcFServicesCache() 157 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredNfcFServicesCache() 158 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in RegisteredNfcFServicesCache() 159 intentFilter.addAction(Intent.ACTION_PACKAGE_FIRST_LAUNCH); in RegisteredNfcFServicesCache() 160 intentFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in RegisteredNfcFServicesCache() 161 intentFilter.addDataScheme("package"); in RegisteredNfcFServicesCache() 162 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null); in RegisteredNfcFServicesCache() local
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | RefreshAnnotatedCallLogReceiver.java | 61 IntentFilter intentFilter = new IntentFilter(); in getIntentFilter() local 62 intentFilter.addAction(IntentNames.ACTION_REFRESH_ANNOTATED_CALL_LOG); in getIntentFilter() 63 intentFilter.addAction(IntentNames.ACTION_CANCEL_REFRESHING_ANNOTATED_CALL_LOG); in getIntentFilter() 64 return intentFilter; in getIntentFilter()
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingService.java | 112 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 113 intentFilter.addAction(ACTION_PAUSE_PROCESSING_SERVICE); in onCreate() 114 intentFilter.addAction(ACTION_RESUME_PROCESSING_SERVICE); in onCreate() 115 LocalBroadcastManager.getInstance(this).registerReceiver(mServiceController, intentFilter); in onCreate()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultNetworkStatusNotifier.java | 70 IntentFilter intentFilter = new IntentFilter(); in registerListener() local 71 intentFilter.addAction(android.net.ConnectivityManager.CONNECTIVITY_ACTION); in registerListener() 77 mAppContext.registerReceiver(mReceiver, intentFilter); in registerListener()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppObserver.java | 243 IntentFilter intentFilter = new IntentFilter(); in createReceiver() local 244 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in createReceiver() 245 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in createReceiver() 246 intentFilter.addDataScheme("package"); in createReceiver() 333 mContext.registerReceiver(mReceiver, intentFilter); in createReceiver()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | CarrierVvmPackageInstalledReceiver.java | 60 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in register() local 61 intentFilter.addDataScheme("package"); in register() 62 context.registerReceiver(this, intentFilter); in register()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 287 IntentFilter intentFilter = new IntentFilter(); in registerMapServiceListenerAndNotificationReceiver() local 288 intentFilter.addAction(ACTION_MESSAGE_SENT_SUCCESSFULLY); in registerMapServiceListenerAndNotificationReceiver() 289 intentFilter.addAction(ACTION_MESSAGE_DELIVERED_SUCCESSFULLY); in registerMapServiceListenerAndNotificationReceiver() 290 intentFilter.addAction(BluetoothMapClient.ACTION_MESSAGE_RECEIVED); in registerMapServiceListenerAndNotificationReceiver() 291 intentFilter.addAction(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); in registerMapServiceListenerAndNotificationReceiver() 292 getContext().registerReceiver(mTransmissionStatusReceiver, intentFilter); in registerMapServiceListenerAndNotificationReceiver()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 277 IntentFilter intentFilter = new IntentFilter(); in onStart() local 278 intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED); in onStart() 279 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in onStart() 280 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); in onStart() 281 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onStart() 282 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT); in onStart() 283 intentFilter.addDataScheme("file"); in onStart() 285 registerReceiver(mReceiver, intentFilter); in onStart()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | VolumeSliceHelper.java | 48 static void registerIntentToUri(Context context, IntentFilter intentFilter, Uri sliceUri, in registerIntentToUri() argument 54 VolumeSliceRelayReceiver.class, intentFilter); in registerIntentToUri() 55 sIntentFilter = intentFilter; in registerIntentToUri()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PackageBroadcastReceiver.kt | 35 private val intentFilter = IntentFilter(Intent.ACTION_PACKAGE_ADDED).apply { in <lambda>() constant 62 intentFilter, null, null) in <lambda>() 81 intentFilter, null, null) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ManagedProfileSettings.java | 156 IntentFilter intentFilter = new IntentFilter(); in register() local 157 intentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in register() 158 context.registerReceiver(this, intentFilter); in register()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 496 IntentFilter intentFilter = in onCreate() local 498 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in onCreate() 499 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); in onCreate() 500 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in onCreate() 501 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in onCreate() 502 intentFilter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED); in onCreate() 503 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in onCreate() 504 registerReceiver(mReceiver, intentFilter); in onCreate()
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | MultinetworkPolicyTracker.java | 139 final IntentFilter intentFilter = new IntentFilter(); in start() local 140 intentFilter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in start() 141 mContext.registerReceiverForAllUsers(mBroadcastReceiver, intentFilter, in start()
|