/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/ |
H A D | OperationScheduler.java | 195 * @param name of SharedPreferences key 197 * @return current value attached to key (default 0), limited by max 330 for (String key : new TreeSet<String>(mStorage.getAll().keySet())) { // Sort keys 331 if (key.startsWith(PREFIX)) { 332 if (key.endsWith("TimeMillis")) { 334 time.set(mStorage.getLong(key, 0)); 335 out.append(" ").append(key.substring(PREFIX.length(), key.length() - 10)); 338 out.append(" ").append(key.substring(PREFIX.length())); 339 out.append("=").append(mStorage.getAll().get(key) [all...] |
/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/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxyTestCase.java | 523 String key = keyFor(assetFilename, assetMimeType); 524 if (mContentUriMap.containsKey(key)) { 525 return mContentUriMap.get(key); 541 mContentUriMap.put(key, uri);
|
/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
|
H A D | jni_stochastic_linear_ranker.h | 174 jstring key,
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | AggregatorManager.java | 75 v.key = x.getKey();
|
H A D | BordeauxAggregatorManager.java | 66 m.put(sample.get(i).key, sample.get(i).value);
|
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 | BordeauxService.java | 126 BordeauxSessionManager.SessionKey key = 128 Log.i(TAG, "request learning session: " + key.value); 130 IBinder iLearner = mSessionManager.getSessionBinder(learnerClass, key);
|
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...] |
H A D | ILearning_StochasticLinearRanker.aidl | 33 boolean SetModelParameter(in String key, in String value);
|
H A D | Learning_StochasticLinearRanker.java | 56 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);
|
H A D | StochasticLinearRankerWithPrior.java | 176 public boolean setModelParameter(String key, String value){ argument 177 if (key.equals(USE_AUTO_ALPHA)){ 179 } else if (key.equals(USE_PRIOR)){ 181 } else if (key.equals(SET_ALPHA)){ 183 }else if (key.equals(SET_AUTO_ALPHA)){ 185 }else if (key.equals(SET_FORGET_RATE)){ 187 }else if (key.equals(SET_MIN_TRAIN_PAIR)){ 189 }else if (key.equals(SET_USER_PERF)){ 191 }else if (key.equals(SET_PRIOR_PERF)){ 193 }else if (key [all...] |
H A D | StringFloat.java | 7 public String key; field in class:StringFloat 33 out.writeString(key); 38 key = in.readString();
|
H A D | StringString.java | 7 public String key; field in class:StringString 33 out.writeString(key); 38 key = in.readString();
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 247 static void print_prop(const char *key, const char *name, void *user) { argument 251 snprintf(buf, sizeof(buf), "[%s]: [%s]\n", key, name);
|
/frameworks/native/include/android/ |
H A D | storage_manager.h | 103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key,
|
/frameworks/native/include/media/hardware/ |
H A D | CryptoAPI.h | 48 // Neither key nor iv are being used in this mode. 77 const uint8_t key[16],
|
/frameworks/native/include/utils/ |
H A D | BasicHashtable.h | 41 // hash code of the entry's key. 68 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const; 91 virtual bool compareBucketKey(const Bucket& bucket, const void* __restrict__ key) const = 0; 146 * within an array. The basic operations are finding entries by key, 155 * TKey: The key type. 163 * const TKey& getKey() const; // get the key from the entry 267 /* Finds the index of an entry with the specified key. 271 * key, then the sequence of entries returned is arbitrary. 274 * index: The index of the previous entry with the specified key, or -1 to 276 * hash: The hashcode of the key [all...] |
H A D | BlobCache.h | 29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache 39 // Create an empty blob cache. The blob cache will cache key/value pairs 40 // with key and value sizes less than or equal to maxKeySize and 42 // (key sizes plus value sizes) will not exceed maxTotalSize. 46 // given binary key. If the key or value are too large for the cache then 48 // value was previously associated with the given key - the old value will 49 // remain in the cache. If the given key and value are small enough to be 51 // values specified to the BlobCache constructor), then the key/value pair 53 // call to set may evict old key/valu [all...] |