/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | UwbOemExtensionCallbackListenerTest.java | 57 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in UwbOemExtensionCallbackListenerTest 71 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testRegisterUnregister() 80 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback2); in testRegisterUnregister() 95 () -> mUwbOemExtensionCallbackListener.register(EXECUTOR, in testRegister_failedThrowsRuntimeException() 101 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testUnregister_failedThrowsRuntimeException() 111 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testDuplicateRegister_IllegalArgumentException() 113 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testDuplicateRegister_IllegalArgumentException() 122 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testWrongCallback_IllegalArgumentException() 134 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testOnSessionStatusNotificationReceived() 143 mUwbOemExtensionCallbackListener.register(EXECUTOR, mUwbOemExtensionCallback); in testOnDeviceStatusNotificationReceived() [all …]
|
D | UwbVendorUciCallbackListenerTest.java | 57 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in UwbVendorUciCallbackListenerTest 74 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback); in testRegisterUnregister() 78 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback); in testRegisterUnregister() 82 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback2); in testRegisterUnregister() 106 () -> mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback)); in testRegister_failedThrowsRuntimeException() 111 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback); in testUnregister_failedThrowsRuntimeException() 141 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback); in testOnVendorResponseReceived_succeed() 145 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback2); in testOnVendorResponseReceived_succeed() 169 () -> mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback)); in testOnVendorResponseReceived_failedThrowsRuntimeException() 192 mUwbVendorUciCallbackListener.register(EXECUTOR, mUwbVendorUciCallback); in testOnVendorNotificationReceived_succeed() [all …]
|
D | UwbManagerTest.java | 68 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in UwbManagerTest 96 mUwbManager.registerAdapterStateCallback(EXECUTOR, mAdapterStateCallback); in testRegisterUnregisterCallbacks() 98 mUwbManager.registerAdapterStateCallback(EXECUTOR, mAdapterStateCallback2); in testRegisterUnregisterCallbacks() 106 mUwbManager.registerUwbVendorUciCallback(EXECUTOR, mUwbVendorUciCallback); in testRegisterUnregisterCallbacks() 108 mUwbManager.registerUwbVendorUciCallback(EXECUTOR, mUwbVendorUciCallback2); in testRegisterUnregisterCallbacks() 186 mUwbManager.openRangingSession(PARAMS, EXECUTOR, callback); in testOpenRangingSession() 193 () -> mUwbManager.openRangingSession(PARAMS, EXECUTOR, callback, CHIP_ID)); in testOpenRangingSession() 197 mUwbManager.openRangingSession(PARAMS, EXECUTOR, callback, CHIP_ID); in testOpenRangingSession() 230 PARAMS, EXECUTOR, /*callback=*/ null)); in testProvisionProfileAdfByScript() 236 () -> mUwbManager.provisionProfileAdfByScript(PARAMS, EXECUTOR, cb)); in testProvisionProfileAdfByScript() [all …]
|
D | RangingSessionTest.java | 62 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in RangingSessionTest 81 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnOpenSuccessCalled() 97 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled() 120 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_CannotOpenClosedSession() 144 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() 160 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalled() 175 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingResult_OnReportReceivedCalled() 191 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStart_CannotStartIfAlreadyStarted() 208 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStop_CannotStopIfAlreadyStopped() 227 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStop_CannotStopIfOpenFailed() [all …]
|
D | RangingManagerTest.java | 55 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in RangingManagerTest 74 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback, /* chipIds= */ null); in testOpenSession_OpenRangingInvoked() 85 rangingManager.openSession(ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback, VALID_CHIP_ID); in testOpenSession_validChipId_OpenRangingInvoked() 103 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback, VALID_CHIP_ID)); in testOpenSession_validChipId_RuntimeException() 117 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback, invalidChipId)); in testOpenSession_invalidChipId_IllegalArgumentException() 142 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback1, /* chipIds= */ null); in testOnRangingOpened_MultipleSessionsRegistered() 153 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback2, /* chipIds= */ null); in testOnRangingOpened_MultipleSessionsRegistered() 182 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback, /* chipIds= */ null); in testCorrectCallbackInvoked() 308 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback, /* chipIds= */ null); in testNoCallbackInvoked_sessionClosed() 429 ATTRIBUTION_SOURCE, PARAMS, EXECUTOR, callback1, /* chipIds= */ null); in testOnRangingClosed_MultipleSessionsRegistered() [all …]
|
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/ |
D | NearbyManagerTest.java | 119 private static final Executor EXECUTOR = Executors.newSingleThreadExecutor(); field in NearbyManagerTest 138 mNearbyManager.startScan(mScanRequest, EXECUTOR, mScanCallback); in test_startAndStopScan() 147 .startScan(mScanRequest, EXECUTOR, mScanCallback)); in test_startScan_noPrivilegedPermission() 153 mNearbyManager.startScan(mScanRequest, EXECUTOR, mScanCallback); in test_stopScan_noPrivilegedPermission() 186 mNearbyManager.queryOffloadCapability(EXECUTOR, callback); in queryOffloadScanSupport()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/ |
D | ThreadPool.java | 34 public static final ExecutorService EXECUTOR; field in ThreadPool 43 EXECUTOR = executor;
|
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/ |
D | ConnectivityManagerFactory.java | 33 private static final ExecutorService EXECUTOR = Executors.newSingleThreadExecutor(); field in ConnectivityManagerFactory 46 return new CdmConnectivityManager(EXECUTOR, new CompanionDeviceManagerWrapper( in getConnectivityManager()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ |
D | DiscoveryProviderFactoryTest.java | 64 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in DiscoveryProviderFactoryTest 122 EXECUTOR, in testScanStart() 136 EXECUTOR, in testAdvertiseStart()
|
D | TransportProviderFactoryTest.java | 61 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in TransportProviderFactoryTest 120 EXECUTOR, in testClientStart()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/ |
D | BleDiscoveryScanProviderTest.java | 72 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in BleDiscoveryScanProviderTest 95 EXECUTOR, in setUp() 111 EXECUTOR, in testStartScan_successWithScanInfo() 251 EXECUTOR.execute( in testBleScanResult()
|
D | BleDiscoveryAdvertiseProviderTest.java | 65 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in BleDiscoveryAdvertiseProviderTest 115 EXECUTOR, in setUp() 194 EXECUTOR.execute( in teststartAdvertisingSet()
|
D | GattTransportClientProviderTest.java | 84 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in GattTransportClientProviderTest 177 EXECUTOR, in setUp() 230 EXECUTOR.execute( in setupGattConnect() 259 EXECUTOR.execute( in setupGattServicesDiscover() 274 EXECUTOR.execute( in setupGattWriteCharacteristic() 294 EXECUTOR.execute( in setupGattWriteDescriptor() 636 EXECUTOR.execute( in notifyAndReadOutCharacteristic()
|
D | GattTransportServerProviderTest.java | 80 private static final Executor EXECUTOR = UwbTestUtils.getExecutor(); field in GattTransportServerProviderTest 325 EXECUTOR.execute( in setupOutCharactersticRead()
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerTestBase.java | 50 private static final Executor EXECUTOR = Executors.newCachedThreadPool(); field in AppsIndexerTestBase 134 mContext.getPackageName(), new ObserverSpec.Builder().build(), EXECUTOR, mCallback); in setupLatch() local
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | ShortcutUsageReporter.java | 54 private static final AsyncTaskExecutor EXECUTOR = AsyncTaskExecutors.createThreadPoolExecutor(); field in ShortcutUsageReporter 75 EXECUTOR.submit(Task.ID, new Task(context), phoneNumber); in onOutgoingCallAdded()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchMaintenanceService.java | 46 private static final Executor EXECUTOR = Executors.newSingleThreadExecutor(); field in AppSearchMaintenanceService 118 EXECUTOR.execute(() -> doFullyPersistJobForUser(this, params, userId, signal)); in onStartJob()
|
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/ |
D | AppSearchWriterActivity.java | 49 private static final Executor EXECUTOR = Executors.newCachedThreadPool(); field in AppSearchWriterActivity 149 mgr.getMeasurementApiStatus(EXECUTOR, getOutcomeReceiver("GetMeasurementStatus")); in callMeasurementApi()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/ |
D | RkpdDatabase.java | 54 .setQueryExecutor(ThreadPool.EXECUTOR) in getDatabase()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/ |
D | RemoteProvisioningService.java | 92 ThreadPool.EXECUTOR); in getRegistration()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/ |
D | FederatedExampleIteratorTest.java | 97 private static final ListeningExecutorService EXECUTOR = field in FederatedExampleIteratorTest 342 EXECUTOR.submit( in runInBackground()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrollingTest.java | 191 LottieTask.EXECUTOR = mContext.getMainExecutor(); in fingerprintUdfpsOverlayEnrollment_PlaysAllAnimationsAssetsCorrectly() 445 LottieTask.EXECUTOR = mContext.getMainExecutor(); in fingerprintSfpsEnroll_PlaysAnimations()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/ |
D | CobaltPeriodicJobImplTest.java | 95 private static final ExecutorService EXECUTOR = Executors.newCachedThreadPool(); field in CobaltPeriodicJobImplTest 308 mDataService = new DataService(EXECUTOR, mCobaltDatabase); 320 EXECUTOR,
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/ |
D | DataServiceTest.java | 56 private static final ExecutorService EXECUTOR = Executors.newCachedThreadPool(); field in DataServiceTest 115 mDataService = new DataService(EXECUTOR, mCobaltDatabase); in setup()
|