/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Duration.java | 39 TimeUnit(int value) { argument 40 mValue = value; 43 public int value() { method in class:Duration.TimeUnit
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | NotifyRespInd.java | 30 * @param transactionId the transaction-id value 31 * @param status the status value 56 * Get X-Mms-Report-Allowed field value. 58 * @return the X-Mms-Report-Allowed value 65 * Set X-Mms-Report-Allowed field value. 67 * @param value the value 68 * @throws InvalidHeaderValueException if the value is invalid. 71 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument 72 mPduHeaders.setOctet(value, PduHeader 82 setStatus(int value) argument 111 setTransactionId(byte[] value) argument [all...] |
H A D | ReadOrigInd.java | 46 * Get Date value. 48 * @return the value 55 * Set Date value. 57 * @param value the value 59 public void setDate(long value) { argument 60 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 64 * Get From value. 65 * From-value = Value-length 66 * (Address-present-token Encoded-string-value | Inser 80 setFrom(EncodedStringValue value) argument 99 setMessageId(byte[] value) argument 118 setReadStatus(int value) argument 137 setTo(EncodedStringValue[] value) argument [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | AbstractCache.java | 37 public boolean put(K key, V value) { argument 53 cacheEntry.value = value; 76 return cacheEntry.value; 93 return v != null ? v.value : null; 110 V value; field in class:AbstractCache.CacheEntry
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | ContainerHelpers.java | 45 static int binarySearch(int[] array, int size, int value) { argument 53 if (midVal < value) { 55 } else if (midVal > value) { 58 return mid; // value found 61 return ~lo; // value not present 64 static int binarySearch(long[] array, int size, long value) { argument 72 if (midVal < value) { 74 } else if (midVal > value) { 77 return mid; // value found 80 return ~lo; // value no [all...] |
/frameworks/av/drm/common/ |
H A D | DrmInfo.cpp | 44 status_t DrmInfo::put(const String8& key, const String8& value) { argument 45 mAttributes.add(key, value); 107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); local 109 return value;
|
H A D | DrmSupportInfo.cpp | 132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local 134 return value; 156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local 158 return value;
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 42 * Adds a new value in the session map table. It expects memory to be allocated already 46 * @param value - session object to add 48 * @return boolean result of adding value. returns false if key is already exist. 50 bool addValue(int key, TValue value) { argument 53 map.add(key, value); 84 * @param index - index of the value required 89 TValue value = NULL; local 93 value = map.valueAt(index); 95 return value; 101 * @param key - key of the value t 142 deleteValue(TValue value) argument 179 TValue value = NULL; local [all...] |
/frameworks/av/include/drm/ |
H A D | DrmConstraints.h | 120 const char* value = this->getAsByteArray(&key); local 121 if (NULL != value) { 122 delete[] value; 123 value = NULL; 137 * Adds constraint information as <key, value> pair to this instance 140 * @param[in] value Value to add 143 status_t put(const String8* key, const char* value); 146 * Retrieves the value of given key 148 * @param key Key whose value to be retrieved 149 * @return The value [all...] |
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | DrcPresModeWrap.cpp | 127 CDrcPresModeWrapper::setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value) argument 131 mDesTarget = value; 134 mDesAttFactor = value; 137 mDesBoostFactor = value; 140 mDesHeavy = value; 143 mEncoderTarget = value;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_util.c | 66 right-aligned, last bit of the code word in the lsb of the value. 69 value code word 80 u32 h264bsdCountLeadingZeros(u32 value, u32 length) argument 92 while (mask && !(value & mask))
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 35 const char *name, const char *value, ADebug::Level def) { 37 const char *next = value, *current; 54 errno = 0; // strtoul does not clear errno, but it can be set for any return value 88 char value[PROPERTY_VALUE_MAX]; local 89 if (property_get(propertyName, value, NULL)) { 90 return GetDebugLevelFromString(name, value, def); 34 GetDebugLevelFromString( const char *name, const char *value, ADebug::Level def) argument
|
H A D | base64.cpp | 52 unsigned value; local 54 value = c - 'A'; 56 value = 26 + c - 'a'; 58 value = 52 + c - '0'; 60 value = 62; 62 value = 63; 70 value = 0; 73 accum = (accum << 6) | value;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioMixerOps.h | 22 /* Behavior of is_same<>::value is true if the types are identical, 28 static const bool value = false; member in struct:android::is_same 34 static const bool value = true; member in struct:android::is_same 58 inline TO MixMul(TI value, TV volume) { argument 62 return value * volume; 66 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { argument 67 return value * volume; 71 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { argument 72 return (value >> 12) * volume; 76 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_ argument 81 MixMul(int32_t value, int32_t volume) argument 86 MixMul(float value, int16_t volume) argument 92 MixMul(float value, int32_t volume) argument 98 MixMul(float value, int16_t volume) argument 103 MixMul(float value, int32_t volume) argument 108 MixMul(int16_t value, int16_t volume) argument 114 MixMul(int16_t value, int32_t volume) argument 120 MixMul(int16_t value, int16_t volume) argument 125 MixMul(int32_t value, int16_t volume) argument 130 MixMul(int16_t value, int32_t volume) argument 135 MixMul(int32_t value, int32_t volume) argument 144 MixMul(float value, float volume) argument 149 MixMul(int16_t value, float volume) argument 155 MixMul(int32_t value, float volume) argument 161 MixMul(int16_t value, float volume) argument 168 MixMul(int16_t value, float volume) argument 174 MixMul(float value, float volume) argument 185 MixAccum(TO *auxaccum, TI value) argument 194 MixAccum(float *auxaccum, int16_t value) argument 200 MixAccum(float *auxaccum, int32_t value) argument 206 MixAccum(int32_t *auxaccum, int16_t value) argument 211 MixAccum(int32_t *auxaccum, float value) argument 220 MixMulAux(TI value, TV volume, TA *auxaccum) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServerCallback.java | 57 * @param offset Offset into the value of the characteristic 76 * @param offset The offset given for the value 77 * @param value The value the client wants to assign to the characteristic 82 int offset, byte[] value) { 93 * @param offset Offset into the value of the characteristic 112 * @param offset The offset given for the value 113 * @param value The value the client wants to assign to the descriptor 118 int offset, byte[] value) { 79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryablePair.java | 91 public void marshal(Pair<T1, T2> value, ByteBuffer buffer) { argument 92 if (value.first == null) { 94 } else if (value.second == null) { 98 mNestedTypeMarshalerFirst.marshal(value.first, buffer); 99 mNestedTypeMarshalerSecond.marshal(value.second, buffer); 133 public int calculateMarshalSize(Pair<T1, T2> value) { argument 139 int firstSize = mNestedTypeMarshalerFirst.calculateMarshalSize(value.first); 140 int secondSize = mNestedTypeMarshalerSecond.calculateMarshalSize(value.second);
|
H A D | MarshalQueryableParcelable.java | 75 public void marshal(T value, ByteBuffer buffer) { argument 77 Log.v(TAG, "marshal " + value); 84 value.writeToParcel(parcel, /*flags*/0); 88 "Parcelable " + value + " must not have file descriptors"); 98 throw new AssertionError("No data marshaled for " + value); 137 T value = mCreator.createFromParcel(parcel); 141 throw new AssertionError("No data marshaled for " + value); 150 Log.v(TAG, "unmarshal, value is " + value); 153 return mClass.cast(value); 165 calculateMarshalSize(T value) argument [all...] |
H A D | MarshalQueryablePrimitive.java | 71 public int calculateMarshalSize(T value) { argument 76 public void marshal(T value, ByteBuffer buffer) { argument 77 if (value instanceof Integer) { 79 final int val = (Integer) value; 81 } else if (value instanceof Float) { 83 final float val = (Float) value; 85 } else if (value instanceof Long) { 87 final long val = (Long) value; 89 } else if (value instanceof Rational) { 91 marshalPrimitive((Rational) value, buffe 106 marshalPrimitive(int value, ByteBuffer buffer) argument 110 marshalPrimitive(float value, ByteBuffer buffer) argument 114 marshalPrimitive(double value, ByteBuffer buffer) argument 118 marshalPrimitive(long value, ByteBuffer buffer) argument 122 marshalPrimitive(Rational value, ByteBuffer buffer) argument 127 marshalPrimitive(byte value, ByteBuffer buffer) argument [all...] |
H A D | MarshalQueryableRange.java | 79 public void marshal(Range<T> value, ByteBuffer buffer) { argument 80 mNestedTypeMarshaler.marshal(value.getLower(), buffer); 81 mNestedTypeMarshaler.marshal(value.getUpper(), buffer); 114 public int calculateMarshalSize(Range<T> value) { argument 120 int lowerSize = mNestedTypeMarshaler.calculateMarshalSize(value.getLower()); 121 int upperSize = mNestedTypeMarshaler.calculateMarshalSize(value.getUpper());
|
H A D | MarshalQueryableString.java | 46 public void marshal(String value, ByteBuffer buffer) { argument 47 byte[] arr = value.getBytes(UTF8_CHARSET); 54 public int calculateMarshalSize(String value) { argument 55 byte[] arr = value.getBytes(UTF8_CHARSET);
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 112 * Create a {@link Rational} value by approximating the float value as a rational. 118 * @param value a floating point value 121 public static Rational createRational(float value) { argument 122 if (Float.isNaN(value)) { 124 } else if (value == Float.POSITIVE_INFINITY) { 126 } else if (value == Float.NEGATIVE_INFINITY) { 128 } else if (value == 0.0f) { 132 // normal finite value [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackQueueItem.java | 113 private static final float clip(float value, float min, float max) { argument 114 return value < min ? min : (value < max ? value : max);
|
/frameworks/base/core/java/android/text/ |
H A D | PackedObjectVector.java | 51 Object value = mValues[row * mColumns + column]; 53 return (E) value; 57 setValue(int row, int column, E value) argument 62 mValues[row * mColumns + column] = value;
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseLongArray.java | 99 * Gets the long mapped from the specified key, or the specified value 133 * Adds a mapping from the specified key to the specified value, 137 public void put(long key, long value) { argument 141 mValues[i] = value; 146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); 152 * Returns the number of key-value mappings that this SparseIntArray 161 * the key from the <code>index</code>th key-value mapping that this 175 * the value from the <code>index</code>th key-value mapping that this 180 * <code>valueAt(0)</code> will return the value associate 205 indexOfValue(long value) argument 224 append(long key, long value) argument [all...] |
H A D | LruCache.java | 24 * a value is accessed, it is moved to the head of a queue. When a value is 25 * added to a full cache, the value at the end of that queue is evicted and may 33 * assume a value will always be returned, even when there's a cache miss. 41 * protected int sizeOf(String key, Bitmap value) { 42 * return value.getByteCount(); 50 * cache.put(key, value); 54 * <p>This class does not allow null to be used as a key or value. A return 55 * value of null from {@link #get}, {@link #put} or {@link #remove} is 105 * Returns the value fo 164 put(K key, V value) argument 285 safeSizeOf(K key, V value) argument 300 sizeOf(K key, V value) argument [all...] |