/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 131 IntentMatchers.hasExtra(BluetoothProfile.EXTRA_STATE, in testIncomingPriorityReject() 162 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 180 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 208 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout() 220 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout() 251 intentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testInBandRingtone() 265 intentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testInBandRingtone()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachineTest.java | 177 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 201 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 224 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout() 235 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout() 263 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout() 274 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidStateMachineTest.java | 156 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 200 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout() 211 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout() 244 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout() 255 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 176 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in a2dpConnected() 188 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_DISCONNECTED); in a2dpDisconnected() 200 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in headsetConnected() 212 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_DISCONNECTED); in headsetDisconnected()
|
D | ActiveDeviceManagerTest.java | 316 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in a2dpConnected() 327 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_DISCONNECTED); in a2dpDisconnected() 347 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in headsetConnected() 358 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_DISCONNECTED); in headsetDisconnected()
|
D | PhonePolicyTest.java | 153 intent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in testAdapterOnAutoConnect() 620 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in testNoReconnectOnNoConnect() 676 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in testNoReconnectOnNoConnect_MultiDevice() 778 intent.putExtra(BluetoothProfile.EXTRA_STATE, nextState); in updateProfileConnectionStateHelper()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 221 turningOff.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_TURNING_OFF); in bluetoothTurnsOff_switchTurnsOff() 224 off.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_OFF); in bluetoothTurnsOff_switchTurnsOff() 244 turningOn.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_TURNING_ON); in bluetoothTurnsOn_switchTurnsOn() 247 on.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in bluetoothTurnsOn_switchTurnsOn()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceControllerTest.java | 116 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHearingAid.STATE_CONNECTED); in onHearingAidStateChanged_connected_updateHearingAidSummary() 126 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHearingAid.STATE_DISCONNECTED); in onHearingAidStateChanged_disconnected_updateHearingAidSummary() 137 intent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_OFF); in onBluetoothStateChanged_bluetoothOff_updateHearingAidSummary()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetTestUtils.java | 46 Assert.assertEquals(toState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyAudioStateBroadcast() 69 Assert.assertEquals(toState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyConnectionStateBroadcast()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManager.java | 178 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in handleMessage() 194 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() 253 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage()
|
D | SilenceDeviceManager.java | 136 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() 160 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage()
|
D | ProfileObserver.java | 64 && intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1) in onReceive()
|
D | PhonePolicy.java | 121 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); 172 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | AddDevicePreferenceControllerTest.java | 93 intent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_OFF); in addDevice_bt_resume_on_then_off() 110 intent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in addDevice_bt_resume_off_then_on()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothStateReceiver.java | 78 intent.getIntExtra(BluetoothHeadset.EXTRA_STATE, in handleAudioStateChanged() 109 int bluetoothHeadsetState = intent.getIntExtra(BluetoothHeadset.EXTRA_STATE, in handleConnectionStateChanged()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceController.java | 64 final int state = intent.getIntExtra(BluetoothHearingAid.EXTRA_STATE, 73 final int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | AccessibilityHearingAidPreferenceController.java | 64 final int state = intent.getIntExtra(BluetoothHearingAid.EXTRA_STATE, 73 final int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 131 mIntentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testDisconnect() 156 mIntentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testControlOnly() 183 mIntentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testBrowsingOnly()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 145 startIntent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_ON); in startService() 176 stopIntent.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_OFF); in stopService()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 493 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, BluetoothAdapter.ERROR); in handleIntent() 507 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, BluetoothAdapter.ERROR); in handleIntent() 521 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, BluetoothAdapter.ERROR); in handleIntent()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 316 if (intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0) in onReceive() 320 } else if (intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0) in onReceive()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalDeviceNameDialogFragment.java | 40 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | LocalDeviceNameDialogFragment.java | 44 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothProfileDeviceManager.java | 146 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, in onReceive() 159 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppBtEnablingActivity.java | 146 switch (intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)) {
|