/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | PMCMainActivity.java | 112 registerReceiver(mPMCReceiver, new IntentFilter(AUTOPOWER_INTENT_STRING)); in onCreate() 113 registerReceiver(mPMCReceiver, new IntentFilter(SETPARAMS_INTENT_STRING)); in onCreate() 114 registerReceiver(mBleScanReceiver, new IntentFilter(BleScanReceiver.BLE_SCAN_INTENT)); in onCreate() 115 registerReceiver(mGattPMCReceiver, new IntentFilter(GattPMCReceiver.GATTPMC_INTENT)); in onCreate() 116 registerReceiver(mA2dpReceiver, new IntentFilter(A2dpReceiver.A2DP_INTENT)); in onCreate() 204 registerReceiver(mDR, new IntentFilter(sDownloadAction)); in startDownloadFile() 228 registerReceiver(mConnSR, new IntentFilter(sConnScanAction)); in startConnectivityScan() 265 registerReceiver(mGScanR, new IntentFilter(sGScanAction)); in startGscan()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestContext.java | 73 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver() method in TestContext 78 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, int flags) { in registerReceiver() method in TestContext 83 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver() method in TestContext 89 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver() method in TestContext
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomSystem.java | 237 mContext.registerReceiver(bluetoothStateReceiver, BluetoothStateReceiver.INTENT_FILTER); in TelecomSystem() 339 mContext.registerReceiver(mUserSwitchedReceiver, USER_SWITCHED_FILTER); in TelecomSystem() 340 mContext.registerReceiver(mUserStartingReceiver, USER_STARTING_FILTER); in TelecomSystem() 341 mContext.registerReceiver(mBootCompletedReceiver, BOOT_COMPLETE_FILTER); in TelecomSystem() 351 mContext.registerReceiver(mDialerCodeReceiver, DIALER_SECRET_CODE_FILTER, in TelecomSystem()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsPackageMonitor.java | 85 registerReceiver(); in start() 95 private void registerReceiver() { in registerReceiver() method in ContactsPackageMonitor 104 mContext.registerReceiver(new BroadcastReceiver() { in registerReceiver()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | PackageIntentReceiver.java | 37 context.registerReceiver(this, filter); in PackageIntentReceiver() 43 context.registerReceiver(this, sdFilter); in PackageIntentReceiver()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TetherSettings.java | 271 Intent intent = activity.registerReceiver(mTetherChangeReceiver, filter); in onStart() 275 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart() 281 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart() 285 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothMonitor.java | 204 mContext.registerReceiver(this, intentFilter, in MapDeviceMonitor() 250 mContext.registerReceiver(this, intentFilter); in BluetoothMapReceiver() 290 mContext.registerReceiver(this, intentFilter); in BluetoothSdpReceiver()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | WiredHeadsetManager.java | 50 void registerReceiver() { in registerReceiver() method in WiredHeadsetManager 53 context.registerReceiver(receiver, intentFilter); in registerReceiver()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | ProvisioningResultListener.java | 70 mContext.registerReceiver(mReceiver, new IntentFilter(ACTION_PROVISION_RESULT_BROADCAST)); in register() 71 mContext.registerReceiver(mReceiver, new IntentFilter(ACTION_PROVISION_RESULT_INTENT)); in register()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingDialog.java | 96 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_PAIRING_CANCEL)); in onCreate() 97 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_BOND_STATE_CHANGED)); in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingDialog.java | 96 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_PAIRING_CANCEL)); in onCreate() 97 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_BOND_STATE_CHANGED)); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothPairingDialog.java | 96 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_PAIRING_CANCEL)); in onCreate() 97 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_BOND_STATE_CHANGED)); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 295 Intent intent = activity.registerReceiver(mTetherChangeReceiver, filter); in onStart() 299 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart() 305 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart() 309 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitorTest.java | 65 verify(mContext).registerReceiver(receiverCaptor.capture(), eq(NetworkMonitor.FILTER)); in testStartListening() 93 verify(mContext).registerReceiver(receiverCaptor.capture(), eq(NetworkMonitor.FILTER)); in testStopListening()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/ |
D | WifiP2pPreferenceController.java | 91 mContext.registerReceiver(mReceiver, mFilter); in onResume() 92 mContext.registerReceiver(mLocationReceiver, mLocationFilter); in onResume()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceNamePreferenceControllerTest.java | 96 verify(mContext).registerReceiver(eq(mController.mReceiver), any()); in testOnStart_receiverRegistered() 102 mContext.registerReceiver(mController.mReceiver, null); in testOnStop_receiverUnregistered()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPreferenceController.java | 91 mContext.registerReceiver(mReceiver, mFilter); in onResume() 92 mContext.registerReceiver(mLocationReceiver, mLocationFilter); in onResume()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | NetworkPasswordPreferenceController.java | 74 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mNameChangeReceiver, in onStartInternal() 76 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mSecurityChangeReceiver, in onStartInternal()
|
D | AddWifiFragment.java | 115 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mNameChangeReceiver, in onStart() 117 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mSecurityChangeReceiver, in onStart()
|
/packages/apps/Launcher3/SecondaryDisplayLauncher/src/com/android/launcher3/ |
D | AppListViewModel.java | 113 context.registerReceiver(this, filter); in PackageIntentReceiver() 119 context.registerReceiver(this, sdFilter); in PackageIntentReceiver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | WorkModePreferenceControllerTest.java | 110 verify(mContext).registerReceiver(eq(mController.mReceiver), any()); in onStart_shouldRegisterReceiver() 116 mContext.registerReceiver(mController.mReceiver, null); in onStop_shouldUnregisterReceiver()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamSendService.java | 68 registerReceiver(mBluetoothStateReceiver, filter); in onCreate() 109 registerReceiver(mBeamStatusReceiver, mBeamStatusReceiver.getIntentFilter(), in doTransfer()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsApplication.java | 128 registerReceiver(mCacheReceiver, packageFilter); in onCreate() 132 registerReceiver(mCacheReceiver, localeFilter); in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SubscriptionsChangeListenerTest.java | 87 verify(mContext, never()).registerReceiver(any(), any()); in whenStartNotCalled_noListeningWasSetup() 118 verify(mContext).registerReceiver(broadcastReceiverCaptor.capture(), any()); in onSubscriptionsChangedEvent_radioTechnologyChangedBroadcast_eventDeliveredToUs()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 71 registerReceiver(mShutdownReceiver, filter_screen_off); in onCreateTasks() 79 registerReceiver(mShutdownReceiver, filter_user_unlock); in onCreateTasks()
|