/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | ListPreferenceDialogFragmentCompat.java | 37 public static ListPreferenceDialogFragmentCompat newInstance(String key) { argument 41 b.putString(ARG_KEY, key); 75 private static void putCharSequenceArray(Bundle out, String key, CharSequence[] entries) { argument 82 out.putStringArrayList(key, stored); 85 private static CharSequence[] getCharSequenceArray(Bundle in, String key) { argument 86 final ArrayList<String> stored = in.getStringArrayList(key);
|
H A D | PreferenceGroup.java | 186 final String key = preference.getKey(); 188 if (key != null && mIdRecycleCache.containsKey(key)) { 189 id = mIdRecycleCache.get(key); 190 mIdRecycleCache.remove(key); 222 // If this preference, or another preference with the same key, gets re-added 229 // If two (or more) preferences have the same (or null) key and both are removed 233 final String key = preference.getKey(); 234 if (key != null) { 235 mIdRecycleCache.put(key, preferenc 285 findPreference(CharSequence key) argument 415 getPreferenceAdapterPosition(String key) argument [all...] |
/frameworks/av/camera/ |
H A D | CameraParameters2.cpp | 67 // Find the bounds of the key name. 72 // Create the key string. 92 void CameraParameters2::set(const char *key, const char *value) argument 95 if (strchr(key, '=') || strchr(key, ';')) { 96 //XXX ALOGE("Key \"%s\"contains invalid character (= or ;)", key); 105 // Replacing a value updates the key's order to be the new largest order 106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value)); 107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value); 110 void CameraParameters2::set(const char *key, in [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 226 * Flag indicating a RemoteControlClient makes use of the "previous" media key. 233 * Flag indicating a RemoteControlClient makes use of the "rewind" media key. 240 * Flag indicating a RemoteControlClient makes use of the "play" media key. 247 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key. 254 * Flag indicating a RemoteControlClient makes use of the "pause" media key. 261 * Flag indicating a RemoteControlClient makes use of the "stop" media key. 268 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key. 275 * Flag indicating a RemoteControlClient makes use of the "next" media key. 296 * {@link MediaMetadataEditor#RATING_KEY_BY_USER} key), it will enable the user to rate 425 * The metadata key fo 456 putString(int key, String value) argument 486 putLong(int key, long value) argument 511 putBitmap(int key, Bitmap bitmap) argument 526 putObject(int key, Object object) argument 741 onMetadataUpdate(int key, Object newValue) argument 962 onUpdateMetadata(int generationId, int key, Object value) argument [all...] |
/frameworks/base/core/java/android/net/nsd/ |
H A D | DnsSdTxtRecord.java | 65 * Set a key/value pair. Setting an existing key will replace its value. 66 * @param key Must be ascii with no '=' 67 * @param value matching value to key 69 public void set(String key, String value) { argument 83 keyBytes = key.getBytes("US-ASCII"); 86 throw new IllegalArgumentException("key should be US-ASCII"); 91 throw new IllegalArgumentException("= is not a valid character in key"); 99 int currentLoc = remove(key); 107 * Get a value for a key 112 get(String key) argument 118 remove(String key) argument 150 contains(String key) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Equalizer.java | 456 * Settings class constructor from a key=value; pairs formatted string. The string is 466 String key = st.nextToken(); 467 if (!key.equals("Equalizer")) { 469 "invalid settings for Equalizer: " + key); 472 key = st.nextToken(); 473 if (!key.equals("curPreset")) { 474 throw new IllegalArgumentException("invalid key name: " + key); 477 key = st.nextToken(); 478 if (!key [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNetworkScoreCache.java | 44 // The key is of the form "<ssid>"<bssid> 139 String key = buildNetworkKey(result); 140 if (key == null) return null; 144 ScoredNetwork network = mNetworkCache.get(key); 153 String key = network.networkKey.wifiKey.ssid; 154 if (key == null) return null; 156 key = key + network.networkKey.wifiKey.bssid; 158 return key; 167 StringBuilder key [all...] |
/frameworks/opt/net/wifi/tests/wifitests/jni/ |
H A D | wifi_hal_mock.cpp | 111 int HalMockJsonReader::get_int(const char* key, bool* error) { argument 112 if (!doc.HasMember(key)) { 114 ALOGE("get_int: can't find %s key", key); 117 const rapidjson::Value& element = doc[key]; 120 ALOGE("get_int: can't find the 'value' sub-key for %s key", key); 126 ALOGE("get_int: the value isn't an 'int' for the %s key", key); 132 get_byte_array(const char* key, bool* error, u8* array, unsigned int max_array_size) argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDebuggingManager.java | 138 String key = new String(Arrays.copyOfRange(buffer, 2, count)); 139 Slog.d(TAG, "Received public key: " + key); 141 msg.obj = key; 238 String key = (String)msg.obj; 239 String fingerprints = getFingerprints(key); 248 writeKey(key); 272 String key = (String)msg.obj; 273 String fingerprints = getFingerprints(key); 281 startConfirmation(key, mFingerprint 292 getFingerprints(String key) argument 325 startConfirmation(String key, String fingerprints) argument 351 startConfirmationActivity(ComponentName componentName, UserHandle userHandle, String key, String fingerprints) argument 370 startConfirmationService(ComponentName componentName, UserHandle userHandle, String key, String fingerprints) argument 383 createConfirmationIntent(ComponentName componentName, String key, String fingerprints) argument 404 writeKey(String key) argument [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 25 // key/value pairs making up the headers and an optional body/content. 40 static bool GetAttribute(const char *s, const char *key, AString *value); 43 const char *s, const char *key, int32_t *value);
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.cpp | 117 Element<Key> *Engine::getFromCollection(const Key &key) const 120 return collection.get(key); 124 status_t Engine::add(const std::string &name, const Key &key) argument 127 return collection.add(name, key); 131 Property Engine::getPropertyForKey(Key key) const 133 Element<Key> *element = getFromCollection<Key>(key); 191 bool Engine::setPropertyForKey(const Property &property, const Key &key) argument 193 Element<Key> *element = getFromCollection<Key>(key);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 29 * {@link BackupDataInput}. The entity's key string and total data size are available 40 String key; field in class:BackupDataInputStream 98 * Report the key string associated with this entity within the backup data set. 100 * @return The key string for this entity, equivalent to calling 104 return this.key;
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 126 public abstract byte[] getBackupPayload(int user, String key); argument 128 public abstract void applyRestoredPayload(int user, String key, byte[] payload); argument
|
/frameworks/base/core/java/android/text/ |
H A D | Annotation.java | 22 * Annotations are simple key-value pairs that are preserved across 30 public Annotation(String key, String value) { argument 31 mKey = key;
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmEvent.java | 39 * The key that is used in the <code>attributes</code> HashMap to pass the return status. 43 * The key that is used in the <code>attributes</code> HashMap to pass the 120 * Retrieves the attribute associated with the specified key. 123 * the key is found. 125 public Object getAttribute(String key) { argument 126 return mAttributes.get(key);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 50 * assumes that private and secret key bytes are available and would 83 * Indicates that this key (or key pair) must be encrypted at rest. This will protect the key 84 * (or key pair) with the secure lock screen credential (e.g., password, PIN, or pattern). 87 * up, otherwise key (or key pair) generation or import will fail. Moreover, this key (or key 89 * a Device Administrator). Finally, this key (o 158 get(String key, int uid) argument 167 get(String key) argument 171 put(String key, byte[] value, int uid, int flags) argument 175 insert(String key, byte[] value, int uid, int flags) argument 184 delete(String key, int uid) argument 194 delete(String key) argument 198 contains(String key, int uid) argument 207 contains(String key) argument 296 generate(String key, int uid, int keyType, int keySize, int flags, byte[][] args) argument 307 importKey(String keyName, byte[] key, int uid, int flags) argument 316 sign(String key, byte[] data) argument 325 verify(String key, byte[] data, byte[] signature) argument 334 grant(String key, int uid) argument 343 ungrant(String key, int uid) argument 356 getmtime(String key, int uid) argument 370 getmtime(String key) argument [all...] |
/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...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | Test.java | 24 void report(String key, float value) { 25 mBundle.putFloat(key, value);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | MapChangeRegistryTest.java | 38 final String expectedKey = "key"; 42 public void onMapChanged(ObservableMap sender, String key) { 45 assertEquals(key, expectedKey);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | ILearning_StochasticLinearRanker.aidl | 33 boolean SetModelParameter(in String key, in String value);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.h | 52 // setBlob attempts to insert a new key/value blob pair into the cache. 55 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, 58 // getBlob attempts to retrieve the value blob associated with a given key 61 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, 78 // key/value blob pairs. If the BlobCache object has not yet been created, 99 // mBlobCache is the cache in which the key/value blob pairs are stored. It 112 // pending. Each time a key/value pair is inserted into the cache via
|
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/ |
H A D | LeanbackPreferenceDialogFragment.java | 26 public static final String ARG_KEY = "key"; 49 final String key = getArguments().getString(LeanbackListPreferenceDialogFragment.ARG_KEY); 50 mPreference = (DialogPreference) fragment.findPreference(key);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncOperation.java | 80 public final String key; field in class:SyncOperation 86 /** Descriptive string key for this operation */ 135 this.key = toKey(); 162 this.key = other.key; 166 * All fields are stored in a corresponding key in the persistable bundle. 170 * a PersistableBundle. For every value of type Account with key 'key', we store a 171 * PersistableBundle containing account information at key 'ACCOUNT:key' [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 412 bool M3UParser::getTypeURI(size_t index, const char *key, AString *uri) const { argument 420 return !strcmp("audio", key) || !strcmp("video", key); 428 if (!meta->findString(key, &groupID)) { 437 return !strcmp("audio", key) || !strcmp("video", key); 446 // return true only if a codec of type `key` ("audio"/"video") 448 if (codecIsType(codec, key)) { 473 bool M3UParser::hasType(size_t index, const char *key) const { 474 return getTypeURI(index, key, NUL 724 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument 748 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | Session.cpp | 55 const KeyMap::value_type& key = keys.valueAt(i); local 56 mKeyMap.add(keyId, key); 76 const Vector<uint8_t>& key = mKeyMap.valueFor(keyIdVector); local 79 key, iv,
|