Home
last modified time | relevance | path

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

12345678910>>...15

/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/native/libs/binder/include/binder/
DParcel.h584 const Flattenable<T>& val; variable
632 status_t Parcel::write(const Flattenable<T>& val) { in write()
638 status_t Parcel::write(const LightFlattenable<T>& val) { in write()
659 status_t Parcel::read(Flattenable<T>& val) const { in read()
665 status_t Parcel::read(LightFlattenable<T>& val) const { in read()
686 status_t Parcel::writeVectorSize(const std::vector<T>& val) { in writeVectorSize()
694 status_t Parcel::writeVectorSize(const std::unique_ptr<std::vector<T>>& val) { in writeVectorSize()
703 status_t Parcel::resizeOutVector(std::vector<T>* val) const { in resizeOutVector()
718 status_t Parcel::resizeOutVector(std::unique_ptr<std::vector<T>>* val) const { in resizeOutVector()
734 status_t Parcel::reserveOutVector(std::vector<T>* val, size_t* size) const { in reserveOutVector()
[all …]
/frameworks/native/include/binder/
DParcel.h584 const Flattenable<T>& val; variable
632 status_t Parcel::write(const Flattenable<T>& val) { in write()
638 status_t Parcel::write(const LightFlattenable<T>& val) { in write()
659 status_t Parcel::read(Flattenable<T>& val) const { in read()
665 status_t Parcel::read(LightFlattenable<T>& val) const { in read()
686 status_t Parcel::writeVectorSize(const std::vector<T>& val) { in writeVectorSize()
694 status_t Parcel::writeVectorSize(const std::unique_ptr<std::vector<T>>& val) { in writeVectorSize()
703 status_t Parcel::resizeOutVector(std::vector<T>* val) const { in resizeOutVector()
718 status_t Parcel::resizeOutVector(std::unique_ptr<std::vector<T>>* val) const { in resizeOutVector()
734 status_t Parcel::reserveOutVector(std::vector<T>* val, size_t* size) const { in reserveOutVector()
[all …]
/frameworks/base/core/java/android/os/
DHwParcel.java90 public native final void writeBool(boolean val); in writeBool()
96 public native final void writeInt8(byte val); in writeInt8()
102 public native final void writeInt16(short val); in writeInt16()
108 public native final void writeInt32(int val); in writeInt32()
114 public native final void writeInt64(long val); in writeInt64()
120 public native final void writeFloat(float val); in writeFloat()
126 public native final void writeDouble(double val); in writeDouble()
135 public native final void writeString(String val); in writeString()
143 public native final void writeNativeHandle(@Nullable NativeHandle val); in writeNativeHandle()
150 private native final void writeBoolVector(boolean[] val); in writeBoolVector()
[all …]
DParcel.java302 private static native void nativeWriteInt(long nativePtr, int val); in nativeWriteInt()
304 private static native void nativeWriteLong(long nativePtr, long val); in nativeWriteLong()
306 private static native void nativeWriteFloat(long nativePtr, float val); in nativeWriteFloat()
308 private static native void nativeWriteDouble(long nativePtr, double val); in nativeWriteDouble()
310 private static native void nativeWriteString8(long nativePtr, String val); in nativeWriteString8()
312 private static native void nativeWriteString16(long nativePtr, String val); in nativeWriteString16()
314 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); in nativeWriteStrongBinder()
316 private static native long nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); in nativeWriteFileDescriptor()
741 public final void writeInt(int val) { in writeInt()
749 public final void writeLong(long val) { in writeLong()
[all …]
/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/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.java439 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt()
463 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt()
470 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt()
493 public static @Nullable String[] removeString(@Nullable String[] cur, String val) { in removeString()
517 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong()
540 public static @NonNull long[] appendLong(@Nullable long[] cur, long val) { in appendLong()
547 public static @Nullable long[] removeLong(@Nullable long[] cur, long val) { in removeLong()
582 public static @NonNull <T> ArraySet<T> add(@Nullable ArraySet<T> cur, T val) { in add()
590 public static @Nullable <T> ArraySet<T> remove(@Nullable ArraySet<T> cur, T val) { in remove()
602 public static @NonNull <T> ArrayList<T> add(@Nullable ArrayList<T> cur, T val) { in add()
[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.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
DIdmap_test.cpp78 Res_value val; in TEST_F() local
94 Res_value val; in TEST_F() local
110 Res_value val; in TEST_F() local
126 Res_value val; in TEST_F() local
142 Res_value val; in TEST_F() local
159 Res_value val; in TEST_F() local
175 Res_value val; in TEST_F() local
234 Res_value val; in TEST_F() 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/binder/
DParcel.cpp786 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { in writeByteVector()
790 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) in writeByteVector()
796 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { in writeByteVector()
800 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val) in writeByteVector()
806 status_t Parcel::writeInt32Vector(const std::vector<int32_t>& val) in writeInt32Vector()
811 status_t Parcel::writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) in writeInt32Vector()
816 status_t Parcel::writeInt64Vector(const std::vector<int64_t>& val) in writeInt64Vector()
821 status_t Parcel::writeInt64Vector(const std::unique_ptr<std::vector<int64_t>>& val) in writeInt64Vector()
826 status_t Parcel::writeUint64Vector(const std::vector<uint64_t>& val) in writeUint64Vector()
831 status_t Parcel::writeUint64Vector(const std::unique_ptr<std::vector<uint64_t>>& val) in writeUint64Vector()
[all …]
/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/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/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 …]

12345678910>>...15