/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DoNotDisturbController.java | 64 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { argument
|
/frameworks/av/drm/common/ |
H A D | DrmInfo.cpp | 44 status_t DrmInfo::put(const String8& key, const String8& value) { argument 45 mAttributes.add(key, value); 49 String8 DrmInfo::get(const String8& key) const { 50 if (NAME_NOT_FOUND != mAttributes.indexOfKey(key)) { 51 return mAttributes.valueFor(key); 56 int DrmInfo::indexOfKey(const String8& key) const { 57 return mAttributes.indexOfKey(key); 79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex); local 81 return key;
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 45 * @param key - key or Session ID 48 * @return boolean result of adding value. returns false if key is already exist. 50 bool addValue(int key, TValue value) { argument 52 if (!isCreatedInternal(key)) { 53 map.add(key, value); 60 * returns the session object by the key 62 * @param key - key or Session ID 64 * @return session object as per the key 66 getValue(int key) argument 104 removeValue(int key) argument 117 isCreated(int key) argument 167 isCreatedInternal(int key) argument 178 getValueInternal(int key) argument [all...] |
/frameworks/av/include/drm/ |
H A D | DrmConstraints.h | 68 * Iterator for key 119 String8 key = keyIt.next(); local 120 const char* value = this->getAsByteArray(&key); 137 * Adds constraint information as <key, value> pair to this instance 139 * @param[in] key Key to add 143 status_t put(const String8* key, const char* value); 146 * Retrieves the value of given key 148 * @param key Key whose value to be retrieved 151 String8 get(const String8& key) const; 154 * Retrieves the value as byte array of given key [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 146 const uint8_t key[16], 164 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, 144 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInput.java | 43 * String key = data.getKey(); 46 * if (key.equals(MY_BACKUP_KEY_ONE)) { 54 * } else if (key.equals(MY_BACKUP_KEY_TO_IGNORE) { 55 * // a key we recognize but wish to discard 68 String key; field in class:BackupDataInput.EntityHeader 117 * Report the key associated with the current entity in the restore stream 118 * @return the current entity's key string 123 return mHeader.key;
|
/frameworks/base/core/java/android/os/ |
H A D | SystemProperties.java | 26 * store contains a list of string key-value pairs. 37 private static native String native_get(String key); argument 38 private static native String native_get(String key, String def); argument 39 private static native int native_get_int(String key, int def); argument 40 private static native long native_get_long(String key, long def); argument 41 private static native boolean native_get_boolean(String key, boolean def); argument 42 private static native void native_set(String key, String def); argument 46 * Get the value for the given key. 47 * @return an empty string if the key isn't found 48 * @throws IllegalArgumentException if the key exceed 50 get(String key) argument 62 get(String key, String def) argument 77 getInt(String key, int def) argument 92 getLong(String key, long def) argument 112 getBoolean(String key, boolean def) argument 124 set(String key, String val) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 41 * protected int sizeOf(String key, Bitmap value) { 49 * if (cache.get(key) == null) { 50 * cache.put(key, value); 54 * <p>This class does not allow null to be used as a key or value. A return 56 * unambiguous: the key was not in the cache. 106 * Returns the value for {@code key} if it exists in the cache or can be 111 public final V get(K key) { argument 112 if (key == null) { 113 throw new NullPointerException("key == null"); 118 mapValue = map.get(key); 165 put(K key, V value) argument 230 remove(K key) argument 265 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument 282 create(K key) argument 286 safeSizeOf(K key, V value) argument 301 sizeOf(K key, V value) argument [all...] |
H A D | SparseBooleanArray.java | 62 * Gets the boolean mapped from the specified key, or <code>false</code> 65 public boolean get(int key) { argument 66 return get(key, false); 70 * Gets the boolean mapped from the specified key, or the specified value 73 public boolean get(int key, boolean valueIfKeyNotFound) { argument 74 int i = binarySearch(mKeys, 0, mSize, key); 84 * Removes the mapping from the specified key, if there was any. 86 public void delete(int key) { argument 87 int i = binarySearch(mKeys, 0, mSize, key); 97 * Adds a mapping from the specified key t 101 put(int key, boolean value) argument 166 indexOfKey(int key) argument 197 append(int key, boolean value) argument 223 binarySearch(int[] a, int start, int len, int key) argument [all...] |
H A D | SparseIntArray.java | 66 * Gets the int mapped from the specified key, or <code>0</code> 69 public int get(int key) { argument 70 return get(key, 0); 74 * Gets the int mapped from the specified key, or the specified value 77 public int get(int key, int valueIfKeyNotFound) { argument 78 int i = binarySearch(mKeys, 0, mSize, key); 88 * Removes the mapping from the specified key, if there was any. 90 public void delete(int key) { argument 91 int i = binarySearch(mKeys, 0, mSize, key); 108 * Adds a mapping from the specified key t 112 put(int key, int value) argument 177 indexOfKey(int key) argument 208 append(int key, int value) argument 234 binarySearch(int[] a, int start, int len, int key) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | ClientCertRequestHandler.java | 52 * Proceed with the specified private key and client certificate chain. 79 * Proceed with the specified private key bytes and client certificate chain. 90 * Proceed with the specified private key context and client certificate chain. 92 private void setSslClientCertFromPKCS8(final byte[] key, final byte[][] chainBytes) { argument 95 mBrowserFrame.nativeSslClientCert(mHandle, key, chainBytes);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | LegacyVpnInfo.java | 41 public String key; field in class:LegacyVpnInfo 52 out.writeString(key); 62 info.key = in.readString();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | IndentingPrintWriter.java | 49 public void printPair(String key, Object value) { argument 50 print(key + "=" + String.valueOf(value) + " ");
|
/frameworks/base/core/jni/ |
H A D | android_backup_BackupDataInput.cpp | 70 String8 key; local 72 err = reader->ReadEntityHeader(&key, &dataSize); 77 jstring keyStr = env->NewStringUTF(key.string()); 140 s_keyField = env->GetFieldID(clazz, "key", "Ljava/lang/String;"); 142 "Unable to find key field in android.app.backup.BackupDataInput.EntityHeader");
|
H A D | android_backup_BackupDataOutput.cpp | 46 writeEntityHeader_native(JNIEnv* env, jobject clazz, int w, jstring key, int dataSize) argument 51 const char* keyUTF = env->GetStringUTFChars(key, NULL); 57 env->ReleaseStringUTFChars(key, keyUTF);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 89 * Adds optional information as key-value pairs to this object. To add a custom object 92 * @param key Key to add. 96 public void put(String key, Object value) { argument 97 mAttributes.put(key, value); 101 * Retrieves the value of a given key. 103 * @param key The key whose value is being retrieved. 105 * @return The value of the key being retrieved. Returns null if the key cannot be found. 107 public Object get(String key) { argument [all...] |
H A D | DrmInfoRequest.java | 96 * Adds optional information as key-value pairs to this object. 98 * @param key The key to add. 101 public void put(String key, Object value) { argument 102 mRequestInformation.put(key, value); 106 * Retrieves the value of a given key. 108 * @param key The key whose value is being retrieved. 110 * @return The value of the key that is being retrieved. Returns null if the key canno 113 get(String key) argument [all...] |
H A D | DrmUtils.java | 34 * {@link DrmStore.ConstraintsColumns#EXTENDED_METADATA} key. You can use 107 * @param extendedMetadata Object in which key-value pairs of extended metadata are embedded. 164 //Fetch key 199 * This method retrieves the metadata value associated with a given key. 201 * @param key The key whose value is being retrieved. 203 * @return The metadata value associated with the given key. Returns null 204 * if the key is not found. 206 public String get(String key) { argument 207 return mMap.get(key); [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | CertBlacklister.java | 57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { argument 59 mKey = key; 128 // set up the public key blacklist observer
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CertBlacklisterTest.java | 45 private void overrideSettings(String key, String value) throws Exception { argument 46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 45 * protected int sizeOf(String key, Bitmap value) { 53 * if (cache.get(key) == null) { 54 * cache.put(key, value); 58 * <p>This class does not allow null to be used as a key or value. A return 60 * unambiguous: the key was not in the cache. 110 * Returns the value for {@code key} if it exists in the cache or can be 115 public final V get(K key) { argument 116 if (key == null) { 117 throw new NullPointerException("key == null"); 122 mapValue = map.get(key); 169 put(K key, V value) argument 240 remove(K key) argument 275 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument 292 create(K key) argument 296 safeSizeOf(K key, V value) argument 311 sizeOf(K key, V value) argument [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfoReader.cpp | 73 const char *key = pInfo.getStringFromPool(pItem.key); local 76 if (key == NULL) { 77 ALOGE("Invalid string index %d for key in RS pragma list.", pItem.key); 86 pResult.push(std::make_pair(key, value));
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticInfos.cpp | 77 DiagStaticInfo key = { static_cast<uint16_t>(pID), DiagnosticEngine::None, 0, 0 }; local 78 const DiagStaticInfo *result = std::lower_bound(static_info, static_info + info_size, key);
|
/frameworks/compile/mclinker/unittests/ |
H A D | HashTableTest.cpp | 111 int key = 100; local 112 HashTableTy::entry_type* val = hashTable->insert(key, exist); 117 HashTableTy::iterator entry = hashTable->find(key); 129 for (unsigned int key=0; key<100; ++key) { 130 entry = hashTable->insert(key, exist); 134 EXPECT_EQ(key, entry->key()); 135 entry->setValue(key 319 unsigned int key = 0; local [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
H A D | ProjectionMap.java | 84 public String put(String key, String value) { argument
|