Searched refs:key (Results 276 - 300 of 578) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/util/
H A DMapCollections.java153 final Object key = colGetEntry(mIndex, 0);
155 return (key == null ? 0 : key.hashCode()) ^
258 final Object key = colGetEntry(i, 0);
260 result += ( (key == null ? 0 : key.hashCode()) ^
552 protected abstract int colIndexOfKey(Object key); argument
553 protected abstract int colIndexOfValue(Object key); argument
555 protected abstract void colPut(K key, V value); argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsProvider.java78 public static final String KEY = "key";
204 final ContentValues key = new ContentValues();
217 key.put(StateColumns.AUTHORITY, authority);
218 key.put(StateColumns.ROOT_ID, rootId);
219 key.put(StateColumns.DOCUMENT_ID, documentId);
222 db.insertWithOnConflict(TABLE_STATE, null, key, SQLiteDatabase.CONFLICT_IGNORE);
232 key.put(ResumeColumns.PACKAGE_NAME, packageName);
235 db.insertWithOnConflict(TABLE_RESUME, null, key, SQLiteDatabase.CONFLICT_IGNORE);
319 final String key = getCursorString(cursor, RecentColumns.KEY);
320 db.delete(TABLE_RECENT, RecentColumns.KEY + "=?", new String[] { key });
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DMapCollections.java151 final Object key = colGetEntry(mIndex, 0);
153 return (key == null ? 0 : key.hashCode()) ^
256 final Object key = colGetEntry(i, 0);
258 result += ( (key == null ? 0 : key.hashCode()) ^
551 protected abstract int colIndexOfKey(Object key); argument
552 protected abstract int colIndexOfValue(Object key); argument
554 protected abstract void colPut(K key, V value); argument
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DRunTestCommand.java96 // -e <key> <value>
97 // key-value pairs
99 // key is "class", parameter is passed onto JUnit as class name to run
100 // key is "debug", parameter will determine whether to wait for debugger
108 String key = args[++i];
110 if (CLASS_PARAM.equals(key)) {
112 } else if (DEBUG_PARAM.equals(key)) {
114 } else if (RUNNER_PARAM.equals(key)) {
117 mParams.putString(key, value);
/frameworks/base/core/java/android/view/inputmethod/
H A DSparseRectFArray.java146 * @param key key to be checked.
148 private void checkIndex(final int key) { argument
152 if (mKeys[mCount - 1] >= key) {
153 throw new IllegalArgumentException("key must be greater than all existing keys.");
191 * Puts the rectangle with an integer key.
192 * @param key the key to be associated with the rectangle. It must be greater than all
202 public SparseRectFArrayBuilder append(final int key, argument
205 checkIndex(key);
[all...]
/frameworks/base/media/java/android/media/
H A DMediaHTTPConnection.java95 private boolean filterOutInternalHeaders(String key, String val) { argument
96 if ("android-allow-cross-domain-redirect".equalsIgnoreCase(key)) {
113 String key = pair.substring(0, colonPos);
116 if (!filterOutInternalHeaders(key, val)) {
117 map.put(key, val);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_program.cpp107 jstring key,
110 ALOGE("Native Program: Attempting to set null value for key %s!",
111 ToCppString(env, key).c_str());
115 const std::string c_key = ToCppString(env, key);
121 jstring key) {
123 const std::string c_key = ToCppString(env, key);
105 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument
119 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp46 const char *key = pInfo.getStringFromPool(pItem.key); local
49 if (key == NULL) {
50 ALOGE("Invalid string index %d for key in RS pragma list.", pItem.key);
59 pResult.push(std::make_pair(key, value));
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java171 int key = letter;
173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) {
246 alphaMap.put(key, pos);
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java133 + " at key " + entry.getKey());
140 Object key = array.keyAt(i);
141 Object expValue = map.get(key);
144 + " at key " + key);
174 Log.e("test", "Failed calling equals on map key set against array set");
179 Log.e("test", "Failed calling equals on array key set against map set");
184 Log.e("test", "Failed map key set contains all of array key set");
189 Log.e("test", "Failed array key se
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceInfo.java87 * @param txtMap TXT record with key/value pair in a map confirming to format defined at
100 for (String key : txtMap.keySet()) {
101 txtRecord.set(key, txtMap.get(key));
H A DWifiP2pDnsSdServiceResponse.java136 for (String key : mTxtRecord.keySet()) {
137 sbuf.append(" key:").append(key).append(" value:").append(mTxtRecord.get(key));
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java77 * 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/service/src/android/bordeaux/services/
H A DBordeauxService.java127 BordeauxSessionManager.SessionKey key =
129 Log.i(TAG, "request learning session: " + key.value);
131 IBinder iLearner = mSessionManager.getSessionBinder(learnerClass, key);
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp79 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN;
88 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapObexSession.java105 public boolean setAuthReply(String key) { argument
106 Log.d(TAG, "setAuthReply key=" + key);
112 mAuth.setReply(key);
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp250 void MediaCodecInfo::addDetail(const AString &key, const AString &value) { argument
251 mCurrentCaps->mDetails->setString(key.c_str(), value.c_str());
254 void MediaCodecInfo::addFeature(const AString &key, int32_t value) { argument
256 tag.append(key);
260 void MediaCodecInfo::addFeature(const AString &key, const char *value) { argument
262 tag.append(key);
/frameworks/base/core/java/android/hardware/
H A DCamera.java2137 // Parameter key suffix for supported values.
2417 * conflicts with {@link #setPreviewFrameRate(int)} whichever key is set later
2478 * semi-colon delimited key-value pairs
2498 * @param flattened a String of parameters (key-value paired) that
2517 public void remove(String key) { argument
2518 mMap.remove(key);
2524 * @param key the key name for the parameter
2527 public void set(String key, String value) { argument
2528 if (key
2546 set(String key, int value) argument
2550 put(String key, String value) argument
2561 set(String key, List<Area> areas) argument
2592 get(String key) argument
2602 getInt(String key) argument
4106 getFloat(String key, float defaultValue) argument
4115 getInt(String key, int defaultValue) argument
[all...]
/frameworks/rs/
H A DrsScriptC.cpp302 const char * key = mHal.info.exportedPragmaKeyList[i]; local
305 if (!strcmp(key, "version")) {
314 if (!strcmp(key, "stateVertex")) {
326 if (!strcmp(key, "stateRaster")) {
338 if (!strcmp(key, "stateFragment")) {
350 if (!strcmp(key, "stateStore")) {
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp81 DrmCopyControl key = (DrmCopyControl)data.readInt32(); local
83 handle->copyControlVector.add(key, value);
88 String8 key = data.readString8(); local
90 handle->extendedData.add(key, value);
175 const String8 key(reply.readString8());
181 drmConstraints->put(&key, data);
205 const String8 key(reply.readString8());
211 drmMetadata->put(&key, data);
255 const String8 key = keyIt.next(); local
256 data.writeString8(key);
300 const String8 key = keyIt.next(); local
863 const String8 key = keyIt.next(); local
895 const String8 key = keyIt.next(); local
1018 const String8 key = keyIt.next(); local
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DAesCtrDecryptorUnittest.cpp33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, argument
37 keyVector.appendArray(key, kBlockSize);
45 void attemptDecryptExpectingSuccess(const Key& key, const Iv& iv, argument
52 ASSERT_EQ(android::OK, attemptDecrypt(key, iv, encrypted, outputBuffer,
65 Key key = { local
101 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted,
110 Key key = { local
147 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted,
156 Key key = { local
193 attemptDecryptExpectingSuccess<kTotalSize>(key, i
202 Key key = { local
251 Key key = { local
305 Key key = { local
360 Key key = { local
[all...]
/frameworks/av/include/media/
H A DIMediaPlayer.h68 virtual status_t setParameter(int key, const Parcel& request) = 0;
69 virtual status_t getParameter(int key, Parcel* reply) = 0;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h58 virtual status_t setParameter(int key, const Parcel &request);
59 virtual status_t getParameter(int key, Parcel *reply);
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureRequest.java116 * specific key might look like {@code "com.google.nexus.data.private"}.</p>
118 * @return String representation of the key name
200 * <p>Querying the value for the same key more than once will return a value
203 * @throws IllegalArgumentException if the key was not valid
205 * @param key The result field to read.
206 * @return The value of that key, or {@code null} if the field is not set.
208 public <T> T get(Key<T> key) { argument
209 return mSettings.get(key);
218 protected <T> T getProtected(Key<?> key) { argument
219 return (T) mSettings.get(key);
415 set(Key<T> key, T value) argument
428 get(Key<T> key) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java300 * @param key (optional) The key to use to unencrypt the OBB; pass null for no encryption
304 protected String mountObb(String obbFilePath, String key, int expectedState) { argument
305 return doMountObb(obbFilePath, key, expectedState);
352 protected String doMountObb_noThrow(String obbFilePath, String key, int expectedState) { argument
353 Log.i(LOG_TAG, "doMountObb() on " + obbFilePath + " using key: " + key);
358 boolean success = mSm.mountObb(obbFilePath, key, obbListener);
380 * @param key (optional) The key t
385 doMountObb(String obbFilePath, String key, int expectedState) argument
[all...]

Completed in 556 milliseconds

<<11121314151617181920>>