Home
last modified time | relevance | path

Searched refs:EXTRA_STATE (Results 1 – 25 of 86) sorted by relevance

1234

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java131 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/
DA2dpStateMachineTest.java177 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/
DHearingAidStateMachineTest.java156 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/
DSilenceDeviceManagerTest.java176 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()
DActiveDeviceManagerTest.java316 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()
DPhonePolicyTest.java153 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/
DBluetoothEnablerTest.java221 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/
DAccessibilityHearingAidPreferenceControllerTest.java116 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/
DHeadsetTestUtils.java46 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/
DActiveDeviceManager.java178 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()
DSilenceDeviceManager.java136 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage()
160 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage()
DProfileObserver.java64 && intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1) in onReceive()
DPhonePolicy.java121 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/
DAddDevicePreferenceControllerTest.java93 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/
DBluetoothStateReceiver.java78 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/
DAccessibilityHearingAidPreferenceController.java64 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/
DAccessibilityHearingAidPreferenceController.java64 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/
DAvrcpControllerStateMachineTest.java131 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/
DTestUtils.java145 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/
DBluetoothPeripheralHandover.java493 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/
DMapMceTestFragment.java316 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/
DLocalDeviceNameDialogFragment.java40 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DLocalDeviceNameDialogFragment.java44 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java146 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/
DBluetoothOppBtEnablingActivity.java146 switch (intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)) {

1234