/frameworks/base/core/java/android/util/ |
H A D | MapCollections.java | 153 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 D | RecentsProvider.java | 78 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 D | MapCollections.java | 151 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 D | RunTestCommand.java | 96 // -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 D | SparseRectFArray.java | 146 * @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 D | MediaHTTPConnection.java | 95 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 D | jni_native_program.cpp | 107 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 D | RSInfoReader.cpp | 46 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 D | AlphabetIndexer.java | 171 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 D | ArrayMapTests.java | 133 + " 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 D | WifiP2pDnsSdServiceInfo.java | 87 * @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 D | WifiP2pDnsSdServiceResponse.java | 136 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 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/service/src/android/bordeaux/services/ |
H A D | BordeauxService.java | 127 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 D | InputChannel_test.cpp | 79 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 D | BluetoothPbapObexSession.java | 105 public boolean setAuthReply(String key) { argument 106 Log.d(TAG, "setAuthReply key=" + key); 112 mAuth.setReply(key);
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 250 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 D | Camera.java | 2137 // 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 D | rsScriptC.cpp | 302 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 D | IDrmManagerService.cpp | 81 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 D | AesCtrDecryptorUnittest.cpp | 33 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 D | IMediaPlayer.h | 68 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 D | NuPlayerDriver.h | 58 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 D | CaptureRequest.java | 116 * 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 D | StorageManagerBaseTest.java | 300 * @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...] |