Searched defs:key (Results 201 - 225 of 611) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java70 public void printPair(String key, Object value) { argument
71 print(key + "=" + String.valueOf(value) + " ");
74 public void printPair(String key, Object[] value) { argument
75 print(key + "=" + Arrays.toString(value) + " ");
78 public void printHexPair(String key, int value) { argument
79 print(key + "=0x" + Integer.toHexString(value) + " ");
/frameworks/base/core/jni/
H A Dandroid_os_SystemProperties.cpp34 const char* key; local
39 jniThrowNullPointerException(env, "key must not be null.");
43 key = env->GetStringUTFChars(keyJ, NULL);
45 len = property_get(key, buf, "");
54 env->ReleaseStringUTFChars(keyJ, key);
70 const char* key; local
76 jniThrowNullPointerException(env, "key must not be null.");
80 key = env->GetStringUTFChars(keyJ, NULL);
82 len = property_get(key, buf, "");
90 env->ReleaseStringUTFChars(keyJ, key);
100 const char* key; local
130 const char* key; local
166 const char* key; local
[all...]
H A Dandroid_os_VintfObject.cpp136 std::string key = to_string(vndk.versionRange()); local
138 env->NewStringUTF(key.c_str()), toJavaStringArray(env, vndk.libraries()));
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreECDSASignatureSpi.java150 protected final void initKey(AndroidKeyStoreKey key) throws InvalidKeyException { argument
151 if (!KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(key.getAlgorithm())) {
152 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm()
158 key.getAlias(), null, null, key.getUid(), keyCharacteristics);
160 throw getKeyStore().getInvalidKeyException(key.getAlias(), key.getUid(), errorCode);
164 throw new InvalidKeyException("Size of key not known");
170 super.initKey(key);
[all...]
H A DAndroidKeyStoreHmacSpi.java94 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, argument
100 init(key, params);
110 private void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, argument
112 if (key == null) {
113 throw new InvalidKeyException("key == null");
114 } else if (!(key instanceof AndroidKeyStoreSecretKey)) {
116 "Only Android KeyStore secret keys supported. Key: " + key);
118 mKey = (AndroidKeyStoreSecretKey) key;
H A DAndroidKeyStoreRSASignatureSpi.java139 protected final void initKey(AndroidKeyStoreKey key) throws InvalidKeyException { argument
140 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) {
141 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm()
144 super.initKey(key);
H A DAndroidKeyStoreUnauthenticatedAESCipherSpi.java126 protected final void initKey(int opmode, Key key) throws InvalidKeyException { argument
127 if (!(key instanceof AndroidKeyStoreSecretKey)) {
129 "Unsupported key: " + ((key != null) ? key.getClass().getName() : "null"));
131 if (!KeyProperties.KEY_ALGORITHM_AES.equalsIgnoreCase(key.getAlgorithm())) {
133 "Unsupported key algorithm: " + key.getAlgorithm() + ". Only " +
136 setKey((AndroidKeyStoreSecretKey) key);
H A DDelegatingX509Certificate.java169 public void verify(PublicKey key) argument
175 mDelegate.verify(key);
179 public void verify(PublicKey key, String sigProvider) argument
185 mDelegate.verify(key, sigProvider);
/frameworks/base/libs/androidfw/tests/
H A DAssetManager2_bench.cpp176 uint32_t key = iter->key; local
178 benchmark::DoNotOptimize(key);
200 uint32_t key = iter->map.name.ident; local
202 benchmark::DoNotOptimize(key);
/frameworks/base/libs/hwui/
H A DPatchCache.cpp92 const PatchDescription& key = i.key(); local
93 if (key.getPatch() == patch) {
94 patchesToRemove.push(patch_pair_t(&key, i.value()));
H A DRecordingCanvas.h253 // compute the hash key for the paint and check the cache.
254 const uint32_t key = paint->getHash(); local
255 const SkPaint* cachedPaint = mPaintMap.valueFor(key);
262 mPaintMap.replaceValueFor(key, cachedPaint);
/frameworks/base/media/java/android/media/
H A DMediaDescrambler.java142 * or odd key in the {@link android.media.MediaCodec.CryptoInfo#key} field.
199 } else if (cryptoInfo.key == null || cryptoInfo.key.length != 16) {
201 "Invalid CryptoInfo: key array is invalid!");
206 cryptoInfo.key[0],
240 byte key, int numSubSamples, int[] numBytesOfClearData, int[] numBytesOfEncryptedData,
239 native_descramble( byte key, int numSubSamples, int[] numBytesOfClearData, int[] numBytesOfEncryptedData, @NonNull ByteBuffer srcBuf, int srcOffset, int srcLimit, ByteBuffer dstBuf, int dstOffset, int dstLimit) argument
H A DMediaMetadataEditor.java46 * The metadata key for the content artwork / album art.
52 * The metadata key for the content's average rating, not the user's rating.
53 * The value associated with this key is a {@link Rating} instance.
59 * The metadata key for the content's user rating.
60 * The value associated with this key is a {@link Rating} instance.
61 * This key can be flagged as "editable" (with {@link #addEditableKey(int)}) to enable
69 * Editable key mask
135 * Flags the given key as being editable.
139 * @param key the type of metadata that can be edited. The supported key i
142 addEditableKey(int key) argument
205 putString(int key, String value) argument
234 putLong(int key, long value) argument
258 putBitmap(int key, Bitmap bitmap) argument
289 putObject(int key, Object value) argument
332 getLong(int key, long defaultValue) argument
348 getString(int key, String defaultValue) argument
364 getBitmap(int key, Bitmap defaultValue) argument
381 getObject(int key, Object defaultValue) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_program.cpp108 jstring key,
111 ALOGE("Native Program: Attempting to set null value for key %s!",
112 ToCppString(env, key).c_str());
116 const std::string c_key = ToCppString(env, key);
122 jstring key) {
124 const std::string c_key = ToCppString(env, key);
106 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument
120 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAConstructed.java111 public OMANode removeNode(String key, OMANode node) { argument
112 if (key.equals("?")) {
115 return mChildren.remove(key, node);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DHTTPHandler.java67 public void renegotiate(Map<OSUCertType, List<X509Certificate>> certs, PrivateKey key) argument
73 mSocketFactory.reloadKeys(certs, key);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DTileUtilsTest.java123 String keyHint = "key";
139 assertThat(outTiles.get(0).key).isEqualTo(keyHint);
387 private void addMetadataToInfo(ResolveInfo info, String key, String value) { argument
388 if (!TextUtils.isEmpty(key)) {
395 info.activityInfo.metaData.putString(key, value);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java295 protected final <T> T getDependency(DependencyKey<T> key) { argument
296 return getDependencyInner(key);
299 private synchronized <T> T getDependencyInner(Object key) { argument
301 T obj = (T) mDependencies.get(key);
303 obj = createDependency(key);
304 mDependencies.put(key, obj);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java86 * @param key the key of the entry that's spinning.
89 public void addSpinning(String key, Object token) { argument
90 Preconditions.checkNotNull(key);
93 mSpinning.put(key, token);
99 * @param key the key of the entry for which a remote input should be removed.
104 public void removeSpinning(String key, Object token) { argument
105 Preconditions.checkNotNull(key);
107 if (token == null || mSpinning.get(key)
112 isSpinning(String key) argument
[all...]
H A DViewTransformationHelper.java46 public void addTransformedView(int key, View transformedView) { argument
47 mTransformedViews.put(key, transformedView);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconControllerImpl.java99 public void onTuningChanged(String key, String newValue) { argument
100 if (!ICON_BLACKLIST.equals(key)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DCustomListPreference.java81 public static ListPreferenceDialogFragment newInstance(String key) { argument
84 b.putString(ARG_KEY, key);
H A DShortcutPicker.java129 public void onTuningChanged(String key, String newValue) { argument
H A DTunerService.java53 void onTuningChanged(String key, String newValue); argument
H A DTunerServiceImpl.java151 for (String key : keys) {
152 addTunable(tunable, key);
156 private void addTunable(Tunable tunable, String key) { argument
157 if (!mTunableLookup.containsKey(key)) {
158 mTunableLookup.put(key, new ArraySet<Tunable>());
160 mTunableLookup.get(key).add(tunable);
165 Uri uri = Settings.Secure.getUriFor(key);
167 mListeningUris.put(uri, key);
171 String value = Settings.Secure.getStringForUser(mContentResolver, key, mCurrentUser);
172 tunable.onTuningChanged(key, valu
[all...]

Completed in 5039 milliseconds

1234567891011>>