/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | get_amr_wb_bits.cpp | 121 int16 value = 0; local 125 value <<= 2; 129 value |= 2; 134 value |= 1; 141 value <<= 1; 145 value |= 1; 150 return (value); 156 int16 value = 0; local 160 value = 1; 162 return (value); [all...] |
/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 34 * positive infinity) integer value which is less than the argument. 36 * @param value to be converted 37 * @return the floor of value 39 public static native float floor(float value); argument 43 * negative infinity) integer value which is greater than the argument. 45 * @param value to be converted 46 * @return the ceiling of value 48 public static native float ceil(float value); argument 70 * @param value to compute sqrt of 71 * @return the square root of value 73 sqrt(float value) argument [all...] |
/frameworks/base/include/utils/ |
H A D | BitSet.h | 30 uint32_t value; member in struct:android::BitSet32 32 inline BitSet32() : value(0) { } 33 explicit inline BitSet32(uint32_t value) : value(value) { } argument 35 // Gets the value associated with a particular bit index. 39 inline void clear() { value = 0; } 42 inline uint32_t count() const { return __builtin_popcount(value); } 45 inline bool isEmpty() const { return ! value; } 48 inline bool hasBit(uint32_t n) const { return value [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | SystemPropertiesTest.java | 30 String value; 33 value = SystemProperties.get(KEY, "default"); 34 assertEquals("default", value); 37 value = SystemProperties.get(KEY, "default"); 38 assertEquals("AAA", value); 40 value = SystemProperties.get(KEY); 41 assertEquals("AAA", value); 44 value = SystemProperties.get(KEY, "default"); 45 assertEquals("default", value); 47 value [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | ValueCallback.java | 26 public void onReceiveValue(T value); argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
H A D | FontSize.java | 32 FontSize(int value) { argument 33 mValue = value; 38 * @param value Integer value to be converted to a FontSize object. 39 * @return FontSize object whose value is {@code value}. If no 40 * FontSize object has that value, null is returned. 42 public static FontSize fromInt(int value) { argument 44 if (e.mValue == value) {
|
H A D | TextAlignment.java | 34 TextAlignment(int value) { argument 35 mValue = value; 40 * @param value Integer value to be converted to a TextAlignment object. 41 * @return TextAlignment object whose value is {@code value}. If no 42 * TextAlignment object has that value, null is returned. 44 public static TextAlignment fromInt(int value) { argument 46 if (e.mValue == value) {
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | RetrieveConf.java | 59 * Get CC value. 61 * @return the value 68 * Add a "CC" value. 70 * @param value the value 71 * @throws NullPointerException if the value is null. 73 public void addCc(EncodedStringValue value) { argument 74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); 78 * Get Content-type value. 80 * @return the value 92 setContentType(byte[] value) argument 111 setDeliveryReport(int value) argument 132 setFrom(EncodedStringValue value) argument 153 setMessageClass(byte[] value) argument 172 setMessageId(byte[] value) argument 191 setReadReport(int value) argument 210 setRetrieveStatus(int value) argument 229 setRetrieveText(EncodedStringValue value) argument 248 setTransactionId(byte[] value) argument [all...] |
H A D | NotificationInd.java | 52 * @return the value 61 * @param value the value 62 * @throws InvalidHeaderValueException if the value is invalid. 65 public void setContentClass(int value) throws InvalidHeaderValueException { argument 66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); 70 * Get X-Mms-Content-Location value. 72 * Content-location-value = Uri-value 74 * @return the value 87 setContentLocation(byte[] value) argument 109 setExpiry(long value) argument 131 setFrom(EncodedStringValue value) argument 153 setMessageClass(byte[] value) argument 173 setMessageSize(long value) argument 193 setSubject(EncodedStringValue value) argument 213 setTransactionId(byte[] value) argument 233 setDeliveryReport(int value) argument [all...] |
H A D | SendReq.java | 53 * @param contentType the content type value 54 * @param from the from value 56 * @param transactionId the transaction-id value 92 * Get Bcc value. 94 * @return the value 101 * Add a "BCC" value. 103 * @param value the value 104 * @throws NullPointerException if the value is null. 106 public void addBcc(EncodedStringValue value) { argument 116 setBcc(EncodedStringValue[] value) argument 135 addCc(EncodedStringValue value) argument 145 setCc(EncodedStringValue[] value) argument 164 setContentType(byte[] value) argument 183 setDeliveryReport(int value) argument 204 setExpiry(long value) argument 224 setMessageSize(long value) argument 245 setMessageClass(byte[] value) argument 264 setReadReport(int value) argument 274 setTo(EncodedStringValue[] value) argument 293 setTransactionId(byte[] value) argument [all...] |
H A D | DeliveryInd.java | 49 * Get Date value. 51 * @return the value 58 * Set Date value. 60 * @param value the value 62 public void setDate(long value) { argument 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 67 * Get Message-ID value. 69 * @return the value 76 * Set Message-ID value 81 setMessageId(byte[] value) argument 100 setStatus(int value) argument 119 setTo(EncodedStringValue[] 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...] |
H A D | PduHeaders.java | 323 * The map contains the value of all headers. 335 * Get octet value by header field. 338 * @return the octet value of the pdu header 340 * the value is not set. 352 * Set octet value to pdu header by header field. 354 * @param value the value 356 * @throws InvalidHeaderValueException if the value is invalid. 358 protected void setOctet(int value, int field) argument 376 if ((VALUE_YES != value) 515 setTextString(byte[] value, int field) argument 581 setEncodedStringValue(EncodedStringValue value, int field) argument 618 setEncodedStringValues(EncodedStringValue[] value, int field) argument 651 appendEncodedStringValue(EncodedStringValue value, int field) argument 698 setLongInteger(long value, int field) argument [all...] |
H A D | GenericPdu.java | 54 * Get X-Mms-Message-Type field value. 56 * @return the X-Mms-Report-Allowed value 63 * Set X-Mms-Message-Type field value. 65 * @param value the value 66 * @throws InvalidHeaderValueException if the value is invalid. 67 * RuntimeException if field's value is not Octet. 69 public void setMessageType(int value) throws InvalidHeaderValueException { argument 70 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); 74 * Get X-Mms-MMS-Version field value 89 setMmsVersion(int value) argument 110 setFrom(EncodedStringValue value) argument [all...] |
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 | SendConf.java | 46 * Get Message-ID value. 48 * @return the value 55 * Set Message-ID value. 57 * @param value the value 58 * @throws NullPointerException if the value is null. 60 public void setMessageId(byte[] value) { argument 61 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 67 * @return the value 76 * @param value th 79 setResponseStatus(int value) argument 98 setTransactionId(byte[] value) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 90 * Adds a value to the set. 92 * @param key the name of the value to put 93 * @param value the data for the value to put 95 public void put(String key, String value) { argument 96 mValues.put(key, value); 109 * Adds a value to the set. 111 * @param key the name of the value to put 112 * @param value the data for the value t 114 put(String key, Byte value) argument 124 put(String key, Short value) argument 134 put(String key, Integer value) argument 144 put(String key, Long value) argument 154 put(String key, Float value) argument 164 put(String key, Double value) argument 174 put(String key, Boolean value) argument 184 put(String key, byte[] value) argument 477 putStringArrayList(String key, ArrayList<String> value) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 202 // Read a value of the appropriate type, and insert into the map. 203 final Object value = parseValue(st, type); 208 if (value.getClass() != oldValue.getClass()) { 213 map.put(propertyName, value); 229 * @return a Boolean, Number subclass, or String representing the value. 257 long value; 259 value = Long.decode(st.sval); 264 // Ensure that the type can hold this value, and return. 268 if (value < Byte.MIN_VALUE || value > Byt 419 TypeException(String property, Object value, String requestedType) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
H A D | ContentValuesBuilder.java | 31 public ContentValuesBuilder put(String key, String value) { argument 32 mContentValues.put(key, value); 37 public ContentValuesBuilder put(String key, Byte value) { 38 mContentValues.put(key, value); 42 public ContentValuesBuilder put(String key, Short value) { 43 mContentValues.put(key, value); 47 public ContentValuesBuilder put(String key, Integer value) { argument 48 mContentValues.put(key, value); 53 public ContentValuesBuilder put(String key, Long value) { 54 mContentValues.put(key, value); 73 put(String key, byte[] value) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | FloatMath_Delegate.java | 39 * positive infinity) integer value which is less than the argument. 41 * @param value to be converted 42 * @return the floor of value 45 /*package*/ static float floor(float value) { argument 46 return (float)Math.floor(value); 51 * negative infinity) integer value which is greater than the argument. 53 * @param value to be converted 54 * @return the ceiling of value 57 /*package*/ static float ceil(float value) { argument 58 return (float)Math.ceil(value); 91 sqrt(float value) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TreeSetTest.java | 80 int value; 83 value = set.first(); 84 value = set.first(); 85 value = set.first(); 86 value = set.first(); 87 value = set.first(); 88 value = set.first(); 89 value = set.first(); 90 value = set.first(); 91 value [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | bits2prm.cpp | 83 no_of_bits = number of bits associated with value 119 Word16 no_of_bits, // input : number of bits associated with value 123 Word16 value, i, bit; 125 value = 0; 128 value = shl (value, 1); 131 value = add (value, 1); 133 return (value); 163 Word16 no_of_bits, /* input : number of bits associated with value */ 167 Word16 value; local [all...] |
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 62 * Gets value at the given column for the current row. 184 * value at a time. Follows the same ordering as the column names specified 198 * Sets the next column value in this row. 229 Object value = get(column); 230 if (value == null) return null; 231 return value.toString(); 236 Object value = get(column); 237 if (value == null) return 0; 238 if (value instanceof Number) return ((Number) value) [all...] |
/frameworks/base/tools/localize/ |
H A D | res_check.cpp | 9 static int check_value(const SourcePos& pos, const XMLNode* value); 10 static int scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth = 0); 41 XMLNode* value = it->value; local 42 if (value != NULL) { 43 err |= check_value(it->pos, value); 63 check_value(const SourcePos& pos, const XMLNode* value) argument 66 err |= scan_for_unguarded_format(pos, value); 91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth) argument 93 if (value [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | SimpleCache.java | 31 V value = load(key); 32 map.put(key, value); 33 return value;
|