Home
last modified time | relevance | path

Searched refs:sRespondLatch (Results 1 – 6 of 6) sorted by relevance

/cts/tests/wearable/src/android/wearable/cts/
DCtsWearableSensingService.java46 private static CountDownLatch sRespondLatch = new CountDownLatch(1); field in CtsWearableSensingService
69 sRespondLatch.countDown(); in onDataStreamProvided()
79 sRespondLatch.countDown(); in onDataProvided()
96 sRespondLatch.countDown(); in onDataRequestObserverRegistered()
113 sRespondLatch.countDown(); in onDataRequestObserverUnregistered()
125 sRespondLatch.countDown(); in onStopHotwordRecognition()
137 sRespondLatch.countDown(); in onStartDetection()
144 sRespondLatch.countDown(); in onStopDetection()
154 sRespondLatch.countDown(); in onQueryServiceStatus()
158 sRespondLatch = new CountDownLatch(1); in reset()
[all …]
DCtsWearableSensingDataRequestBroadcastReceiver.java34 private static CountDownLatch sRespondLatch = new CountDownLatch(1); field in CtsWearableSensingDataRequestBroadcastReceiver
39 sRespondLatch.countDown(); in onReceive()
45 sRespondLatch = new CountDownLatch(1); in reset()
58 sRespondLatch = new CountDownLatch(count); in setResultCountToAwait()
64 if (!sRespondLatch.await(3, TimeUnit.SECONDS)) { in awaitResult()
75 sRespondLatch = new CountDownLatch(1); in awaitResult()
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java29 private static CountDownLatch sRespondLatch = new CountDownLatch(1); field in CtsTestAttentionService
34 sRespondLatch.countDown(); in onCheckAttention()
41 sRespondLatch.countDown(); in onCancelAttentionCheck()
47 sRespondLatch.countDown(); in onStartProximityUpdates()
53 sRespondLatch.countDown(); in onStopProximityUpdates()
99 if (!sRespondLatch.await(500, TimeUnit.MILLISECONDS)) { in onReceivedResponse()
103 sRespondLatch = new CountDownLatch(1); in onReceivedResponse()
/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsTestRotationResolverService.java33 private static CountDownLatch sRespondLatch = new CountDownLatch(1); field in CtsTestRotationResolverService
40 sRespondLatch.countDown(); in onResolveRotation()
46 sRespondLatch.countDown(); in onResolveRotation()
75 if (!sRespondLatch.await(3000, TimeUnit.MILLISECONDS)) { in onReceivedResponse()
80 sRespondLatch = new CountDownLatch(1); in onReceivedResponse()
/cts/tests/ambientcontext/src/android/ambientcontext/cts/
DCtsAmbientContextDetectionService.java37 private static CountDownLatch sRespondLatch = new CountDownLatch(1); field in CtsAmbientContextDetectionService
45 sRespondLatch.countDown(); in onStartDetection()
51 sRespondLatch.countDown(); in onStopDetection()
58 sRespondLatch.countDown(); in onQueryServiceStatus()
104 if (!sRespondLatch.await(3000, TimeUnit.MILLISECONDS)) { in onReceivedResponse()
109 sRespondLatch = new CountDownLatch(1); in onReceivedResponse()
/cts/tests/autofillservice/src/android/autofillservice/cts/credman/
DCtsCredentialProviderService.java53 private static CountDownLatch sRespondLatch = new CountDownLatch(1); field in CtsCredentialProviderService
71 sRespondLatch.countDown(); in onBeginGetCredentialRequest()
106 if (!sRespondLatch.await(2000, TimeUnit.MILLISECONDS)) { in onReceivedResponse()
111 sRespondLatch = new CountDownLatch(1); in onReceivedResponse()