Home
last modified time | relevance | path

Searched refs:registerReceiver (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DPMCMainActivity.java112 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/
DTestContext.java73 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/
DTelecomSystem.java237 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/
DContactsPackageMonitor.java85 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/
DPackageIntentReceiver.java37 context.registerReceiver(this, filter); in PackageIntentReceiver()
43 context.registerReceiver(this, sdFilter); in PackageIntentReceiver()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java271 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/
DBluetoothMonitor.java204 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/
DWiredHeadsetManager.java50 void registerReceiver() { in registerReceiver() method in WiredHeadsetManager
53 context.registerReceiver(receiver, intentFilter); in registerReceiver()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DProvisioningResultListener.java70 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/
DBluetoothPairingDialog.java96 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/
DBluetoothPairingDialog.java96 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/
DBluetoothPairingDialog.java96 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/
DTetherSettings.java295 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/
DNetworkMonitorTest.java65 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/
DWifiP2pPreferenceController.java91 mContext.registerReceiver(mReceiver, mFilter); in onResume()
92 mContext.registerReceiver(mLocationReceiver, mLocationFilter); in onResume()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDeviceNamePreferenceControllerTest.java96 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/
DWifiP2pPreferenceController.java91 mContext.registerReceiver(mReceiver, mFilter); in onResume()
92 mContext.registerReceiver(mLocationReceiver, mLocationFilter); in onResume()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DNetworkPasswordPreferenceController.java74 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mNameChangeReceiver, in onStartInternal()
76 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mSecurityChangeReceiver, in onStartInternal()
DAddWifiFragment.java115 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mNameChangeReceiver, in onStart()
117 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mSecurityChangeReceiver, in onStart()
/packages/apps/Launcher3/SecondaryDisplayLauncher/src/com/android/launcher3/
DAppListViewModel.java113 context.registerReceiver(this, filter); in PackageIntentReceiver()
119 context.registerReceiver(this, sdFilter); in PackageIntentReceiver()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DWorkModePreferenceControllerTest.java110 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/
DBeamSendService.java68 registerReceiver(mBluetoothStateReceiver, filter); in onCreate()
109 registerReceiver(mBeamStatusReceiver, mBeamStatusReceiver.getIntentFilter(), in doTransfer()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java128 registerReceiver(mCacheReceiver, packageFilter); in onCreate()
132 registerReceiver(mCacheReceiver, localeFilter); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionsChangeListenerTest.java87 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/
DPermissionsActivity.java71 registerReceiver(mShutdownReceiver, filter_screen_off); in onCreateTasks()
79 registerReceiver(mShutdownReceiver, filter_user_unlock); in onCreateTasks()

12345678910>>...20