/frameworks/native/libs/binder/include/binder/ |
D | Parcel.h | 262 status_t writeStrongBinder(const sp<T>& val) { in writeStrongBinder() 267 status_t writeStrongBinderVector(const std::vector<sp<T>>& val) { in writeStrongBinderVector() 272 status_t writeStrongBinderVector(const std::optional<std::vector<sp<T>>>& val) { in writeStrongBinderVector() 277 status_t writeFixedArray(const std::array<T, N>& val) { in writeFixedArray() 281 status_t writeFixedArray(const std::optional<std::array<T, N>>& val) { in writeFixedArray() 288 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector() 291 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector() 295 status_t writeEnumVector(const std::unique_ptr<std::vector<T>>& val) in writeEnumVector() 299 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector() 302 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector() [all …]
|
/frameworks/native/include/binder/ |
D | Parcel.h | 262 status_t writeStrongBinder(const sp<T>& val) { in writeStrongBinder() 267 status_t writeStrongBinderVector(const std::vector<sp<T>>& val) { in writeStrongBinderVector() 272 status_t writeStrongBinderVector(const std::optional<std::vector<sp<T>>>& val) { in writeStrongBinderVector() 277 status_t writeFixedArray(const std::array<T, N>& val) { in writeFixedArray() 281 status_t writeFixedArray(const std::optional<std::array<T, N>>& val) { in writeFixedArray() 288 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector() 291 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector() 295 status_t writeEnumVector(const std::unique_ptr<std::vector<T>>& val) in writeEnumVector() 299 status_t writeEnumVector(const std::vector<T>& val) in writeEnumVector() 302 status_t writeEnumVector(const std::optional<std::vector<T>>& val) in writeEnumVector() [all …]
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 228 public void write(long fieldId, double val) { in write() 363 public void write(long fieldId, float val) { in write() 498 public void write(long fieldId, int val) { in write() 633 public void write(long fieldId, long val) { in write() 766 public void write(long fieldId, boolean val) { in write() 795 public void write(long fieldId, @Nullable String val) { in write() 824 public void write(long fieldId, @Nullable byte[] val) { in write() 898 public void writeDouble(long fieldId, double val) { in writeDouble() 905 private void writeDoubleImpl(int id, double val) { in writeDoubleImpl() 919 public void writeRepeatedDouble(long fieldId, double val) { in writeRepeatedDouble() [all …]
|
D | EncodedBuffer.java | 272 public void writeRawByte(byte val) { in writeRawByte() 282 public static int getRawVarint32Size(int val) { in getRawVarint32Size() 295 public void writeRawVarint32(int val) { in writeRawVarint32() 310 public static int getRawZigZag32Size(int val) { in getRawZigZag32Size() 319 public void writeRawZigZag32(int val) { in writeRawZigZag32() 326 public static int getRawVarint64Size(long val) { in getRawVarint64Size() 342 public void writeRawVarint64(long val) { in writeRawVarint64() 357 public static int getRawZigZag64Size(long val) { in getRawZigZag64Size() 364 public void writeRawZigZag64(long val) { in writeRawZigZag64() 371 public void writeRawFixed32(int val) { in writeRawFixed32() [all …]
|
/frameworks/base/core/java/android/os/ |
D | HwParcel.java | 88 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 …]
|
D | Parcel.java | 420 private static native int nativeWriteInt(long nativePtr, int val); in nativeWriteInt() 422 private static native int nativeWriteLong(long nativePtr, long val); in nativeWriteLong() 424 private static native int nativeWriteFloat(long nativePtr, float val); in nativeWriteFloat() 426 private static native int nativeWriteDouble(long nativePtr, double val); in nativeWriteDouble() 430 private static native void nativeWriteString8(long nativePtr, String val); in nativeWriteString8() 432 private static native void nativeWriteString16(long nativePtr, String val); in nativeWriteString16() 435 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); in nativeWriteStrongBinder() 438 private static native void nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); in nativeWriteFileDescriptor() 1166 public final void writeInt(int val) { in writeInt() 1177 public final void writeLong(long val) { in writeLong() [all …]
|
/frameworks/base/errorprone/tests/res/android/os/ |
D | Parcel.java | 22 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/ |
D | ProtoOutputStream.cpp | 61 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_view 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 …]
|
D | EncodedBuffer.cpp | 162 EncodedBuffer::writeRawByte(uint8_t val) in writeRawByte() 169 EncodedBuffer::writeRawVarint64(uint64_t val) in writeRawVarint64() 185 EncodedBuffer::writeRawVarint32(uint32_t val) in writeRawVarint32() 192 EncodedBuffer::writeRawFixed32(uint32_t val) in writeRawFixed32() 201 EncodedBuffer::writeRawFixed64(uint64_t val) in writeRawFixed64() 286 uint8_t val = *at(mEp); in readRawByte() local 294 uint64_t val = 0, shift = 0; in readRawVarint() local 308 uint32_t val = 0; in readRawFixed32() local 318 uint64_t val = 0; in readRawFixed64() local 326 EncodedBuffer::editRawFixed32(size_t pos, uint32_t val) in editRawFixed32() [all …]
|
/frameworks/base/tools/aapt/ |
D | Bundle.h | 87 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/autofill/java/com/android/server/autofill/ |
D | FillResponseEventLogger.java | 221 public void maybeSetRequestId(int val) { in maybeSetRequestId() 228 public void maybeSetAppPackageUid(int val) { in maybeSetAppPackageUid() 237 public void maybeSetDisplayPresentationType(@DisplayPresentationType int val) { in maybeSetDisplayPresentationType() 255 public void maybeSetAvailableCount(int val) { in maybeSetAvailableCount() 261 public void maybeSetTotalDatasetsProvided(int val) { in maybeSetTotalDatasetsProvided() 294 public void maybeSetSaveUiTriggerIds(int val) { in maybeSetSaveUiTriggerIds() 303 public void maybeSetLatencyFillResponseReceivedMillis(int val) { in maybeSetLatencyFillResponseReceivedMillis() 312 public void maybeSetAuthenticationType(@AuthenticationType int val) { in maybeSetAuthenticationType() 321 public void maybeSetAuthenticationResult(@AuthenticationResult int val) { in maybeSetAuthenticationResult() 330 public void maybeSetAuthenticationFailureReason(int val) { in maybeSetAuthenticationFailureReason() [all …]
|
D | SaveEventLogger.java | 146 public void maybeSetAppPackageUid(int val) { in maybeSetAppPackageUid() 155 public void maybeSetSaveUiTriggerIds(int val) { in maybeSetSaveUiTriggerIds() 164 public void maybeSetFlag(int val) { in maybeSetFlag() 173 public void maybeSetIsNewField(boolean val) { in maybeSetIsNewField() 200 public void maybeSetSaveButtonClicked(boolean val) { in maybeSetSaveButtonClicked() 209 public void maybeSetCancelButtonClicked(boolean val) { in maybeSetCancelButtonClicked() 218 public void maybeSetDialogDismissed(boolean val) { in maybeSetDialogDismissed() 227 public void maybeSetIsSaved(boolean val) { in maybeSetIsSaved() 285 public void maybeSetIsFrameworkCreatedSaveInfo(boolean val) { in maybeSetIsFrameworkCreatedSaveInfo()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UnixCalendar.java | 34 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/ |
D | binderTextOutputTest.cpp | 48 #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/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 525 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt() 549 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt() 556 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt() 579 public static @Nullable String[] removeString(@Nullable String[] cur, String val) { in removeString() 603 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong() 626 public static boolean[] appendBoolean(@Nullable boolean[] cur, boolean val) { in appendBoolean() 641 public static @NonNull long[] appendLong(@Nullable long[] cur, long val) { in appendLong() 648 public static @Nullable long[] removeLong(@Nullable long[] cur, long val) { in removeLong() 683 public static @NonNull <T> ArraySet<T> add(@Nullable ArraySet<T> cur, T val) { in add() 695 @Nullable Collection<T> val) { in addAll() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | Diagnostic.cpp | 151 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/libs/androidfw/tests/ |
D | Generic_bench.cpp | 38 auto val = map.size() - 1; in BM_hashmap_emplace_same() local 47 auto val = map.size() - 1; in BM_hashmap_try_emplace_same() local 55 auto val = map.size() - 1; in BM_hashmap_find() local 93 auto val = map.size() - 1; in BM_treemap_emplace_same() local 102 auto val = map.size() - 1; in BM_treemap_try_emplace_same() local 110 auto val = map.size() - 1; in BM_treemap_find() local
|
D | ResTable_test.cpp | 84 Res_value val; in TEST() local 108 Res_value val; in TEST() local 132 Res_value val; in TEST() local 153 Res_value val; in TEST() local 174 Res_value val; in TEST() local 207 Res_value val; in TEST() local 240 Res_value val; in TEST() local 337 Res_value val; in TEST() local 408 Res_value val; in TEST() local 474 Res_value val; in TEST_P() local
|
D | AppAsLib_test.cpp | 37 Res_value val; in TEST() local 56 Res_value val; in TEST() local 75 Res_value val; in TEST() local
|
/frameworks/base/packages/SettingsLib/DisplayUtils/src/com/android/settingslib/display/ |
D | BrightnessUtils.java | 55 public static final int convertGammaToLinear(int val, int min, int max) { in convertGammaToLinear() 78 public static final float convertGammaToLinearFloat(int val, float min, float max) { in convertGammaToLinearFloat() 118 public static final int convertLinearToGamma(int val, int min, int max) { in convertLinearToGamma() 130 public static final int convertLinearToGammaFloat(float val, float min, float max) { in convertLinearToGammaFloat()
|
/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DualDumpOutputStream.java | 156 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/ |
D | MediaPlayerMetadataParserTest.java | 342 private void writeStringRecord(int metadataId, String val) { in writeStringRecord() 352 private void writeIntRecord(int metadataId, int val) { in writeIntRecord() 362 private void writeBooleanRecord(int metadataId, boolean val) { in writeBooleanRecord() 372 private void writeLongRecord(int metadataId, long val) { in writeLongRecord() 382 private void writeDoubleRecord(int metadataId, double val) { in writeDoubleRecord() 392 private void writeByteArrayRecord(int metadataId, byte[] val) { in writeByteArrayRecord()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 1271 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { return writeData(val); } in writeByteVector() 1272 status_t Parcel::writeByteVector(const std::optional<std::vector<int8_t>>& val) { return writeData(… in writeByteVector() 1273 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) { return writeDat… in writeByteVector() 1274 status_t Parcel::writeByteVector(const std::vector<uint8_t>& val) { return writeData(val); } in writeByteVector() 1275 status_t Parcel::writeByteVector(const std::optional<std::vector<uint8_t>>& val) { return writeData… in writeByteVector() 1276 status_t Parcel::writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val){ return writeDat… in writeByteVector() 1277 status_t Parcel::writeInt32Vector(const std::vector<int32_t>& val) { return writeData(val); } in writeInt32Vector() 1278 status_t Parcel::writeInt32Vector(const std::optional<std::vector<int32_t>>& val) { return writeDat… in writeInt32Vector() 1279 status_t Parcel::writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) { return writeD… in writeInt32Vector() 1280 status_t Parcel::writeInt64Vector(const std::vector<int64_t>& val) { return writeData(val); } in writeInt64Vector() [all …]
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | persistable_bundle_aidl.h | 178 void putBoolean(const std::string& key, bool val) { in putBoolean() 184 void putInt(const std::string& key, int32_t val) { in putInt() 190 void putLong(const std::string& key, int64_t val) { in putLong() 196 void putDouble(const std::string& key, double val) { in putDouble() 202 void putString(const std::string& key, const std::string& val) { in putString() 270 bool getBoolean(const std::string& key, bool* _Nonnull val) { in getBoolean() 278 bool getInt(const std::string& key, int32_t* _Nonnull val) { in getInt() 286 bool getLong(const std::string& key, int64_t* _Nonnull val) { in getLong() 294 bool getDouble(const std::string& key, double* _Nonnull val) { in getDouble() 306 bool getString(const std::string& key, std::string* _Nonnull val) { in getString() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_math_agree.java | 50 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 …]
|