/cts/tests/autofillservice/src/android/autofillservice/cts/common/ |
D | SettingsHelper.java | 40 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set() 48 public static void set(@NonNull String key, @Nullable String value) { in set() 56 @NonNull String key, @Nullable String value) { in syncSet() 77 public static void syncSet(@NonNull Context context, @NonNull String key, in syncSet() 85 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() 89 public static void delete(@NonNull String key) { in delete() 97 @NonNull String key) { in syncDelete() 114 public static void syncDelete(@NonNull Context context, @NonNull String key) { in syncDelete() 122 public static String get(@NonNull String namespace, @NonNull String key) { in get() 127 public static String get(@NonNull String key) { in get()
|
D | SettingsStateChangerRule.java | 38 public SettingsStateChangerRule(@NonNull Context context, @NonNull String key, in SettingsStateChangerRule() 52 @NonNull String key, @Nullable String value) { in SettingsStateChangerRule()
|
D | OneTimeSettingsListener.java | 41 public OneTimeSettingsListener(Context context, String key) { in OneTimeSettingsListener() 45 public OneTimeSettingsListener(Context context, String namespace, String key) { in OneTimeSettingsListener()
|
D | SettingsStateKeeperRule.java | 35 public SettingsStateKeeperRule(@NonNull Context context, @NonNull String key) { in SettingsStateKeeperRule()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 420 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; in getMinimumFocusDistanceChecked() local 453 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION; in getFocusDistanceCalibrationChecked() local 521 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; in getAeAvailableAntiBandingModesChecked() local 559 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; in getFlashInfoChecked() local 571 Key<int[]> key = in getAvailableTestPatternModesChecked() local 593 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; in getAvailableThumbnailSizesChecked() local 621 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; in getAvailableFocalLengthsChecked() local 642 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; in getAvailableAperturesChecked() local 663 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; in getAvailableHotPixelModesChecked() local 699 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 …]
|
D | SecretKeyFactoryTest.java | 121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local 162 SecretKey key = new SecretKeySpec(new byte[16], algorithm); in testTranslateKeyRejectsNonAndroidKeystoreKeys() local 190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys() local
|
D | KeyGeneratorTest.java | 216 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize() local 245 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizes() local 285 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizes() local 321 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorized() local 501 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizations() local
|
D | AESGCMCipherTestBase.java | 181 Key key = importKey(getKatKey()); in testCiphertextBitflipDetectedWhenDecrypting() local 193 Key key = importKey(getKatKey()); in testAadBitflipDetectedWhenDecrypting() local
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SettingsUtils.java | 25 public static void putGlobalSetting(String key, String value) { in putGlobalSetting() 33 public static void putSecureSetting(String key, String value) { in putSecureSetting()
|
D | BundleUtils.java | 35 final String key = keysAndValues[i].toString(); in makeBundle() local
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceTest.java | 116 String key = mPreference.getKey(); in testGetKey() local 122 final String key = "key1"; in testSetKey() local 189 String key = "" + Math.random(); in testPersistInt() local 206 String key = "" + Math.random(); in testPersistBoolean() local 224 String key = "" + Math.random(); in testPersistString() local 242 String key = "" + Math.random(); in testPersistStringSet() local 260 String key = "" + Math.random(); in testPersistFloat() local 278 String key = "" + Math.random(); in testPersistLong() local
|
/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 | 36 private void printIntValueWithKey(String source, Bundle metrics, String key, in printIntValueWithKey() 44 private void printDoubleValueWithKey(String source, Bundle metrics, String key, in printDoubleValueWithKey() 53 private String formatKeyForTestMetrics(String key) { in formatKeyForTestMetrics()
|
/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/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
|
D | DrmInfoTest.java | 86 final String key = (String) keys.next(); in testPutAndGetKeys() local 93 final String key = (String) keys.next(); in testPutAndGetKeys() local 99 final String key = (String) infoKeys.next(); in testPutAndGetKeys() local
|
/cts/common/device-side/device-info/src_stub/android/os/ |
D | SystemProperties.java | 8 public static String get(String key, String def) { return null; } in get()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 80 public synchronized void addValue(String key, Object value) { in addValue() 94 public synchronized void addSensorStats(String key, SensorStats stats) { in addSensorStats() 113 public synchronized Object getValue(String key) { in getValue() 129 String key = statsEntry.getKey() + DELIMITER + valueEntry.getKey(); in flatten() local
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | SensorOperation.java | 78 protected void addSensorStats(String key, SensorStats stats) { in addSensorStats() 88 protected void addSensorStats(String key, int index, SensorStats stats) { in addSensorStats()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerHardwareScanFilterActivity.java | 148 public void addItem(String key) { in addItem() 164 String key = mKeys.get(pos); in getView() local
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferIncomingTest.java | 104 private static void putBooleanPref(Context context, String key, boolean value) { in putBooleanPref() 108 protected static boolean getBooleanPref(Context context, String key) { in getBooleanPref()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | FragmentTestActivity.java | 100 String key = TRANSITION_KEY + i; in onCreate() local 111 String key = TRANSITION_KEY + i; in onSaveInstanceState() local 145 private Transition loadTransition(int key) { in loadTransition()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskGeneric.cpp | 125 bool TaskGeneric::addStringAttribute(const android::String8& key, const android::String8& value) in addStringAttribute() 135 bool TaskGeneric::findStringAttribute(const android::String8& key, android::String8& value) const in findStringAttribute() argument
|