/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCharacteristic.java | 231 protected byte[] mValue; field in BluetoothGattCharacteristic 278 mValue = null; in initCharacteristic() 509 return mValue; in getValue() 526 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getIntValue() 530 return unsignedByteToInt(mValue[offset]); in getIntValue() 533 return unsignedBytesToInt(mValue[offset], mValue[offset + 1]); in getIntValue() 536 return unsignedBytesToInt(mValue[offset], mValue[offset + 1], in getIntValue() 537 mValue[offset + 2], mValue[offset + 3]); in getIntValue() 539 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue() 542 return unsignedToSigned(unsignedBytesToInt(mValue[offset], in getIntValue() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 101 private Object mValue; field in ExifTag 134 mValue = null; in ExifTag() 222 return mValue != null; in hasValue() 254 mValue = data; in setValue() 293 mValue = value; in setValue() 345 mValue = finalBuf; in setValue() 376 mValue = value; in setValue() 418 mValue = new byte[length]; in setValue() 419 System.arraycopy(value, offset, mValue, 0, length); in setValue() 541 if (mValue == null) { in getValueAsString() [all …]
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillValue.java | 51 private final @NonNull Object mValue; field in AutofillValue 55 mValue = value; in AutofillValue() 67 return (CharSequence) mValue; in getTextValue() 88 return (Boolean) mValue; in getToggleValue() 109 return (Integer) mValue; in getListValue() 130 return (Long) mValue; in getDateValue() 150 return isText() && ((CharSequence) mValue).length() == 0; in isEmpty() 159 return mType + mValue.hashCode(); in hashCode() 172 return mValue.toString().equals(other.mValue.toString()); in equals() 174 return Objects.equals(mValue, other.mValue); in equals() [all …]
|
/frameworks/base/core/java/android/content/integrity/ |
D | AtomicFormula.java | 138 private final Long mValue; field in AtomicFormula.LongAtomicFormula 153 mValue = null; in LongAtomicFormula() 174 mValue = value; in LongAtomicFormula() 179 mValue = in.readLong(); in LongAtomicFormula() 204 if (mValue == null || mOperator == null) { in matches() 211 return metadataValue == mValue; in matches() 213 return metadataValue > mValue; in matches() 215 return metadataValue >= mValue; in matches() 234 if (mValue == null || mOperator == null) { in toString() 238 "(%s %s %s)", keyToString(getKey()), operatorToString(mOperator), mValue); in toString() [all …]
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 222 private int mValue; field in KeyValueListParser.IntValue 228 mValue = mDefaultValue; in IntValue() 233 mValue = parser.getInt(mKey, mDefaultValue); in parse() 248 return mValue; in getValue() 253 mValue = value; in setValue() 261 pw.print(mValue); in dump() 267 proto.write(tag, mValue); in dumpProto() 275 private long mValue; field in KeyValueListParser.LongValue 281 mValue = mDefaultValue; in LongValue() 286 mValue = parser.getLong(mKey, mDefaultValue); in parse() [all …]
|
D | Half.java | 153 private final @HalfFloat short mValue; field in Half 162 mValue = value; in Half() 174 mValue = toHalf(value); in Half() 186 mValue = toHalf((float) value); in Half() 207 mValue = toHalf(Float.parseFloat(value)); in Half() 217 return mValue; in halfValue() 229 return (byte) toFloat(mValue); in byteValue() 241 return (short) toFloat(mValue); in shortValue() 253 return (int) toFloat(mValue); in intValue() 265 return (long) toFloat(mValue); in longValue() [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | Modulo.h | 86 T mValue; variable 93 Modulo(const T &value) { mValue = value; } // NOLINT in Modulo() 94 const T & value() const { return mValue; } // not assignable in value() 95 signedT signedValue() const { return mValue; } in signedValue() 96 unsignedT unsignedValue() const { return mValue; } in unsignedValue() 97 void getValue(T *value) const { *value = mValue; } // more type safe than value() in getValue() 104 mValue += other.unsignedValue(); 112 mValue -= other.unsignedValue(); 122 return Modulo<T>(mValue + other.unsignedValue()); 129 return Modulo<T>(mValue - other.unsignedValue()); [all …]
|
/frameworks/base/core/java/android/animation/ |
D | Keyframe.java | 267 Object mValue; field in Keyframe.ObjectKeyframe 271 mValue = value; in ObjectKeyframe() 277 return mValue; in getValue() 281 mValue = value; in setValue() 287 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), hasValue() ? mValue : null); in clone() 302 int mValue; field in Keyframe.IntKeyframe 306 mValue = value; in IntKeyframe() 317 return mValue; in getIntValue() 321 return mValue; in getValue() 326 mValue = ((Integer)value).intValue(); in setValue() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 48 private int mValue; field in NumericTextView 74 mPreviousValue = mValue; in onFocusChanged() 75 mValue = 0; in onFocusChanged() 84 mValue = mPreviousValue; in onFocusChanged() 91 if (mValue < mMinValue) { in onFocusChanged() 92 mValue = mMinValue; in onFocusChanged() 95 setValue(mValue); in onFocusChanged() 98 mListener.onValueChanged(this, mValue, true, true); in onFocusChanged() 113 if (mValue != value) { in setValue() 114 mValue = value; in setValue() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureSessionId.java | 31 private final @NonNull int mValue; field in ContentCaptureSessionId 41 mValue = value; in ContentCaptureSessionId() 48 return mValue; in getValue() 55 result = prime * result + mValue; in hashCode() 65 if (mValue != other.mValue) return false; in equals() 77 return Integer.toString(mValue); in toString() 84 pw.print(mValue); in dump() 94 parcel.writeInt(mValue); in writeToParcel()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/ |
D | DataEntity.java | 28 public final byte[] mValue; field in DataEntity 37 this.mValue = value.getBytes(StandardCharsets.UTF_8); in DataEntity() 38 mSize = this.mValue.length; in DataEntity() 48 mValue = null; in DataEntity() 66 mValue = new byte[size]; in DataEntity() 68 mValue[i] = data[i]; in DataEntity() 89 return Arrays.equals(mValue, that.mValue); in equals() 95 result = 31 * result + Arrays.hashCode(mValue); in hashCode()
|
/frameworks/base/core/java/android/os/ |
D | TimestampedValue.java | 41 private final T mValue; field in TimestampedValue 45 mValue = value; in TimestampedValue() 59 return mValue; in getValue() 72 && Objects.equals(mValue, that.mValue); in equals() 77 return Objects.hash(mReferenceTimeMillis, mValue); in hashCode() 84 + ", mValue=" + mValue in toString() 127 dest.writeValue(mValue); in writeToParcel()
|
D | CoolingDevice.java | 41 private final long mValue; field in CoolingDevice 86 mValue = value; in CoolingDevice() 97 return mValue; in getValue() 120 return "CoolingDevice{mValue=" + mValue + ", mType=" + mType + ", mName=" + mName + "}"; in toString() 126 hash = 31 * hash + Long.hashCode(mValue); in hashCode() 137 return other.mValue == mValue && other.mType == mType && other.mName.equals(mName); in equals() 142 p.writeLong(mValue); in writeToParcel()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationSessionId.java | 35 private final String mValue; field in TextClassificationSessionId 56 mValue = Objects.requireNonNull(value); in TextClassificationSessionId() 71 return Objects.equals(mValue, that.mValue) && Objects.equals(mToken, that.mToken); in equals() 76 return Objects.hash(mValue, mToken); in hashCode() 81 return String.format(Locale.US, "TextClassificationSessionId {%s}", mValue); in toString() 86 parcel.writeString(mValue); in writeToParcel() 100 return mValue; in getValue()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 34 mValue.mUsage = usage; in AudioMixMatchCriterion() 36 mValue.mSource = source; in AudioMixMatchCriterion() 46 mValue.mUsage = (audio_usage_t) parcel->readInt32(); in readFromParcel() 50 mValue.mSource = (audio_source_t) parcel->readInt32(); in readFromParcel() 54 mValue.mUid = (uid_t) parcel->readInt32(); in readFromParcel() 58 mValue.mUserId = (int) parcel->readInt32(); in readFromParcel() 70 parcel->writeInt32(mValue.mUsage); in writeToParcel() 141 crit.mValue.mUid = uid; in setExcludeUid() 148 crit.mValue.mUid = uid; in setMatchUid() 156 && mCriteria[i].mValue.mUid == uid) { in hasUidRule() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrintJobId.java | 32 private final @NonNull String mValue; field in PrintJobId 51 mValue = value; in PrintJobId() 58 result = prime * result + mValue.hashCode(); in hashCode() 74 if (!mValue.equals(other.mValue)) { in equals() 82 parcel.writeString(mValue); in writeToParcel() 98 return mValue; in flattenToString()
|
/frameworks/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteResult.java | 46 private final long mValue; field in RemoteResult 50 mValue = value; in RemoteResult() 64 return mValue; in get() 75 return Long.toString(mValue); in toStringDescription() 96 return mType == that.mType && mValue == that.mValue; in equals() 101 return Objects.hash(mType, mValue); in hashCode()
|
/frameworks/base/core/java/android/text/ |
D | Annotation.java | 28 private final String mValue; field in Annotation 32 mValue = value; in Annotation() 37 mValue = src.readString(); in Annotation() 60 dest.writeString(mValue); in writeToParcelInternal() 68 return mValue; in getValue()
|
/frameworks/rs/script_api/ |
D | Scanner.cpp | 70 mValue.clear(); in getNextEntry() 83 readRestOfLine(&mValue); in getNextEntry() 90 readRestOfLine(&mValue); in getNextEntry() 91 trimSpaces(&mValue); in getNextEntry() 111 if (!mValue.empty()) { in skipBlankEntries() 112 error() << "Unexpected: \" " << mValue << "\".\n"; in skipBlankEntries() 143 if (!mValue.empty()) { in checkNoValue() 144 error() << "Did not expect \"" << mValue << "\" after \"" << mTag << "\".\n"; in checkNoValue() 164 string s = mValue; in parseArgString()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioExampleUtils.h | 188 WakeUp() : mValue(0) {} in WakeUp() 189 explicit WakeUp(int32_t value) : mValue(value) {} in WakeUp() 204 return futex_wait(&mValue, value, &time); in wait() 213 ++mValue; in wake() 214 return futex_wake(&mValue, INT_MAX); in wake() 223 mValue.store(value); in wake() 224 return futex_wake(&mValue, INT_MAX); in wake() 228 return mValue.load(); in get() 232 std::atomic<int32_t> mValue;
|
/frameworks/base/core/java/android/hardware/lights/ |
D | LightState.java | 72 private int mValue; field in LightState.Builder 77 mValue = 0; in Builder() 92 mValue = color; in setColor() 107 mValue = playerId; in setPlayerId() 119 return new LightState(mValue, 0); in build() 121 return new LightState(0, mValue); in build()
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | ParcelStringBenchmark.java | 26 String mValue; field in ParcelStringBenchmark 44 mParcel.writeString8(mValue); in timeWriteString8() 49 mParcel.writeString8(mValue); in timeReadString8() 60 mParcel.writeString16(mValue); in timeWriteString16() 65 mParcel.writeString16(mValue); in timeReadString16()
|
/frameworks/av/media/codec2/core/include/ |
D | C2.h | 208 return T(value.mValue); in get() 239 T mValue; variable 249 inline constexpr c2_cntr_t() : mValue(T(0)) {} in c2_cntr_t() 255 inline constexpr c2_cntr_t(const U &value) : mValue(compat::get(value)) {} in c2_cntr_t() 262 return static_cast<typename std::make_signed<T>::type>(mValue); in peek() 269 return mValue; in peeku() 277 return (long long)mValue; in peekll() 285 return (unsigned long long)mValue; in peekull() 293 return c2_cntr_t<U>(mValue); 303 mValue op_assign compat::get(value); \ [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FieldPort.java | 30 protected Object mValue; field in FieldPort 65 mField.set(mFilter, mValue); in transfer() 103 if ((value == null && mValue != null) || !value.equals(mValue)) { in setFieldFrame() 104 mValue = value; in setFieldFrame()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 58 UsageTypeConverter::toString(criterion.mValue.mUsage, ruleValue); in dump() 61 SourceTypeConverter::toString(criterion.mValue.mSource, ruleValue); in dump() 64 ruleValue = std::to_string(criterion.mValue.mUid); in dump() 67 ruleValue = std::to_string(criterion.mValue.mUserId); in dump() 271 mix->mCriteria[j].mValue.mUsage); in mixMatch() 273 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 280 mix->mCriteria[j].mValue.mUsage); in mixMatch() 282 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 288 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in mixMatch() 290 if (mix->mCriteria[j].mValue.mUid == uid) { in mixMatch() [all …]
|