/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.cpp | 63 AString value(&data[valueStart], i - valueStart); 64 value.trim(); 66 mDict.add(name, value); 74 bool Parameters::findParameter(const char *name, AString *value) const { 81 value->clear(); 86 *value = mDict.valueAt(index);
|
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 27 * encoded value to a stream, one token at a time. The stream includes both 38 * Write each of the array's elements with the appropriate {@link #value} 43 * {@link #name} with the property's value. Write property values with the 44 * appropriate {@link #value} method or by nesting other objects or arrays. 88 * writer.name("id").value(message.getId()); 89 * writer.name("text").value(message.getText()); 103 * writer.name("name").value(user.getName()); 104 * writer.name("followers_count").value(user.getFollowersCount()); 110 * for (Double value : doubles) { 111 * writer.value(valu 299 value(String value) argument 324 value(boolean value) argument 337 value(double value) argument 351 value(long value) argument 364 value(Number value) argument 400 string(String 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 106 * Returns the value fo 165 put(K key, V value) argument 286 safeSizeOf(K key, V value) argument 301 sizeOf(K key, V value) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | JapanesePhoneNumberFormatter.java | 193 short value = FORMAT_MAP[base + ch - '0']; 194 if (value < 0) { 195 if (value <= -100) { 199 int dashPos2 = rootIndex + (Math.abs(value) % 10); 203 int dashPos1 = rootIndex + (Math.abs(value) / 10); 209 base = value;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 63 Integer value = mDynamicIds.get(resource); 64 if (value == null) { 65 value = Integer.valueOf(++mDynamicSeed); 66 mDynamicIds.put(resource, value); 67 mRevDynamicIds.put(value, resource); 70 return value;
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
H A D | checks.spec | 4 eglGetConfigAttrib check value 1 10 eglQuerySurface check value 1 13 eglQueryContext check value 1
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | KeyValueMap.java | 36 throw new RuntimeException("Key-value argument " + i + " must be a key of type " 40 Object value = keyValues[i+1]; 41 put(key, value); 71 Object value = entry.getValue(); 72 if (value instanceof String) { 73 valueString = "\"" + value + "\""; 75 valueString = value.toString();
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectParameter.java | 46 public void displayValue(int value, boolean fromTouch) { argument 47 String text = Integer.toString(value)+" "+mUnit; 50 mSeekBar.setProgress(value - mMin); 58 public abstract void setParameter(Integer value); argument 72 int value = progress + mMin; 74 setParameter(value);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxSessionManager.java | 48 String value; field in class:BordeauxSessionManager.SessionKey 105 key.value = callingUid + "#" + "_" + name + "_" + learnerClass.getName(); 110 if (mSessions.containsKey(key.value)) { 111 return mSessions.get(key.value).learner.getBinder(); 116 Session stored = mSessionStorage.getSession(key.value); 119 stored.learner.setModelChangeCallback(new LearningUpdateCallback(key.value)); 121 mSessions.put(key.value, stored); 126 Log.i(TAG, "create a new learning session: " + key.value); 130 learner.setModelChangeCallback(new LearningUpdateCallback(key.value)); 134 mSessions.put(key.value, sessio [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 79 void MtpDataPacket::getUInt128(uint128_t& value) { argument 80 value[0] = getUInt32(); 81 value[1] = getUInt32(); 82 value[2] = getUInt32(); 83 value[3] = getUInt32(); 155 void MtpDataPacket::putInt8(int8_t value) { argument 157 mBuffer[mOffset++] = (uint8_t)value; 162 void MtpDataPacket::putUInt8(uint8_t value) { argument 164 mBuffer[mOffset++] = (uint8_t)value; 169 void MtpDataPacket::putInt16(int16_t value) { argument 177 putUInt16(uint16_t value) argument 185 putInt32(int32_t value) argument 195 putUInt32(uint32_t value) argument 205 putInt64(int64_t value) argument 219 putUInt64(uint64_t value) argument 233 putInt128(const int128_t& value) argument 240 putUInt128(const uint128_t& value) argument 247 putInt128(int64_t value) argument [all...] |
H A D | MtpProperty.cpp | 282 int value = *values++; local 285 mEnumValues[i].u.i8 = value; 288 mEnumValues[i].u.u8 = value; 291 mEnumValues[i].u.i16 = value; 294 mEnumValues[i].u.u16 = value; 297 mEnumValues[i].u.i32 = value; 300 mEnumValues[i].u.u32 = value; 303 mEnumValues[i].u.i64 = value; 306 mEnumValues[i].u.u64 = value; 328 buffer = " default value 367 print(MtpPropertyValue& value, MtpString& buffer) argument 410 readValue(MtpDataPacket& packet, MtpPropertyValue& value) argument 463 writeValue(MtpDataPacket& packet, MtpPropertyValue& value) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 182 * Operation failed due to bad parameter value. 495 * generic one where the parameter and its value are both specified as an 496 * array of bytes. The parameter and value type and length are therefore 502 * @param value the new value for the specified parameter 509 public int setParameter(byte[] param, byte[] value) argument 512 return native_setParameter(param.length, param, value.length, value); 516 * Set effect parameter. The parameter and its value are integers. 521 public int setParameter(int param, int value) throw argument 534 setParameter(int param, short value) argument 548 setParameter(int param, byte[] value) argument 561 setParameter(int[] param, int[] value) argument 586 setParameter(int[] param, short[] value) argument 612 setParameter(int[] param, byte[] value) argument 640 getParameter(byte[] param, byte[] value) argument 653 getParameter(int param, byte[] value) argument 668 getParameter(int param, int[] value) argument 699 getParameter(int param, short[] value) argument 730 getParameter(int[] param, int[] value) argument 764 getParameter(int[] param, short[] value) argument 797 getParameter(int[] param, byte[] value) argument 972 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument 1205 native_setParameter(int psize, byte[] param, int vsize, byte[] value) argument 1208 native_getParameter(int psize, byte[] param, int vsize, byte[] value) argument 1280 intToByteArray(int value) argument 1307 shortToByteArray(short value) argument [all...] |
H A D | PresetReverb.java | 164 short[] value = new short[1]; 165 checkStatus(getParameter(PARAM_PRESET, value)); 166 return value[0]; 171 * when a parameter value has changed. 175 * Method called when a parameter value has changed. The method is called only if the 181 * @param value the new parameter value. 183 void onParameterChange(PresetReverb effect, int status, int param, short value); argument 194 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument 209 if (value [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Type.java | 30 * any positive integral value within the constraints of available memory. A 83 * Return the value of the X dimension. 92 * Return the value of the Y dimension or 0 for a 1D allocation. 101 * Return the value of the Z dimension or 0 for a 1D or 2D allocation. 229 * @param value 231 public Builder setX(int value) { argument 232 if(value < 1) { 235 mDimX = value; 239 public Builder setY(int value) { argument 240 if(value < 247 setMipmaps(boolean value) argument 252 setFaces(boolean value) argument [all...] |
/frameworks/rs/cpp/ |
H A D | Type.cpp | 109 void Type::Builder::setX(uint32_t value) { argument 110 if(value < 1) { 113 mDimX = value; 116 void Type::Builder::setY(int value) { argument 117 if(value < 1) { 120 mDimY = value; 123 void Type::Builder::setMipmaps(bool value) { argument 124 mDimMipmaps = value; 127 void Type::Builder::setFaces(bool value) { argument 128 mDimFaces = value; [all...] |
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Type.java | 30 * any positive integral value within the constraints of available memory. A 77 * Return the value of the X dimension. 86 * Return the value of the Y dimension or 0 for a 1D allocation. 95 * Return the value of the Z dimension or 0 for a 1D or 2D allocation. 202 * @param value 204 public Builder setX(int value) { argument 205 if(value < 1) { 208 mDimX = value; 212 public Builder setY(int value) { argument 213 if(value < 220 setMipmaps(boolean value) argument 225 setFaces(boolean value) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MetaData.cpp | 59 bool MetaData::setCString(uint32_t key, const char *value) { argument 60 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); 63 bool MetaData::setInt32(uint32_t key, int32_t value) { argument 64 return setData(key, TYPE_INT32, &value, sizeof(value)); 67 bool MetaData::setInt64(uint32_t key, int64_t value) { argument 68 return setData(key, TYPE_INT64, &value, sizeof(value)); 71 bool MetaData::setFloat(uint32_t key, float value) { argument 75 setPointer(uint32_t key, void *value) argument 92 findCString(uint32_t key, const char **value) argument 105 findInt32(uint32_t key, int32_t *value) argument 120 findInt64(uint32_t key, int64_t *value) argument 135 findFloat(uint32_t key, float *value) argument 150 findPointer(uint32_t key, void **value) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 97 AString key, value; local 117 value.setTo(line, colonPos + 1, line.size() - colonPos - 1); 121 value.trim(); 123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 125 mTracks.editItemAt(mTracks.size() - 1).add(key, value); 141 AString key, value; local 146 value = AString(line, equalPos + 1, line.size() - equalPos - 1); 149 value.trim(); 151 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 153 mTracks.editItemAt(mTracks.size() - 1).add(key, value); 233 AString value; local 257 AString value; local [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 211 * Return the string value associated with a particular resource ID. The 218 * entry. The value 0 is an invalid identifier. 243 * entry. The value 0 is an invalid identifier. 300 * Return the string value associated with a particular resource ID. It 306 * entry. The value 0 is an invalid identifier. 324 * Return the string value associated with a particular resource ID, 332 * entry. The value 0 is an invalid identifier. 347 * Return the string value associated with a particular resource ID for a particular 358 * entry. The value 0 is an invalid identifier. 375 * Return the string value associate 938 openRawResource(int id, TypedValue value) argument 1872 verifyPreloadConfig(TypedValue value, String name) argument 1889 loadDrawable(TypedValue value, int id) argument 2031 loadColorStateList(TypedValue value, int id) argument [all...] |
/frameworks/compile/libbcc/runtime/make/ |
H A D | util.mk | 20 # Return "true" if 'list' contains the value 'item'. 31 # Function: Set variable value 33 # Set the given make variable to the given value. 36 # Function: Append variable value 38 # Append the given value to the given make variable. 51 # Function: VarOrDefault variable default-value 53 # Get the value of the given make variable, or the default-value if the variable 59 # Print the name, definition, and value of a variable, for testing make 67 CheckValue = $(info CHECKVALUE: $(1): $(value [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 35 * separated by a comma. There are two name value pair parameters plus a series 37 * The name value pairs which may be specified are: 39 *<li>max_retries=<value> 40 *<li>default_randomizationTime=<value> 44 * maybe called before isRetryNeeded will return false. if value 52 * may have an optional randomization value separated from the 57 * <li>3 retries with no randomization value which means its 0: 60 * <li>10 retries with a 500 default randomization value for each and 64 * <li>4 retries with a 100 as the default randomization value for the first 2 values and 129 * a random value 383 validateNonNegativeInt(String name, int value) argument [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | Headers.java | 383 public void setContentLength(long value) { argument 384 this.contentLength = value; 387 public void setContentType(String value) { argument 388 mHeaders[IDX_CONTENT_TYPE] = value; 391 public void setContentEncoding(String value) { argument 392 mHeaders[IDX_CONTENT_ENCODING] = value; 395 public void setLocation(String value) { argument 396 mHeaders[IDX_LOCATION] = value; 399 public void setWwwAuthenticate(String value) { argument 400 mHeaders[IDX_WWW_AUTHENTICATE] = value; 403 setProxyAuthenticate(String value) argument 407 setContentDisposition(String value) argument 411 setAcceptRanges(String value) argument 415 setExpires(String value) argument 419 setCacheControl(String value) argument 423 setLastModified(String value) argument 427 setEtag(String value) argument 431 setXPermittedCrossDomainPolicies(String value) argument 436 header(String name, String value) argument [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AMessage.h | 46 void setInt32(const char *name, int32_t value); 47 void setInt64(const char *name, int64_t value); 48 void setSize(const char *name, size_t value); 49 void setFloat(const char *name, float value); 50 void setDouble(const char *name, double value); 51 void setPointer(const char *name, void *value); 61 bool findInt32(const char *name, int32_t *value) const; 62 bool findInt64(const char *name, int64_t *value) const; 63 bool findSize(const char *name, size_t *value) const; 64 bool findFloat(const char *name, float *value) cons [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 28 * a value is accessed, it is moved to the head of a queue. When a value is 29 * added to a full cache, the value at the end of that queue is evicted and may 37 * assume a value will always be returned, even when there's a cache miss. 45 * protected int sizeOf(String key, Bitmap value) { 46 * return value.getByteCount(); 54 * cache.put(key, value); 58 * <p>This class does not allow null to be used as a key or value. A return 59 * value of null from {@link #get}, {@link #put} or {@link #remove} is 110 * Returns the value fo 169 put(K key, V value) argument 296 safeSizeOf(K key, V value) argument 311 sizeOf(K key, V value) argument [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LruCache.java | 56 * Returns the value for {@code key} if it exists in the cache or can be 57 * created by {@code #create}. If a value was returned, it is moved to the 58 * head of the queue. This returns null if a value is not cached and cannot 77 * Attempt to create a value. This may take a long time, and the map 78 * may be different when create() returns. If a conflicting value was 79 * added to the map while create() was working, we leave that value in 80 * the map and release the created value. 110 * Caches {@code value} for {@code key}. The value is moved to the head of 113 * @return the previous value mappe 115 put(K key, V value) argument 232 safeSizeOf(K key, V value) argument 247 sizeOf(K key, V value) argument [all...] |