Home
last modified time | relevance | path

Searched refs:waitForState (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/os/
DSystemService.java109 public static void waitForState(String service, State state, long timeoutMillis) in waitForState() method in SystemService
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java97 public void waitForState(int state, long timeoutMs) { in waitForState() method in StateWaiter
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java153 public void waitForState(int state, long timeout) { in waitForState() method in BlockingStateCallback
DBlockingOfflineSessionCallback.java170 public void waitForState(int state, long timeout) { in waitForState() method in BlockingOfflineSessionCallback
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java320 if (!waitForState(Set.of(BluetoothAdapter.STATE_BLE_ON, BluetoothAdapter.STATE_ON))) { in onFactoryReset()
2117 waitForState(Set.of(BluetoothAdapter.STATE_ON)); in handleMessage()
2119 waitForState(Set.of(BluetoothAdapter.STATE_OFF, in handleMessage()
2156 waitForState(Set.of(BluetoothAdapter.STATE_OFF)); in handleMessage()
2353 waitForState(Set.of(BluetoothAdapter.STATE_ON)); in restartForReason()
2368 !waitForState(Set.of(BluetoothAdapter.STATE_OFF)); in restartForReason()
2615 private boolean waitForState(Set<Integer> states) { in waitForState() method in BluetoothManagerService
2700 waitForState(Set.of(BluetoothAdapter.STATE_OFF)); in recoverBluetoothServiceFromError()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java638 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1590 private boolean waitForState(String state) { in waitForState() method in UsbDeviceManager.UsbHandlerLegacy
1725 if (!waitForState(UsbManager.USB_FUNCTION_NONE)) { in trySetEnabledFunctions()
1744 if (!waitForState(oemFunctions)) { in trySetEnabledFunctions()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java911 mSessionListener.getStateWaiter().waitForState(SESSION_CLOSED, SESSION_CLOSE_TIMEOUT_MS); in stopCameraStreaming()
DCamera2ReprocessCaptureTest.java552 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt43085 Landroid/os/SystemService;->waitForState(Ljava/lang/String;Landroid/os/SystemService$State;J)V
/frameworks/base/services/
Dart-profile1194 HPLcom/android/server/BluetoothManagerService;->waitForState(Ljava/util/Set;)Z+]Ljava/lang/StringBu…