Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/core/java/android/os/
DHwParcel.java50 public native final void writeBool(boolean val); in writeBool()
51 public native final void writeInt8(byte val); in writeInt8()
52 public native final void writeInt16(short val); in writeInt16()
53 public native final void writeInt32(int val); in writeInt32()
54 public native final void writeInt64(long val); in writeInt64()
55 public native final void writeFloat(float val); in writeFloat()
56 public native final void writeDouble(double val); in writeDouble()
57 public native final void writeString(String val); in writeString()
59 private native final void writeBoolVector(boolean[] val); in writeBoolVector()
60 private native final void writeInt8Vector(byte[] val); in writeInt8Vector()
[all …]
DParcel.java286 private static native void nativeWriteInt(long nativePtr, int val); in nativeWriteInt()
288 private static native void nativeWriteLong(long nativePtr, long val); in nativeWriteLong()
290 private static native void nativeWriteFloat(long nativePtr, float val); in nativeWriteFloat()
292 private static native void nativeWriteDouble(long nativePtr, double val); in nativeWriteDouble()
293 private static native void nativeWriteString(long nativePtr, String val); in nativeWriteString()
294 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); in nativeWriteStrongBinder()
295 private static native long nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); in nativeWriteFileDescriptor()
592 public final void writeInt(int val) { in writeInt()
600 public final void writeLong(long val) { in writeLong()
608 public final void writeFloat(float val) { in writeFloat()
[all …]
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java271 public void write(long fieldId, double val) { in write()
406 public void write(long fieldId, float val) { in write()
541 public void write(long fieldId, int val) { in write()
676 public void write(long fieldId, long val) { in write()
809 public void write(long fieldId, boolean val) { in write()
838 public void write(long fieldId, String val) { in write()
867 public void write(long fieldId, byte[] val) { in write()
935 public void writeDouble(long fieldId, double val) { in writeDouble()
942 private void writeDoubleImpl(int id, double val) { in writeDoubleImpl()
955 public void writeRepeatedDouble(long fieldId, double val) { in writeRepeatedDouble()
[all …]
DEncodedBuffer.java263 public void writeRawByte(byte val) { in writeRawByte()
273 public static int getRawVarint32Size(int val) { in getRawVarint32Size()
286 public void writeRawVarint32(int val) { in writeRawVarint32()
301 public static int getRawZigZag32Size(int val) { in getRawZigZag32Size()
310 public void writeRawZigZag32(int val) { in writeRawZigZag32()
317 public static int getRawVarint64Size(long val) { in getRawVarint64Size()
333 public void writeRawVarint64(long val) { in writeRawVarint64()
348 public static int getRawZigZag64Size(long val) { in getRawZigZag64Size()
355 public void writeRawZigZag64(long val) { in writeRawZigZag64()
362 public void writeRawFixed32(int val) { in writeRawFixed32()
[all …]
/frameworks/base/tools/aapt/
DBundle.h86 void setVerbose(bool val) { mVerbose = val; } in setVerbose()
88 void setAndroidList(bool val) { mAndroidList = val; } in setAndroidList()
90 void setForce(bool val) { mForce = val; } in setForce()
91 void setGrayscaleTolerance(int val) { mGrayscaleTolerance = val; } in setGrayscaleTolerance()
94 void setMakePackageDirs(bool val) { mMakePackageDirs = val; } in setMakePackageDirs()
96 void setUpdate(bool val) { mUpdate = val; } in setUpdate()
98 void setExtending(bool val) { mExtending = val; } in setExtending()
100 void setRequireLocalization(bool val) { mRequireLocalization = val; } in setRequireLocalization()
102 void setPseudolocalize(short val) { mPseudolocalize = val; } in setPseudolocalize()
103 void setWantUTF16(bool val) { mWantUTF16 = val; } in setWantUTF16()
[all …]
/frameworks/native/libs/binder/include/binder/
DParcel.h521 const Flattenable<T>& val; variable
569 status_t Parcel::write(const Flattenable<T>& val) { in write()
575 status_t Parcel::write(const LightFlattenable<T>& val) { in write()
596 status_t Parcel::read(Flattenable<T>& val) const { in read()
602 status_t Parcel::read(LightFlattenable<T>& val) const { in read()
623 status_t Parcel::writeVectorSize(const std::vector<T>& val) { in writeVectorSize()
631 status_t Parcel::writeVectorSize(const std::unique_ptr<std::vector<T>>& val) { in writeVectorSize()
640 status_t Parcel::resizeOutVector(std::vector<T>* val) const { in resizeOutVector()
655 status_t Parcel::resizeOutVector(std::unique_ptr<std::vector<T>>* val) const { in resizeOutVector()
671 status_t Parcel::readStrongBinder(sp<T>* val) const { in readStrongBinder()
[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/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dsparse_weight_vector.h87 bool GetElementMinBound(const Key &fname, double *val) const { in GetElementMinBound()
90 bool GetElementMaxBound(const Key &fname, double *val) const { in GetElementMaxBound()
101 double val = 0; in GetElement() local
105 void SetElement(const Key &fname, const double val) { in SetElement()
109 void AddUpdateElement(const Key &fname, const double val) { in AddUpdateElement()
112 void MultUpdateElement(const Key &fname, const double val) { in MultUpdateElement()
177 bool GetValue(const Wmap &w1, const Key &fname, double *val) const { in GetValue()
/frameworks/native/libs/binder/tests/
DbinderTextOutputTest.cpp49 #define CHECK_VAL_(val, singleline) \ argument
58 #define CHECK_VAL(val) CHECK_VAL_(val, true) argument
108 android::Parcel val; in TEST() local
114 android::HexDump val(buf, sizeof(buf)); in TEST() local
120 android::HexDump val(buf, sizeof(buf), 4); in TEST() local
125 android::TypeCode val(1234); in TEST() local
130 int32_t val = 321; //0x141 in TEST() local
135 android::String8 val("foobar"); in TEST() local
140 android::String16 val("foobar"); in TEST() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimerTest.java64 public void setCount(int val) { in setCount()
72 public void setLoadedCount(int val) { in setLoadedCount()
80 public void setLastCount(int val) { in setLastCount()
88 public void setUnpluggedCount(int val) { in setUnpluggedCount()
96 public void setTotalTime(long val) { in setTotalTime()
104 public void setLoadedTime(long val) { in setLoadedTime()
112 public void setLastTime(long val) { in setLastTime()
120 public void setUnpluggedTime(long val) { in setUnpluggedTime()
128 public void setTimeBeforeMark(long val) { in setTimeBeforeMark()
/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/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java103 public void add(byte tag, byte val) { in add()
108 public void add(byte tag, short val) { in add()
113 public void add(byte tag, int val) { in add()
118 public void add(byte tag, long val) { in add()
123 public void add(byte tag, String val) { in add()
/frameworks/native/libs/binder/
DParcel.cpp799 status_t writeByteVectorInternal(Parcel* parcel, const std::vector<T>& val) in writeByteVectorInternal()
824 const std::unique_ptr<std::vector<T>>& val) in writeByteVectorInternalPtr()
835 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { in writeByteVector()
839 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) in writeByteVector()
844 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { in writeByteVector()
848 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val) in writeByteVector()
853 status_t Parcel::writeInt32Vector(const std::vector<int32_t>& val) in writeInt32Vector()
858 status_t Parcel::writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) in writeInt32Vector()
863 status_t Parcel::writeInt64Vector(const std::vector<int64_t>& val) in writeInt64Vector()
868 status_t Parcel::writeInt64Vector(const std::unique_ptr<std::vector<int64_t>>& val) in writeInt64Vector()
[all …]
DDebug.cpp59 static inline char makehexdigit(uint32_t val) in makehexdigit()
64 static char* appendhexnum(uint32_t val, char* out) in appendhexnum()
233 const unsigned char val = *(pos+startIndex-index); in printHexData() local
250 const unsigned char val = *(pos+startIndex-index); in printHexData() local
268 const unsigned char val = pos[index]; in printHexData() local
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java343 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt()
366 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt()
373 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt()
396 public static @Nullable String[] removeString(@Nullable String[] cur, String val) { in removeString()
420 public static @NonNull long[] appendLong(@Nullable long[] cur, long val) { in appendLong()
439 public static @Nullable long[] removeLong(@Nullable long[] cur, long val) { in removeLong()
467 public static @NonNull <T> ArraySet<T> add(@Nullable ArraySet<T> cur, T val) { in add()
475 public static @Nullable <T> ArraySet<T> remove(@Nullable ArraySet<T> cur, T val) { in remove()
487 public static @NonNull <T> ArrayList<T> add(@Nullable ArrayList<T> cur, T val) { in add()
495 public static @Nullable <T> ArrayList<T> remove(@Nullable ArrayList<T> cur, T val) { in remove()
[all …]
/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
DAppAsLib_test.cpp37 Res_value val; in TEST() local
56 Res_value val; in TEST() local
75 Res_value val; in TEST() local
/frameworks/rs/tests/java_api/RSTest_CompatLib/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/RsTest/src/com/android/rs/test/
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/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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DPublicFinalWithObservableTestVo.java31 private int val = R.string.app_name; field in PublicFinalWithObservableTestVo.MyVo
37 public void setVal(int val) { in setVal()
/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
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java365 public UiSelector enabled(boolean val) { in enabled()
384 public UiSelector focused(boolean val) { in focused()
403 public UiSelector focusable(boolean val) { in focusable()
422 public UiSelector scrollable(boolean val) { in scrollable()
442 public UiSelector selected(boolean val) { in selected()
462 public UiSelector checked(boolean val) { in checked()
481 public UiSelector clickable(boolean val) { in clickable()
500 public UiSelector checkable(boolean val) { in checkable()
519 public UiSelector longClickable(boolean val) { in longClickable()

12345678910>>...13