Home
last modified time | relevance | path

Searched refs:EXECUTOR (Results 1 – 7 of 7) sorted by relevance

/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerTest.java75 private static final Executor EXECUTOR = InstrumentationRegistry.getContext().getMainExecutor(); field in WearableSensingManagerTest
124 mPipe[0], EXECUTOR, (result) -> {})); in noAccessWhenAttemptingprovideDataStream()
136 EXECUTOR, (result) -> {})); in noAccessWhenAttemptingProvideData()
153 mPipe[0], EXECUTOR, (result) -> {})); in noAccessWhenAttemptingProvideConnection()
176 EXECUTOR, in noAccessWhenAttemptingRegisterDataRequestObserver()
196 EXECUTOR, in noAccessWhenAttemptingUnregisterDataRequestObserver()
213 new ComponentName("my.package", "my.Class"), EXECUTOR, (result) -> {})); in noAccessWhenAttemptingStartHotwordRecognition()
228 () -> mWearableSensingManager.stopHotwordRecognition(EXECUTOR, (result) -> {})); in noAccessWhenAttemptingStopHotwordRecognition()
250 EXECUTOR, in registerDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus()
275 EXECUTOR, in registerDataRequestObserver_withPermission_success()
[all …]
DWearableSensingManagerIsolatedServiceTest.java113 private static final Executor EXECUTOR = InstrumentationRegistry.getContext().getMainExecutor(); field in WearableSensingManagerIsolatedServiceTest
188 EXECUTOR, in provideConnection_canReceiveStatusFromWss()
213 mSocketPair[1], EXECUTOR, (statusCode) -> statusCodeLatch.countDown()); in provideConnection_otherEndAttachedToCdm_canReceiveDataInWss()
238 mSocketPair[1], EXECUTOR, (statusCode) -> statusCodeLatch.countDown()); in provideConnection_otherEndAttachedToCdm_canReceiveDataFromWss()
265 EXECUTOR, in provideConnection_wearableStreamClosedThenSendDataFromWss_channelErrorStatus()
299 mSocketPair[1], EXECUTOR, (statusCode) -> statusLatch.countDown()); in provideConnection_wearableStreamClosedThenSendDataFromWss_restartWssProcess()
331 EXECUTOR, in provideConnection_wssStreamClosed_channelErrorStatus()
358 EXECUTOR, in provideConnection_restartsWssProcess()
373 EXECUTOR, in provideConnection_restartsWssProcess()
395 EXECUTOR, in openFileInputFromWss_afterProvideConnection_canReadFile()
[all …]
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DOnDeviceIntelligenceManagerTest.java137 private static final Executor EXECUTOR = InstrumentationRegistry.getContext().getMainExecutor(); field in OnDeviceIntelligenceManagerTest
180 () -> mOnDeviceIntelligenceManager.getFeature(1, EXECUTOR, in noAccessWhenAttemptingGetFeature()
197 EXECUTOR, in noAccessWhenAttemptingGetFeatureDetails()
214 mOnDeviceIntelligenceManager.getVersion(EXECUTOR, in noAccessWhenAttemptingGetVersion()
235 mOnDeviceIntelligenceManager.requestFeatureDownload(feature, null, EXECUTOR, in noAccessWhenAttemptingRequestFeatureDownload()
269 EXECUTOR, in noAccessWhenRequestTokenInfo()
290 null, EXECUTOR, new ProcessingCallback() { in noAccessWhenAttemptingProcessRequest()
318 null, null, EXECUTOR, in noAccessWhenAttemptingProcessRequestStreaming()
348 EXECUTOR, in resultPopulatedWhenAttemptingGetFeature()
373 EXECUTOR, in resultPopulatedWhenAttemptingGetFeatureDetails()
[all …]
DBundleValidationTest.java80 private static final Executor EXECUTOR = InstrumentationRegistry.getContext().getMainExecutor(); field in BundleValidationTest
130 REQUEST_TYPE_PROCESS_CUSTOM_PARCELABLE_AS_BYTES, null, null, EXECUTOR, in canSendAndReceiveCustomParcelables()
162 mOnDeviceIntelligenceManager.processRequest(feature, request, 1, null, null, EXECUTOR, in canSendReadOnlyPfds()
194 mOnDeviceIntelligenceManager.processRequest(feature, request, 1, null, null, EXECUTOR, in canSendPersistableBundleOrPrimitives()
222 mOnDeviceIntelligenceManager.processRequest(feature, higherBundle, 1, null, null, EXECUTOR, in canSendNestedBundleWithSameConstraints()
252 mOnDeviceIntelligenceManager.processRequest(feature, request, 1, null, null, EXECUTOR, in canSendImmutableBitmap()
297 mOnDeviceIntelligenceManager.processRequest(feature, request, 1, null, null, EXECUTOR, in shouldIgnoreCustomParcelableWhenRequestHasFds()
347 EXECUTOR, new ProcessingCallback() { in processRequestAndHandleException()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DGlobalSearchSessionCtsTestBase.java78 private static final Executor EXECUTOR = Executors.newCachedThreadPool(); field in GlobalSearchSessionCtsTestBase
916 EXECUTOR, in testAddObserver_notSupported()
939 EXECUTOR, in testAddObserver()
1014 EXECUTOR, in testRegisterObserver_MultiType() local
1019 EXECUTOR, in testRegisterObserver_MultiType() local
1152 EXECUTOR, in testRegisterObserver_removeById() local
1189 EXECUTOR, in testRegisterObserver_removeById() local
1315 EXECUTOR, in testRegisterObserver_removeByQuery() local
1320 EXECUTOR, in testRegisterObserver_removeByQuery() local
1418 EXECUTOR, in testRegisterObserver_sameCallback_differentSpecs()
[all …]
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java57 private static final Executor EXECUTOR = InstrumentationRegistry.getContext().getMainExecutor(); field in DeviceConfigApiPermissionTests
261 PUBLIC_NAMESPACE, EXECUTOR, new TestOnPropertiesListener()); in testDeviceConfigPublicNamespacesWithoutReadPermission()
360 NAMESPACE, EXECUTOR, new TestOnPropertiesListener()); in tryAddOnPropertiesChangedListenerWithReadPermission()
DDeviceConfigApiTests.java98 private static final Executor EXECUTOR = CONTEXT.getMainExecutor(); field in DeviceConfigApiTests
1133 DeviceConfig.addOnPropertiesChangedListener(NAMESPACE1, EXECUTOR, listener1); in testTwoPropertiesListenersSameNamespace()
1145 DeviceConfig.addOnPropertiesChangedListener(NAMESPACE1, EXECUTOR, listener2); in testTwoPropertiesListenersSameNamespace()
1200 DeviceConfig.addOnPropertiesChangedListener(NAMESPACE1, EXECUTOR, listener1); in testTwoPropertiesListenersDifferentNamespace()
1212 DeviceConfig.addOnPropertiesChangedListener(NAMESPACE2, EXECUTOR, listener2); in testTwoPropertiesListenersDifferentNamespace()
1441 DeviceConfig.addOnPropertiesChangedListener(setNamespace, EXECUTOR, changeListener); in setPropertiesAndAssertSuccessfulChange()
1461 properties.getNamespace(), EXECUTOR, changeListener); in setPropertiesAndAssertSuccessfulChange() local
1479 DeviceConfig.addOnPropertiesChangedListener(namespace, EXECUTOR, changeListener); in deletePropertyAndAssertSuccessfulChange()
1500 DeviceConfig.addOnPropertiesChangedListener(namespace, EXECUTOR, changeListener); in deletePropertyAndAssertNoChange()