/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/settings/ |
D | GlobalSettings.java | 49 public void putInt(ContentResolver contentResolver, String key, int value) { in putInt() 66 public void putInt(UserReference user, String key, int value) { in putInt() 72 putInt(sTestApis.context().androidContextAsUser(user).getContentResolver(), key, value); in putInt() local 80 public void putInt(String key, int value) { in putInt() 83 sTestApis.context().instrumentedContext().getContentResolver(), key, value); in putInt() local 91 public void putString(ContentResolver contentResolver, String key, String value) { in putString() 108 public void putString(UserReference user, String key, String value) { in putString() 114 putString(sTestApis.context().androidContextAsUser(user).getContentResolver(), key, value); in putString() local 122 public void putString(String key, String value) { in putString() 125 sTestApis.context().instrumentedContext().getContentResolver(), key, value); in putString() local [all …]
|
D | SecureSettings.java | 49 public void putInt(ContentResolver contentResolver, String key, int value) { in putInt() 66 public void putInt(UserReference user, String key, int value) { in putInt() 72 putInt(sTestApis.context().androidContextAsUser(user).getContentResolver(), key, value); in putInt() local 80 public void putInt(String key, int value) { in putInt() 84 sTestApis.context().instrumentedContext().getContentResolver(), key, value); in putInt() local 92 public int getInt(ContentResolver contentResolver, String key) { in getInt() 104 public int getInt(ContentResolver contentResolver, String key, int defaultValue) { in getInt() 112 private int getIntInner(ContentResolver contentResolver, String key) { in getIntInner() 120 private int getIntInner(ContentResolver contentResolver, String key, int defaultValue) { in getIntInner() 133 public int getInt(UserReference user, String key) { in getInt() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SettingsUtils.java | 48 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set() 64 public static void set(@NonNull String key, @Nullable String value) { in set() 72 @NonNull String key, @Nullable String value) { in syncSet() 103 public static void syncSet(@NonNull Context context, @NonNull String key, in syncSet() 111 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() 118 public static void delete(@NonNull String key) { in delete() 126 @NonNull String key) { in syncDelete() 147 public static void syncDelete(@NonNull Context context, @NonNull String key) { in syncDelete() 155 public static String get(@NonNull String namespace, @NonNull String key) { in get() 168 public static String get(@NonNull String key) { in get() [all …]
|
D | SettingsStateChangerRule.java | 39 public SettingsStateChangerRule(@NonNull Context context, @NonNull String key, in SettingsStateChangerRule() 53 @NonNull String key, @Nullable String value) { in SettingsStateChangerRule()
|
D | DeviceConfigStateHelper.java | 46 private void maybeCacheOriginalValueLocked(String key) { in maybeCacheOriginalValueLocked() 55 public void set(@NonNull String key, @Nullable String value) { in set()
|
D | OneTimeDeviceConfigListener.java | 46 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key) { in OneTimeDeviceConfigListener() 50 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key, in OneTimeDeviceConfigListener()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/systemproperties/ |
D | SystemProperties.java | 39 public void set(String key, String value) { in set() 59 public String get(String key) { in get() 67 public String get(String key, String def) { in get() 75 public int getInt(String key, int def) { in getInt() 83 public long getLong(String key, long def) { in getLong() 91 public boolean getBoolean(String key, boolean def) { in getBoolean()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CliIntentExtra.java | 35 private CliIntentExtra(String option, String key, String value) { in CliIntentExtra() 65 String key() { in key() method in CliIntentExtra 99 public static CliIntentExtra extraString(String key, String value) { in extraString() 112 public static CliIntentExtra extraBool(String key, boolean value) { in extraBool() 125 public static CliIntentExtra extraInt(String key, int value) { in extraInt()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 464 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; in getMinimumFocusDistanceChecked() local 497 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION; in getFocusDistanceCalibrationChecked() local 565 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; in getAeAvailableAntiBandingModesChecked() local 603 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; in getFlashInfoChecked() local 615 Key<int[]> key = in getAvailableTestPatternModesChecked() local 637 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; in getAvailableThumbnailSizesChecked() local 665 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; in getAvailableFocalLengthsChecked() local 686 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; in getAvailableAperturesChecked() local 707 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; in getAvailableHotPixelModesChecked() local 743 Key<int[]> key = CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES; in getAvailableFaceDetectModesChecked() local [all …]
|
D | CameraErrorCollector.java | 627 CameraCharacteristics.Key<T> key) { in expectKeyValueNotNull() 646 CaptureRequest.Key<T> key) { in expectKeyValueNotNull() 663 public <T> T expectKeyValueNotNull(Builder request, CaptureRequest.Key<T> key) { in expectKeyValueNotNull() 680 public <T> T expectKeyValueNotNull(CaptureResult result, CaptureResult.Key<T> key) { in expectKeyValueNotNull() 692 public <T> T expectKeyValueNotNull(String msg, CaptureResult result, CaptureResult.Key<T> key) { in expectKeyValueNotNull() 710 Builder request, CaptureRequest.Key<T> key, T expected) { in expectKeyValueNotEquals() 732 CaptureResult result, CaptureResult.Key<T> key, T expected) { in expectKeyValueNotEquals() 753 public <T> void expectKeyValueEquals(CaptureResult result, CaptureResult.Key<T> key, in expectKeyValueEquals() 778 public <T> void expectKeyValueEquals(Builder request, CaptureRequest.Key<T> key, T expected) { in expectKeyValueEquals() 801 CaptureResult result, CaptureResult.Key<T> key, T expected) { in expectKeyValueGreaterOrEqual() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | MacTest.java | 214 SecretKey key = importDefaultKatKey(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() local 231 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedForEmptyMessage() local 252 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local 273 SecretKey key = getDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local 296 SecretKey key = getDefaultKatKey(algorithm); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() local 322 SecretKey key = TestUtils.importIntoAndroidKeyStore( in testSmallMsgKat() local 355 SecretKey key = importDefaultKatKey(algorithm); in testLargeMsgKat() local 460 SecretKey key, in assertMacVerifiesOneShot() 469 SecretKey key, in assertMacVerifiesOneShot() 486 SecretKey key, in assertMacDoesNotVerifyOneShot() [all …]
|
/cts/tests/AlarmManager/util/src/android/alarmmanager/util/ |
D | AlarmManagerDeviceConfigHelper.java | 60 public AlarmManagerDeviceConfigHelper with(String key, long value) { in with() 64 public AlarmManagerDeviceConfigHelper with(String key, int value) { in with() 68 public AlarmManagerDeviceConfigHelper with(String key, boolean value) { in with() 72 public AlarmManagerDeviceConfigHelper with(String key, String value) { in with() 77 public AlarmManagerDeviceConfigHelper without(String key) { in without()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | BundleQuery.java | 35 BundleKeyQuery<E> key(String key); in key() argument
|
D | PersistableBundleQuery.java | 35 PersistableBundleKeyQuery<E> key(String key); in key() method
|
D | PersistableBundleQueryHelper.java | 49 public PersistableBundleKeyQuery<E> key(String key) { in key() argument
|
D | BundleQueryHelper.java | 48 public BundleKeyQuery<E> key(String key) { in key() argument
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceTest.java | 114 String key = mPreference.getKey(); in testGetKey() local 120 final String key = "key1"; in testSetKey() local 187 String key = "" + Math.random(); in testPersistInt() local 204 String key = "" + Math.random(); in testPersistBoolean() local 222 String key = "" + Math.random(); in testPersistString() local 240 String key = "" + Math.random(); in testPersistStringSet() local 258 String key = "" + Math.random(); in testPersistFloat() local 276 String key = "" + Math.random(); in testPersistLong() local
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | DisableScreenDozeRule.java | 47 private String getSecureSetting(String key) { in getSecureSetting() 51 private void putSecureSetting(String key, String value) { in putSecureSetting()
|
/cts/tests/sample/src/android/sample/ |
D | SampleDeviceActivity.java | 47 public void savePreference(String key, String value) { in savePreference() 62 public String getPreference(String key) { in getPreference()
|
/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
D | CtsJankTestBase.java | 37 private void printIntValueWithKey(String source, Bundle metrics, String key, in printIntValueWithKey() 45 private void printDoubleValueWithKey(String source, Bundle metrics, String key, in printDoubleValueWithKey() 54 private String formatKeyForTestMetrics(String key) { in formatKeyForTestMetrics()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetricsTest.java | 41 final String key = "Key"; in testBasicItem() local 73 final String key = "Key"; in testBigItem() local
|
D | MediaFormatTest.java | 46 MediaFormat format, String key, String type) { in assertGetByteBuffersThrowClassCastException() 61 MediaFormat format, String key, String type) { in assertGetFloatsThrowClassCastException() 76 MediaFormat format, String key, String type) { in assertGetIntegersThrowClassCastException() 91 MediaFormat format, String key, String type) { in assertGetLongsThrowClassCastException() 106 MediaFormat format, String key, String type) { in assertGetNumbersThrowClassCastException() 121 MediaFormat format, String key, String type) { in assertGetStringsThrowClassCastException() 287 MediaFormat format, String key, @MediaFormat.Type int type) { in testSingleKeyRemoval() 561 private void testNullOrMissingValue(MediaFormat format, String key) throws Exception { in testNullOrMissingValue() 711 final String key = field.getName(); in testKeyConsistency() local
|
/cts/tools/utils/ |
D | certificates.py | 23 key = None variable in Certificate 24 def __init__(self, cert, key): argument 52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", argument
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | NormalizeScreenStateRule.java | 65 private String getSecureSetting(String key) { in getSecureSetting() 78 private void putSecureSetting(String key, String value) { in putSecureSetting()
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DrmInfoRequestTest.java | 75 final String key = (String) keys.next(); in testPutAndGetKeys() local 82 final String key = (String) keys.next(); in testPutAndGetKeys() local 88 final String key = (String) infoKeys.next(); in testPutAndGetKeys() local
|