/frameworks/av/media/libstagefright/foundation/ |
H A D | base64.cpp | 48 unsigned value; local 50 value = c - 'A'; 52 value = 26 + c - 'a'; 54 value = 52 + c - '0'; 56 value = 62; 58 value = 63; 66 value = 0; 69 accum = (accum << 6) | value;
|
/frameworks/base/core/java/android/text/ |
H A D | Annotation.java | 22 * Annotations are simple key-value pairs that are preserved across 30 public Annotation(String key, String value) { argument 32 mValue = value;
|
/frameworks/base/core/jni/ |
H A D | android_view_HardwareRenderer.cpp | 74 EGLint value; local 77 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value); 84 return error == EGL_SUCCESS && value == EGL_BUFFER_PRESERVED; 110 EGLint value; local 113 eglQuerySurface(display, surface, EGL_WIDTH, &value); 114 storage[0] = value; 116 eglQuerySurface(display, surface, EGL_HEIGHT, &value); 117 storage[1] = value;
|
/frameworks/base/keystore/java/android/security/ |
H A D | IKeyChainService.aidl | 37 void setGrant(int uid, String alias, boolean value);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | CoreSettingsObserver.java | 89 String value = Settings.Secure.getString(context.getContentResolver(), 91 snapshot.putString(setting, value); 93 int value = Settings.Secure.getInt(context.getContentResolver(), 95 snapshot.putInt(setting, value); 97 float value = Settings.Secure.getFloat(context.getContentResolver(), 99 snapshot.putFloat(setting, value); 101 long value = Settings.Secure.getLong(context.getContentResolver(), 103 snapshot.putLong(setting, value);
|
/frameworks/native/services/sensorservice/ |
H A D | traits.h | 47 enum { value = -1 }; enumerator in enum:android::TL::IndexOf::__anon1501 52 enum { value = 0 }; enumerator in enum:android::TL::IndexOf::__anon1502 58 enum { temp = IndexOf<Tail, T>::value }; 60 enum { value = temp == -1 ? -1 : 1 + temp }; enumerator in enum:android::TL::IndexOf::__anon1504 104 enum { isStdUnsignedInt = TL::IndexOf<UnsignedInts, T>::value >= 0 }; 105 enum { isStdSignedInt = TL::IndexOf<SignedInts, T>::value >= 0 }; 106 enum { isStdIntegral = TL::IndexOf<OtherInts, T>::value >= 0 || isStdUnsignedInt || isStdSignedInt }; 107 enum { isStdFloat = TL::IndexOf<Floats, T>::value >= 0 };
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 27 * The format of the media data is specified as string/value pairs. 65 * The associated value is a string. 71 * The associated value is an integer 77 * The associated value is an integer 83 * The associated value is an integer 89 * The associated value is an integer 95 * The associated value is an integer 101 * The associated value is an integer 113 * The associated value is an integer or a float. 120 * The associated value i 226 setInteger(String name, int value) argument 233 setLong(String name, long value) argument 240 setFloat(String name, float value) argument 247 setString(String name, String value) argument [all...] |
H A D | RemoteControlClient.java | 131 * The value of a playback state when none has been declared. 132 * Intentionally hidden as an application shouldn't set such a playback state value. 168 * The playback information value indicating the value of a given information type is invalid. 190 * Playback information that defines the maximum volume volume value that is supported 279 * to this value. 434 * @param value The text for the given key, or {@code null} to signify there is no valid 439 public synchronized MetadataEditor putString(int key, String value) argument 448 mEditorMetadata.putString(String.valueOf(key), value); 460 * {@link android.media.MediaMetadataRetriever#METADATA_KEY_DURATION} (with a value 468 putLong(int key, long value) argument 656 setPlaybackInformation(int what, int value) argument 1054 sendAudioServiceNewPlaybackInfo_syncCacheLock(int what, int value) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ProgramVariable.java | 41 public void setValue(Object value) { argument 46 mProgram.setHostValue(mVarName, value);
|
H A D | FieldPort.java | 101 // Store the object value 102 Object value = frame.getObjectValue(); 103 if ((value == null && mValue != null) || !value.equals(mValue)) { 104 mValue = value;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaMetadataRetrieverTest.java | 247 String value = null; 248 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER)) == null? "not found": value); 249 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)) == null? "not found": value); 250 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_NUM_TRACKS)) == null? "not found": value); 251 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM)) == null? "not found": value); 252 Log.v(TAG, (value [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ParsedMessage.cpp | 46 bool ParsedMessage::findString(const char *name, AString *value) const { 53 value->clear(); 58 *value = mDict.valueAt(index); 62 bool ParsedMessage::findInt32(const char *name, int32_t *value) const { 70 *value = strtol(stringValue.c_str(), &end, 10); 73 *value = 0; 127 AString &value = mDict.editValueAt(lastDictIndex); local 128 value.append(line); 215 const AString &value = mDict.valueAt(i); local 223 line.append(value); 234 GetAttribute( const char *s, const char *key, AString *value) argument 264 GetInt32Attribute( const char *s, const char *key, int32_t *value) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 56 * <li>Subclass UrlQuerySanitizer.ValueSanitizer to define your own value 64 * A simple tuple that holds parameter-value pairs. 69 * Construct a parameter-value tuple. 71 * @param value an unencoded value 74 String value) { 76 mValue = value; 83 * The unencoded value 100 * A functor used to sanitize a single query value. 105 * Sanitize an unencoded value 73 ParameterValuePair(String parameter, String value) argument 109 sanitize(String value) argument 301 sanitize(String value) argument 349 trimWhitespace(String value) argument 770 parseEntry(String parameter, String value) argument 789 addSanitizedEntry(String parameter, String value) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Bundle.java | 136 * Make a Bundle for a single key/value pair. 140 public static Bundle forPair(String key, String value) { argument 143 b.putString(key, value); 148 * TODO: optimize this later (getting just the value part of a Bundle 150 * with a special single-value Map implementation/serialization. 152 * Note: value in single-pair Bundle may be null. 388 * Inserts a Boolean value into the mapping of this Bundle, replacing 389 * any existing value for the given key. Either key or value may be null. 392 * @param value 394 putBoolean(String key, boolean value) argument 406 putByte(String key, byte value) argument 418 putChar(String key, char value) argument 430 putShort(String key, short value) argument 442 putInt(String key, int value) argument 454 putLong(String key, long value) argument 466 putFloat(String key, float value) argument 478 putDouble(String key, double value) argument 490 putString(String key, String value) argument 502 putCharSequence(String key, CharSequence value) argument 514 putParcelable(String key, Parcelable value) argument 528 putParcelableArray(String key, Parcelable[] value) argument 542 putParcelableArrayList(String key, ArrayList<? extends Parcelable> value) argument 557 putSparseParcelableArray(String key, SparseArray<? extends Parcelable> value) argument 571 putIntegerArrayList(String key, ArrayList<Integer> value) argument 583 putStringArrayList(String key, ArrayList<String> value) argument 595 putCharSequenceArrayList(String key, ArrayList<CharSequence> value) argument 607 putSerializable(String key, Serializable value) argument 619 putBooleanArray(String key, boolean[] value) argument 631 putByteArray(String key, byte[] value) argument 643 putShortArray(String key, short[] value) argument 655 putCharArray(String key, char[] value) argument 667 putIntArray(String key, int[] value) argument 679 putLongArray(String key, long[] value) argument 691 putFloatArray(String key, float[] value) argument 703 putDoubleArray(String key, double[] value) argument 715 putStringArray(String key, String[] value) argument 727 putCharSequenceArray(String key, CharSequence[] value) argument 739 putBundle(String key, Bundle value) argument 755 putIBinder(String key, IBinder value) argument 773 typeWarning(String key, Object value, String className, Object defaultValue, ClassCastException e) argument 789 typeWarning(String key, Object value, String className, ClassCastException e) argument [all...] |
H A D | TokenWatcher.java | 150 int value; 152 value = mNotificationQueue; 155 if (value == 1) { 158 else if (value == 0) { 166 int value = on ? 1 : 0; 169 mNotificationQueue = value; 172 else if (mNotificationQueue != value) {
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteGlobal.java | 110 int value = SystemProperties.getInt("debug.sqlite.wal.autocheckpoint", 113 return Math.max(1, value); 120 int value = SystemProperties.getInt("debug.sqlite.wal.poolsize", 123 return Math.max(2, value);
|
/frameworks/base/core/java/android/net/nsd/ |
H A D | DnsSdTxtRecord.java | 35 * is an attribute-value pair. 65 * Set a key/value pair. Setting an existing key will replace its value. 67 * @param value matching value to key 69 public void set(String key, String value) { argument 74 if (value != null) { 75 valBytes = value.getBytes(); 107 * Get a value for a key 110 * @return The value associate 168 insert(byte[] keyBytes, byte[] value, int index) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AnimatorSetEventsTest.java | 78 public void setTranslationX(float value) { argument 79 button.setTranslationX(value); 83 public void setTranslationY(float value) { argument 84 button.setTranslationY(value);
|
/frameworks/base/include/androidfw/ |
H A D | KeycodeLabels.h | 24 int value; member in struct:KeycodeLabel
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Tone.java | 150 Tone(int value) { argument 151 mValue = value; 156 * @param value Integer value to be converted to a Tone object. 157 * @return Tone object whose value is {@code value}. If no Tone object has 158 * that value, null is returned. 160 public static Tone fromInt(int value) { argument 162 if (e.mValue == value) {
|
/frameworks/rs/cpp/ |
H A D | Type.h | 93 void setX(uint32_t value); 94 void setY(int value); 95 void setMipmaps(bool value); 96 void setFaces(bool value);
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 29 int value; member in union:__anon39 41 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument 43 ((BrightnessParameters*)user_data)->brightness = atof(value); 83 pixel.value = *(input_ptr++);
|
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 184 bool setCString(uint32_t key, const char *value); 185 bool setInt32(uint32_t key, int32_t value); 186 bool setInt64(uint32_t key, int64_t value); 187 bool setFloat(uint32_t key, float value); 188 bool setPointer(uint32_t key, void *value); 195 bool findCString(uint32_t key, const char **value); 196 bool findInt32(uint32_t key, int32_t *value); 197 bool findInt64(uint32_t key, int64_t *value); 198 bool findFloat(uint32_t key, float *value); 199 bool findPointer(uint32_t key, void **value); [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpPacket.cpp | 103 void MtpPacket::putUInt16(int offset, uint16_t value) { argument 104 mBuffer[offset++] = (uint8_t)(value & 0xFF); 105 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF); 108 void MtpPacket::putUInt32(int offset, uint32_t value) { argument 109 mBuffer[offset++] = (uint8_t)(value & 0xFF); 110 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF); 111 mBuffer[offset++] = (uint8_t)((value >> 16) & 0xFF); 112 mBuffer[offset++] = (uint8_t)((value >> 24) & 0xFF); 143 void MtpPacket::setParameter(int index, uint32_t value) { argument 151 putUInt32(offset, value); [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 127 public static float acos(float value) { argument 128 return (float) Math.acos(value); 131 public static float asin(float value) { argument 132 return (float) Math.asin(value); 135 public static float atan(float value) { argument 136 return (float) Math.atan(value); 151 public static float norm(float start, float stop, float value) { argument 152 return (value - start) / (stop - start); 155 public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) { argument 156 return maxStart + (maxStart - maxStop) * ((value [all...] |