Searched refs:mFakeHal (Results 1 – 2 of 2) sorted by relevance
57 private FakeGnssHal mFakeHal; field in GnssGeofenceProxyTest64 mFakeHal = new FakeGnssHal(); in setUp()65 GnssNative.setGnssHalForTest(mFakeHal); in setUp()79 assertThat(mFakeHal.getGeofences()).containsExactly(new FakeGnssHal.GnssHalGeofence( in testAddGeofence()88 assertThat(mFakeHal.getGeofences()).isEmpty(); in testRemoveGeofence()95 assertThat(mFakeHal.getGeofences()).containsExactly(new FakeGnssHal.GnssHalGeofence( in testPauseGeofence()105 assertThat(mFakeHal.getGeofences()).containsExactly(new FakeGnssHal.GnssHalGeofence( in testResumeGeofence()112 mFakeHal.restartHal(); in testAddGeofence_restart()114 assertThat(mFakeHal.getGeofences()).containsExactly(new FakeGnssHal.GnssHalGeofence( in testAddGeofence_restart()122 mFakeHal.restartHal(); in testRemoveGeofence_restart()[all …]
72 private ThermalHalFake mFakeHal; field in ThermalManagerServiceTest204 mFakeHal = new ThermalHalFake(); in setUp()209 mService = new ThermalManagerService(mContext, mFakeHal); in setUp()229 assertListEqualsIgnoringOrder(mFakeHal.mTemperatureList, captor.getAllValues()); in setUp()236 new ArrayList<>(Arrays.asList(mFakeHal.mSkin1, mFakeHal.mSkin2)), in setUp()262 assertListEqualsIgnoringOrder(mFakeHal.mTemperatureList, captor.getAllValues()); in testRegister()278 new ArrayList<>(Arrays.asList(mFakeHal.mSkin1, mFakeHal.mSkin2)), in testRegister()289 mFakeHal.mCallback.onValues(newBattery); in testNotify()301 mFakeHal.mCallback.onValues(newSkin); in testNotify()314 mFakeHal.mCallback.onValues(newBattery); in testNotify()[all …]