Home
last modified time | relevance | path

Searched refs:createKey (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaMetrics.java82 public static final Key<String> ADDRESS = createKey("address", String.class);
84 public static final Key<String> ATTRIBUTES = createKey("attributes", String.class);
88 createKey("callingPackage", String.class);
91 public static final Key<String> CLIENT_NAME = createKey("clientName", String.class);
94 public static final Key<Integer> DELAY_MS = createKey("delayMs", Integer.class);
97 public static final Key<String> DEVICE = createKey("device", String.class);
100 public static final Key<String> DIRECTION = createKey("direction", String.class);
104 createKey("earlyReturn", String.class);
106 public static final Key<String> ENCODING = createKey("encoding", String.class);
108 public static final Key<String> EVENT = createKey("event#", String.class);
[all …]
DAudioMetadata.java120 createKey("bitrate", Integer.class);
131 createKey("channel-mask", Integer.class);
141 @NonNull public static final Key<String> KEY_MIME = createKey("mime", String.class);
152 createKey("sample-rate", Integer.class);
162 createKey("bit-width", Integer.class);
175 createKey("atmos-present", Boolean.class);
185 createKey("has-atmos", Integer.class);
196 createKey("audio-encoding", Integer.class);
220 public static <T> Key<T> createKey(@NonNull String name, @NonNull Class<T> type) { in createKey() method in AudioMetadata
758 ret.set(createKey(key, value.first), value.first.cast(value.second)); in unpack()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java274 keyList.add(createKey(TEST_KEY_1_ALIAS, TEST_KEY_1_BYTES, /*metadata=*/ null)); in createKeysWithoutMetadata()
275 keyList.add(createKey(TEST_KEY_2_ALIAS, TEST_KEY_2_BYTES, /*metadata=*/ null)); in createKeysWithoutMetadata()
276 keyList.add(createKey(TEST_KEY_3_ALIAS, TEST_KEY_3_BYTES, /*metadata=*/ null)); in createKeysWithoutMetadata()
282 keyList.add(createKey(TEST_KEY_1_ALIAS, TEST_KEY_1_BYTES, TEST_KEY_1_METADATA)); in createKeysWithMetadata()
283 keyList.add(createKey(TEST_KEY_2_ALIAS, TEST_KEY_2_BYTES, TEST_KEY_2_METADATA)); in createKeysWithMetadata()
284 keyList.add(createKey(TEST_KEY_3_ALIAS, TEST_KEY_3_BYTES, TEST_KEY_3_METADATA)); in createKeysWithMetadata()
303 private static WrappedApplicationKey createKey(String alias, byte[] bytes, byte[] metadata) { in createKey() method in KeyChainSnapshotSerializerTest
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignatureVerifier.java57 mDebugKey = Build.IS_DEBUGGABLE ? createKey(DEBUG_KEY) : null; in SignatureVerifier()
58 mProdKey = createKey(PROD_KEY); in SignatureVerifier()
61 private static PublicKey createKey(String base64) { in createKey() method in SignatureVerifier
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java212 keyList.add(createKey(TEST_KEY_1_ALIAS, TEST_KEY_1_BYTES)); in createTestKeyChainSnapshot()
213 keyList.add(createKey(TEST_KEY_2_ALIAS, TEST_KEY_2_BYTES)); in createTestKeyChainSnapshot()
214 keyList.add(createKey(TEST_KEY_3_ALIAS, TEST_KEY_3_BYTES)); in createTestKeyChainSnapshot()
232 private static WrappedApplicationKey createKey(String alias, byte[] bytes) { in createKey() method in RecoverySnapshotStorageTest
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java148 KeyEvent key1 = createKey(); in testParcelUnparcel()
161 KeyEvent key1 = createKey(); in testConstructor()
166 private static KeyEvent createKey() { in createKey() method in KeyEventTest
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java141 private PrivateKey createKey() throws Exception { in createKey() method in CertPinInstallReceiverTest
165 signer.initSign(createKey()); in createSignature()
/frameworks/base/config/
Dboot-image-profile.txt10267 HSPLandroid/icu/impl/ICULocaleService;->createKey(Landroid/icu/util/ULocale;I)Landroid/icu/impl/ICU…
/frameworks/base/services/
Dart-profile29926 PLcom/android/server/signedconfig/SignatureVerifier;->createKey(Ljava/lang/String;)Ljava/security/P…