/frameworks/rs/ |
H A D | rsScriptC.cpp | 313 const char * key = mHal.info.exportedPragmaKeyList[i]; local 316 if (!strcmp(key, "version")) { 325 if (!strcmp(key, "stateVertex")) { 337 if (!strcmp(key, "stateRaster")) { 349 if (!strcmp(key, "stateFragment")) { 361 if (!strcmp(key, "stateStore")) {
|
/frameworks/rs/server/ |
H A D | TypeHelpers.h | 223 * 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/support/v4/java/android/support/v4/util/ |
H A D | SimpleArrayMap.java | 61 int indexOf(Object key, int hash) { argument 71 // If the hash code wasn't found, then we have no entry for this key. 76 // If the key at the returned index matches, that's what we want. 77 if (key.equals(mArray[index<<1])) { 81 // Search for a matching key after the index. 84 if (key.equals(mArray[end << 1])) return end; 87 // Search for a matching key before the index. 89 if (key.equals(mArray[i << 1])) return i; 93 // new entry for this key should go. We use the end of the 109 // If the hash code wasn't found, then we have no entry for this key 272 containsKey(Object key) argument 312 get(Object key) argument 363 put(K key, V value) argument 440 remove(Object key) argument [all...] |
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
H A D | JankTestBase.java | 229 * key=Value 236 * @param key 241 protected String getPropertyString(Bundle params, String key) argument 246 String value = prop.getProperty(key); 255 * key=Value 262 * @param key 267 protected long getPropertyLong(Bundle params, String key) argument 272 String value = prop.getProperty(key);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 102 * Returns the cache entry with the specified key if it exists, null otherwise. 105 public synchronized Entry get(String key) { argument 106 CacheHeader entry = mEntries.get(key); 112 File file = getFileForKey(key); 121 remove(key); 157 putEntry(entry.key, entry); 174 * @param key Cache key 178 public synchronized void invalidate(String key, boolean fullExpire) { argument 179 Entry entry = get(key); 194 put(String key, Entry entry) argument 217 remove(String key) argument 231 getFilenameForKey(String key) argument 241 getFileForKey(String key) argument 291 putEntry(String key, CacheHeader entry) argument 304 removeEntry(String key) argument 338 public String key; field in class:DiskBasedCache.CacheHeader 362 CacheHeader(String key, Entry entry) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.c | 158 memset(sessionPtrs[sessionId], 0, sizeof *sessionPtrs[sessionId]); // Zero out key data. 165 * Derives keys for encryption and signing from the encrypted session key. 169 * @return A Boolean value indicating whether key derivation was successful. 176 unsigned char key[KEY_SIZE]; member in struct:FwdLockFile_DeriveKeys_Data 185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE); 187 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, &pData->sessionRoundKeys) != 0) { 190 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key. 192 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); 193 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, 197 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 423 status_t NuPlayerDriver::setParameter(int key, const Parcel &request) { argument 427 status_t NuPlayerDriver::getParameter(int key, Parcel *reply) { argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 35 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 38 size_t keyLen = strlen(key); 50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
|
H A D | APacketSource.cpp | 44 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 47 size_t keyLen = strlen(key); 59 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
|
/frameworks/base/core/java/android/app/ |
H A D | SharedPreferencesImpl.java | 221 public String getString(String key, String defValue) { argument 224 String v = (String)mMap.get(key); 229 public Set<String> getStringSet(String key, Set<String> defValues) { argument 232 Set<String> v = (Set<String>) mMap.get(key); 237 public int getInt(String key, int defValue) { argument 240 Integer v = (Integer)mMap.get(key); 244 public long getLong(String key, long defValue) { argument 247 Long v = (Long)mMap.get(key); 251 public float getFloat(String key, float defValue) { argument 254 Float v = (Float)mMap.get(key); 258 getBoolean(String key, boolean defValue) argument 266 contains(String key) argument 307 putString(String key, String value) argument 313 putStringSet(String key, Set<String> values) argument 320 putInt(String key, int value) argument 326 putLong(String key, long value) argument 332 putFloat(String key, float value) argument 338 putBoolean(String key, boolean value) argument 345 remove(String key) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CaptureRequest.java | 100 public <T> T get(Key<T> key) { argument 101 return mSettings.get(key); 124 * <p>A request is considered equal to another is if it's set of key/values is equal, it's 259 * @param key The metadata field to write. 261 * type to the key. 263 public <T> void set(Key<T> key, T value) { argument 264 mRequest.mSettings.set(key, value); 271 * @throws IllegalArgumentException if the key was not valid 273 * @param key The metadata field to read. 274 * @return The value of that key, o 276 get(Key<T> key) argument [all...] |
H A D | CaptureResult.java | 62 public <T> T get(Key<T> key) { argument 63 return mResults.get(key); 122 * The key entries below this point are generated from metadata 756 * {@link CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL HARDWARE_LEVEL} key.
|
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 320 * @param key the key of the restriction 323 public void setUserRestriction(String key, boolean value) { argument 325 bundle.putBoolean(key, value); 333 * @param key the key of the restriction 337 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { argument 339 bundle.putBoolean(key, value); 347 * @param restrictionKey the string key representing the restriction 357 * @param restrictionKey the string key representin [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 439 * Mount an Opaque Binary Blob (OBB) file. If a <code>key</code> is 454 * @param key secret used to encrypt the OBB; may be <code>null</code> if no 459 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { argument 466 mMountService.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce);
|
/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/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtype.java | 180 * but the API supplies tools to deal with a key-value comma-separated list; see 249 * supplies tools to deal with a key-value comma-separated list; see 445 * @param key The key of extra value 448 public boolean containsExtraValueKey(String key) { argument 449 return getExtraValueHashMap().containsKey(key); 455 * @param key The key of extra value 456 * @return The value of the specified key 458 public String getExtraValueOf(String key) { argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 65 * TextLayoutCacheKey is the Cache key 77 * Get the size of the Cache key. 118 inline hash_t hash_type(const TextLayoutCacheKey& key) { argument 119 return key.hash();
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_CameraMetadata.cpp | 468 const char *key = keyScoped.c_str(); local 469 if (key == NULL) { 473 size_t keyLength = strlen(key); 475 ALOGV("%s (key = '%s')", __FUNCTION__, key); 485 if (strstr(key, str) == key) { // key begins with the section name 506 "Could not find section name for key '%s')", key); [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 78 private int createContainer(String localId, int size, String key, String filesystem, argument 84 return ms.createSecureContainer(fullId, size, filesystem, key, android.os.Process.myUid(), 88 private int mountContainer(String localId, String key) throws Exception { argument 93 return ms.mountSecureContainer(fullId, key, android.os.Process.myUid());
|
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...] |
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 377 const PathDescription& key = i.key(); local 378 if (key.type == kShapePath && 379 (key.shape.path.mPath == pair.getFirst() || 380 key.shape.path.mPath == pair.getSecond())) { 381 pathsToRemove.push(key); 412 * the original path as a cache key the first time a path is inserted
|
H A D | SkiaShader.cpp | 75 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, argument 77 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend), 107 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, argument 109 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { 186 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 188 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 265 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 267 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key, 304 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): 305 SkiaShader(kSweepGradient, key, SkShade 185 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 264 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 303 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument 317 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 377 SkiaComposeShader(SkiaShader* first, SkiaShader* second, SkXfermode::Mode mode, SkShader* key) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 37 Metadata is like a Bundle. It is sparse and each key can occur at 38 most once. The key is an integer and the value is the actual metadata. 53 // The key range [0 8192) is reserved for the system. 255 // Map to associate a Metadata key (e.g TITLE) with the offset of 257 // Used to look up if a key was present too. 279 | metadata key | // TITLE 308 // Check the metadata key. 418 * @return true if a value is present for the given key. 422 throw new IllegalArgumentException("Invalid key: " + metadataId); 428 // Caller must make sure the key i 434 getString(final int key) argument 442 getInt(final int key) argument 450 getBoolean(final int key) argument 458 getLong(final int key) argument 468 getDouble(final int key) argument 476 getByteArray(final int key) argument 484 getDate(final int key) argument 535 checkType(final int key, final int expectedType) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FrameFormat.java | 109 public boolean hasMetaKey(String key) { argument 110 return mMetaData != null ? mMetaData.containsKey(key) : false; 113 public boolean hasMetaKey(String key, Class expectedClass) { argument 114 if (mMetaData != null && mMetaData.containsKey(key)) { 115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) { 117 "FrameFormat meta-key '" + key + "' is of type " + 118 mMetaData.get(key).getClass() + " but expected to be of type " + 126 public Object getMetaValue(String key) { argument 127 return mMetaData != null ? mMetaData.get(key) [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.cpp | 77 jstring key, 81 const std::string c_key = ToCppString(env, key); 85 ALOGE("ShaderProgram: Could not convert java object value passed for key '%s'!", c_key.c_str()); 92 jstring key) { 94 const std::string c_key = ToCppString(env, key); 75 Java_android_filterfw_core_ShaderProgram_setUniformValue(JNIEnv* env, jobject thiz, jstring key, jobject value) argument 90 Java_android_filterfw_core_ShaderProgram_getUniformValue(JNIEnv* env, jobject thiz, jstring key) argument
|