/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSInfo.h | 98 // Pragma is a key-value pair. 99 StringIndexTy key; member in struct:bcc::rsinfo::PragmaItem
|
/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, jlong paPtr) argument
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 79 } key; member in union:android::InputMessage::Body 201 /* Publishes a key event to the input channel.
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 135 * Binds to the given key and start the decode process. This will first look in the cache, then 136 * decode from the request key if not found. 138 * The key being replaced will be kept in {@link #mPrevKey}. 142 public void bind(RequestKey key) { argument 144 if (mCurrKey != null && mCurrKey.equals(key)) { 148 setImage(key); 153 * Unbinds the current key and bitmap from the drawable. This will cause the bitmap to decrement 156 * This will assume that you do not want to keep the unbound key in {@link #mPrevKey}. 165 * Unbinds the current key and bitmap from the drawable. This will cause the bitmap to decrement 168 * If the temporary parameter is true, we will keep the unbound key i 184 setImage(final RequestKey key) argument 257 fileDescriptorFactoryCreated(final RequestKey key, final FileDescriptorFactory factory) argument 389 onDecodeBegin(final RequestKey key) argument 392 onDecodeComplete(final RequestKey key, final ReusableBitmap result) argument 405 onDecodeCancel(final RequestKey key) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 169 * Returns the encryption key or {@code null} if it is not present. 176 * Sets the encryption method and the encryption key. The field will be 179 public void setEncryption(String method, String key) { argument 180 mFields.setEncryption(method, key); 385 * has three parts: a key, a delimiter, and a value. Delimiters are special 439 * Returns the encryption key or {@code null} if it is not present. 451 * Sets the encryption method and the encryption key. The field will be 454 public void setEncryption(String method, String key) { argument 455 set("k", '=', (method == null || key == null) ? 456 method : method + ':' + key); 568 find(String key, char delimiter) argument 584 set(String key, char delimiter, String value) argument 603 get(String key, char delimiter) argument [all...] |
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 190 * A String key for identifying the content. This value is specific to the 192 * unique key for the underlying content. 268 * Returns true if the given key is contained in the metadata 270 * @param key a String key 271 * @return true if the key exists in this metadata, false otherwise 273 public boolean containsKey(String key) { argument 274 return mBundle.containsKey(key); 278 * Returns the value associated with the given key, or null if no mapping of 279 * the desired type exists for the given key o 285 getText(String key) argument 297 getString(String key) argument 312 getLong(String key) argument 323 getRating(String key) argument 341 getBitmap(String key) argument 612 putText(String key, CharSequence value) argument 649 putString(String key, String value) argument 676 putLong(String key, long value) argument 700 putRating(String key, RatingCompat value) argument 725 putBitmap(String key, Bitmap value) argument [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/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/drmserver/ |
H A D | DrmManager.cpp | 588 String8 key = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo); local 589 IDrmEngine& drmEngine = mPlugInManager.getPlugIn(key); 592 plugInId = key;
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 729 MockCryptoPlugin::decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], argument 733 ALOGD("MockCryptoPlugin::decrypt(secure=%d, key=%s, iv=%s, mode=%d, src=%p, " 736 arrayToString(key, sizeof(key)).string(),
|
/frameworks/av/media/libmedia/ |
H A D | IDrm.cpp | 196 String8 key = reply.readString8(); local 198 infoMap.add(key, value); 557 String8 key, value; local 558 key = data.readString8(); 560 optionalParameters.add(key, value);
|
H A D | IMediaPlayer.cpp | 283 status_t setParameter(int key, const Parcel& request) argument 287 data.writeInt32(key); 295 status_t getParameter(int key, Parcel *reply) argument 299 data.writeInt32(key); 376 String8 key = data.readString8(); local 378 headers.add(key, value); 509 int key = data.readInt32(); local 517 reply->writeInt32(setParameter(key, request));
|
H A D | mediaplayer.cpp | 645 status_t MediaPlayer::checkStateForKeySet_l(int key) argument 647 switch(key) { 663 status_t MediaPlayer::setParameter(int key, const Parcel& request) argument 665 ALOGV("MediaPlayer::setParameter(%d)", key); 667 if (checkStateForKeySet_l(key) != OK) { 671 return mPlayer->setParameter(key, request); 673 switch (key) { 686 status_t MediaPlayer::getParameter(int key, Parcel *reply) argument 688 ALOGV("MediaPlayer::getParameter(%d)", key); 691 return mPlayer->getParameter(key, repl [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 600 int key; member in struct:android::Map 635 meta->setCString(kMap[i].key, s);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 704 AString key(line, 0, colonPos); 705 key.trim(); 706 key.tolower(); 710 lastDictIndex = response->mHeaders.add(key, line); 930 uint8_t key[16]; local 931 MD5_Final(key, &m); 934 char nibble = key[i] >> 4; 942 nibble = key[i] & 0x0f;
|
H A D | MyTransmitter.h | 52 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 55 size_t keyLen = strlen(key); 63 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { 243 uint8_t key[16]; local 244 MD5_Final(key, &m); 247 char nibble = key[i] >> 4; 255 nibble = key[i] & 0x0f;
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 363 uint8_t key[16]; member in struct:AMediaCodecCryptoInfo 390 crypto->key, 408 uint8_t key[16], 422 memcpy(ret->key, key, 16); 456 memcpy(dst, ci->key, 16); 406 AMediaCodecCryptoInfo_new( int numsubsamples, uint8_t key[16], uint8_t iv[16], cryptoinfo_mode_t mode, size_t *clearbytes, size_t *encryptedbytes) argument
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyService.cpp | 805 String8 key; local 807 param.getAt(j, key, value); 812 if (key2 == key) { 820 // otherwise, update the key value pairs
|
/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/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 130 * specific key might look like {@code "com.google.nexus.data.private"}.</p> 132 * @return String representation of the key name 147 * Compare this key against other native keys, request keys, result keys, and 152 * <p>Note that the equality against non-native keys is one-way. A native key may be equal 153 * to a result key; but that same result key will not be equal to a native key.</p> 185 * Get the tag corresponding to this key. This enables insertion into the 202 * Get the raw class backing the type {@code T} for this key. 213 * Get the type reference backing the type {@code T} for this key 321 get(CameraCharacteristics.Key<T> key) argument 328 get(CaptureResult.Key<T> key) argument 335 get(CaptureRequest.Key<T> key) argument 345 get(Key<T> key) argument 381 set(Key<T> key, T value) argument 391 set(CaptureRequest.Key<T> key, T value) argument 395 set(CaptureResult.Key<T> key, T value) argument 399 set(CameraCharacteristics.Key<T> key, T value) argument 439 getBase(CameraCharacteristics.Key<T> key) argument 443 getBase(CaptureResult.Key<T> key) argument 447 getBase(CaptureRequest.Key<T> key) argument 451 getBase(Key<T> key) argument 840 getMaxRegions(Key<T> key) argument 863 getMaxNumOutputs(Key<T> key) argument 903 setBase(CameraCharacteristics.Key<T> key, T value) argument 907 setBase(CaptureResult.Key<T> key, T value) argument 911 setBase(CaptureRequest.Key<T> key, T value) argument 915 setBase(Key<T> key, T value) argument 1104 getTag(String key) argument 1182 getMarshalerForKey(Key<T> key) argument [all...] |
/frameworks/base/core/java/android/net/nsd/ |
H A D | NsdManager.java | 137 * The lookup key for an int that indicates whether network service discovery is enabled 318 Log.d(TAG, "Stale key " + message.arg2); 379 // return its key. 383 int key; 390 key = mListenerKey++; 391 } while (key == INVALID_LISTENER_KEY); 392 mListenerMap.put(key, listener); 393 mServiceMap.put(key, s); 395 return key; 398 private Object getListener(int key) { argument 405 getNsdService(int key) argument 411 removeListener(int key) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BaseBundle.java | 262 * Returns true if the given key is contained in the mapping 265 * @param key a String key 266 * @return true if the key is part of the mapping, false otherwise 268 public boolean containsKey(String key) { argument 270 return mMap.containsKey(key); 274 * Returns the entry with the given key as an object. 276 * @param key a String key 279 public Object get(String key) { argument 289 remove(String key) argument 332 putBoolean(String key, boolean value) argument 344 putByte(String key, byte value) argument 356 putChar(String key, char value) argument 368 putShort(String key, short value) argument 380 putInt(String key, int value) argument 392 putLong(String key, long value) argument 404 putFloat(String key, float value) argument 416 putDouble(String key, double value) argument 428 putString(String key, String value) argument 440 putCharSequence(String key, CharSequence value) argument 452 putIntegerArrayList(String key, ArrayList<Integer> value) argument 464 putStringArrayList(String key, ArrayList<String> value) argument 476 putCharSequenceArrayList(String key, ArrayList<CharSequence> value) argument 488 putSerializable(String key, Serializable value) argument 500 putBooleanArray(String key, boolean[] value) argument 512 putByteArray(String key, byte[] value) argument 524 putShortArray(String key, short[] value) argument 536 putCharArray(String key, char[] value) argument 548 putIntArray(String key, int[] value) argument 560 putLongArray(String key, long[] value) argument 572 putFloatArray(String key, float[] value) argument 584 putDoubleArray(String key, double[] value) argument 596 putStringArray(String key, String[] value) argument 608 putCharSequenceArray(String key, CharSequence[] value) argument 620 getBoolean(String key) argument 628 typeWarning(String key, Object value, String className, Object defaultValue, ClassCastException e) argument 644 typeWarning(String key, Object value, String className, ClassCastException e) argument 657 getBoolean(String key, boolean defaultValue) argument 678 getByte(String key) argument 691 getByte(String key, byte defaultValue) argument 712 getChar(String key) argument 725 getChar(String key, char defaultValue) argument 746 getShort(String key) argument 759 getShort(String key, short defaultValue) argument 780 getInt(String key) argument 793 getInt(String key, int defaultValue) argument 814 getLong(String key) argument 827 getLong(String key, long defaultValue) argument 848 getFloat(String key) argument 861 getFloat(String key, float defaultValue) argument 882 getDouble(String key) argument 895 getDouble(String key, double defaultValue) argument 917 getString(String key) argument 939 getString(String key, String defaultValue) argument 952 getCharSequence(String key) argument 974 getCharSequence(String key, CharSequence defaultValue) argument 987 getSerializable(String key) argument 1009 getIntegerArrayList(String key) argument 1031 getStringArrayList(String key) argument 1053 getCharSequenceArrayList(String key) argument 1075 getBooleanArray(String key) argument 1097 getByteArray(String key) argument 1119 getShortArray(String key) argument 1141 getCharArray(String key) argument 1163 getIntArray(String key) argument 1185 getLongArray(String key) argument 1207 getFloatArray(String key) argument 1229 getDoubleArray(String key) argument 1251 getStringArray(String key) argument 1273 getCharSequenceArray(String key) argument [all...] |
H A D | UserManager.java | 391 * Application restriction key that is used to indicate the pending arrival 395 * Applications that support restrictions should check for the presence of this key. 628 * @param key the key of the restriction 636 public void setUserRestriction(String key, boolean value) { argument 638 bundle.putBoolean(key, value); 646 * @param key the key of the restriction 655 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { argument 657 bundle.putBoolean(key, valu [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/preference/ |
H A D | PreferenceManager.java | 51 * The Activity meta-data key for its XML preference hierarchy. 200 * the {@link #METADATA_KEY_PREFERENCES} key. 406 * Finds a {@link Preference} based on its key. 408 * @param key The key of the preference to retrieve. 409 * @return The {@link Preference} with the key, or null. 412 public Preference findPreference(CharSequence key) { argument 417 return mPreferenceScreen.findPreference(key);
|