/frameworks/wilhelm/src/autogen/ |
H A D | IID_to_MPH.c | 248 unsigned key = asso_values[((unsigned char *)iid)[8]] + local 250 if (key <= MAX_HASH_VALUE) { 251 int MPH = hash_to_MPH[key];
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsScriptC.cpp | 165 const char * key = mHal.info.exportedPragmaKeyList[i]; local 168 if (!strcmp(key, "version")) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 278 * @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...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 67 * 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 D | LruCache.java | 56 * 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 D | SparseArrayCompat.java | 48 * 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 D | GridLayout.java | 1253 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 D | Cache.java | 25 * @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 D | DiskBasedCache.java | 101 * 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 D | NoCache.java | 30 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 D | MockCache.java | 37 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 D | ContentValuesBuilder.java | 31 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...] |
/frameworks/rs/ |
H A D | rsScriptC.cpp | 271 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/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 184 protected void entryRemoved(boolean evicted, String key, argument
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | AbstractCache.java | 37 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 D | PduCache.java | 163 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...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | EventRecurrenceTest.java | 313 key = k; 317 String key; field in class:EventRecurrenceTest.Check 336 String recur = "FREQ=DAILY;" + ck.key + "=" + n;
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | ProjectionMap.java | 84 public String put(String key, String value) { argument
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 180 protected void entryRemoved(boolean evicted, String key, argument
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
H A D | StochasticLinearRanker.java | 77 * Get the rank score of the sample, a sample is a list of key, value pairs. 133 public boolean setModelParameter(String key, String value){ argument 134 boolean res = nativeSetParameterClassifier(key, value, mNativeClassifier); 191 private native boolean nativeSetParameterClassifier(String key, String value, argument
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 36 const char *key = env->GetStringUTFChars(s, &iscopy); local 37 sample->SetElement(key, static_cast<double>(values[i])); 38 env->ReleaseStringUTFChars(s,key); 58 std::string key = iter->first; local 60 jstring jstr = env->NewStringUTF(key.c_str()); 98 jstring key, 104 const char *cKey = env->GetStringUTFChars(key, &iscopy); 95 Java_android_bordeaux_learning_StochasticLinearRanker_nativeSetParameterClassifier( JNIEnv* env, jobject thiz, jstring key, jstring value, jint paPtr) argument
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxPredictor.java | 95 public boolean setParameter(String key, String value) { argument 99 return mPredictor.setPredictorParameter(key, value);
|
H A D | BordeauxRanker.java | 33 * 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 D | BordeauxSessionManager.java | 82 public LearningUpdateCallback(String key) { argument 83 mKey = key; 100 // internal unique key that identifies the learning instance. 104 SessionKey key = new SessionKey(); 105 key.value = callingUid + "#" + "_" + name + "_" + learnerClass.getName(); 106 return key; 109 public IBinder getSessionBinder(Class learnerClass, SessionKey key) { argument 110 if (mSessions.containsKey(key.value)) { 111 return mSessions.get(key.value).learner.getBinder(); 116 Session stored = mSessionStorage.getSession(key 155 saveSession(SessionKey key) argument [all...] |
H A D | BordeauxSessionStorage.java | 35 // unique key for the session 36 public static final String COLUMN_KEY = "key"; 49 " TEXT primary key, " + COLUMN_CLASS + " TEXT, " + 84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) { argument 86 entry.put(COLUMN_KEY, key); 93 boolean saveSession(String key, Class learner, byte[] model) { argument 94 ContentValues content = createSessionEntry(key, learner, model); 115 BordeauxSessionManager.Session getSession(String key) { argument 118 COLUMN_KEY + "=\"" + key + "\"", null, null, null, null, null); 125 throw new RuntimeException("Unexpected duplication in session table for key [all...] |