Home
last modified time | relevance | path

Searched refs:callbackExecutor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogManagerTest.java163 ExecutorService callbackExecutor = Executors.newSingleThreadExecutor(); in testCheckHealthStatus() local
166 mCarWatchdogManager.registerClient(callbackExecutor, client, in testCheckHealthStatus()
174 shutdownNowAndAwaitTermination(callbackExecutor)).isTrue(); in testCheckHealthStatus()
220 ExecutorService callbackExecutor = Executors.newSingleThreadExecutor(); in testTellClientAlive() local
223 mCarWatchdogManager.registerClient(callbackExecutor, client, in testTellClientAlive()
234 shutdownNowAndAwaitTermination(callbackExecutor)).isTrue(); in testTellClientAlive()
406 ExecutorService callbackExecutor = Executors.newSingleThreadExecutor(); in testResourceOveruseListenerForSystem() local
409 mCarWatchdogManager.addResourceOveruseListenerForSystem(callbackExecutor, in testResourceOveruseListenerForSystem()
414 shutdownNowAndAwaitTermination(callbackExecutor)).isTrue(); in testResourceOveruseListenerForSystem()
813 ExecutorService callbackExecutor = Executors.newSingleThreadExecutor(); in testListenIoOveruse() local
[all …]
DCarAudioManagerTest.java958 Executor callbackExecutor = Executors.newFixedThreadPool(1); in requestMediaAudioOnPrimaryZone() local
962 mCarAudioManager.requestMediaAudioOnPrimaryZone(info, callbackExecutor, callback); in requestMediaAudioOnPrimaryZone()
981 Executor callbackExecutor = Executors.newFixedThreadPool(1); in requestMediaAudioOnPrimaryZone_withoutApprover() local
985 mCarAudioManager.requestMediaAudioOnPrimaryZone(info, callbackExecutor, callback); in requestMediaAudioOnPrimaryZone_withoutApprover()
1221 Executor callbackExecutor = Executors.newFixedThreadPool(1); in switchAudioZoneToConfig() local
1224 mCarAudioManager.switchAudioZoneToConfig(zoneConfigInfoSwitchedTo, callbackExecutor, in switchAudioZoneToConfig()
1233 mCarAudioManager.switchAudioZoneToConfig(zoneConfigInfoSaved, callbackExecutor, callback); in switchAudioZoneToConfig()
1250 Executor callbackExecutor = Executors.newFixedThreadPool(1); in switchAudioZoneToConfig_withDynamicDevicesEnabled() local
1253 mCarAudioManager.switchAudioZoneToConfig(zoneConfigInfoSwitchedTo, callbackExecutor, in switchAudioZoneToConfig_withDynamicDevicesEnabled()
1273 mCarAudioManager.switchAudioZoneToConfig(zoneConfigInfoSaved, callbackExecutor, callback); in switchAudioZoneToConfig_withDynamicDevicesEnabled()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceSetupTest.java169 ExecutorService callbackExecutor = Executors.newCachedThreadPool(); in testOpenSuccessful() local
182 cameraDeviceSetup.openCamera(callbackExecutor, callback); in testOpenSuccessful()