Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java184 private CarEvsService mCarEvsService; field in CarEvsServiceUnitTest
248 mCarEvsService = new CarEvsService(mMockContext, mMockBuiltinPackageContext, in setUp()
251 mCarEvsService.init(); in setUp()
256 mCarEvsService = null; in tearDown()
261 assertThat(mCarEvsService.isSupported(SERVICE_TYPE_REARVIEW)).isTrue(); in testIsSupported()
262 assertThat(mCarEvsService.isSupported(SERVICE_TYPE_SURROUNDVIEW)).isFalse(); in testIsSupported()
270 assertThat(mCarEvsService.generateSessionToken()).isNotNull(); in testSessionTokenGeneration()
275 assertThat(mCarEvsService.generateSessionToken()).isNotNull(); in testSessionTokenGeneration()
281 CarEvsStatus status = mCarEvsService.getCurrentStatus(types); in testGetCurrentStatus()
290 mCarEvsService.registerStatusListener(testListener); in testRegisterAndUnregisterStatusListener()
[all …]
/packages/services/Car/service/src/com/android/car/
DICarImpl.java174 private final CarEvsService mCarEvsService; field in ICarImpl
418 mCarEvsService = constructWithTrace(t, CarEvsService.class, in ICarImpl()
422 mCarEvsService = null; in ICarImpl()
687 return mCarEvsService; in getCarService()
DCarShellCommand.java551 private final CarEvsService mCarEvsService; field in CarShellCommand
583 mCarEvsService = (CarEvsService) allServicesByClazz.get(CarEvsService.class); in CarShellCommand()
3437 if (!mCarEvsService.setRearviewCameraIdFromCommand(args[1])) {
3450 if (!mCarEvsService.setCameraIdFromCommand(args[1], args[2])) {
3463 if (!mCarEvsService.enableServiceTypeFromCommand(args[1], args[2])) {
3486 mCarEvsService.getRearviewCameraIdFromCommand());
3496 mCarEvsService.getCameraIdFromCommand(args[1]), args[1]);
3505 if (!mCarEvsService.isServiceTypeEnabledFromCommand(args[1])) {
3510 String cameraId = mCarEvsService.getCameraIdFromCommand(args[1]);