Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java212 public void write(long fieldId, double val) { in write()
347 public void write(long fieldId, float val) { in write()
482 public void write(long fieldId, int val) { in write()
617 public void write(long fieldId, long val) { in write()
750 public void write(long fieldId, boolean val) { in write()
779 public void write(long fieldId, String val) { in write()
808 public void write(long fieldId, byte[] val) { in write()
876 public void writeDouble(long fieldId, double val) { in writeDouble()
883 private void writeDoubleImpl(int id, double val) { in writeDoubleImpl()
896 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.java85 public native final void writeBool(boolean val); in writeBool()
90 public native final void writeInt8(byte val); in writeInt8()
95 public native final void writeInt16(short val); in writeInt16()
100 public native final void writeInt32(int val); in writeInt32()
105 public native final void writeInt64(long val); in writeInt64()
110 public native final void writeFloat(float val); in writeFloat()
115 public native final void writeDouble(double val); in writeDouble()
123 public native final void writeString(String val); in writeString()
130 public native final void writeNativeHandle(@Nullable NativeHandle val); in writeNativeHandle()
136 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()
714 public final void writeInt(int val) { in writeInt()
722 public final void writeLong(long val) { in writeLong()
730 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/native/libs/binder/include/binder/
DParcel.h545 const Flattenable<T>& val; variable
593 status_t Parcel::write(const Flattenable<T>& val) { in write()
599 status_t Parcel::write(const LightFlattenable<T>& val) { in write()
620 status_t Parcel::read(Flattenable<T>& val) const { in read()
626 status_t Parcel::read(LightFlattenable<T>& val) const { in read()
647 status_t Parcel::writeVectorSize(const std::vector<T>& val) { in writeVectorSize()
655 status_t Parcel::writeVectorSize(const std::unique_ptr<std::vector<T>>& val) { in writeVectorSize()
664 status_t Parcel::resizeOutVector(std::vector<T>* val) const { in resizeOutVector()
679 status_t Parcel::resizeOutVector(std::unique_ptr<std::vector<T>>* val) const { in resizeOutVector()
695 status_t Parcel::readStrongBinder(sp<T>* val) const { in readStrongBinder()
[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/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 long val) in write()
125 ProtoOutputStream::write(uint64_t fieldId, bool val) in write()
141 ProtoOutputStream::write(uint64_t fieldId, std::string val) in write()
157 ProtoOutputStream::write(uint64_t fieldId, const char* val, size_t size) in write()
530 ProtoOutputStream::writeDoubleImpl(uint32_t id, double val) in writeDoubleImpl()
537 ProtoOutputStream::writeFloatImpl(uint32_t id, float val) in writeFloatImpl()
[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/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.cpp842 status_t writeByteVectorInternal(Parcel* parcel, const std::vector<T>& val) in writeByteVectorInternal()
867 const std::unique_ptr<std::vector<T>>& val) in writeByteVectorInternalPtr()
878 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { in writeByteVector()
882 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) in writeByteVector()
887 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { in writeByteVector()
891 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val) in writeByteVector()
896 status_t Parcel::writeInt32Vector(const std::vector<int32_t>& val) in writeInt32Vector()
901 status_t Parcel::writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) in writeInt32Vector()
906 status_t Parcel::writeInt64Vector(const std::vector<int64_t>& val) in writeInt64Vector()
911 status_t Parcel::writeInt64Vector(const std::unique_ptr<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/
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
DAppAsLib_test.cpp37 Res_value val; in TEST() local
56 Res_value val; in TEST() local
75 Res_value val; in TEST() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_test_util.cc1003 int32 val = sub_message->GetReflection()->GetInt32( in ExpectMapFieldsSetViaReflection() local
1022 int64 val = sub_message->GetReflection()->GetInt64( in ExpectMapFieldsSetViaReflection() local
1041 uint32 val = sub_message->GetReflection()->GetUInt32( in ExpectMapFieldsSetViaReflection() local
1059 uint64 val = sub_message->GetReflection()->GetUInt64( in ExpectMapFieldsSetViaReflection() local
1077 int32 val = sub_message->GetReflection()->GetInt32( in ExpectMapFieldsSetViaReflection() local
1095 int64 val = sub_message->GetReflection()->GetInt64( in ExpectMapFieldsSetViaReflection() local
1113 uint32 val = sub_message->GetReflection()->GetUInt32( in ExpectMapFieldsSetViaReflection() local
1131 uint64 val = sub_message->GetReflection()->GetUInt64( in ExpectMapFieldsSetViaReflection() local
1149 int32 val = sub_message->GetReflection()->GetInt32( in ExpectMapFieldsSetViaReflection() local
1167 int64 val = sub_message->GetReflection()->GetInt64( in ExpectMapFieldsSetViaReflection() local
[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/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/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/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/av/media/libeffects/lvm/lib/Common/src/
DLoadConst_32.c28 void LoadConst_Float(const LVM_FLOAT val, in LoadConst_Float()
43 void LoadConst_32(const LVM_INT32 val, in LoadConst_32()
/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()

12345678910>>...16