/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
TestUtils.java | 63 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 78 return getLocationMode(context) != Settings.Secure.LOCATION_MODE_OFF; 92 setLocationMode(context, Settings.Secure.LOCATION_MODE_OFF);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LocationFragment.java | 52 private static final String LOCATION_MODE_OFF = "off"; 97 LOCATION_MODE_OFF 180 int mode = Settings.Secure.LOCATION_MODE_OFF; 183 } else if (TextUtils.equals((CharSequence) newValue, LOCATION_MODE_OFF)) { 184 mode = Settings.Secure.LOCATION_MODE_OFF; 197 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 211 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 215 } else if (mode == Settings.Secure.LOCATION_MODE_OFF) { 216 mLocationMode.setValue(LOCATION_MODE_OFF); 218 writeLocationMode(Settings.Secure.LOCATION_MODE_OFF); [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
LocationMode.java | 103 int mode = Settings.Secure.LOCATION_MODE_OFF; 117 case Settings.Secure.LOCATION_MODE_OFF: 133 boolean enabled = (mode != Settings.Secure.LOCATION_MODE_OFF) && !restricted;
|
LocationPreferenceController.java | 106 Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 107 if (mode != Secure.LOCATION_MODE_OFF) { 116 case Secure.LOCATION_MODE_OFF: 136 Secure.LOCATION_MODE_HIGH_ACCURACY + 1, Secure.LOCATION_MODE_OFF);
|
LocationSettingsBase.java | 111 Settings.Secure.LOCATION_MODE_OFF); 125 Settings.Secure.LOCATION_MODE_OFF);
|
LocationSettings.java | 61 * {@link android.provider.Settings.Secure#LOCATION_MODE_OFF} and another location mode. 343 final boolean enabled = (mode != android.provider.Settings.Secure.LOCATION_MODE_OFF); 384 setLocationMode(android.provider.Settings.Secure.LOCATION_MODE_OFF);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationModeOffTestActivity.java | 44 testIsExpectedMode(0, Secure.LOCATION_MODE_OFF);
|
LocationModeTestActivity.java | 212 return Secure.getInt(cr, Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 217 boolean passed = mode != Secure.LOCATION_MODE_OFF;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
LocationUtils.java | 56 Settings.Secure.LOCATION_MODE_OFF) != Settings.Secure.LOCATION_MODE_OFF;
|
/packages/services/Telephony/src/com/android/phone/ |
LocationAccessPolicy.java | 78 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF, userId) 79 != Settings.Secure.LOCATION_MODE_OFF;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
LocationPreferenceControllerTest.java | 103 Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 141 assertThat(mController.getLocationString(Secure.LOCATION_MODE_OFF)).isEqualTo( 188 Settings.Secure.putInt(resolver, Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 192 Secure.LOCATION_MODE_OFF);
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
GoogleLocationSettingHelper.java | 108 != Secure.LOCATION_MODE_OFF;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
LocationControllerImpl.java | 110 ? Settings.Secure.LOCATION_MODE_PREVIOUS : Settings.Secure.LOCATION_MODE_OFF; 125 Settings.Secure.LOCATION_MODE_OFF, ActivityManager.getCurrentUser()); 126 return mode != Settings.Secure.LOCATION_MODE_OFF;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 519 private int mCurrentLocationMode = Settings.Secure.LOCATION_MODE_OFF; 543 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 544 return (mCurrentLocationMode == Settings.Secure.LOCATION_MODE_OFF) 565 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 575 mode = Settings.Secure.LOCATION_MODE_OFF; 577 case Settings.Secure.LOCATION_MODE_OFF: 582 return mode != Settings.Secure.LOCATION_MODE_OFF; [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiSettingsStore.java | 235 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
|
/frameworks/base/services/core/java/com/android/server/ |
NetworkScorerAppManager.java | 225 Settings.Secure.LOCATION_MODE_OFF) != Settings.Secure.LOCATION_MODE_OFF;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
WifiPermissionsUtil.java | 384 != Settings.Secure.LOCATION_MODE_OFF);
|
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
SingleDeviceTest.java | 82 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != 83 Settings.Secure.LOCATION_MODE_OFF; [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 167 Settings.Secure.LOCATION_MODE_OFF); 168 assertEquals(Settings.Secure.LOCATION_MODE_OFF, 175 Settings.Secure.LOCATION_MODE) != Settings.Secure.LOCATION_MODE_OFF; [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
UserRestrictionsUtils.java | 463 android.provider.Settings.Secure.LOCATION_MODE_OFF,
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 349 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != 350 Settings.Secure.LOCATION_MODE_OFF; [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
UserManagerTest.java | 326 + "LOCATION_MODE_OFF by default", locationMode, Settings.Secure.LOCATION_MODE_OFF);
|
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/ |
SettingsHelper.java | 475 int settingValToPut = (verifyOn ? Settings.Secure.LOCATION_MODE_OFF
|
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 269 cr, Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 291 case Settings.Secure.LOCATION_MODE_OFF: [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiServiceImplTest.java | 37 import static android.provider.Settings.Secure.LOCATION_MODE_OFF; [all...] |