Home
last modified time | relevance | path

Searched refs:isMock (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/provider/
DMockableLocationProvider.java105 if (!isMock()) { in setRealProvider()
176 public boolean isMock() { in isMock() method in MockableLocationProvider
188 Preconditions.checkState(isMock()); in setMockProviderAllowed()
198 Preconditions.checkState(isMock()); in setMockProviderLocation()
DLocationProviderManager.java1682 if (mProvider.isMock()) {
1760 if (!mProvider.isMock()) {
1775 if (!mProvider.isMock()) {
2847 if (mProvider.isMock()) {
2893 if (mFineLocation != null && mFineLocation.isMock()) {
2896 if (mCoarseLocation != null && mCoarseLocation.isMock()) {
2899 if (mFineBypassLocation != null && mFineBypassLocation.isMock()) {
2902 if (mCoarseBypassLocation != null && mCoarseBypassLocation.isMock()) {
/frameworks/base/nfc/java/android/nfc/
DTag.java434 int isMock = (mTagService == null)?1:0; in writeToParcel() local
442 dest.writeInt(isMock); in writeToParcel()
443 if (isMock == 0) { in writeToParcel()
461 int isMock = in.readInt();
462 if (isMock == 0) {
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java118 location.isMock())); in onLocationChanged()
133 if (useMockedLocation() == location.isMock() || time < MILLIS_2010_1_1) { in onLocationChanged()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DMockTracker.java91 if (MockUtil.isMock(mock)) { in close()
/frameworks/base/core/java/android/location/
DLocation.java784 return isMock(); in isFromMockProvider()
807 public boolean isMock() { in isMock() method in Location
989 if (isMock()) { in toString()
/frameworks/base/location/java/android/location/
DLocationResult.java155 if (!location.isMock()) { in validate()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java747 if (location.isMock()) { in injectBestLocation()
839 if (!location.isMock()) { in injectLocation()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt10466 HSPLandroid/location/Location;->isMock()Z
/frameworks/base/services/
Dart-wear-profile14699 PLcom/android/server/location/provider/MockableLocationProvider;->isMock()Z
/frameworks/base/config/
Dboot-image-profile.txt10469 HSPLandroid/location/Location;->isMock()Z
/frameworks/base/core/api/
Dcurrent.txt21036 method public boolean isMock();