Home
last modified time | relevance | path

Searched refs:ACTION_STATE_CHANGED (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java234 Intent turningOff = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in bluetoothTurnsOff_switchTurnsOff()
237 Intent off = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in bluetoothTurnsOff_switchTurnsOff()
258 Intent turningOn = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in bluetoothTurnsOn_switchTurnsOn()
261 Intent on = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in bluetoothTurnsOn_switchTurnsOn()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalDeviceNameDialogFragment.java39 (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action) &&
57 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in onResume()
DBluetoothDeviceNamePreferenceController.java72 intentFilter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in onStart()
148 } else if (TextUtils.equals(action, BluetoothAdapter.ACTION_STATE_CHANGED)) {
DRequestPermissionActivity.java221 registerReceiver(mReceiver, new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)); in onEnableConfirmed()
233 registerReceiver(mReceiver, new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)); in onDisableConfirmed()
/packages/modules/Bluetooth/framework/api/
Dlint-baseline.txt10 BroadcastBehavior: android.bluetooth.BluetoothAdapter#ACTION_STATE_CHANGED:
11 Field 'ACTION_STATE_CHANGED' is missing @BroadcastBehavior
Dmodule-lib-lint-baseline.txt12 BroadcastBehavior: android.bluetooth.BluetoothAdapter#ACTION_STATE_CHANGED:
13 Field 'ACTION_STATE_CHANGED' is missing @BroadcastBehavior
Dsystem-lint-baseline.txt12 BroadcastBehavior: android.bluetooth.BluetoothAdapter#ACTION_STATE_CHANGED:
13 Field 'ACTION_STATE_CHANGED' is missing @BroadcastBehavior
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DDiscoverableFooterPreferenceController.java87 new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)); in onStart()
138 if (intent.getAction().equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in initReceiver()
DAddDevicePreferenceController.java54 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in AddDevicePreferenceController()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivity.java77 IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in onCreate()
140 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DStreamSettingsCategoryController.java53 if (!BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) return;
63 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in StreamSettingsCategoryController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAddDevicePreferenceControllerTest.java93 Intent intent = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in addDevice_bt_resume_on_then_off()
110 Intent intent = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in addDevice_bt_resume_off_then_on()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java97 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in onCreate()
152 if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)) {
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java95 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
144 IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in onCreate()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairProvider.java140 case BluetoothAdapter.ACTION_STATE_CHANGED:
213 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in start()
DBluetoothDeviceConnectionPolicy.java82 if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)) { in onReceive()
299 profileFilter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in init()
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java174 new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)); in onCreate()
287 if (TextUtils.equals(action, BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
335 } else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
423 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in registerReceiver()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBluetoothSwitchWorker.java35 BluetoothAdapter.ACTION_STATE_CHANGED);
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DDckTestRule.kt290 val bluetoothStateFilter = IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED) in getBluetoothStateFlow()
294 if (BluetoothAdapter.ACTION_STATE_CHANGED == intent.action) { in getBluetoothStateFlow()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicesService.java126 } else if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)) {
186 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); // Bluetooth toggle in onCreate()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DBluetoothSwitchWorkerTest.java53 assertThat(captor.getValue().hasAction(BluetoothAdapter.ACTION_STATE_CHANGED)).isTrue(); in onSubscribe_registersReceiver()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java168 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in onStart()
344 } else if (TextUtils.equals(BluetoothAdapter.ACTION_STATE_CHANGED, action)) {
DTetheredRepository.kt73 context.broadcastReceiverFlow(IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)), in <lambda>()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBluetoothTestUtils.java43 BluetoothAdapter.ACTION_STATE_CHANGED);
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java406 registerReceiver(mReceiver, new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)); in enableBluetoothWithWaitingDialog()
438 registerReceiver(mReceiver, new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED)); in onConfirmDisableBluetooth()

123