Searched refs:key (Results 1 - 25 of 403) sorted by last modified time

1234567891011>>

/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/wilhelm/tools/hashgen/
H A Dpart8.c1 if (key <= MAX_HASH_VALUE) {
2 int MPH = hash_to_MPH[key];
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DRunTestCommand.java81 // -e <key> <value>
82 // key-value pairs
84 // key is "class", parameter is passed onto JUnit as class name to run
85 // key is "debug", parameter will determine whether to wait for debugger
92 String key = args[++i];
94 if (CLASS_PARAM.equals(key)) {
96 } else if (DEBUG_PARAM.equals(key)) {
98 } else if (RUNNER_PARAM.equals(key)) {
101 mParams.putString(key, value);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java166 for (String key : results.keySet()) {
167 System.out.println("INSTRUMENTATION_STATUS: " + key + "="
168 + results.get(key));
189 for (String key : results.keySet()) {
190 System.out.println("INSTRUMENTATION_RESULT: " + key + "="
191 + results.get(key));
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC.cpp165 const char * key = mHal.info.exportedPragmaKeyList[i]; local
168 if (!strcmp(key, "version")) {
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java191 String key = "f" + i;
192 mFragmentManager.putFragment(state, key, f);
212 for (String key: keys) {
213 if (key.startsWith("f")) {
214 int index = Integer.parseInt(key.substring(1));
215 Fragment f = mFragmentManager.getFragment(bundle, key);
223 Log.w(TAG, "Bad fragment at key " + key);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java278 * @param key The name of the entry in the bundle.
281 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument
288 * @param key The name of the entry in the bundle.
292 public abstract Fragment getFragment(Bundle bundle, String key); argument
544 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument
549 bundle.putInt(key, fragment.mIndex);
553 public Fragment getFragment(Bundle bundle, String key) { argument
554 int index = bundle.getInt(key, -1);
559 throwException(new IllegalStateException("Fragement no longer exists for key "
560 + key
[all...]
H A DFragmentStatePagerAdapter.java187 String key = "f" + i;
188 mFragmentManager.putFragment(state, key, f);
208 for (String key: keys) {
209 if (key.startsWith("f")) {
210 int index = Integer.parseInt(key.substring(1));
211 Fragment f = mFragmentManager.getFragment(bundle, key);
219 Log.w(TAG, "Bad fragment at key " + key);
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java67 * Gets the Object mapped from the specified key, or <code>null</code>
70 public E get(long key) { argument
71 return get(key, null);
75 * Gets the Object mapped from the specified key, or the specified Object
79 public E get(long key, E valueIfKeyNotFound) { argument
80 int i = binarySearch(mKeys, 0, mSize, key);
90 * Removes the mapping from the specified key, if there was any.
92 public void delete(long key) { argument
93 int i = binarySearch(mKeys, 0, mSize, key);
106 public void remove(long key) { argument
153 put(long key, E value) argument
257 indexOfKey(long key) argument
304 append(long key, E value) argument
334 binarySearch(long[] a, int start, int len, long key) argument
[all...]
H A DLruCache.java56 * Returns the value for {@code key} if it exists in the cache or can be
61 public final V get(K key) { argument
62 if (key == null) {
63 throw new NullPointerException("key == null");
68 mapValue = map.get(key);
83 V createdValue = create(key);
90 mapValue = map.put(key, createdValue);
94 map.put(key, mapValue);
96 size += safeSizeOf(key, createdValue);
101 entryRemoved(false, key, createdValu
115 put(K key, V value) argument
176 remove(K key) argument
211 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument
228 create(K key) argument
232 safeSizeOf(K key, V value) argument
247 sizeOf(K key, V value) argument
[all...]
H A DSparseArrayCompat.java48 * Gets the Object mapped from the specified key, or <code>null</code>
51 public E get(int key) { argument
52 return get(key, null);
56 * Gets the Object mapped from the specified key, or the specified Object
59 public E get(int key, E valueIfKeyNotFound) { argument
60 int i = binarySearch(mKeys, 0, mSize, key);
70 * Removes the mapping from the specified key, if there was any.
72 public void delete(int key) { argument
73 int i = binarySearch(mKeys, 0, mSize, key);
86 public void remove(int key) { argument
145 put(int key, E value) argument
248 indexOfKey(int key) argument
295 append(int key, E value) argument
325 binarySearch(int[] a, int start, int len, int key) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1253 private void include(List<Arc> arcs, Interval key, MutableInt size, argument
1261 if (key.size() == 0) {
1269 if (span.equals(key)) {
1274 arcs.add(new Arc(key, size));
1277 private void include(List<Arc> arcs, Interval key, MutableInt size) { argument
1278 include(arcs, key, size, true);
1347 Interval key = links.keys[i];
1348 include(result, key, links.values[i], false);
1968 In place of a HashMap from span to Int, use an array of key/value pairs - stored in Arcs.
2023 public void put(K key, argument
[all...]
/frameworks/support/volley/src/com/android/volley/
H A DCache.java25 * @param key Cache key
28 public Entry get(String key); argument
32 * @param key Cache key
35 public void put(String key, Entry entry); argument
45 * @param key Cache key
48 public void invalidate(String key, boolean fullExpire); argument
52 * @param key Cach
54 remove(String key) argument
[all...]
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java101 * Returns the cache entry with the specified key if it exists, null otherwise.
104 public synchronized Entry get(String key) { argument
105 CacheHeader entry = mEntries.get(key);
111 File file = getFileForKey(key);
120 remove(key);
149 putEntry(entry.key, entry);
166 * @param key Cache key
170 public synchronized void invalidate(String key, boolean fullExpire) { argument
171 Entry entry = get(key);
186 put(String key, Entry entry) argument
209 remove(String key) argument
223 getFilenameForKey(String key) argument
233 getFileForKey(String key) argument
283 putEntry(String key, CacheHeader entry) argument
296 removeEntry(String key) argument
329 public String key; field in class:DiskBasedCache.CacheHeader
350 CacheHeader(String key, Entry entry) argument
[all...]
H A DHttpClientStack.java50 for (String key : headers.keySet()) {
51 httpRequest.setHeader(key, headers.get(key));
58 for (String key : postParams.keySet()) {
59 result.add(new BasicNameValuePair(key, postParams.get(key)));
H A DNoCache.java30 public Entry get(String key) { argument
35 public void put(String key, Entry entry) { argument
39 public void invalidate(String key, boolean fullExpire) { argument
43 public void remove(String key) { argument
/frameworks/support/volley/tests/src/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/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { argument
32 mContentValues.put(key, value);
37 public ContentValuesBuilder put(String key, Byte value) {
38 mContentValues.put(key, value);
42 public ContentValuesBuilder put(String key, Short value) {
43 mContentValues.put(key, value);
47 public ContentValuesBuilder put(String key, Integer value) { argument
48 mContentValues.put(key, value);
53 public ContentValuesBuilder put(String key, Long value) {
54 mContentValues.put(key, valu
73 put(String key, byte[] value) argument
78 putNull(String key) argument
[all...]
H A DImportTestProvider.java103 for (String key: keyToBeRemoved) {
104 actualContentValues.remove(key);
184 final String key = entry.getKey();
187 if (Data.MIMETYPE.equals(key)) {
190 TestCase.assertNotNull(key);
191 sortedMap.put(key, valueString);
199 final String key = entry.getKey();
202 builder.append(key);
219 final String key = entry.getKey();
221 if (!actual.containsKey(key)) {
[all...]
/frameworks/rs/
H A DrsScriptC.cpp271 const char * key = mHal.info.exportedPragmaKeyList[i]; local
274 if (!strcmp(key, "version")) {
282 if (!strcmp(key, "stateVertex")) {
294 if (!strcmp(key, "stateRaster")) {
306 if (!strcmp(key, "stateFragment")) {
318 if (!strcmp(key, "stateStore")) {
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java539 String key = contentValues.getAsString(Data.MIMETYPE);
540 if (key != null) {
542 contentValuesListMap.get(key);
545 contentValuesListMap.put(key, contentValuesList);
579 * Builds and returns vCard using given map, whose key is CONTENT_ITEM_TYPE defined in
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java217 String key = pair[0].trim();
220 if (STR_TAG.equals(key)) {
222 } else if (STR_NUMBER.equals(key)) {
224 } else if (STR_EMAILS.equals(key)) {
227 } else if (STR_PIN2.equals(key)) {
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java184 protected void entryRemoved(boolean evicted, String key, argument
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DAbstractCache.java37 public boolean put(K key, V value) { argument
39 Log.v(TAG, "Trying to put " + key + " into cache.");
51 if (key != null) {
54 mCacheMap.put(key, cacheEntry);
57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
64 public V get(K key) { argument
66 Log.v(TAG, "Trying to get " + key + " from cache.");
69 if (key != null) {
70 CacheEntry<V> cacheEntry = mCacheMap.get(key);
74 Log.v(TAG, key
82 purge(K key) argument
[all...]
H A DPduCache.java163 private PduCacheEntry purgeSingleEntry(Uri key) { argument
164 mUpdating.remove(key);
165 PduCacheEntry entry = super.purge(key);
167 removeFromThreads(key, entry);
168 removeFromMessageBoxes(key, entry);
185 * @return Uri The normalized key of cached entry.
220 for (Uri key : msgBox) {
221 mUpdating.remove(key);
222 PduCacheEntry entry = super.purge(key);
224 removeFromThreads(key, entr
231 removeFromThreads(Uri key, PduCacheEntry entry) argument
255 removeFromMessageBoxes(Uri key, PduCacheEntry entry) argument
[all...]

Completed in 298 milliseconds

1234567891011>>