Searched refs:previousState (Results 1 – 4 of 4) sorted by relevance
125 int previousState = intent.getIntExtra(BluetoothAdapter.EXTRA_PREVIOUS_STATE, -1); in onReceive() local127 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()
64 int previousState = intent.getIntExtra(BluetoothAdapter.EXTRA_PREVIOUS_STATE, -1); in onReceive() local66 Log.d(TAG, "Previous state: " + previousState + " New state: " + newState); in onReceive()
297 int previousState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1); in onReceive() local301 + ", state=" + state + ", previousState=" + previousState); in onReceive()304 checkValidConnectionState(previousState); in onReceive()
112 final String previousState = getAppIdleSettings(); in testAppIsNotIdleAfterBeingLaunched() local119 setAppIdleSettings(previousState); in testAppIsNotIdleAfterBeingLaunched()