Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DMockableLocationProviderTest.java56 private AbstractLocationProvider mRealProvider; field in MockableLocationProviderTest
67 mRealProvider = new FakeProvider(mRealMock); in setUp()
81 mProvider.setRealProvider(mRealProvider); in setUp()
86 assertThat(mProvider.getProvider()).isEqualTo(mRealProvider); in testSetProvider()
92 assertThat(mProvider.getProvider()).isEqualTo(mRealProvider); in testSetProvider()
165 mRealProvider.setAllowed(true); in testSetState()
180 mRealProvider.setAllowed(false); in testSetState()
194 mRealProvider.reportLocation(realLocation); in testReportLocation()
198 mRealProvider.reportLocation(realLocation); in testReportLocation()
/frameworks/base/services/core/java/com/android/server/location/provider/
DMockableLocationProvider.java56 private @Nullable AbstractLocationProvider mRealProvider; field in MockableLocationProvider
100 if (mRealProvider == provider) { in setRealProvider()
104 mRealProvider = provider; in setRealProvider()
106 setProviderLocked(mRealProvider); in setRealProvider()
127 setProviderLocked(mRealProvider); in setMockProvider()