Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 151) sorted by relevance

1234567

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSettingsUtils.java48 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 …]
DSettingsStateChangerRule.java39 public SettingsStateChangerRule(@NonNull Context context, @NonNull String key, in SettingsStateChangerRule()
53 @NonNull String key, @Nullable String value) { in SettingsStateChangerRule()
DOneTimeDeviceConfigListener.java47 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key) { in OneTimeDeviceConfigListener()
51 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key, in OneTimeDeviceConfigListener()
DSettingsStateKeeperRule.java36 public SettingsStateKeeperRule(@NonNull Context context, @NonNull String key) { in SettingsStateKeeperRule()
DDeviceConfigStateKeeperRule.java38 @NonNull String key) { in DeviceConfigStateKeeperRule()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSettingsUtils.java49 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set()
65 public static void set(@NonNull String key, @Nullable String value) { in set()
73 @NonNull String key, @Nullable String value) { in syncSet()
104 public static void syncSet(@NonNull Context context, @NonNull String key, in syncSet()
112 public static void delete(@NonNull String namespace, @NonNull String key) { in delete()
119 public static void delete(@NonNull String key) { in delete()
127 @NonNull String key) { in syncDelete()
148 public static void syncDelete(@NonNull Context context, @NonNull String key) { in syncDelete()
156 public static String get(@NonNull String namespace, @NonNull String key) { in get()
169 public static String get(@NonNull String key) { in get()
[all …]
DSettingsStateChangerRule.java39 public SettingsStateChangerRule(@NonNull Context context, @NonNull String key, in SettingsStateChangerRule()
53 @NonNull String key, @Nullable String value) { in SettingsStateChangerRule()
DOneTimeDeviceConfigListener.java47 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key) { in OneTimeDeviceConfigListener()
51 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key, in OneTimeDeviceConfigListener()
DSettingsStateKeeperRule.java36 public SettingsStateKeeperRule(@NonNull Context context, @NonNull String key) { in SettingsStateKeeperRule()
DDeviceConfigStateKeeperRule.java38 @NonNull String key) { in DeviceConfigStateKeeperRule()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java462 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; in getMinimumFocusDistanceChecked() local
495 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION; in getFocusDistanceCalibrationChecked() local
563 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; in getAeAvailableAntiBandingModesChecked() local
601 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; in getFlashInfoChecked() local
613 Key<int[]> key = in getAvailableTestPatternModesChecked() local
635 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; in getAvailableThumbnailSizesChecked() local
663 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; in getAvailableFocalLengthsChecked() local
684 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; in getAvailableAperturesChecked() local
705 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; in getAvailableHotPixelModesChecked() local
741 Key<int[]> key = CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES; in getAvailableFaceDetectModesChecked() local
[all …]
DCameraErrorCollector.java627 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/
DMacTest.java214 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 …]
DSecretKeyFactoryTest.java121 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
DImportWrappedKeyTest.java116 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey() local
179 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey_3DES() local
216 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey_3DES_StrongBox() local
256 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey_AES_StrongBox() local
357 private byte[] xor(byte[] key, byte[] mask) { in xor()
DKeyGeneratorTest.java244 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize() local
282 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizesHelper() local
323 SecretKey key = keyGenerator.generateKey(); in testDESKeySupportedSizes() local
386 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizesHelper() local
435 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() local
706 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizationsHelper() local
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceTest.java114 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/sample/src/android/sample/
DSampleDeviceActivity.java47 public void savePreference(String key, String value) { in savePreference()
62 public String getPreference(String key) { in getPreference()
/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java32 MediaFormat format, String key, String type) { in assertGetByteBuffersThrowClassCastException()
47 MediaFormat format, String key, String type) { in assertGetFloatsThrowClassCastException()
62 MediaFormat format, String key, String type) { in assertGetIntegersThrowClassCastException()
77 MediaFormat format, String key, String type) { in assertGetLongsThrowClassCastException()
92 MediaFormat format, String key, String type) { in assertGetNumbersThrowClassCastException()
107 MediaFormat format, String key, String type) { in assertGetStringsThrowClassCastException()
273 MediaFormat format, String key, @MediaFormat.Type int type) { in testSingleKeyRemoval()
547 private void testNullOrMissingValue(MediaFormat format, String key) throws Exception { in testNullOrMissingValue()
/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsJankTestBase.java37 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/tools/utils/
Dcertificates.py23 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/
DDrmInfoRequestTest.java75 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
DDrmInfoTest.java86 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/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java82 public synchronized void addValue(String key, Object value) { in addValue()
96 public synchronized void addSensorStats(String key, SensorStats stats) { in addSensorStats()
115 public synchronized Object getValue(String key) { in getValue()
131 String key = statsEntry.getKey() + DELIMITER + valueEntry.getKey(); in flatten() local
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DSensorOperation.java78 protected void addSensorStats(String key, SensorStats stats) { in addSensorStats()
88 protected void addSensorStats(String key, int index, SensorStats stats) { in addSensorStats()

1234567