/frameworks/base/core/java/com/android/internal/util/ |
H A D | IndentingPrintWriter.java | 70 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 D | android_os_SystemProperties.cpp | 34 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 D | android_os_VintfObject.cpp | 136 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 D | AndroidKeyStoreECDSASignatureSpi.java | 150 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 D | AndroidKeyStoreHmacSpi.java | 94 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 D | AndroidKeyStoreRSASignatureSpi.java | 139 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 D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 126 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 D | DelegatingX509Certificate.java | 169 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 D | AssetManager2_bench.cpp | 176 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 D | PatchCache.cpp | 92 const PatchDescription& key = i.key(); local 93 if (key.getPatch() == patch) { 94 patchesToRemove.push(patch_pair_t(&key, i.value()));
|
H A D | RecordingCanvas.h | 253 // 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 D | MediaDescrambler.java | 142 * 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 D | MediaMetadataEditor.java | 46 * 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 D | jni_native_program.cpp | 108 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 D | OMAConstructed.java | 111 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 D | HTTPHandler.java | 67 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 D | TileUtilsTest.java | 123 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 D | Dependency.java | 295 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 D | RemoteInputController.java | 86 * @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 D | ViewTransformationHelper.java | 46 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 D | StatusBarIconControllerImpl.java | 99 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 D | CustomListPreference.java | 81 public static ListPreferenceDialogFragment newInstance(String key) { argument 84 b.putString(ARG_KEY, key);
|
H A D | ShortcutPicker.java | 129 public void onTuningChanged(String key, String newValue) { argument
|
H A D | TunerService.java | 53 void onTuningChanged(String key, String newValue); argument
|
H A D | TunerServiceImpl.java | 151 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...] |