/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothMonitor.java | 202 IntentFilter intentFilter = new IntentFilter(); in MapDeviceMonitor() local 203 intentFilter.addAction(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); in MapDeviceMonitor() 204 mContext.registerReceiver(this, intentFilter, in MapDeviceMonitor() 247 IntentFilter intentFilter = new IntentFilter(); in BluetoothMapReceiver() local 248 intentFilter.addAction(BluetoothMapClient.ACTION_MESSAGE_SENT_SUCCESSFULLY); in BluetoothMapReceiver() 249 intentFilter.addAction(BluetoothMapClient.ACTION_MESSAGE_RECEIVED); in BluetoothMapReceiver() 250 mContext.registerReceiver(this, intentFilter); in BluetoothMapReceiver() 288 IntentFilter intentFilter = new IntentFilter(); in BluetoothSdpReceiver() local 289 intentFilter.addAction(BluetoothDevice.ACTION_SDP_RECORD); in BluetoothSdpReceiver() 290 mContext.registerReceiver(this, intentFilter); in BluetoothSdpReceiver()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/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 | 85 IntentFilter intentFilter = intentFilterData.createIntentFilter(); in configure() local 86 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in configure() 93 packageManager.replacePreferredActivity(intentFilter, match, activities, 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()
|
/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/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryBroadcastReceiver.java | 88 final IntentFilter intentFilter = new IntentFilter(); in register() local 89 intentFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in register() 90 intentFilter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in register() 92 final Intent intent = mContext.registerReceiver(this, intentFilter); in register()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryBroadcastReceiver.java | 88 final IntentFilter intentFilter = new IntentFilter(); in register() local 89 intentFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in register() 90 intentFilter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in register() 92 final Intent intent = mContext.registerReceiver(this, intentFilter); in register()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 146 IntentFilter intentFilter = new IntentFilter(); in RegisteredServicesCache() local 147 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredServicesCache() 148 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredServicesCache() 149 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredServicesCache() 150 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in RegisteredServicesCache() 151 intentFilter.addAction(Intent.ACTION_PACKAGE_FIRST_LAUNCH); in RegisteredServicesCache() 152 intentFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in RegisteredServicesCache() 153 intentFilter.addDataScheme("package"); in RegisteredServicesCache() 154 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null); in RegisteredServicesCache() local
|
D | RegisteredNfcFServicesCache.java | 153 IntentFilter intentFilter = new IntentFilter(); in RegisteredNfcFServicesCache() local 154 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredNfcFServicesCache() 155 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredNfcFServicesCache() 156 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredNfcFServicesCache() 157 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in RegisteredNfcFServicesCache() 158 intentFilter.addAction(Intent.ACTION_PACKAGE_FIRST_LAUNCH); in RegisteredNfcFServicesCache() 159 intentFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in RegisteredNfcFServicesCache() 160 intentFilter.addDataScheme("package"); in RegisteredNfcFServicesCache() 161 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null); in RegisteredNfcFServicesCache() local
|
/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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbConnectionBroadcastReceiver.java | 97 final IntentFilter intentFilter = new IntentFilter(); in register() local 98 intentFilter.addAction(UsbManager.ACTION_USB_STATE); in register() 99 intentFilter.addAction(UsbManager.ACTION_USB_PORT_CHANGED); in register() 100 final Intent intent = mContext.registerReceiver(this, intentFilter); in register()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/ |
D | UsbConnectionBroadcastReceiver.java | 97 final IntentFilter intentFilter = new IntentFilter(); in register() local 98 intentFilter.addAction(UsbManager.ACTION_USB_STATE); in register() 99 intentFilter.addAction(UsbManager.ACTION_USB_PORT_CHANGED); in register() 100 final Intent intent = mContext.registerReceiver(this, intentFilter); in register()
|
/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 179 IntentFilter intentFilter = new IntentFilter(); in onResume() local 180 intentFilter.addAction(BluetoothMapClient.ACTION_MESSAGE_SENT_SUCCESSFULLY); in onResume() 181 intentFilter.addAction(BluetoothMapClient.ACTION_MESSAGE_DELIVERED_SUCCESSFULLY); in onResume() 182 intentFilter.addAction(BluetoothMapClient.ACTION_MESSAGE_RECEIVED); in onResume() 183 intentFilter.addAction(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); in onResume() 184 getContext().registerReceiver(mTransmissionStatusReceiver, intentFilter); in onResume()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | SystemStateHelper.java | 91 IntentFilter intentFilter = new IntentFilter( in SystemStateHelper() local 93 intentFilter.addAction(UiModeManager.ACTION_EXIT_CAR_MODE_PRIORITIZED); in SystemStateHelper() 94 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in SystemStateHelper() 95 Log.i(this, "Registering car mode receiver: %s", intentFilter); in SystemStateHelper()
|
/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/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/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateHelperTest.java | 132 ArgumentCaptor<IntentFilter> intentFilter = ArgumentCaptor.forClass(IntentFilter.class); in testReceiverAndIntentFilter() local 134 verify(mContext).registerReceiver(any(BroadcastReceiver.class), intentFilter.capture()); in testReceiverAndIntentFilter() 136 assertEquals(2, intentFilter.getValue().countActions()); in testReceiverAndIntentFilter() 138 intentFilter.getValue().getAction(0)); in testReceiverAndIntentFilter() 140 intentFilter.getValue().getAction(1)); in testReceiverAndIntentFilter()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 420 IntentFilter intentFilter = in onCreate() local 422 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in onCreate() 423 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); in onCreate() 424 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in onCreate() 425 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in onCreate() 426 intentFilter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED); in onCreate() 427 intentFilter.addAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in onCreate() 428 registerReceiver(mReceiver, intentFilter); in onCreate()
|
/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/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 369 IntentFilter intentFilter = new IntentFilter(); in init() local 370 intentFilter.addAction(Intent.ACTION_SCREEN_OFF); in init() 371 intentFilter.addAction(Intent.ACTION_SCREEN_ON); in init() 372 mContext.registerReceiver(mDisplayBroadcastReceiver, intentFilter); in init()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | ManagedProfileSettings.java | 148 IntentFilter intentFilter = new IntentFilter(); in register() local 149 intentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in register() 150 context.registerReceiver(this, intentFilter); in register()
|