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

1234567891011

/frameworks/base/services/java/com/android/server/usb/
H A DUsbDebuggingManager.java92 String key = new String(Arrays.copyOfRange(buffer, 2, count));
93 Slog.d(TAG, "Received public key: " + key);
95 msg.obj = key;
190 String key = (String)msg.obj;
191 String fingerprints = getFingerprints(key);
200 writeKey(key);
212 String key = (String)msg.obj;
213 mFingerprints = getFingerprints(key);
214 showConfirmationDialog(key, mFingerprint
221 getFingerprints(String key) argument
245 showConfirmationDialog(String key, String fingerprints) argument
260 writeKey(String key) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java102 private void overrideSettings(String key, String value) throws Exception { argument
103 assertTrue(Settings.Secure.putString(mContext.getContentResolver(), key, value));
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestController.java70 public void overridePreference(String key, boolean value); argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java437 SharedPreferences sharedPreferences, String key) {
436 onSharedPreferenceChanged( SharedPreferences sharedPreferences, String key) argument
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp205 // Pragma is actually a key-value pair. The value can be an empty string while
206 // the key cannot.
210 llvm::StringRef key = getStringFromOperand(node->getOperand(0)); local
212 if (key.empty()) {
213 ALOGW("%s contains pragma metadata with empty key (skip)!",
217 writeString(key, result->mStringPool, &cur_string_pool_offset),
219 } // key.empty()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java176 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...]
/frameworks/native/include/utils/
H A DGenerationCache.h32 virtual void operator()(EntryKey& key, EntryValue& value) = 0;
38 key(e.key), value(e.value),
40 Entry(const EntryKey& key, const EntryValue& value) : argument
41 key(key), value(value) { }
43 EntryKey key; member in struct:android::Entry
69 bool contains(const K& key) const;
73 const V& get(const K& key);
74 bool put(const K& key, cons
150 get(const K& key) argument
163 put(const K& key, const V& value) argument
180 remove(const K& key) argument
[all...]
H A DTypeHelpers.h223 * a key/value pair
231 KEY key; member in struct:android::key_value_pair_t
234 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { }
236 key_value_pair_t(const KEY& k) : key(k) { }
238 return strictly_order_type(key, o.key);
241 return key;
269 hash_t hash_type(const TKey& key);
[all...]
/frameworks/native/libs/utils/
H A DBlobCache.cpp54 void BlobCache::set(const void* key, size_t keySize, const void* value, argument
57 ALOGV("set: not caching because the key is too large: %d (limit: %d)",
67 ALOGV("set: not caching because the combined key/value size is too "
80 sp<Blob> dummyKey(new Blob(key, keySize, false));
87 sp<Blob> keyBlob(new Blob(key, keySize, true));
96 ALOGV("set: not caching new key/value pair because the "
105 ALOGV("set: created new cache entry with %d byte key and %d byte value",
126 ALOGV("set: updated existing cache entry with %d byte key and %d byte "
133 size_t BlobCache::get(const void* key, size_t keySize, void* value, argument
136 ALOGV("get: not searching because the key i
346 CacheEntry(const sp<Blob>& key, const sp<Blob>& value) argument
[all...]
/frameworks/native/libs/utils/tests/
H A DBasicHashtable_test.cpp123 const TKey& key, const TValue& value) {
124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value));
129 ssize_t index, const TKey& key) {
130 return h.find(index, hash_type(key), key);
135 const TKey& key) {
136 ssize_t index = find(h, -1, key);
145 static void getKeyValue(const TEntry& entry, int* key, int* value);
147 template <> void getKeyValue(const SimpleEntry& entry, int* key, in argument
122 add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, const TKey& key, const TValue& value) argument
128 find(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, ssize_t index, const TKey& key) argument
134 remove(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, const TKey& key) argument
152 getKeyValue(const ComplexEntry& entry, int* key, int* value) argument
166 int key, value; local
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp61 static void setBlob(const void* key, EGLsizeiANDROID keySize, argument
63 egl_cache_t::get()->setBlob(key, keySize, value, valueSize);
66 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, argument
68 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize);
135 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, argument
146 bc->set(key, keySize, value, valueSize);
174 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, argument
185 return bc->get(key, keySize, value, valueSize);
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java313 key = k;
317 String key; field in class:EventRecurrenceTest.Check
336 String recur = "FREQ=DAILY;" + ck.key + "=" + n;
/frameworks/opt/mms/src/java/com/google/android/mms/util/
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...]
/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/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...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp54 jstring key = (jstring) env->GetObjectArrayElement(keys, i); local
57 const char* keyStr = env->GetStringUTFChars(key, NULL);
64 env->ReleaseStringUTFChars(key, keyStr);
70 env->ReleaseStringUTFChars(key, keyStr);
72 env->DeleteLocalRef(key);
130 const char *key, int32_t value) {
131 jstring keyObj = env->NewStringUTF(key);
170 const char *key = msg->getEntryNameAt(i, &valueType); local
178 CHECK(msg->findInt32(key, &val));
187 CHECK(msg->findInt64(key,
128 SetMapInt32( JNIEnv *env, jobject hashMapObj, jmethodID hashMapPutID, const char *key, int32_t value) argument
322 AString key = tmp; local
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c576 int32_t drm_aesDecBuffer(uint8_t * Buffer, int32_t * BufferLen, AES_KEY *key) argument
599 AES_decrypt((dbuf + len), (dbuf + len), key);
623 AES_decrypt((uint8_t *)b2, buf, key);
642 AES_decrypt((uint8_t *)b3, (uint8_t *)b3, key);
672 AES_KEY key; local
678 AES_set_decrypt_key(keyValue, DRM_KEY_LEN * 8, &key);
680 if (drm_aesDecBuffer(pDcfLastData, &len, &key) < 0)
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeProgram.java171 private native boolean callNativeSetValue(String key, String value); argument
172 private native String callNativeGetValue(String key); argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp385 void GLEnv::AttachShader(int key, ShaderProgram* shader) { argument
386 ShaderProgram* existingShader = ShaderWithKey(key);
389 attached_shaders_[key] = shader;
392 void GLEnv::AttachVertexFrame(int key, VertexFrame* frame) { argument
393 VertexFrame* existingFrame = VertexFrameWithKey(key);
396 attached_vframes_[key] = frame;
399 ShaderProgram* GLEnv::ShaderWithKey(int key) { argument
400 return FindPtrOrNull(attached_shaders_, key);
403 VertexFrame* GLEnv::VertexFrameWithKey(int key) { argument
404 return FindPtrOrNull(attached_vframes_, key);
[all...]
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp86 virtual status_t setParameter(int key, const Parcel &request) {return OK;} argument
87 virtual status_t getParameter(int key, Parcel *reply) {return OK;} argument
/frameworks/base/native/android/
H A Dstorage_manager.cpp128 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, argument
140 String16 key16(key);
186 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, argument
188 mgr->mountObb(filename, key, cb, data);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java95 * @param key Refers to key used for encrypting the secure container
102 final String key, final String resFileName, final String publicResFileName,
108 return copyResourceInner(packageURI, cid, key, resFileName, publicResFileName,
320 private String copyResourceInner(Uri packageURI, String newCid, String key, String resFileName, argument
346 final String newCachePath = PackageHelper.createSdDir(sizeMb, newCid, key, Process.myUid(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java35 public IBinder key; field in class:NotificationData.Entry
44 public Entry(IBinder key, StatusBarNotification n, StatusBarIconView ic) { argument
45 this.key = key;
108 public Entry findByKey(IBinder key) { argument
110 if (e.key == key) {
129 public int add(IBinder key, StatusBarNotification notification, View row, View content, argument
132 entry.key = key;
142 remove(IBinder key) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletTicker.java92 public void add(IBinder key, StatusBarNotification notification) { argument
99 remove(key, false);
101 mKeys[mQueuePos] = key;
114 public void remove(IBinder key) { argument
115 remove(key, true);
118 public void remove(IBinder key, boolean advance) { argument
119 if (mCurrentKey == key) {
128 if (mKeys[i] == key) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java48 public void addNotification(IBinder key, StatusBarNotification notification) { argument
52 public void updateNotification(IBinder key, StatusBarNotification notification) { argument
56 public void removeNotification(IBinder key) { argument
124 protected void tick(IBinder key, StatusBarNotification n, boolean firstTime) { argument

Completed in 216 milliseconds

1234567891011