Searched refs:VehicleStub (Results 1 – 18 of 18) sorted by relevance
50 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 …]
67 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 …]
58 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 …]
43 public abstract class VehicleStub { class254 public static VehicleStub newVehicleStub() throws IllegalStateException { in newVehicleStub()255 VehicleStub stub = new AidlVehicleStub(); in newVehicleStub()
47 private VehicleStub mVehicle;60 mVehicle = VehicleStub.newVehicleStub(); in onCreate()
53 final class HidlVehicleStub extends VehicleStub {
1140 VehicleStub mVehicle;1188 public Builder setVehicle(VehicleStub vehicle) { in setVehicle()
80 final class AidlVehicleStub extends VehicleStub {
30 import com.android.car.VehicleStub;72 VehicleStub vehicleStub = mock(VehicleStub.class); in createVehicleHalWithMockedServices()
63 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) {
68 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;
61 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()
72 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;
46 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()
99 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()
52 per-file src/com/android/car/*VehicleStub.java = ericjeong@google.com
97 @Mock private VehicleStub mMockVehicle;
361 VehicleStub mockedVehicleStub; in setUp()