Searched refs:value (Results 226 - 250 of 2087) sorted by relevance

1234567891011>>

/frameworks/av/media/libmedia/
H A DAudioParameter.cpp61 String8 value; local
63 value = String8("");
65 value = String8(pair + eqIdx + 1);
68 mParameters.add(key, value);
70 mParameters.replaceValueFor(key, value);
73 ALOGV("AudioParameter() cstor empty key value pair");
102 status_t AudioParameter::add(const String8& key, const String8& value) argument
105 mParameters.add(key, value);
108 mParameters.replaceValueFor(key, value);
118 status_t AudioParameter::addInt(const String8& key, const int value) argument
129 addFloat(const String8& key, const float value) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp97 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);
235 AString value; local
259 AString value; local
[all...]
/frameworks/base/core/java/android/os/
H A DBundle.java133 * Make a Bundle for a single key/value pair.
137 public static Bundle forPair(String key, String value) { argument
139 b.putString(key, value);
342 Object value = map.valueAt(i);
343 if (PersistableBundle.isValidType(value)) {
346 if (value instanceof Bundle) {
347 Bundle newBundle = ((Bundle)value).filterValues();
348 if (newBundle != value) {
362 if (value.getClass().getName().startsWith("android.")) {
382 * Inserts a byte value int
389 putByte(@ullable String key, byte value) argument
401 putChar(@ullable String key, char value) argument
413 putShort(@ullable String key, short value) argument
425 putFloat(@ullable String key, float value) argument
437 putCharSequence(@ullable String key, @Nullable CharSequence value) argument
448 putParcelable(@ullable String key, @Nullable Parcelable value) argument
461 putSize(@ullable String key, @Nullable Size value) argument
473 putSizeF(@ullable String key, @Nullable SizeF value) argument
486 putParcelableArray(@ullable String key, @Nullable Parcelable[] value) argument
500 putParcelableArrayList(@ullable String key, @Nullable ArrayList<? extends Parcelable> value) argument
508 putParcelableList(String key, List<? extends Parcelable> value) argument
522 putSparseParcelableArray(@ullable String key, @Nullable SparseArray<? extends Parcelable> value) argument
537 putIntegerArrayList(@ullable String key, @Nullable ArrayList<Integer> value) argument
549 putStringArrayList(@ullable String key, @Nullable ArrayList<String> value) argument
561 putCharSequenceArrayList(@ullable String key, @Nullable ArrayList<CharSequence> value) argument
574 putSerializable(@ullable String key, @Nullable Serializable value) argument
586 putByteArray(@ullable String key, @Nullable byte[] value) argument
598 putShortArray(@ullable String key, @Nullable short[] value) argument
610 putCharArray(@ullable String key, @Nullable char[] value) argument
622 putFloatArray(@ullable String key, @Nullable float[] value) argument
634 putCharSequenceArray(@ullable String key, @Nullable CharSequence[] value) argument
645 putBundle(@ullable String key, @Nullable Bundle value) argument
664 putBinder(@ullable String key, @Nullable IBinder value) argument
680 putIBinder(@ullable String key, @Nullable IBinder value) argument
[all...]
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp56 if (package->id && package->id.value() == id) {
70 if (id && package->id && package->id.value() != id.value()) {
149 ResourceConfigValue* value = iter->get(); local
150 if (value->config == config && StringPiece(value->product) == product) {
151 return value;
162 ResourceConfigValue* value = iter->get(); local
163 if (value->config == config && StringPiece(value
177 ResourceConfigValue* value = iter->get(); local
186 ResourceConfigValue* value = iter->get(); local
300 AddResource(const ResourceNameRef& name, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
309 AddResource(const ResourceNameRef& name, const ResourceId& res_id, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
346 AddResourceAllowMangled(const ResourceNameRef& name, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
355 AddResourceAllowMangled(const ResourceNameRef& name, const ResourceId& id, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
365 AddResourceImpl(const ResourceNameRef& name, const ResourceId& res_id, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, NameValidator name_validator, const CollisionResolverFunc& conflictResolver, IDiagnostics* diag) argument
[all...]
H A DResourceValues.cpp32 std::ostream& operator<<(std::ostream& out, const Value& value) { argument
33 value.Print(&out);
47 RawString::RawString(const StringPool::Ref& ref) : value(ref) {}
49 bool RawString::Equals(const Value* value) const {
50 const RawString* other = ValueCast<RawString>(value);
54 return *this->value == *other->value;
58 RawString* rs = new RawString(new_pool->MakeRef(*value));
66 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index()));
71 *out << "(raw string) " << *value; local
208 *out << "(string) \\"" << *value << "\\""; local
536 BuildAttributeMismatchMessage(DiagMessage* msg, const Attribute* attr, const Item* value) argument
580 *msg << " but got " << *value; local
[all...]
H A DFlags.h35 std::string* value);
37 std::vector<std::string>* value);
39 Maybe<std::string>* value);
41 std::vector<std::string>* value);
43 std::unordered_set<std::string>* value);
45 bool* value);
58 std::function<bool(const android::StringPiece& value)> action;
H A DResourceParser_test.cpp82 EXPECT_EQ(std::string(" hey there "), *str->value);
92 EXPECT_EQ(std::string("?123"), *str->value);
115 EXPECT_EQ(expected_str, *str->value->str);
116 EXPECT_EQ(2u, str->value->spans.size());
119 EXPECT_EQ(std::string("b"), *str->value->spans[0].name);
120 EXPECT_EQ(17u, str->value->spans[0].first_char);
121 EXPECT_EQ(30u, str->value->spans[0].last_char);
123 EXPECT_EQ(std::string("small"), *str->value->spans[1].name);
124 EXPECT_EQ(24u, str->value->spans[1].first_char);
125 EXPECT_EQ(30u, str->value
632 String* value = test::GetValue<String>(&table_, "string/foo"); local
645 String* value = test::GetValue<String>(&table_, "string/foo"); local
660 String* value = test::GetValue<String>(&table_, "string/foo"); local
[all...]
H A DDebug.cpp47 std::cout << "\n " << symbol.symbol.name.value().entry;
49 std::cout << " (" << symbol.symbol.id.value() << ")";
51 std::cout << " = " << symbol.value;
59 const Reference& parent_ref = style->parent.value();
65 std::cout << parent_ref.name.value() << " ";
69 std::cout << parent_ref.id.value();
76 const ResourceName& name = entry.key.name.value();
84 std::cout << "(" << entry.key.id.value() << ")";
87 std::cout << "=" << *entry.value;
100 const ResourceName& name = attr.name.value();
[all...]
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DDataBinderWriter.kt32 val firstVal = it.value[0]
34 if (it.value.size == 1) {
45 it.value.forEach {
66 val firstVal = it.value[0]
68 if (it.value.size == 1) {
74 it.value.forEach {
95 it.value.forEach {
119 tab(",\"${it.value}\"")
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DMDnsUtils.java32 public static String getString(byte[] value) { argument
33 if (value != null) return new String(value,StandardCharsets.UTF_8);
62 for (String value : vendorValues) {
63 if (containsString(container, value)
64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US))
65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
/frameworks/base/rs/java/android/renderscript/
H A DInt3.java79 * @param value
81 public void add(int value) { argument
82 x += value;
83 y += value;
84 z += value;
133 * @param value
135 public void sub(int value) { argument
136 x -= value;
137 y -= value;
138 z -= value;
189 mul(int value) argument
243 div(int value) argument
297 mod(int value) argument
428 setAt(int i, int value) argument
450 addAt(int i, int value) argument
[all...]
H A DLong3.java79 * @param value
81 public void add(long value) { argument
82 x += value;
83 y += value;
84 z += value;
133 * @param value
135 public void sub(long value) { argument
136 x -= value;
137 y -= value;
138 z -= value;
189 mul(long value) argument
243 div(long value) argument
297 mod(long value) argument
428 setAt(int i, long value) argument
450 addAt(int i, long value) argument
[all...]
H A DShort3.java79 * @param value
81 public void add(short value) { argument
82 x += value;
83 y += value;
84 z += value;
133 * @param value
135 public void sub(short value) { argument
136 x -= value;
137 y -= value;
138 z -= value;
189 mul(short value) argument
243 div(short value) argument
297 mod(short value) argument
428 setAt(int i, short value) argument
450 addAt(int i, short value) argument
[all...]
H A DInt2.java74 * @param value
76 public void add(int value) { argument
77 x += value;
78 y += value;
124 * @param value
126 public void sub(int value) { argument
127 x -= value;
128 y -= value;
174 * @param value
176 public void mul(int value) { argument
226 div(int value) argument
276 mod(int value) argument
398 setAt(int i, int value) argument
417 addAt(int i, int value) argument
[all...]
H A DLong2.java74 * @param value
76 public void add(long value) { argument
77 x += value;
78 y += value;
124 * @param value
126 public void sub(long value) { argument
127 x -= value;
128 y -= value;
174 * @param value
176 public void mul(long value) { argument
226 div(long value) argument
276 mod(long value) argument
398 setAt(int i, long value) argument
417 addAt(int i, long value) argument
[all...]
H A DShort2.java77 * @param value
79 public void add(short value) { argument
80 x += value;
81 y += value;
127 * @param value
129 public void sub(short value) { argument
130 x -= value;
131 y -= value;
177 * @param value
179 public void mul(short value) { argument
229 div(short value) argument
279 mod(short value) argument
401 setAt(int i, short value) argument
420 addAt(int i, short value) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorfulnessFilter.java71 float value = histogramBuffer.get() * weight;
72 hueHistogram[c] += value;
73 total += value;
78 float value = hueHistogram[c] / total;
79 if (value > 0f) {
80 colorful -= value * ((float) Math.log(value));
/frameworks/rs/script_api/include/
H A Drs_atomic.rsh42 * Atomicly adds a value to the value at addr, i.e. *addr += value.
45 * addr: Address of the value to modify.
46 * value: Amount to add.
52 rsAtomicAdd(volatile int32_t* addr, int32_t value);
57 rsAtomicAdd(volatile uint32_t* addr, uint32_t value);
64 * i.e. *addr &= value.
67 * addr: Address of the value to modify.
68 * value
[all...]
/frameworks/base/location/java/android/location/
H A DGpsMeasurement.java241 public void setPrn(byte value) { argument
242 mPrn = value;
250 * The sign of this value is given by the following equation:
253 * The value provides an individual time-stamp for the measurement, and allows sub-nanosecond
263 public void setTimeOffsetInNs(double value) { argument
264 mTimeOffsetInNs = value;
271 * This value helps interpret {@link #getReceivedGpsTowInNs()}.
280 public void setState(short value) { argument
281 mState = value;
320 * The value i
336 setReceivedGpsTowInNs(long value) argument
350 setReceivedGpsTowUncertaintyInNs(long value) argument
367 setCn0InDbHz(double value) argument
391 setPseudorangeRateInMetersPerSec(double value) argument
416 setPseudorangeRateUncertaintyInMetersPerSec(double value) argument
432 setAccumulatedDeltaRangeState(short value) argument
482 setAccumulatedDeltaRangeInMeters(double value) argument
501 setAccumulatedDeltaRangeUncertaintyInMeters(double value) argument
525 setPseudorangeInMeters(double value) argument
559 setPseudorangeUncertaintyInMeters(double value) argument
594 setCodePhaseInChips(double value) argument
627 setCodePhaseUncertaintyInChips(double value) argument
693 setCarrierCycles(long value) argument
730 setCarrierPhase(double value) argument
763 setCarrierPhaseUncertainty(double value) argument
786 setLossOfLock(byte value) argument
859 setTimeFromLastBitInMs(short value) argument
895 setDopplerShiftInHz(double value) argument
928 setDopplerShiftUncertaintyInHz(double value) argument
951 setMultipathIndicator(byte value) argument
1060 setElevationUncertaintyInDeg(double value) argument
1095 setAzimuthInDeg(double value) argument
1130 setAzimuthUncertaintyInDeg(double value) argument
1156 setUsedInFix(boolean value) argument
[all...]
/frameworks/base/core/java/android/util/
H A DDebugUtils.java92 Object value = declaredMethod
94 match |= (value != null ?
95 value.toString() : "null").matches(pair[1]);
153 String value;
155 value = String.format("%.2f", result);
157 value = String.format("%.1f", result);
159 value = String.format("%.0f", result);
161 value = String.format("%.0f", result);
163 pw.print(value);
194 String value;
215 valueToString(Class<?> clazz, String prefix, int value) argument
[all...]
H A DLruCache.java24 * 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...]
/frameworks/base/tools/aapt/
H A DAaptXml.cpp28 Res_value value; local
29 if (tree.getAttributeValue(attrIndex, &value) < 0) {
36 if (value.dataType != Res_value::TYPE_STRING) {
38 *outError = "attribute is not a string value";
50 Res_value value; local
51 if (tree.getAttributeValue(attrIndex, &value) < 0) {
58 if (value.dataType < Res_value::TYPE_FIRST_INT
59 || value.dataType > Res_value::TYPE_LAST_INT) {
61 *outError = "attribute is not an integer value";
65 return value
102 Res_value value; local
147 Res_value value; local
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dserialization.h50 // * std::vector with value type of any supported type, including nesting.
101 typename T::SerializableMembers>::value> {};
107 typename std::enable_if<HasSerializableMembers<T>::value>::type;
112 typename std::enable_if<std::is_enum<T>::value, ReturnType>::type;
292 [](const auto& value) { return GetSerializedSize(value); });
297 inline constexpr std::size_t GetSerializedSize(const T& value) { argument
298 return SerializableTraits<T>::GetSerializedSize(value);
463 typename = typename std::enable_if<std::is_pod<T>::value>::type>
464 inline void SerializeRaw(const T& value, voi
[all...]
H A Dvariant.h32 typename std::enable_if<std::is_constructible<T, Args...>::value, R>::type;
36 typename std::enable_if<!std::is_constructible<T, Args...>::value, R>::type;
45 : std::integral_constant<bool, HasType<T, First>::value ||
46 HasType<T, Rest...>::value> {};
58 : std::integral_constant<bool, IsSubset<First>::value &&
59 IsSubset<Rest...>::value> {};
69 std::is_constructible<To, From>::value> {};
73 std::is_constructible<First, From>::value +
74 ConstructibleCount<From, Rest...>::value> {};
79 typename std::enable_if<HasType<T, Types...>::value,
120 Union(std::int32_t index, std::int32_t* index_out, TypeTag<Type>, T&& value) argument
125 Union(std::int32_t index, std::int32_t* index_out, T&& value) argument
153 Assign(TypeTag<Type>, std::int32_t target_index, T&& value) argument
162 Assign(std::int32_t target_index, T&& value) argument
213 Union(std::int32_t index, std::int32_t* index_out, TypeTag<First>, T&& value) argument
218 Union(std::int32_t index, std::int32_t* index_out, TypeTag<T>, U&& value) argument
228 Union(std::int32_t index, std::int32_t* index_out, T&& value) argument
233 Union(std::int32_t index, std::int32_t* index_out, T&& value, FirstType) argument
238 Union(std::int32_t index, std::int32_t* index_out, T&& value, RestType) argument
290 Assign(TypeTag<First>, std::int32_t target_index, T&& value) argument
299 Assign(TypeTag<T>, std::int32_t target_index, U&& value) argument
303 Assign(std::int32_t target_index, T&& value) argument
313 Assign(std::int32_t target_index, T&& value) argument
382 Variant(T&& value, Direct) argument
386 Variant(T&& value, Convert) argument
409 Variant(T&& value) argument
416 operator =(T&& value) argument
424 operator =(T&& value) argument
552 Assign(TypeTag<T>, U&& value) argument
559 Assign(T&& value) argument
637 operator ()(const U& value) argument
642 operator ()(U&& value) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpProperty.cpp301 int value = *values++; local
304 mEnumValues[i].u.i8 = value;
307 mEnumValues[i].u.u8 = value;
310 mEnumValues[i].u.i16 = value;
313 mEnumValues[i].u.u16 = value;
316 mEnumValues[i].u.i32 = value;
319 mEnumValues[i].u.u32 = value;
322 mEnumValues[i].u.i64 = value;
325 mEnumValues[i].u.u64 = value;
347 buffer = " default value
386 print(MtpPropertyValue& value, MtpString& buffer) argument
429 readValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
484 writeValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
[all...]

Completed in 821 milliseconds

1234567891011>>