Searched defs:value (Results 251 - 275 of 922) sorted by relevance

<<11121314151617181920>>

/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp32 inline void FrameOutput::setValueLE(uint8_t* buf, uint32_t value) { argument
37 buf[0] = (uint8_t) value;
38 buf[1] = (uint8_t) (value >> 8);
39 buf[2] = (uint8_t) (value >> 16);
40 buf[3] = (uint8_t) (value >> 24);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp135 String8 key, value; local
139 findValue(kKeyTypeTag, &value);
140 if (0 != value.compare(kSymmetricKeyValue))
154 void JsonWebKey::findValue(const String8 &key, String8* value) { argument
155 value->clear();
163 value->setTo(valueToken);
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp48 String8 value; local
50 value = String8("");
52 value = String8(pair + eqIdx + 1);
55 mParameters.add(key, value);
57 mParameters.replaceValueFor(key, value);
60 ALOGV("AudioParameter() cstor empty key value pair");
87 status_t AudioParameter::add(const String8& key, const String8& value) argument
90 mParameters.add(key, value);
93 mParameters.replaceValueFor(key, value);
98 status_t AudioParameter::addInt(const String8& key, const int value) argument
109 addFloat(const String8& key, const float value) argument
130 get(const String8& key, String8& value) argument
140 getInt(const String8& key, int& value) argument
156 getFloat(const String8& key, float& value) argument
172 getAt(size_t index, String8& key, String8& value) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp67 char value[PROPERTY_VALUE_MAX]; local
68 if (property_get("media.stagefright.use-awesome", value, NULL)
69 && (!strcmp("1", value) || !strcasecmp("true", value))) {
227 char value[PROPERTY_VALUE_MAX]; local
228 if (property_get("persist.sys.media.legacy-drm", value, NULL)
229 && (!strcmp("1", value) || !strcasecmp("true", value))) {
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c66 * 32 bit long signed integer (Word32) whose value falls in the *
153 * 32 bit long signed integer (Word32) whose value falls in the *
159 * 16 bit positive normalized integer whose value falls in the *
162 * 16 bit positive integer whose value falls in the *
168 * 32 bit long signed integer (Word32) whose value falls in the *
207 iLog4(x) = (Word32)(4 * log(value)/log(2.0))
209 \return ilog4 value
212 Word16 iLog4(Word32 value) argument
216 if(value != 0){
219 iLog4 = norm_l(value);
245 rsqrt(Word32 value, Word32 accuracy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp32 AVCEnc_Status se_v(AVCEncBitstream *bitstream, int value) argument
37 if (value <= 0)
39 codeNum = -value * 2;
43 codeNum = value * 2 - 1;
51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) argument
57 return ue_v(bitstream, value);
61 status = BitstreamWrite1Bit(bitstream, 1 - value);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c346 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument
348 memset(ptr, value, count);
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp38 const char *name, const char *value, long def) {
40 const char *next = value, *current;
56 errno = 0; // strtol does not clear errno, but it can be set for any return value
81 // update value
90 char value[PROPERTY_VALUE_MAX]; local
91 if (property_get(propertyName, value, NULL)) {
92 def = GetLevelFromSettingsString(name, value, def);
148 char value[PROPERTY_VALUE_MAX];
149 if (property_get("ro.build.type", value, NULL)) {
150 if (strcmp(value, "experimenta
37 GetLevelFromSettingsString( const char *name, const char *value, long def) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp33 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
34 value->clear();
45 value->setTo(&s[keyLen + 1], len - keyLen - 1);
49 value->setTo("1");
67 AString value; local
68 CHECK(GetAttribute(params.c_str(), "octet-align", &value) && value == "1");
69 CHECK(!GetAttribute(params.c_str(), "crc", &value) || value == "0");
70 CHECK(!GetAttribute(params.c_str(), "interleaving", &value));
[all...]
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp34 " <Setting name=\"supports-multiple-secure-codecs\" value=\"false\" />\n"
35 " <Setting name=\"supports-secure-with-non-secure-codec\" value=\"true\" />\n"
39 " <Limit name=\"max-supported-instances\" value=\"4\" />\n"
42 " <Limit name=\"max-supported-instances\" value=\"4\" />\n"
47 " <Limit name=\"max-supported-instances\" value=\"1\" />\n"
50 " <Limit name=\"max-supported-instances\" value=\"4\" />\n"
53 " <Limit name=\"max-supported-instances\" value=\"3\" />\n"
56 " <Limit name=\"max-supported-instances\" value=\"3\" />\n"
67 const AString &value,
70 settings.add("max-supported-instances", value);
65 addMaxInstancesSetting( const AString &key, const AString &value, KeyedVector<AString, CodecSettings> *results) argument
82 int32_t value = strtol(valueS.c_str(), NULL, 10); local
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp54 bool MtpDataPacket::getUInt8(uint8_t& value) { argument
55 if (mPacketSize - mOffset < sizeof(value))
57 value = mBuffer[mOffset++];
61 bool MtpDataPacket::getUInt16(uint16_t& value) { argument
62 if (mPacketSize - mOffset < sizeof(value))
65 value = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8);
66 mOffset += sizeof(value);
70 bool MtpDataPacket::getUInt32(uint32_t& value) { argument
71 if (mPacketSize - mOffset < sizeof(value))
74 value
80 getUInt64(uint64_t& value) argument
92 getUInt128(uint128_t& value) argument
107 int8_t value; local
123 uint8_t value; local
139 int16_t value; local
155 uint16_t value; local
171 int32_t value; local
187 uint32_t value; local
203 int64_t value; local
219 uint64_t value; local
229 putInt8(int8_t value) argument
236 putUInt8(uint8_t value) argument
243 putInt16(int16_t value) argument
251 putUInt16(uint16_t value) argument
259 putInt32(int32_t value) argument
269 putUInt32(uint32_t value) argument
279 putInt64(int64_t value) argument
293 putUInt64(uint64_t value) argument
307 putInt128(const int128_t& value) argument
314 putUInt128(const uint128_t& value) argument
321 putInt128(int64_t value) argument
[all...]
H A DMtpPacket.cpp103 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...]
H A DMtpProperty.cpp295 int value = *values++; local
298 mEnumValues[i].u.i8 = value;
301 mEnumValues[i].u.u8 = value;
304 mEnumValues[i].u.i16 = value;
307 mEnumValues[i].u.u16 = value;
310 mEnumValues[i].u.i32 = value;
313 mEnumValues[i].u.u32 = value;
316 mEnumValues[i].u.i64 = value;
319 mEnumValues[i].u.u64 = value;
341 buffer = " default value
380 print(MtpPropertyValue& value, MtpString& buffer) argument
423 readValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
478 writeValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp36 return table[i].value;
45 uint32_t value)
48 if (table[i].value == value) {
56 bool ConfigParsingUtils::stringToBool(const char *value) argument
58 return ((strcasecmp("true", value) == 0) || (strcmp("1", value) == 0));
221 availableOutputDevices.loadDevicesFromTag((char *)node->value,
229 (char *)node->value);
237 availableInputDevices.loadDevicesFromTag((char *)node->value,
43 enumToString(const struct StringToEnum *table, size_t size, uint32_t value) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp330 T* value, int32_t frameNumber, int cameraId) {
332 if (value == NULL) {
347 *value = static_cast<T>(entry.data.u8[0]);
350 *value = static_cast<T>(entry.data.i32[0]);
329 get3aResult(const CameraMetadata& result, int32_t tag, T* value, int32_t frameNumber, int cameraId) argument
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java247 final String table, final String key, final String value) {
259 arg.putString(Settings.NameValueTable.VALUE, value);
290 System.err.println(" settings [--user NUM] put namespace key value");
246 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
/frameworks/base/core/java/android/animation/
H A DKeyframe.java20 * This class holds a time/value pair for an animation. The Keyframe class is used
22 * of the animation. As the time proceeds from one keyframe to the other, the value of the
23 * target object will animate between the value at the previous keyframe and the value at the
28 * a subclass of Keyframe specific to the type of value being stored. This is done to improve
38 * Flag to indicate whether this keyframe has a valid value. This flag is used when an
45 * Flag to indicate whether the value in the keyframe was read from the target object or not.
46 * If so, its value will be recalculated if target changes.
57 * The type of the value in this Keyframe. This type is determined at construction time,
58 * based on the type of the <code>value</cod
82 ofInt(float fraction, int value) argument
114 ofFloat(float fraction, float value) argument
146 ofObject(float fraction, Object value) argument
203 setValue(Object value) argument
269 ObjectKeyframe(float fraction, Object value) argument
280 setValue(Object value) argument
304 IntKeyframe(float fraction, int value) argument
324 setValue(Object value) argument
351 FloatKeyframe(float fraction, float value) argument
371 setValue(Object value) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattDescriptor.java112 * The value for this descriptor.
199 * Returns the stored value for this descriptor
201 * <p>This function returns the stored value for this descriptor as
203 * value of the descriptor is updated as a result of a descriptor read
206 * @return Cached value of the descriptor
213 * Updates the locally stored value of this descriptor.
215 * <p>This function modifies the locally stored cached value of this
216 * descriptor. To send the value to the remote device, call
217 * {@link BluetoothGatt#writeDescriptor} to send the value to the
220 * @param value Ne
224 setValue(byte[] value) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentValues.java90 * 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
488 putStringArrayList(String key, ArrayList<String> value) argument
[all...]
H A DSharedPreferences.java52 * may be called even if a preference is set to its existing value.
72 * Set a String value in the preferences editor, to be written back once
76 * @param value The new value for the preference.
81 Editor putString(String key, @Nullable String value); argument
97 * Set an int value in the preferences editor, to be written back once
101 * @param value The new value for the preference.
106 Editor putInt(String key, int value); argument
109 * Set a long value i
118 putLong(String key, long value) argument
130 putFloat(String key, float value) argument
142 putBoolean(String key, boolean value) argument
[all...]
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java62 * Gets value at the given column for the current row.
186 * column value at a time. This follows the same ordering as the column
188 * <li>Column and value pairs can be offered for possible inclusion using
190 * the value will be set for that column, otherwise the value is ignored.
208 * Sets the next column value in this row.
225 * Offer value for possible inclusion if this cursor defines the given
230 public RowBuilder add(String columnName, Object value) { argument
233 data[(row * columnCount) + i] = value;
254 Object value
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteProgram.java124 * Bind a NULL value to this statement. The value remains bound until
134 * Bind a long value to this statement. The value remains bound until
138 * @param value The value to bind
140 public void bindLong(int index, long value) { argument
141 bind(index, value);
145 * Bind a double value to this statement. The value remain
151 bindDouble(int index, double value) argument
162 bindString(int index, String value) argument
176 bindBlob(int index, byte[] value) argument
210 bind(int index, Object value) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java61 public void marshal(T value, ByteBuffer buffer) { argument
62 int length = Array.getLength(value);
64 marshalArrayElement(mComponentMarshaler, buffer, value, i);
124 public int calculateMarshalSize(T value) { argument
126 int arrayLength = Array.getLength(value);
135 size += calculateElementMarshalSize(mComponentMarshaler, value, i);
H A DMarshalQueryableEnum.java34 * by providing a manual value with {@link #registerEnumValues}.</p>
59 public void marshal(T value, ByteBuffer buffer) { argument
60 int enumValue = getEnumValue(value);
67 "Enum value %x too large to fit into unsigned byte", enumValue));
84 // get the unsigned byte value; avoid sign extension
143 * <p>This enables get/set to correctly marshal the enum into a value that is C-compatible.</p>
162 * Get the numeric value from an enum.
164 * <p>This is usually the same as the ordinal value for
184 * Finds the enum corresponding to it's numeric value. Opposite of {@link #getEnumValue} method.
187 * @param value Th
190 getEnumFromValue(Class<T> enumType, int value) argument
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiRecordListener.java108 private static int bcdByteToInt(byte value) { argument
109 return ((value >> 4) & 0xF) * 10 + value & 0xF;
137 * If it is {@code true}, {@link #getProgrammedInfo()} would have meaningful value and

Completed in 2382 milliseconds

<<11121314151617181920>>