Home
last modified time | relevance | path

Searched refs:VehicleStub (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java50 import com.android.car.VehicleStub.AsyncGetSetRequest;
98 private VehicleStub.VehicleStubCallbackInterface mAsyncCallback;
100 private VehicleStub mHidlVehicleStub;
367 VehicleStub.SubscriptionClient client = mHidlVehicleStub.newSubscriptionClient(callback); in testSubscribeHidl()
380 VehicleStub.SubscriptionClient client = mHidlVehicleStub.newSubscriptionClient(callback); in testUnsubscribeHidl()
404 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsync()
424 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncError()
447 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncTryAgainError()
477 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncOneOkayResultOneNoValue()
484 List<VehicleStub.GetVehicleStubAsyncResult> callResult0 = argumentCaptor.getAllValues() in testGetAsyncOneOkayResultOneNoValue()
[all …]
DAidlVehicleStubUnitTest.java67 import com.android.car.VehicleStub.AsyncGetSetRequest;
114 private VehicleStub.VehicleStubCallbackInterface mAsyncCallback;
250 VehicleStub.SubscriptionClient client = mAidlVehicleStub.newSubscriptionClient(callback); in testSubscribeAidl()
261 VehicleStub.SubscriptionClient client = mAidlVehicleStub.newSubscriptionClient(callback); in testUnsubscribeAidl()
431 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidl()
470 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlError()
492 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionInternalError()
505 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionTryAgainError()
518 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailable()
531 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailableDisabled()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java58 import com.android.car.VehicleStub;
59 import com.android.car.VehicleStub.AsyncGetSetRequest;
60 import com.android.car.VehicleStub.GetVehicleStubAsyncResult;
61 import com.android.car.VehicleStub.SetVehicleStubAsyncResult;
62 import com.android.car.VehicleStub.SubscriptionClient;
63 import com.android.car.VehicleStub.VehicleStubCallbackInterface;
150 private VehicleStub mMockRealVehicleStub;
1139 VehicleStub.SubscriptionClient client = fakeVehicleStub.newSubscriptionClient(callback); in testSubscribeOnChangePropOneClientSubscribeOnePropManyTime()
1184 VehicleStub.SubscriptionClient client = fakeVehicleStub.newSubscriptionClient(callback); in testSubscribeOnChangePropOneClientSubscribeTwoProp()
1227 VehicleStub.SubscriptionClient client = fakeVehicleStub.newSubscriptionClient(callback); in testSubscribeAreaPropertyWithEmptyOptionsAreaIds()
[all …]
/packages/services/Car/service/src/com/android/car/
DVehicleStub.java43 public abstract class VehicleStub { class
254 public static VehicleStub newVehicleStub() throws IllegalStateException { in newVehicleStub()
255 VehicleStub stub = new AidlVehicleStub(); in newVehicleStub()
DCarServiceImpl.java47 private VehicleStub mVehicle;
60 mVehicle = VehicleStub.newVehicleStub(); in onCreate()
DHidlVehicleStub.java53 final class HidlVehicleStub extends VehicleStub {
DICarImpl.java1140 VehicleStub mVehicle;
1188 public Builder setVehicle(VehicleStub vehicle) { in setVehicle()
DAidlVehicleStub.java80 final class AidlVehicleStub extends VehicleStub {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DMockedPowerHalService.java30 import com.android.car.VehicleStub;
72 VehicleStub vehicleStub = mock(VehicleStub.class); in createVehicleHalWithMockedServices()
DVehicleHalTest.java63 import com.android.car.VehicleStub;
64 import com.android.car.VehicleStub.AsyncGetSetRequest;
121 @Mock private VehicleStub mVehicle;
122 @Mock private VehicleStub.VehicleStubCallbackInterface mGetVehicleStubAsyncCallback;
123 @Mock private VehicleStub.VehicleStubCallbackInterface mSetVehicleStubAsyncCallback;
124 @Mock private VehicleStub.SubscriptionClient mSubscriptionClient;
333 any(VehicleStub.VehicleStubCallbackInterface.class));
349 any(VehicleStub.VehicleStubCallbackInterface.class));
362 any(VehicleStub.VehicleStubCallbackInterface.class));
1556 VehicleStub vehicleStub) {
DPropertyHalServiceTest.java68 import com.android.car.VehicleStub.AsyncGetSetRequest;
69 import com.android.car.VehicleStub.GetVehicleStubAsyncResult;
70 import com.android.car.VehicleStub.SetVehicleStubAsyncResult;
71 import com.android.car.VehicleStub.VehicleStubCallbackInterface;
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java61 import com.android.car.VehicleStub;
62 import com.android.car.VehicleStub.SubscriptionClient;
116 private final VehicleStub mVehicleStub;
245 public VehicleHal(Context context, VehicleStub vehicle) { in VehicleHal()
268 VehicleStub vehicle) { in VehicleHal()
1753 public void getAsync(List<VehicleStub.AsyncGetSetRequest> getVehicleStubAsyncRequests, in getAsync()
1754 VehicleStub.VehicleStubCallbackInterface getVehicleStubAsyncCallback) { in getAsync()
1761 public void setAsync(List<VehicleStub.AsyncGetSetRequest> setVehicleStubAsyncRequests, in setAsync()
1762 VehicleStub.VehicleStubCallbackInterface setVehicleStubAsyncCallback) { in setAsync()
DPropertyHalService.java72 import com.android.car.VehicleStub;
73 import com.android.car.VehicleStub.AsyncGetSetRequest;
74 import com.android.car.VehicleStub.GetVehicleStubAsyncResult;
75 import com.android.car.VehicleStub.SetVehicleStubAsyncResult;
76 import com.android.car.VehicleStub.VehicleStubCallbackInterface;
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java46 import com.android.car.VehicleStub;
72 public final class FakeVehicleStub extends VehicleStub {
95 private final VehicleStub mRealVehicle;
130 public FakeVehicleStub(VehicleStub realVehicle) throws RemoteException, IOException, in FakeVehicleStub()
146 FakeVehicleStub(VehicleStub realVehicle, FakeVhalConfigParser parser, in FakeVehicleStub()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java99 import com.android.car.VehicleStub;
2390 VehicleStub mockVehicleStub = mock(VehicleStub.class); in testOnInitComplete()
2430 VehicleStub mockVehicleStub = mock(VehicleStub.class); in testOnInitComplete_flagDisabled_doNothing()
2454 VehicleStub mockVehicleStub = mock(VehicleStub.class); in testOnInitComplete_bootupReasonNotSupported()
2487 VehicleStub mockVehicleStub = mock(VehicleStub.class); in testOnInitComplete_bootUpReasonNotGarageMode()
2527 VehicleStub mockVehicleStub = mock(VehicleStub.class); in testOnInitComplete_vehicleInUse()
/packages/services/Car/service/
DOWNERS52 per-file src/com/android/car/*VehicleStub.java = ericjeong@google.com
/packages/services/Car/tests/carservice_test/src/com/android/car/
DICarImplTest.java97 @Mock private VehicleStub mMockVehicle;
DMockedCarTestBase.java361 VehicleStub mockedVehicleStub; in setUp()