/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
AutomaticStorageManagementJobServiceTest.java | 208 Settings.Secure.putInt(resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN, 275 Settings.Secure.getInt( 276 resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED)) 284 Settings.Secure.putInt( 285 resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY, 1); 296 Settings.Secure.getInt( 297 resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED)) 315 Settings.Secure.getInt( 317 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY) [all...] |
/external/curl/docs/cmdline-opts/ |
cert.d | 10 PKCS#12 format if using Secure Transport, or PEM format if using any other 26 (iOS and macOS only) If curl is built against Secure Transport, then the
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
LocationControllerImpl.java | 110 ? Settings.Secure.LOCATION_MODE_PREVIOUS : Settings.Secure.LOCATION_MODE_OFF; 113 return Settings.Secure 114 .putIntForUser(cr, Settings.Secure.LOCATION_MODE, mode, currentUserId); 124 int mode = Settings.Secure.getIntForUser(resolver, Settings.Secure.LOCATION_MODE, 125 Settings.Secure.LOCATION_MODE_OFF, ActivityManager.getCurrentUser()); 126 return mode != Settings.Secure.LOCATION_MODE_OFF;
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
PreferredServices.java | 57 static final Uri paymentDefaultUri = Settings.Secure.getUriFor( 58 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT); 59 static final Uri paymentForegroundUri = Settings.Secure.getUriFor( 60 Settings.Secure.NFC_PAYMENT_FOREGROUND); 132 String name = Settings.Secure.getStringForUser( 133 mContext.getContentResolver(), Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT, 138 preferForeground = Settings.Secure.getIntForUser(mContext.getContentResolver(), 139 Settings.Secure.NFC_PAYMENT_FOREGROUND, userId) != 0;
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
AssistSettingObserver.java | 30 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT);
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
DefaultEmergencyPreferenceController.java | 70 String defaultPackage = Settings.Secure.getString(context.getContentResolver(), 71 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentBackend.java | 155 return Settings.Secure.getInt(mContext.getContentResolver(), 156 Settings.Secure.NFC_PAYMENT_FOREGROUND) != 0; 163 Settings.Secure.putInt(mContext.getContentResolver(), 164 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0) ; 168 String componentString = Settings.Secure.getString(mContext.getContentResolver(), 169 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT); 178 Settings.Secure.putString(mContext.getContentResolver(), 179 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT,
|
/packages/apps/Settings/src/com/android/settings/notification/ |
RedactionInterstitial.java | 167 final boolean enabled = Settings.Secure.getIntForUser(getContentResolver(), 168 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0, mUserId) != 0; 169 final boolean show = Settings.Secure.getIntForUser(getContentResolver(), 170 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, mUserId) != 0; 189 Settings.Secure.putIntForUser(getContentResolver(), 190 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, show ? 1 : 0, mUserId); 191 Settings.Secure.putIntForUser(getContentResolver(), 192 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, enabled ? 1 : 0, mUserId);
|
BadgingNotificationPreferenceController.java | 40 import static android.provider.Settings.Secure.NOTIFICATION_BADGING; 93 final boolean checked = Settings.Secure.getInt(mContext.getContentResolver(), 101 return Settings.Secure.putInt(mContext.getContentResolver(), 108 Settings.Secure.getUriFor(NOTIFICATION_BADGING); 140 return new InlineSwitchPayload(Settings.Secure.NOTIFICATION_BADGING, 141 ResultPayload.SettingsSource.SECURE, ON /* onValue */, intent, isAvailable(),
|
/packages/services/Car/service/src/com/android/car/ |
CarInfoService.java | 69 Settings.Secure.getString(mContext.getContentResolver(), 70 Settings.Secure.ANDROID_ID));
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 241 Settings.Secure.putInt(getActivity().getContentResolver(), 242 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, checked ? 1 : 0); 430 Settings.Secure.putInt( 431 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, merged); 434 Settings.Secure.putInt( 435 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, merged); 438 Settings.Secure.putInt( 439 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, merged); 441 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, value) [all...] |
/packages/apps/Settings/src/com/android/settings/gestures/ |
AssistGestureSettingsPreferenceController.java | 19 import static android.provider.Settings.Secure.ASSIST_GESTURE_ENABLED; 20 import static android.provider.Settings.Secure.ASSIST_GESTURE_SILENCE_ALERTS_ENABLED; 110 return Settings.Secure.getInt(mContext.getContentResolver(), 115 return Settings.Secure.getInt(mContext.getContentResolver(), 141 Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY_ASSIST, 169 return new InlineSwitchPayload(SECURE_KEY_ASSIST, ResultPayload.SettingsSource.SECURE,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
PunctuationTests.java | 19 import android.provider.Settings.Secure; 158 + Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID) 168 + Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationModeTestActivity.java | 25 import android.provider.Settings.Secure; 36 * {@link Secure#isLocationProviderEnabled(ContentResolver, String)} and {@link 40 * It would be hard to automate these tests because the {@link Secure#LOCATION_MODE} API is only 212 return Secure.getInt(cr, Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 217 boolean passed = mode != Secure.LOCATION_MODE_OFF; 240 boolean enabled = Secure.isLocationProviderEnabled(cr, provider); 247 boolean enabled = Secure.isLocationProviderEnabled(cr, provider);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
InstrumentedAccessibilityService.java | 120 final String enabledServices = Settings.Secure.getString( 122 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 135 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 137 .putSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED, "1") 143 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 191 .deleteSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES) 192 .deleteSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
AutoAddTrackerTest.java | 24 import android.provider.Settings.Secure; 65 Secure.putString(mContext.getContentResolver(), Secure.QS_AUTO_ADDED_TILES, SAVER);
|
/frameworks/base/services/core/java/com/android/server/ |
CertBlacklister.java | 73 return Settings.Secure.getString(mContentResolver, mKey); 130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY), 137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY),
|
/packages/apps/Settings/src/com/android/settings/display/ |
AmbientDisplayAlwaysOnPreferenceController.java | 74 Settings.Secure.putInt( 75 mContext.getContentResolver(), Settings.Secure.DOZE_ALWAYS_ON, enabled); 101 return new InlineSwitchPayload(Settings.Secure.DOZE_ALWAYS_ON, 102 ResultPayload.SettingsSource.SECURE, ON /* onValue */, intent, isAvailable(),
|
AmbientDisplayNotificationsPreferenceController.java | 33 import static android.provider.Settings.Secure.DOZE_ENABLED; 78 Settings.Secure.putInt(mContext.getContentResolver(), DOZE_ENABLED, value ? ON : OFF); 93 return new InlineSwitchPayload(Settings.Secure.DOZE_ENABLED, 94 ResultPayload.SettingsSource.SECURE, ON /* onValue */, intent, isAvailable(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorFeaturesDeactivator.java | 140 // TODO: replace the use of reflection with Settings.Secure.DOZE_ENABLED when the 142 Class<?> secureSettingsClass = Settings.Secure.class; 157 return Settings.Secure.getInt( 201 return Settings.Secure.getInt( 203 Settings.Secure.LOCATION_MODE,
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
AdminActionBookkeepingTest.java | 169 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; 171 final String ime = Settings.Secure.getString(resolver, setting); 173 Settings.Secure.putString(resolver, setting, "com.test.1"); 181 Settings.Secure.putString(resolver, setting, ime);
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Sec/Arm/ |
Helper.S | 26 # r3: Secure Monitor mode stack
28 cmp r3, #0 @ If a Secure Monitor stack base has not been defined then use the Secure stack
54 returned_exception: @ We are now in non-secure state
63 # Set the Non Secure Mode
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
SettingsTest.java | 60 assertThat(Settings.Secure.getInt(contentResolver, "property", 0), equalTo(0)); 61 assertThat(Settings.Secure.getInt(contentResolver, "property", 2), equalTo(2)); 63 Settings.Secure.putInt(contentResolver, "property", 1); 64 assertThat(Settings.Secure.getInt(contentResolver, "property", 0), equalTo(1));
|
/frameworks/base/core/java/com/android/internal/app/ |
AssistUtils.java | 149 final String setting = Settings.Secure.getStringForUser(mContext.getContentResolver(), 150 Settings.Secure.ASSISTANT, userId); 187 return Settings.Secure.getInt(context.getContentResolver(), 188 Settings.Secure.ASSIST_DISCLOSURE_ENABLED, 0) != 0;
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
EnableAdbPreferenceControllerTest.java | 110 Settings.Secure.putInt(mContext.getContentResolver(), 117 assertThat(Settings.Secure.getInt(mContext.getContentResolver(), 124 Settings.Secure.putInt(mContext.getContentResolver(), 137 Settings.Secure.putInt(mContext.getContentResolver(),
|