Home
last modified time | relevance | path

Searched defs:timeoutMs (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/tests/net/util/java/com/android/internal/util/
DTestUtils.java39 public static void waitForIdleHandler(HandlerThread handlerThread, long timeoutMs) { in waitForIdleHandler()
40 waitForIdleLooper(handlerThread.getLooper(), timeoutMs); in waitForIdleHandler() local
46 public static void waitForIdleLooper(Looper looper, long timeoutMs) { in waitForIdleLooper()
53 public static void waitForIdleHandler(Handler handler, long timeoutMs) { in waitForIdleHandler()
64 public static void waitForIdleSerialExecutor(@NonNull Executor executor, long timeoutMs) { in waitForIdleSerialExecutor()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java57 public static RemoteResult execute(RemoteCallable<IBackupCallback> callable, long timeoutMs) in execute()
75 public RemoteCall(RemoteCallable<IBackupCallback> callable, long timeoutMs) { in RemoteCall()
86 public RemoteCall(boolean cancelled, RemoteCallable<IBackupCallback> callable, long timeoutMs) { in RemoteCall()
/frameworks/base/services/net/java/android/net/netlink/
DNetlinkSocket.java116 private static void checkTimeout(long timeoutMs) { in checkTimeout()
128 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage()
152 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java97 public void waitForState(int state, long timeoutMs) { in waitForState()
100 waitForAnyOfStates(Arrays.asList(stateArray), timeoutMs); in waitForState() local
120 public int waitForAnyOfStates(Collection<Integer> states, final long timeoutMs) { in waitForAnyOfStates()
/frameworks/av/media/utils/
DTimeCheck.cpp31 TimeCheck::TimeCheck(const char *tag, uint32_t timeoutMs) in TimeCheck()
48 nsecs_t TimeCheck::TimeCheckThread::startMonitoring(const char *tag, uint32_t timeoutMs) { in startMonitoring()
/frameworks/opt/car/services/src/com/android/internal/car/
DICarServiceHelper.aidl24 int forceSuspend(int timeoutMs); in forceSuspend()
DCarServiceHelperService.java447 private static native int nativeForceSuspend(int timeoutMs); in nativeForceSuspend()
454 public int forceSuspend(int timeoutMs) { in forceSuspend()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java139 public CameraCaptureSession waitAndGetSession(long timeoutMs) { in waitAndGetSession()
233 CameraCaptureSession session, Surface surface, long timeoutMs) { in waitForSurfacePrepared()
292 long timeoutMs = unit.convert(timeout, TimeUnit.MILLISECONDS); in get() local
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java143 public int waitForResultOrThrow(int timeoutMs) { in waitForResultOrThrow()
147 public int waitForResultOrThrow(int timeoutMs, String expected) { in waitForResultOrThrow()
163 public int waitForResult(int timeoutMs, String expected) { in waitForResult()
/frameworks/base/cmds/incidentd/src/
DSection.h42 const int64_t timeoutMs; // each section must have a timeout variable
DSection.cpp78 Section::Section(int i, int64_t timeoutMs) in Section()
88 FileSection::FileSection(int id, const char* filename, const int64_t timeoutMs) in FileSection()
251 WorkerThreadSection::WorkerThreadSection(int id, const int64_t timeoutMs) in WorkerThreadSection()
366 CommandSection::CommandSection(int id, const int64_t timeoutMs, const char* command, ...) in CommandSection()
638 TombstoneSection::TombstoneSection(int id, const char* type, const int64_t timeoutMs) in TombstoneSection()
/frameworks/base/core/java/android/os/
DConditionVariable.java117 public boolean block(long timeoutMs) in block()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityCallback.java45 void reportUnlockAttempt(int userId, boolean success, int timeoutMs); in reportUnlockAttempt()
/frameworks/opt/car/services/src/jni/
Dcom_android_internal_car_CarServiceHelperService.cpp31 static jint nativeForceSuspend(JNIEnv* /* env */, jclass /* clazz */, jint timeoutMs) { in nativeForceSuspend()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DOneTimeSettingsListener.java44 @NonNull String key, int timeoutMs) { in OneTimeSettingsListener()
/frameworks/base/services/net/java/android/net/util/
DNetdService.java82 long timeoutMs = 0; in get() local
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraStateHolder.java95 long timeoutMs) { in waitForCondition()
DDispatchThread.java73 public void runJobSync(final Runnable job, Object waitLock, long timeoutMs, String jobMsg) { in runJobSync()
/frameworks/base/core/java/android/service/trust/
DITrustAgentService.aidl28 oneway void onUnlockLockout(int timeoutMs); in onUnlockLockout()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTimeReceiver.java78 public long getReceivedTimeNs(String type, long timeoutMs) { in getReceivedTimeNs()
/frameworks/base/core/java/android/app/trust/
DITrustManager.aidl29 void reportUnlockLockout(int timeoutMs, int userId); in reportUnlockLockout()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java88 final long timeoutMs = System.currentTimeMillis() + 30_000; in setUp() local
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java409 public NativeDaemonEvent execute(long timeoutMs, String cmd, Object... args) in execute()
461 public NativeDaemonEvent[] executeForList(long timeoutMs, String cmd, Object... args) in executeForList()
685 public NativeDaemonEvent remove(int cmdNum, long timeoutMs, String logCmd) { in remove()
/frameworks/base/core/java/com/android/internal/util/
DSyncResultReceiver.java49 public SyncResultReceiver(int timeoutMs) { in SyncResultReceiver()
/frameworks/base/tests/net/common/java/android/net/metrics/
DIpConnectivityLogTest.java126 private List<ConnectivityMetricsEvent> verifyEvents(int n, int timeoutMs) throws Exception { in verifyEvents()

123