Home
last modified time | relevance | path

Searched refs:sMockCar (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCar.java40 private static Car sMockCar = mock(Car.class); field in ShadowCar
54 }).when(sMockCar).connect(); in createCar()
58 }).when(sMockCar).disconnect(); in createCar()
60 doReturn(sIsConnected).when(sMockCar).isConnected(); in createCar()
63 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()
69 return sMockCar; in createCar()
77 doReturn(sIsConnected).when(sMockCar).isConnected(); in createCar()
80 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()
86 return sMockCar; in createCar()
99 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
[all …]
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCar.java40 private static Car sMockCar = mock(Car.class); field in ShadowCar
55 }).when(sMockCar).connect(); in createCar()
59 }).when(sMockCar).disconnect(); in createCar()
61 doReturn(sIsConnected).when(sMockCar).isConnected(); in createCar()
64 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()
70 return sMockCar; in createCar()
83 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
95 sMockCar = mock(Car.class); in reset()