Searched refs:waitForState (Results 1 – 9 of 9) sorted by relevance
109 public static void waitForState(String service, State state, long timeoutMillis) in waitForState() method in SystemService
97 public void waitForState(int state, long timeoutMs) { in waitForState() method in StateWaiter
153 public void waitForState(int state, long timeout) { in waitForState() method in BlockingStateCallback
303 if (!waitForState(Set.of(BluetoothAdapter.STATE_BLE_ON, BluetoothAdapter.STATE_ON))) { in onFactoryReset()1995 waitForState(Set.of(BluetoothAdapter.STATE_ON)); in handleMessage()1997 waitForState(Set.of(BluetoothAdapter.STATE_OFF, in handleMessage()2034 waitForState(Set.of(BluetoothAdapter.STATE_OFF)); in handleMessage()2207 waitForState(Set.of(BluetoothAdapter.STATE_ON)); in restartForReason()2222 !waitForState(Set.of(BluetoothAdapter.STATE_OFF)); in restartForReason()2440 private boolean waitForState(Set<Integer> states) { in waitForState() method in BluetoothManagerService2521 waitForState(Set.of(BluetoothAdapter.STATE_OFF)); in recoverBluetoothServiceFromError()
1455 private boolean waitForState(String state) { in waitForState() method in UsbDeviceManager.UsbHandlerLegacy1590 if (!waitForState(UsbManager.USB_FUNCTION_NONE)) { in trySetEnabledFunctions()1609 if (!waitForState(oemFunctions)) { in trySetEnabledFunctions()
638 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
911 mSessionListener.getStateWaiter().waitForState(SESSION_CLOSED, SESSION_CLOSE_TIMEOUT_MS); in stopCameraStreaming()
552 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
53647 Landroid/os/SystemService;->waitForState(Ljava/lang/String;Landroid/os/SystemService$State;J)V