/frameworks/rs/ |
H A D | rsCompatibilityLib.cpp | 22 int property_get(const char *key, char *value, const char *default_value) { argument 25 len = __system_property_get(key, value);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | SimpleCache.java | 26 protected abstract V load(K key); argument 28 final V get(K key) { argument 29 if (map.containsKey(key)) { 30 return map.get(key); 32 V value = load(key); 33 map.put(key, value);
|
/frameworks/base/tools/aapt/ |
H A D | AaptUtil.h | 32 const KEY& key, const VALUE& value); 36 const KEY& key, const VALUE& value); 44 const KEY& key, const VALUE& value) { 45 ssize_t idx = keyedVector.indexOfKey(key); 47 idx = keyedVector.add(key, android::Vector<VALUE>()); 54 const KEY& key, const VALUE& value) { 55 ssize_t idx = keyedVector.indexOfKey(key); 57 idx = keyedVector.add(key, android::SortedVector<VALUE>()); 43 appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector, const KEY& key, const VALUE& value) argument 53 appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector, const KEY& key, const VALUE& value) argument
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | MapChangeRegistry.java | 41 * @param key The key of the element that changed. 43 public void notifyChange(ObservableMap sender, Object key) { argument 44 notifyCallbacks(sender, 0, key);
|
/frameworks/minikin/tests/ |
H A D | HbFontCacheTest.cpp | 72 hb_user_data_key_t key; local 74 hb_font_set_user_data(font, &key, data, NULL, false); 75 ASSERT_EQ(data, hb_font_get_user_data(font, &key)); 83 EXPECT_EQ(nullptr, hb_font_get_user_data(font, &key));
|
/frameworks/base/core/java/android/app/ |
H A D | AppGlobals.java | 53 * @param key The setting key. 57 public static int getIntCoreSetting(String key, int defaultValue) { argument 60 return currentActivityThread.getIntCoreSetting(key, defaultValue);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | GetCommand.java | 28 * @param key the {@link CameraMetadataNative.Key} to look up. 32 public <T> T getValue(CameraMetadataNative metadata, CameraMetadataNative.Key<T> key); argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | ThumbnailCache.java | 29 protected int sizeOf(Uri key, Bitmap value) { argument
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | ObservableMap.java | 57 * @param key The key of the value inserted, removed, or changed. 59 public abstract void onMapChanged(T sender, K key); argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | PropertyService.java | 27 * Get the current value of |key|. 28 * @return value of |key|, if key exists; |defaultValue| or empty string otherwise 31 String get(String key, String defaultValue); argument 34 * Set the value for |key|. 35 * @throws IllegalArgumentException if the key exceeds 32 characters 38 void set(String key, String val); argument
|
H A D | SystemPropertyService.java | 22 public String get(String key, String defaultValue) { argument 23 return android.os.SystemProperties.get(key, defaultValue); 27 public void set(String key, String val) { argument 28 android.os.SystemProperties.set(key, val);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | BundleCompat.java | 35 * @param key The key to use while getting the {@link IBinder}. 38 public static IBinder getBinder(Bundle bundle, String key) { argument 40 return BundleCompatJellybeanMR2.getBinder(bundle, key); 42 return BundleCompatDonut.getBinder(bundle, key); 50 * @param key The key to use while putting the {@link IBinder}. 53 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument 55 BundleCompatJellybeanMR2.putBinder(bundle, key, binder); 57 BundleCompatDonut.putBinder(bundle, key, binde [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | BundleUtil.java | 17 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { argument 18 Parcelable[] array = bundle.getParcelableArray(key); 24 bundle.putParcelableArray(key, typedArray);
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/ |
H A D | BundleCompatJellybeanMR2.java | 26 public static IBinder getBinder(Bundle bundle, String key) { argument 27 return bundle.getBinder(key); 30 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument 31 bundle.putBinder(key, binder);
|
/frameworks/wilhelm/src/autogen/ |
H A D | IID_to_MPH.c | 318 unsigned key = asso_values[((unsigned char *)iid)[3]] + local 320 if (key <= MAX_HASH_VALUE) { 321 int MPH = hash_to_MPH[key];
|
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 41 void set(const char *key, const char *value); 42 void set(const char *key, int value); 43 void setFloat(const char *key, float value); 44 // Look up string value by key. 45 // -- The string remains valid until the next set/remove of the same key, 47 const char *get(const char *key) const; 48 int getInt(const char *key) const; 49 float getFloat(const char *key) const; 58 // * NAME_NOT_FOUND - if either key has not been set previously 64 void remove(const char *key); 119 add(const KeyT& key, const ValueT& value) argument [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrame.cpp | 49 WebmFrame::WebmFrame(int type, bool key, uint64_t absTimecode, MediaBuffer *mbuf) argument 51 mKey(key),
|
/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 74 String8 key; local 76 err = reader.ReadEntityHeader(&key, &dataSize); 78 printf(" entity: %s (%zu bytes)\n", key.string(), dataSize);
|
/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/content/res/ |
H A D | ConfigurationBoundResourceCache.java | 31 * @param key a key that uniquely identifies the drawable resource 37 public T getInstance(long key, Resources resources, Resources.Theme theme) { argument 38 final ConstantState<T> entry = get(key, theme);
|
H A D | DrawableCache.java | 28 * @param key a key that uniquely identifies the drawable resource 34 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { argument 35 final Drawable.ConstantState entry = get(key, theme);
|
/frameworks/base/core/java/android/util/ |
H A D | KeyValueListParser.java | 21 * Parses a list of key=value pairs, separated by some delimiter, and puts the results in 22 * an internal Map. Values can be then queried by key, or if not found, a default value 33 * @param delim The delimiter that separates key=value pairs. 58 "'" + pair + "' in '" + str + "' is not a valid key-value pair"); 66 * Get the value for key as an int. 67 * @param key The key to lookup. 68 * @param def The value to return if the key was not found, or the value was not a long. 69 * @return the int value associated with the key. 71 public int getInt(String key, in argument 89 getLong(String key, long def) argument 107 getFloat(String key, float def) argument 125 getString(String key, String def) argument [all...] |
/frameworks/base/core/java/com/android/server/backup/ |
H A D | NotificationBackupHelper.java | 43 protected byte[] getBackupPayload(String key) { argument 45 if (KEY_NOTIFICATIONS.equals(key)) { 61 protected void applyRestoredPayload(String key, byte[] payload) { argument 63 Slog.v(TAG, "Got restore of " + key); 66 if (KEY_NOTIFICATIONS.equals(key)) {
|
H A D | PermissionBackupHelper.java | 32 // key under which the permission-grant state blob is committed to backup 40 protected byte[] getBackupPayload(String key) { argument 43 Slog.d(TAG, "Handling backup of " + key); 46 switch (key) { 51 Slog.w(TAG, "Unexpected backup key " + key); 54 Slog.e(TAG, "Unable to store payload " + key); 60 protected void applyRestoredPayload(String key, byte[] payload) { argument 63 Slog.d(TAG, "Handling restore of " + key); 66 switch (key) { [all...] |
H A D | PreferredActivityBackupHelper.java | 32 // key under which the preferred-activity state blob is committed to backup 35 // key for default-browser [etc] state 49 protected byte[] getBackupPayload(String key) { argument 52 Slog.d(TAG, "Handling backup of " + key); 56 switch (key) { 64 Slog.w(TAG, "Unexpected backup key " + key); 67 Slog.e(TAG, "Unable to store payload " + key); 73 protected void applyRestoredPayload(String key, byte[] payload) { argument 76 Slog.d(TAG, "Handling restore of " + key); [all...] |