Searched defs:key (Results 126 - 150 of 543) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/LD/
H A DDiagnosticInfos.cpp85 DiagStaticInfo key = { local
89 std::lower_bound(static_info, static_info + info_size, key);
/frameworks/compile/mclinker/unittests/
H A DHashTableTest.cpp95 int key = 100; local
96 HashTableTy::entry_type* val = hashTable->insert(key, exist);
101 HashTableTy::iterator entry = hashTable->find(key);
114 for (int key = 0; key < 100; ++key) {
115 entry = hashTable->insert(key, exist);
119 EXPECT_TRUE(key == entry->key());
120 entry->setValue(key
302 unsigned int key = 0; local
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
H A DExprTest.java38 public DummyExpr(String key, DummyExpr... children) { argument
40 mKey = key;
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayMap.java61 for (Object key : collection) {
62 int index = indexOfKey(key);
75 Object key = keyAt(i);
76 if (!collection.contains(key)) {
86 K key = keyAt(index);
89 notifyChange(key);
96 K key = keyAt(index);
98 notifyChange(key);
102 private void notifyChange(Object key) { argument
104 mListeners.notifyCallbacks(this, 0, key);
[all...]
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2RequestSettingsSet.java70 * the template's selection for that {@code key}; the difference here is
75 * @param key Which setting to alter.
81 * @throws NullPointerException If {@code key} is {@code null}.
83 public <T> boolean set(Key<T> key, T value) { argument
84 if (key == null) {
85 throw new NullPointerException("Received a null key");
88 Object currentValue = get(key);
90 if (!mDictionary.containsKey(key) || !Objects.equals(value, currentValue)) {
91 mDictionary.put(key, value);
105 * @param key Whic
111 unset(Key<?> key) argument
134 get(Key<T> key) argument
155 contains(Key<?> key) argument
172 matches(Key<T> key, T value) argument
247 setRequestFieldIfNonNull(Builder requestBuilder, Key<T> key) argument
[all...]
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java84 public String put(String key, String value) { argument
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxRanker.java33 * Data is represented as sparse key, value pair. And key is a String, value
49 v.key = x.getKey();
129 public boolean setParameter(String key, String value) { argument
133 return mRanker.SetModelParameter(key, value);
H A DLearning_StochasticLinearRanker.java56 keys_1[i] = temp_1.get(i).key;
63 keys_2[i] = temp_2.get(i).key;
80 keys[i] = temp.get(i).key;
92 weights.put(temp.get(i).key, temp.get(i).value);
98 public boolean SetModelParameter(String key, String value) { argument
101 return mLearningSlRanker.setModelParameter(key,value);
/frameworks/native/services/surfaceflinger/
H A DFenceTracker.cpp138 int32_t key = layers[i]->getSequence(); local
145 std::forward_as_tuple(key),
151 std::forward_as_tuple(key),
155 auto prevLayer = prevFrame.layers.find(key);
162 std::forward_as_tuple(key),
171 std::forward_as_tuple(key),
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java30 * . All tasks that is given to {@link #execute(Object, Runnable)} must correspond to a key. This
31 * key must have been previously declared with {@link #expect(Object, Callback)}.
32 * The task will be scheduled to run when its corresponding key becomes the first expected key
35 * If on {@link #execute(Object, Runnable)} the key is not expected, the task will be executed
41 * the first expected key.</li>
42 * <li>Execute task <b>2</b> for key <b>B</b>. The first expected key is <b>A</b>,
44 * <li>Execute task <b>4</b> for key <b>Z</b>. We store task <b>4</b>. </li>
45 * <li>Execute task <b>1</b> for key <
94 expect(final T key, final Callback<T> callback) argument
126 forget(final T key) argument
165 execute(final T key, final Runnable task) argument
223 onFirstExpectedChanged(final T key) argument
239 contains(final T key) argument
292 onBecomeFirstExpected(final T key) argument
[all...]
H A DUnrefedBitmapCache.java32 * when the same key is used to retrieve the value, a {@link NullReusableBitmap} singleton will
120 public ReusableBitmap get(final RequestKey key, final boolean incrementRefCount) { argument
121 if (mNullRequests != null && mNullRequests.get(key) != null) {
124 return super.get(key, incrementRefCount);
131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) { argument
133 mNullRequests.put(key, NullReusableBitmap.getInstance());
137 return super.put(key, value);
H A DUnrefedPooledCache.java72 public V get(K key, boolean incrementRefCount) { argument
75 V result = mCache.get(key);
77 result = mNonPooledCache.get(key);
88 public V put(K key, V value) { argument
98 prev = mCache.put(key, value);
100 prev = mNonPooledCache.put(key, value);
193 sb.append("\n\tcache key=");
203 sb.append("\n\tnon-pooled cache key=");
227 protected int sizeOf(K key, V value) { argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiCertManager.java72 for (String key : keys) {
73 mAffiliatedUserOnlyCerts.add(key);
82 /** @param key Unprefixed cert key to hide from unaffiliated users. */
83 public void hideCertFromUnaffiliatedUsers(String key) { argument
84 if (mAffiliatedUserOnlyCerts.add(Credentials.USER_PRIVATE_KEY + key)) {
98 for (String key : keys) {
99 if (!mAffiliatedUserOnlyCerts.contains(key)) {
100 results.add(key);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigStoreTest.java47 // This is not actually present as a key in the wpa_supplicant.conf file, but
222 public Map<String, String> readNetworkVariableFromSupplicantFile(String key) throws Exception { argument
227 result = mWifiConfigStore.readNetworkVariablesFromReader(reader, key);
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DListPreferenceDialogFragment.java36 public static ListPreferenceDialogFragment newInstance(String key) { argument
39 b.putString(ARG_KEY, key);
H A DMultiSelectListPreferenceDialogFragment.java44 public static MultiSelectListPreferenceDialogFragment newInstance(String key) { argument
48 b.putString(ARG_KEY, key);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSparseArrayObjectAdapter.java8 * with an integer key which determines its order relative to other objects.
55 * Returns the index for the given key in the adapter.
57 * @param key The key to find in the array.
60 public int indexOf(int key) { argument
61 return mItems.indexOfKey(key);
76 * Sets the item for the given key.
78 * @param key The key associated with the item.
79 * @param item The item associated with the key
81 set(int key, Object item) argument
100 clear(int key) argument
123 lookup(int key) argument
[all...]
/frameworks/support/v4/api21/android/support/v4/media/
H A DMediaMetadataCompatApi21.java31 public static Bitmap getBitmap(Object metadataObj, String key) { argument
32 return ((MediaMetadata)metadataObj).getBitmap(key);
35 public static long getLong(Object metadataObj, String key) { argument
36 return ((MediaMetadata)metadataObj).getLong(key);
39 public static Object getRating(Object metadataObj, String key) { argument
40 return ((MediaMetadata)metadataObj).getRating(key);
43 public static CharSequence getText(Object metadataObj, String key) { argument
44 return ((MediaMetadata) metadataObj).getText(key);
60 public static void putBitmap(Object builderObj, String key, Bitmap value) { argument
61 ((MediaMetadata.Builder)builderObj).putBitmap(key, valu
64 putLong(Object builderObj, String key, long value) argument
68 putRating(Object builderObj, String key, Object ratingObj) argument
72 putText(Object builderObj, String key, CharSequence value) argument
76 putString(Object builderObj, String key, String value) argument
[all...]
/frameworks/support/v4/tests/java/android/support/v4/app/
H A DFragmentTransitionTest.java366 private boolean waitForStart(TestFragment fragment, int key) throws InterruptedException { argument
367 boolean started = fragment.waitForStart(key);
372 private boolean waitForEnd(TestFragment fragment, int key) throws InterruptedException { argument
373 if (!waitForStart(fragment, key)) {
376 final boolean ended = fragment.waitForEnd(key);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DListPreferenceDialogFragmentCompat.java37 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);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DThreadUtilTest.java173 private void initWait(String key) throws InterruptedException { argument
174 results.put(key, new LockedObject());
177 private Object[] waitFor(String key) throws InterruptedException { argument
178 return results.get(key).waitFor();
181 private void setResultData(String key, Object... args) { argument
182 if (results.containsKey(key)) {
183 results.get(key).set(args);
/frameworks/volley/src/main/java/com/android/volley/
H A DCache.java28 * @param key Cache key
31 public Entry get(String key); argument
35 * @param key Cache key
38 public void put(String key, Entry entry); argument
48 * @param key Cache key
51 public void invalidate(String key, boolean fullExpire); argument
55 * @param key Cach
57 remove(String key) argument
[all...]
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockCache.java37 public Entry get(String key) { argument
47 public void put(String key, Entry entry) { argument
49 keyPut = key;
54 public void invalidate(String key, boolean fullExpire) { argument
58 public void remove(String key) { argument
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp46 * Parses a JSON Web Key Set string, initializes a KeyMap with key id:key
47 * pairs from the JSON Web Key Set. Both key ids and keys are base64url
48 * encoded. The KeyMap contains base64url decoded key id:key pairs.
61 // all the base64 encoded keys. Each key is also stored separately as
81 ALOGE("Must have both key id and key in the JsonWebKey set.");
86 ALOGE("Failed to decode key id(%s)", encodedKeyId.string());
91 ALOGE("Failed to decode key(
135 String8 key, value; local
154 findValue(const String8 &key, String8* value) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp47 String8 key = String8(pair, eqIdx); local
54 if (mParameters.indexOfKey(key) < 0) {
55 mParameters.add(key, value);
57 mParameters.replaceValueFor(key, value);
60 ALOGV("AudioParameter() cstor empty key value pair");
87 status_t AudioParameter::add(const String8& key, const String8& value) argument
89 if (mParameters.indexOfKey(key) < 0) {
90 mParameters.add(key, value);
93 mParameters.replaceValueFor(key, value);
98 status_t AudioParameter::addInt(const String8& key, cons argument
109 addFloat(const String8& key, const float value) argument
120 remove(const String8& key) argument
130 get(const String8& key, String8& value) argument
140 getInt(const String8& key, int& value) argument
156 getFloat(const String8& key, float& value) argument
172 getAt(size_t index, String8& key, String8& value) argument
[all...]

Completed in 1198 milliseconds

1234567891011>>