Home
last modified time | relevance | path

Searched refs:previousState (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java125 int previousState = intent.getIntExtra(BluetoothAdapter.EXTRA_PREVIOUS_STATE, -1); in onReceive() local
127 Log.i(TAG, "Previous state: " + previousState + " New state: " + newState); in onReceive()
130 && (BluetoothAdapter.STATE_ON == previousState in onReceive()
131 || BluetoothAdapter.STATE_TURNING_OFF == previousState)) { in onReceive()
136 && (BluetoothAdapter.STATE_OFF == previousState in onReceive()
137 || BluetoothAdapter.STATE_TURNING_ON == previousState)) { in onReceive()
/cts/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/
DBTAdapterUtils.java64 int previousState = intent.getIntExtra(BluetoothAdapter.EXTRA_PREVIOUS_STATE, -1); in onReceive() local
66 Log.d(TAG, "Previous state: " + previousState + " New state: " + newState); in onReceive()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DHearingAidProfileTest.java297 int previousState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1); in onReceive() local
301 + ", state=" + state + ", previousState=" + previousState); in onReceive()
304 checkValidConnectionState(previousState); in onReceive()
/cts/hostsidetests/usage/src/android/app/usage/cts/
DAppIdleHostTest.java112 final String previousState = getAppIdleSettings(); in testAppIsNotIdleAfterBeingLaunched() local
119 setAppIdleSettings(previousState); in testAppIsNotIdleAfterBeingLaunched()