Searched defs:key (Results 1 - 25 of 555) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsCompatibilityLib.cpp22 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 DSimpleCache.java26 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 DAaptUtil.h32 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 DMapChangeRegistry.java41 * @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 DHbFontCacheTest.cpp72 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 DAppGlobals.java53 * @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 DGetCommand.java28 * @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 DThumbnailCache.java29 protected int sizeOf(Uri key, Bitmap value) { argument
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DObservableMap.java57 * @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 DPropertyService.java27 * 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 DSystemPropertyService.java22 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/compat/java/android/support/v4/app/
H A DBundleCompat.java35 * @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 BundleCompatGingerbread.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 BundleCompatGingerbread.putBinder(bundle, key, binde
[all...]
/frameworks/support/compat/jellybean/android/support/v4/app/
H A DBundleUtil.java14 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { argument
15 Parcelable[] array = bundle.getParcelableArray(key);
21 bundle.putParcelableArray(key, typedArray);
/frameworks/support/compat/jellybean-mr2/android/support/v4/app/
H A DBundleCompatJellybeanMR2.java23 public static IBinder getBinder(Bundle bundle, String key) { argument
24 return bundle.getBinder(key);
27 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
28 bundle.putBinder(key, binder);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DKeyboardShortcutsTestCaseWithToolbar.java77 private void sendControlChar(char key) throws Throwable { argument
80 KeyEvent[] events = map.getEvents(new char[] {key});
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.c248 unsigned key = asso_values[((unsigned char *)iid)[8]] + local
250 if (key <= MAX_HASH_VALUE) {
251 int MPH = hash_to_MPH[key];
/frameworks/av/include/camera/
H A DCameraParameters2.h41 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 DWebmFrame.cpp49 WebmFrame::WebmFrame(int type, bool key, uint64_t absTimecode, MediaBuffer *mbuf) argument
51 mKey(key),
/frameworks/base/cmds/backup/
H A Dbackup.cpp74 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 DBackupDataInputStream.java29 * {@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 DConfigurationBoundResourceCache.java31 * @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 DDrawableCache.java28 * @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 DKeyValueListParser.java21 * 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 DAccountManagerBackupHelper.java35 // key under which the account access grant state blob is committed to backup
43 protected byte[] getBackupPayload(String key) { argument
46 Slog.d(TAG, "Handling backup of " + key);
49 switch (key) {
55 Slog.w(TAG, "Unexpected backup key " + key);
59 Slog.e(TAG, "Unable to store payload " + key);
66 protected void applyRestoredPayload(String key, byte[] payload) { argument
69 Slog.d(TAG, "Handling restore of " + key);
72 switch (key) {
[all...]
H A DNotificationBackupHelper.java43 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)) {

Completed in 4886 milliseconds

1234567891011>>