Searched refs:oneOf (Results 1 – 7 of 7) sorted by relevance
593 if (mAdapter != null && mState.oneOf(STATE_BLE_ON)) {595 } else if (mAdapter != null && mState.oneOf(STATE_ON)) {699 if (mState.oneOf(STATE_OFF, STATE_BLE_TURNING_OFF)) { in onBleScanDisabled()709 if (mState.oneOf(STATE_BLE_ON)) { in onBleScanDisabled()925 if (mAdapter == null || !mState.oneOf(STATE_ON)) { in isMediaProfileConnected()968 if (mAdapter != null && mState.oneOf(STATE_ON)) { in disableBleScanMode()1033 if (mState.oneOf( in enableBle()1063 if (mState.oneOf(STATE_OFF)) { in disableBle()1070 if (mState.oneOf(STATE_BLE_ON) && !isBleAppPresent()) { in disableBle()1573 if (!mState.oneOf(STATE_OFF)) { in handleMessage()[all …]
124 assertThat(mState.oneOf(state0, state1)).isTrue() in oneOf_expectMatch()133 assertThat(mState.oneOf(state1, state2)).isFalse() in oneOf_expectNotMatch()
41 fun oneOf(vararg states: Int): Boolean = states.contains(get()) in get() method
67 if (state.oneOf(STATE_ON)) { in resetAutoOnTimerForUser()
95 val isBluetoothOn = state.oneOf(STATE_ON, STATE_TURNING_ON, STATE_TURNING_OFF) in initialize()124 Flags.airplaneModeXBleOn() && isOnOverrode == false && state.oneOf(STATE_ON) in initialize()
125 public static void oneOf(final int actual, final int ...expected) { in oneOf() method in Assert
1693 assertThat(nominatorId, is(oneOf( in testMultipleNominatorsSetsNominatorIdCorrectly()