Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/frameworks/native/include/binder/
DParcel.h210 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector()
213 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector()
216 …status_t writeEnumVector(const std::unique_ptr<std::vector<T>>& val) __attribute__((dep… in writeEnumVector()
220 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector()
223 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector()
226 …status_t writeEnumVector(const std::unique_ptr<std::vector<T>>& val) __attribute__((dep… in writeEnumVector()
230 … status_t writeParcelableVector(const std::optional<std::vector<std::optional<T>>>& val) in writeParcelableVector()
233 …status_t writeParcelableVector(const std::unique_ptr<std::vector<std::unique_ptr<T>>>& … in writeParcelableVector()
236 …status_t writeParcelableVector(const std::shared_ptr<std::vector<std::unique_ptr<T>>>& … in writeParcelableVector()
239 …status_t writeParcelableVector(const std::shared_ptr<std::vector<std::optional<T>>>& va… in writeParcelableVector()
[all …]
/frameworks/native/libs/binder/include/binder/
DParcel.h210 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector()
213 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector()
216 …status_t writeEnumVector(const std::unique_ptr<std::vector<T>>& val) __attribute__((dep… in writeEnumVector()
220 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector()
223 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector()
226 …status_t writeEnumVector(const std::unique_ptr<std::vector<T>>& val) __attribute__((dep… in writeEnumVector()
230 … status_t writeParcelableVector(const std::optional<std::vector<std::optional<T>>>& val) in writeParcelableVector()
233 …status_t writeParcelableVector(const std::unique_ptr<std::vector<std::unique_ptr<T>>>& … in writeParcelableVector()
236 …status_t writeParcelableVector(const std::shared_ptr<std::vector<std::unique_ptr<T>>>& … in writeParcelableVector()
239 …status_t writeParcelableVector(const std::shared_ptr<std::vector<std::optional<T>>>& va… in writeParcelableVector()
[all …]
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java227 public void write(long fieldId, double val) { in write()
362 public void write(long fieldId, float val) { in write()
497 public void write(long fieldId, int val) { in write()
632 public void write(long fieldId, long val) { in write()
765 public void write(long fieldId, boolean val) { in write()
794 public void write(long fieldId, @Nullable String val) { in write()
823 public void write(long fieldId, @Nullable byte[] val) { in write()
897 public void writeDouble(long fieldId, double val) { in writeDouble()
904 private void writeDoubleImpl(int id, double val) { in writeDoubleImpl()
918 public void writeRepeatedDouble(long fieldId, double val) { in writeRepeatedDouble()
[all …]
DEncodedBuffer.java271 public void writeRawByte(byte val) { in writeRawByte()
281 public static int getRawVarint32Size(int val) { in getRawVarint32Size()
294 public void writeRawVarint32(int val) { in writeRawVarint32()
309 public static int getRawZigZag32Size(int val) { in getRawZigZag32Size()
318 public void writeRawZigZag32(int val) { in writeRawZigZag32()
325 public static int getRawVarint64Size(long val) { in getRawVarint64Size()
341 public void writeRawVarint64(long val) { in writeRawVarint64()
356 public static int getRawZigZag64Size(long val) { in getRawZigZag64Size()
363 public void writeRawZigZag64(long val) { in writeRawZigZag64()
370 public void writeRawFixed32(int val) { in writeRawFixed32()
[all …]
/frameworks/base/core/java/android/os/
DHwParcel.java88 public native final void writeBool(boolean val); in writeBool()
94 public native final void writeInt8(byte val); in writeInt8()
100 public native final void writeInt16(short val); in writeInt16()
106 public native final void writeInt32(int val); in writeInt32()
112 public native final void writeInt64(long val); in writeInt64()
118 public native final void writeFloat(float val); in writeFloat()
124 public native final void writeDouble(double val); in writeDouble()
133 public native final void writeString(String val); in writeString()
141 public native final void writeNativeHandle(@Nullable NativeHandle val); in writeNativeHandle()
148 private native final void writeBoolVector(boolean[] val); in writeBoolVector()
[all …]
DParcel.java327 private static native int nativeWriteInt(long nativePtr, int val); in nativeWriteInt()
329 private static native int nativeWriteLong(long nativePtr, long val); in nativeWriteLong()
331 private static native int nativeWriteFloat(long nativePtr, float val); in nativeWriteFloat()
333 private static native int nativeWriteDouble(long nativePtr, double val); in nativeWriteDouble()
336 private static native void nativeWriteString8(long nativePtr, String val); in nativeWriteString8()
338 private static native void nativeWriteString16(long nativePtr, String val); in nativeWriteString16()
340 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); in nativeWriteStrongBinder()
342 private static native void nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); in nativeWriteFileDescriptor()
794 public final void writeInt(int val) { in writeInt()
805 public final void writeLong(long val) { in writeLong()
[all …]
/frameworks/base/errorprone/tests/res/android/os/
DParcel.java22 public void writeString(String val) { in writeString()
25 public void writeString8(String val) { in writeString8()
28 public final void writeStringArray(String[] val) { in writeStringArray()
31 public final void writeString8Array(String[] val) { in writeString8Array()
42 public final void writeList(List val) { in writeList()
45 public final <T extends Parcelable> void writeParcelableList(List<T> val, int flags) { in writeParcelableList()
48 public <T extends Parcelable> void writeTypedList(List<T> val, int flags) { in writeTypedList()
54 public final <T extends Parcelable> void writeTypedArray(T[] val, int flags) { in writeTypedArray()
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp61 ProtoOutputStream::internalWrite(uint64_t fieldId, T val, const char* typeName) in internalWrite()
104 ProtoOutputStream::write(uint64_t fieldId, double val) in write()
111 ProtoOutputStream::write(uint64_t fieldId, float val) in write()
117 ProtoOutputStream::write(uint64_t fieldId, int val) in write()
123 ProtoOutputStream::write(uint64_t fieldId, long val) in write()
151 ProtoOutputStream::write(uint64_t fieldId, long long val) in write()
157 ProtoOutputStream::write(uint64_t fieldId, bool val) in write()
173 ProtoOutputStream::write(uint64_t fieldId, std::string val) in write()
189 ProtoOutputStream::write(uint64_t fieldId, const char* val, size_t size) in write()
562 ProtoOutputStream::writeDoubleImpl(uint32_t id, double val) in writeDoubleImpl()
[all …]
DEncodedBuffer.cpp160 EncodedBuffer::writeRawByte(uint8_t val) in writeRawByte()
167 EncodedBuffer::writeRawVarint64(uint64_t val) in writeRawVarint64()
183 EncodedBuffer::writeRawVarint32(uint32_t val) in writeRawVarint32()
190 EncodedBuffer::writeRawFixed32(uint32_t val) in writeRawFixed32()
199 EncodedBuffer::writeRawFixed64(uint64_t val) in writeRawFixed64()
284 uint8_t val = *at(mEp); in readRawByte() local
292 uint64_t val = 0, shift = 0; in readRawVarint() local
306 uint32_t val = 0; in readRawFixed32() local
316 uint64_t val = 0; in readRawFixed64() local
324 EncodedBuffer::editRawFixed32(size_t pos, uint32_t val) in editRawFixed32()
[all …]
/frameworks/base/tools/aapt/
DBundle.h87 void setVerbose(bool val) { mVerbose = val; } in setVerbose()
89 void setAndroidList(bool val) { mAndroidList = val; } in setAndroidList()
91 void setForce(bool val) { mForce = val; } in setForce()
92 void setGrayscaleTolerance(int val) { mGrayscaleTolerance = val; } in setGrayscaleTolerance()
95 void setMakePackageDirs(bool val) { mMakePackageDirs = val; } in setMakePackageDirs()
97 void setUpdate(bool val) { mUpdate = val; } in setUpdate()
99 void setExtending(bool val) { mExtending = val; } in setExtending()
101 void setRequireLocalization(bool val) { mRequireLocalization = val; } in setRequireLocalization()
103 void setPseudolocalize(short val) { mPseudolocalize = val; } in setPseudolocalize()
104 void setWantUTF16(bool val) { mWantUTF16 = val; } in setWantUTF16()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUnixCalendar.java34 public void addDays(int val) { in addDays()
38 public void addWeeks(int val) { in addWeeks()
42 public void addMonths(int val) { in addMonths()
46 public void addYears(int val) { in addYears()
/frameworks/native/libs/binder/
DParcel.cpp856 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { return writeData(val); } in writeByteVector()
857 status_t Parcel::writeByteVector(const std::optional<std::vector<int8_t>>& val) { return writeData(… in writeByteVector()
858 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) { return writeDat… in writeByteVector()
859 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { return writeData(val); } in writeByteVector()
860 status_t Parcel::writeByteVector(const std::optional<std::vector<uint8_t>>& val) { return writeData… in writeByteVector()
861 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val){ return writeDat… in writeByteVector()
862 status_t Parcel::writeInt32Vector(const std::vector<int32_t>& val) { return writeData(val); } in writeInt32Vector()
863 status_t Parcel::writeInt32Vector(const std::optional<std::vector<int32_t>>& val) { return writeDat… in writeInt32Vector()
864 status_t Parcel::writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) { return writeD… in writeInt32Vector()
865 status_t Parcel::writeInt64Vector(const std::vector<int64_t>& val) { return writeData(val); } in writeInt64Vector()
[all …]
/frameworks/native/libs/binder/tests/
DbinderTextOutputTest.cpp47 #define CHECK_VAL_(val, singleline) \ argument
56 #define CHECK_VAL(val) CHECK_VAL_(val, true) argument
100 android::Parcel val; in TEST() local
106 android::HexDump val(buf, sizeof(buf)); in TEST() local
112 android::HexDump val(buf, sizeof(buf), 4); in TEST() local
117 android::TypeCode val(1234); in TEST() local
122 int32_t val = 321; //0x141 in TEST() local
127 android::String8 val("foobar"); in TEST() local
132 android::String16 val("foobar"); in TEST() local
/frameworks/compile/mclinker/lib/LD/
DDiagnostic.cpp151 int val = getArgSInt(arg_no); in format() local
156 unsigned int val = getArgUInt(arg_no); in format() local
161 unsigned long long val = getArgUInt(arg_no); in format() local
166 bool val = getArgBool(arg_no); in format() local
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java452 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt()
476 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt()
483 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt()
506 public static @Nullable String[] removeString(@Nullable String[] cur, String val) { in removeString()
530 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong()
553 public static @NonNull long[] appendLong(@Nullable long[] cur, long val) { in appendLong()
560 public static @Nullable long[] removeLong(@Nullable long[] cur, long val) { in removeLong()
595 public static @NonNull <T> ArraySet<T> add(@Nullable ArraySet<T> cur, T val) { in add()
607 @Nullable Collection<T> val) { in addAll()
617 public static @Nullable <T> ArraySet<T> remove(@Nullable ArraySet<T> cur, T val) { in remove()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DBrightnessUtils.java54 public static final int convertGammaToLinear(int val, int min, int max) { in convertGammaToLinear()
77 public static final float convertGammaToLinearFloat(int val, float min, float max) { in convertGammaToLinearFloat()
117 public static final int convertLinearToGamma(int val, int min, int max) { in convertLinearToGamma()
129 public static final int convertLinearToGammaFloat(float val, float min, float max) { in convertLinearToGammaFloat()
/frameworks/base/core/java/com/android/internal/util/dump/
DDualDumpOutputStream.java156 public void write(@NonNull String fieldName, long fieldId, double val) { in write()
164 public void write(@NonNull String fieldName, long fieldId, boolean val) { in write()
172 public void write(@NonNull String fieldName, long fieldId, int val) { in write()
180 public void write(@NonNull String fieldName, long fieldId, float val) { in write()
188 public void write(@NonNull String fieldName, long fieldId, byte[] val) { in write()
196 public void write(@NonNull String fieldName, long fieldId, long val) { in write()
204 public void write(@NonNull String fieldName, long fieldId, @Nullable String val) { in write()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java343 private void writeStringRecord(int metadataId, String val) { in writeStringRecord()
353 private void writeIntRecord(int metadataId, int val) { in writeIntRecord()
363 private void writeBooleanRecord(int metadataId, boolean val) { in writeBooleanRecord()
373 private void writeLongRecord(int metadataId, long val) { in writeLongRecord()
383 private void writeDoubleRecord(int metadataId, double val) { in writeDoubleRecord()
393 private void writeByteArrayRecord(int metadataId, byte[] val) { in writeByteArrayRecord()
/frameworks/base/libs/androidfw/tests/
DAppAsLib_test.cpp37 Res_value val; in TEST() local
56 Res_value val; in TEST() local
75 Res_value val; in TEST() local
DResTable_test.cpp63 Res_value val; in TEST() local
111 Res_value val; in TEST() local
135 Res_value val; in TEST() local
159 Res_value val; in TEST() local
180 Res_value val; in TEST() local
201 Res_value val; in TEST() local
234 Res_value val; in TEST() local
267 Res_value val; in TEST() local
364 Res_value val; in TEST() local
435 Res_value val; in TEST() local
/frameworks/native/libs/incidentcompanion/include/android/os/
DIncidentManager.h39 void setTimestampNs(int64_t val) { mTimestampNs = val; } in setTimestampNs()
43 void setPrivacyPolicy(int32_t val) { mPrivacyPolicy = val; } in setPrivacyPolicy()
/frameworks/base/tools/aapt2/util/
DMaybe_test.cpp82 Maybe<int> val = make_nothing<int>(); in TEST() local
93 Maybe<int> val = make_value(23); in TEST() local
103 Maybe<Fake> val = make_nothing<Fake>(); in TEST() local
109 Maybe<Fake> val; in TEST() local
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_math_agree.java48 private Float2 pack_f2(float[] val) { in pack_f2()
53 private Float3 pack_f3(float[] val) { in pack_f3()
58 private Float4 pack_f4(float[] val) { in pack_f4()
63 private Byte2 pack_b2(byte[] val) { in pack_b2()
68 private Byte3 pack_b3(byte[] val) { in pack_b3()
73 private Byte4 pack_b4(byte[] val) { in pack_b4()
78 private Short2 pack_s2(short[] val) { in pack_s2()
83 private Short3 pack_s3(short[] val) { in pack_s3()
88 private Short4 pack_s4(short[] val) { in pack_s4()
93 private Int2 pack_i2(int[] val) { in pack_i2()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_math_agree.java37 private Float2 pack_f2(float[] val) { in pack_f2()
41 private Float3 pack_f3(float[] val) { in pack_f3()
45 private Float4 pack_f4(float[] val) { in pack_f4()
49 private Byte2 pack_b2(byte[] val) { in pack_b2()
53 private Byte3 pack_b3(byte[] val) { in pack_b3()
57 private Byte4 pack_b4(byte[] val) { in pack_b4()
61 private Short2 pack_s2(short[] val) { in pack_s2()
65 private Short3 pack_s3(short[] val) { in pack_s3()
69 private Short4 pack_s4(short[] val) { in pack_s4()
73 private Int2 pack_i2(int[] val) { in pack_i2()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_math_agree.java50 private Float2 pack_f2(float[] val) { in pack_f2()
55 private Float3 pack_f3(float[] val) { in pack_f3()
60 private Float4 pack_f4(float[] val) { in pack_f4()
65 private Byte2 pack_b2(byte[] val) { in pack_b2()
70 private Byte3 pack_b3(byte[] val) { in pack_b3()
75 private Byte4 pack_b4(byte[] val) { in pack_b4()
80 private Short2 pack_s2(short[] val) { in pack_s2()
85 private Short3 pack_s3(short[] val) { in pack_s3()
90 private Short4 pack_s4(short[] val) { in pack_s4()
95 private Int2 pack_i2(int[] val) { in pack_i2()
[all …]

12345678910>>...15