Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/native/include/binder/
DParcel.h650 const Flattenable<T>& val; variable
698 status_t Parcel::write(const Flattenable<T>& val) { in write()
704 status_t Parcel::write(const LightFlattenable<T>& val) { in write()
725 status_t Parcel::read(Flattenable<T>& val) const { in read()
731 status_t Parcel::read(LightFlattenable<T>& val) const { in read()
752 status_t Parcel::writeVectorSize(const std::vector<T>& val) { in writeVectorSize()
760 status_t Parcel::writeVectorSize(const std::optional<std::vector<T>>& val) { in writeVectorSize()
769 status_t Parcel::writeVectorSize(const std::unique_ptr<std::vector<T>>& val) { in writeVectorSize()
778 status_t Parcel::resizeOutVector(std::vector<T>* val) const { in resizeOutVector()
793 status_t Parcel::resizeOutVector(std::optional<std::vector<T>>* val) const { in resizeOutVector()
[all …]
/frameworks/native/libs/binder/include/binder/
DParcel.h650 const Flattenable<T>& val; variable
698 status_t Parcel::write(const Flattenable<T>& val) { in write()
704 status_t Parcel::write(const LightFlattenable<T>& val) { in write()
725 status_t Parcel::read(Flattenable<T>& val) const { in read()
731 status_t Parcel::read(LightFlattenable<T>& val) const { in read()
752 status_t Parcel::writeVectorSize(const std::vector<T>& val) { in writeVectorSize()
760 status_t Parcel::writeVectorSize(const std::optional<std::vector<T>>& val) { in writeVectorSize()
769 status_t Parcel::writeVectorSize(const std::unique_ptr<std::vector<T>>& val) { in writeVectorSize()
778 status_t Parcel::resizeOutVector(std::vector<T>* val) const { in resizeOutVector()
793 status_t Parcel::resizeOutVector(std::optional<std::vector<T>>* val) const { in resizeOutVector()
[all …]
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java225 public void write(long fieldId, double val) { in write()
360 public void write(long fieldId, float val) { in write()
495 public void write(long fieldId, int val) { in write()
630 public void write(long fieldId, long val) { in write()
763 public void write(long fieldId, boolean val) { in write()
792 public void write(long fieldId, @Nullable String val) { in write()
821 public void write(long fieldId, @Nullable byte[] val) { in write()
895 public void writeDouble(long fieldId, double val) { in writeDouble()
902 private void writeDoubleImpl(int id, double val) { in writeDoubleImpl()
916 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.java89 public native final void writeBool(boolean val); in writeBool()
95 public native final void writeInt8(byte val); in writeInt8()
101 public native final void writeInt16(short val); in writeInt16()
107 public native final void writeInt32(int val); in writeInt32()
113 public native final void writeInt64(long val); in writeInt64()
119 public native final void writeFloat(float val); in writeFloat()
125 public native final void writeDouble(double val); in writeDouble()
134 public native final void writeString(String val); in writeString()
142 public native final void writeNativeHandle(@Nullable NativeHandle val); in writeNativeHandle()
149 private native final void writeBoolVector(boolean[] val); in writeBoolVector()
[all …]
DParcel.java298 private static native void nativeWriteInt(long nativePtr, int val); in nativeWriteInt()
300 private static native void nativeWriteLong(long nativePtr, long val); in nativeWriteLong()
302 private static native void nativeWriteFloat(long nativePtr, float val); in nativeWriteFloat()
304 private static native void nativeWriteDouble(long nativePtr, double val); in nativeWriteDouble()
305 static native void nativeWriteString(long nativePtr, String val); in nativeWriteString()
306 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); in nativeWriteStrongBinder()
307 private static native long nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); in nativeWriteFileDescriptor()
719 public final void writeInt(int val) { in writeInt()
727 public final void writeLong(long val) { in writeLong()
735 public final void writeFloat(float val) { in writeFloat()
[all …]
DStatsLogEventWrapper.java86 public void writeInt(int val) { in writeInt()
94 public void writeLong(long val) { in writeLong()
102 public void writeString(String val) { in writeString()
111 public void writeFloat(float val) { in writeFloat()
119 public void writeStorage(byte[] val) { in writeStorage()
127 public void writeBoolean(boolean val) { in writeBoolean()
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp57 ProtoOutputStream::internalWrite(uint64_t fieldId, T val, const char* typeName) in internalWrite()
100 ProtoOutputStream::write(uint64_t fieldId, double val) in write()
107 ProtoOutputStream::write(uint64_t fieldId, float val) in write()
113 ProtoOutputStream::write(uint64_t fieldId, int val) in write()
119 ProtoOutputStream::write(uint64_t fieldId, long val) in write()
147 ProtoOutputStream::write(uint64_t fieldId, long long val) in write()
153 ProtoOutputStream::write(uint64_t fieldId, bool val) in write()
169 ProtoOutputStream::write(uint64_t fieldId, std::string val) in write()
185 ProtoOutputStream::write(uint64_t fieldId, const char* val, size_t size) in write()
558 ProtoOutputStream::writeDoubleImpl(uint32_t id, double val) in writeDoubleImpl()
[all …]
DEncodedBuffer.cpp154 EncodedBuffer::writeRawByte(uint8_t val) in writeRawByte()
161 EncodedBuffer::writeRawVarint64(uint64_t val) in writeRawVarint64()
177 EncodedBuffer::writeRawVarint32(uint32_t val) in writeRawVarint32()
184 EncodedBuffer::writeRawFixed32(uint32_t val) in writeRawFixed32()
193 EncodedBuffer::writeRawFixed64(uint64_t val) in writeRawFixed64()
278 uint8_t val = *at(mEp); in readRawByte() local
286 uint64_t val = 0, shift = 0; in readRawVarint() local
300 uint32_t val = 0; in readRawFixed32() local
310 uint64_t val = 0; in readRawFixed64() local
318 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/tests/
DbinderTextOutputTest.cpp48 #define CHECK_VAL_(val, singleline) \ argument
57 #define CHECK_VAL(val) CHECK_VAL_(val, true) argument
101 android::Parcel val; in TEST() local
107 android::HexDump val(buf, sizeof(buf)); in TEST() local
113 android::HexDump val(buf, sizeof(buf), 4); in TEST() local
118 android::TypeCode val(1234); in TEST() local
123 int32_t val = 321; //0x141 in TEST() local
128 android::String8 val("foobar"); in TEST() local
133 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.java398 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt()
422 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt()
429 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt()
452 public static @Nullable String[] removeString(@Nullable String[] cur, String val) { in removeString()
476 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong()
499 public static @NonNull long[] appendLong(@Nullable long[] cur, long val) { in appendLong()
506 public static @Nullable long[] removeLong(@Nullable long[] cur, long val) { in removeLong()
541 public static @NonNull <T> ArraySet<T> add(@Nullable ArraySet<T> cur, T val) { in add()
549 public static @Nullable <T> ArraySet<T> remove(@Nullable ArraySet<T> cur, T val) { in remove()
561 public static @NonNull <T> ArrayList<T> add(@Nullable ArrayList<T> cur, T val) { in add()
[all …]
/frameworks/native/libs/binder/
DParcel.cpp793 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { in writeByteVector()
797 status_t Parcel::writeByteVector(const std::optional<std::vector<int8_t>>& val) in writeByteVector()
803 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) in writeByteVector()
809 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { in writeByteVector()
813 status_t Parcel::writeByteVector(const std::optional<std::vector<uint8_t>>& val) in writeByteVector()
819 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val) in writeByteVector()
825 status_t Parcel::writeInt32Vector(const std::vector<int32_t>& val) in writeInt32Vector()
830 status_t Parcel::writeInt32Vector(const std::optional<std::vector<int32_t>>& val) in writeInt32Vector()
835 status_t Parcel::writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) in writeInt32Vector()
840 status_t Parcel::writeInt64Vector(const std::vector<int64_t>& val) in writeInt64Vector()
[all …]
/frameworks/base/core/java/com/android/internal/util/dump/
DDualDumpOutputStream.java157 public void write(@NonNull String fieldName, long fieldId, double val) { in write()
165 public void write(@NonNull String fieldName, long fieldId, boolean val) { in write()
173 public void write(@NonNull String fieldName, long fieldId, int val) { in write()
181 public void write(@NonNull String fieldName, long fieldId, float val) { in write()
189 public void write(@NonNull String fieldName, long fieldId, byte[] val) { in write()
197 public void write(@NonNull String fieldName, long fieldId, long val) { in write()
205 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<Dummy> val = make_nothing<Dummy>(); in TEST() local
109 Maybe<Dummy> val; in TEST() local
/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 …]
/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/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java77 final int val = (Integer) value; in marshal() local
81 final float val = (Float) value; in marshal() local
85 final long val = (Long) value; in marshal() local
92 final double val = (Double) value; in marshal() local

12345678910>>...15