Searched refs:desiredState (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/car/src/android/car/cts/ |
D | CarProjectionManagerTest.java | 149 private void waitForAdapterState(int desiredState) { in waitForAdapterState() argument 151 Log.d(TAG, "Waiting for adapter state " + desiredState); in waitForAdapterState() 156 mDesiredState = desiredState; in waitForAdapterState() 157 if (desiredState == BluetoothAdapter.STATE_ON) { in waitForAdapterState() 164 while (desiredState != mBluetoothAdapter.getState()) { in waitForAdapterState() 167 Log.e(TAG, "Timeout while waiting for Bluetooth adapter state " + desiredState); in waitForAdapterState() 172 Log.w(TAG, "waitForAdapterState(" + desiredState + "): interrupted", e); in waitForAdapterState()
|
D | CarBluetoothTest.java | 130 private void waitForAdapterState(int desiredState) { in waitForAdapterState() argument 132 Log.d(TAG, "Waiting for adapter state " + desiredState); in waitForAdapterState() 137 mDesiredState = desiredState; in waitForAdapterState() 138 if (desiredState == BluetoothAdapter.STATE_ON) { in waitForAdapterState() 145 while (desiredState != mBluetoothAdapter.getState()) { in waitForAdapterState() 148 Log.e(TAG, "Timeout while waiting for Bluetooth adapter state " + desiredState); in waitForAdapterState() 153 Log.w(TAG, "waitForAdapterState(" + desiredState + "): interrupted", e); in waitForAdapterState()
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 153 final String desiredState = "RUNNING_UNLOCKED"; in startUserAndWait() local 160 if (output.contains(desiredState)) { in startUserAndWait() 165 fail("User state of " + userId + " was '" + output + "' rather than " + desiredState); in startUserAndWait()
|
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 274 final NetworkInfo.State desiredState = enabled ? in setWifiState() local 277 expectNetworkBroadcast(TYPE_WIFI, desiredState, new Runnable() { in setWifiState()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 6374 private void waitForDesiredState(@NonNull Object lock, int desiredState, in waitForDesiredState() argument 6379 while (currentStateSupplier.getAsInt() != desiredState && now < deadline) { in waitForDesiredState()
|