Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java67 private RemoteAccessHalWrapper mHalWrapper; field in RemoteAccessHalWrapperUnitTest
80 mHalWrapper.init(); in setUpNormalHalService()
89 mHalWrapper = new RemoteAccessHalWrapper(mCallback); in setUp()
103 mHalWrapper.release(); in testRelease()
112 mHalWrapper.binderDied(); in testRemoteAccessHalDied()
123 assertWithMessage("Vehicle ID").that(mHalWrapper.getVehicleId()) in testGetVehicleId()
131 assertThrows(IllegalStateException.class, () -> mHalWrapper.getVehicleId()); in testGetVehicleId_noHalService()
138 assertWithMessage("Wakeup service name").that(mHalWrapper.getWakeupServiceName()) in testGetWakeupServiceName()
146 assertThrows(IllegalStateException.class, () -> mHalWrapper.getWakeupServiceName()); in testGetWakeupServiceName_noHalService()
154 mHalWrapper.notifyApStateChange(/* isReadyForRemoteTask= */ false, in testNotifyApStateChange()
[all …]
/packages/services/Car/service/src/com/android/car/evs/
DStateMachine.java93 private final EvsHalWrapper mHalWrapper; field in StateMachine
288 mHalWrapper.doneWithFrame(id); in processNewFrame()
334 mHalWrapper = StateMachine.createHalWrapper(builtinContext, mHalCallback); in StateMachine()
343 return mHalWrapper.init(); in init()
349 mHalWrapper.release(); in release()
359 return mHalWrapper.isConnected(); in isConnected()
407 mHalWrapper.doneWithFrame(bufferId); in doneWithFrame()
889 if (!mHalWrapper.connectToHalServiceIfNecessary()) { in handleTransitionToInactiveLocked()
932 mHalWrapper.requestToStopVideoStream(); in handleTransitionToInactiveLocked()
970 if (!mHalWrapper.connectToHalServiceIfNecessary()) { in handleTransitionToRequestedLocked()
[all …]
/packages/services/Car/service/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapper.java397 private final WeakReference<RemoteAccessHalWrapper> mHalWrapper; field in RemoteAccessHalWrapper.RemoteTaskCallbackImpl
400 mHalWrapper = new WeakReference<>(halWrapper); in RemoteTaskCallbackImpl()
409 RemoteAccessHalWrapper halWrapper = mHalWrapper.get(); in onRemoteTaskRequested()