/aosp12/packages/modules/StatsD/statsd/tests/external/ |
H A D | puller_util_test.cpp | 78 EXPECT_EQ(hostUid, actualFieldValues->at(0).mValue.int_value); in TEST() 201 actualFieldValues->at(2).mValue.int_value); in TEST() 251 EXPECT_EQ(400, actualFieldValues->at(2).mValue.int_value); in TEST() 280 EXPECT_EQ(200, actualFieldValues->at(0).mValue.int_value); in TEST() 289 EXPECT_EQ(200, actualFieldValues->at(0).mValue.int_value); in TEST() 318 EXPECT_EQ(400, actualFieldValues->at(2).mValue.int_value); in TEST() 327 EXPECT_EQ(400, actualFieldValues->at(2).mValue.int_value); in TEST() 355 EXPECT_EQ(400, actualFieldValues->at(2).mValue.int_value); in TEST() 365 EXPECT_EQ(400, actualFieldValues->at(2).mValue.int_value); in TEST() 396 EXPECT_EQ(400, actualFieldValues->at(2).mValue.int_value); in TEST() [all …]
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCharacteristic.java | 278 mValue = null; in initCharacteristic() 509 return mValue; in getValue() 537 mValue[offset + 2], mValue[offset + 3]); in getIntValue() 547 mValue[offset + 1], mValue[offset + 2], mValue[offset + 3]), 32); in getIntValue() 567 return bytesToFloat(mValue[offset], mValue[offset + 1]); in getFloatValue() 570 return bytesToFloat(mValue[offset], mValue[offset + 1], in getFloatValue() 571 mValue[offset + 2], mValue[offset + 3]); in getFloatValue() 585 if (mValue == null || offset > mValue.length) return null; in getStringValue() 604 mValue = value; in setValue() 619 if (mValue == null) mValue = new byte[len]; in setValue() [all …]
|
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A 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() 717 return mValue; in getValue() 980 return Arrays.equals((long[]) mValue, (long[]) tag.mValue); in equals() 990 return Arrays.equals((byte[]) mValue, (byte[]) tag.mValue); in equals() [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A 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() 717 return mValue; in getValue() 980 return Arrays.equals((long[]) mValue, (long[]) tag.mValue); in equals() 990 return Arrays.equals((byte[]) mValue, (byte[]) tag.mValue); in equals() [all …]
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A 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() 717 return mValue; in getValue() 980 return Arrays.equals((long[]) mValue, (long[]) tag.mValue); in equals() 990 return Arrays.equals((byte[]) mValue, (byte[]) tag.mValue); in equals() [all …]
|
/aosp12/packages/apps/Camera2/src/com/android/camera/exif/ |
H A 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() 717 return mValue; in getValue() 980 return Arrays.equals((long[]) mValue, (long[]) tag.mValue); in equals() 990 return Arrays.equals((byte[]) mValue, (byte[]) tag.mValue); in equals() [all …]
|
/aosp12/frameworks/base/core/java/android/content/integrity/ |
H A D | AtomicFormula.java | 153 mValue = null; in LongAtomicFormula() 174 mValue = value; in LongAtomicFormula() 251 && mValue == that.mValue in equals() 276 return mValue; in getValue() 319 mValue = null; in StringAtomicFormula() 340 mValue = value; in StringAtomicFormula() 433 return getKey() == that.getKey() && Objects.equals(mValue, that.mValue); in equals() 457 return mValue; in getValue() 522 mValue = null; in BooleanAtomicFormula() 601 return getKey() == that.getKey() && mValue == that.mValue; in equals() [all …]
|
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
H A D | TriState.h | 32 mValue = T(); in clear() 46 return mValue; in T() 51 mValue = other.mValue; 63 mValue++; 76 mValue--; 91 tmp.mValue = op tmp.mValue; \ 104 mValue op rhs.mValue; \ 180 return TriState<bool>(lhs.mValue op rhs.mValue); \ 210 return TriState<bool>(lhs.mValue && rhs.mValue); 218 return TriState<bool>(lhs.mValue || rhs.mValue); [all …]
|
/aosp12/frameworks/base/core/java/android/view/autofill/ |
H A 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() 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() 188 string.append(mValue); in toString() [all …]
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | KeyValueListParser.java | 222 private int mValue; field in KeyValueListParser.IntValue 248 return mValue; in getValue() 253 mValue = value; in setValue() 261 pw.print(mValue); in dump() 275 private long mValue; field in KeyValueListParser.LongValue 301 return mValue; in getValue() 306 mValue = value; in setValue() 354 return mValue; in getValue() 359 mValue = value; in setValue() 407 return mValue; in getValue() [all …]
|
H A D | Half.java | 162 mValue = value; in Half() 174 mValue = toHalf(value); in Half() 217 return mValue; in halfValue() 253 return (int) toFloat(mValue); in intValue() 277 return toFloat(mValue); in floatValue() 289 return toFloat(mValue); in doubleValue() 299 return isNaN(mValue); in isNaN() 317 (halfToIntBits(((Half) o).mValue) == halfToIntBits(mValue)); in equals() 330 return hashCode(mValue); in hashCode() 342 return toString(mValue); in toString() [all …]
|
/aosp12/packages/modules/StatsD/statsd/src/matchers/ |
H A D | matcher_util.cpp | 87 int uid = fieldValue.mValue.int_value; in tryMatchString() 94 } else if (fieldValue.mValue.getType() == STRING) { in tryMatchString() 95 return fieldValue.mValue.str_value == str_match; in tryMatchString() 220 if ((values[i].mValue.getType() == INT && in matchesSimple() 266 if (values[i].mValue.getType() == INT && in matchesSimple() 271 if (values[i].mValue.getType() == LONG && in matchesSimple() 280 if (values[i].mValue.getType() == INT && in matchesSimple() 285 if (values[i].mValue.getType() == LONG && in matchesSimple() 294 if (values[i].mValue.getType() == INT && in matchesSimple() 326 if (values[i].mValue.getType() == INT && in matchesSimple() [all …]
|
/aosp12/frameworks/av/media/libmedia/include/media/ |
H A D | Modulo.h | 86 T mValue; variable 93 Modulo(const T &value) { mValue = value; } // NOLINT in Modulo() 95 signedT signedValue() const { return mValue; } in signedValue() 96 unsignedT unsignedValue() const { return mValue; } in unsignedValue() 104 mValue += other.unsignedValue(); 112 mValue -= other.unsignedValue(); 122 return Modulo<T>(mValue + other.unsignedValue()); 178 mValue += unsignedT(other); 185 mValue -= unsignedT(other); 201 return Modulo<T>(mValue + unsignedT(other)); [all …]
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
H A D | KeyValueListParser.java | 223 private int mValue; field in KeyValueListParser.IntValue 249 return mValue; in getValue() 254 mValue = value; in setValue() 262 pw.print(mValue); in dump() 271 private long mValue; field in KeyValueListParser.LongValue 297 return mValue; in getValue() 302 mValue = value; in setValue() 345 return mValue; in getValue() 350 mValue = value; in setValue() 393 return mValue; in getValue() [all …]
|
/aosp12/frameworks/base/core/java/android/animation/ |
H A 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() 302 int mValue; field in Keyframe.IntKeyframe 306 mValue = value; in IntKeyframe() 317 return mValue; in getIntValue() 321 return mValue; in getValue() 349 float mValue; field in Keyframe.FloatKeyframe 364 return mValue; in getFloatValue() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A 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() 113 if (mValue != value) { in setValue() 114 mValue = value; in setValue() 129 return mValue; in getValue() [all …]
|
/aosp12/hardware/interfaces/identity/support/include/cppbor/ |
H A D | cppbor.h | 220 bool operator==(const Uint& other) const& { return mValue == other.mValue; } 241 uint64_t mValue; 258 bool operator==(const Nint& other) const& { return mValue == other.mValue; } 279 int64_t mValue; variable 313 bool operator==(const Bstr& other) const& { return mValue == other.mValue; } 317 size_t encodedSize() const override { return headerSize(mValue.size()) + mValue.size(); } in encodedSize() 363 bool operator==(const Tstr& other) const& { return mValue == other.mValue; } 382 std::string mValue; variable 569 uint64_t mValue; variable 604 bool operator==(const Bool& other) const& { return mValue == other.mValue; } [all …]
|
/aosp12/build/make/tools/product_config/src/com/android/build/config/ |
H A D | Str.java | 26 private String mValue; field in Str 30 mValue = s; in Str() 35 mValue = s; in Str() 40 return mValue.length(); in length() 45 return mValue; in toString() 62 return mValue.equals(that.mValue); in equals() 67 return mValue.hashCode(); in hashCode() 72 return this.mValue.compareTo(that.mValue); in compareTo()
|
/aosp12/system/chre/platform/slpi/include/chre/target_platform/ |
H A D | atomic_base_impl.h | 31 mValue = startingValue; in AtomicBool() 41 return mValue; in load() 50 return qurt_atomic_set(&mValue, static_cast<unsigned int>(desired)); in exchange() 54 mValue = startingValue; in AtomicUint32() 64 return mValue; in load() 73 return qurt_atomic_set(&mValue, desired); in exchange() 78 return qurt_atomic_add_return(&mValue, arg); in fetch_add() 83 return qurt_atomic_add_return(&mValue, 1); in fetch_increment() 88 return qurt_atomic_sub_return(&mValue, arg); in fetch_sub() 93 return qurt_atomic_sub_return(&mValue, 1); in fetch_decrement()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
H A D | DampedSpring.java | 34 private float mValue = 0f; field in DampedSpring 61 return mValue; in getValue() 68 mValue = value; in setValue() 110 return mValue; in update() 113 float delta = (mTarget - mValue); in update() 117 mValue += mVelocity * dts; in update() 125 return mValue; in update() 133 boolean atTarget = Math.abs(mTarget - mValue) < EPSILON; in isActive() 142 mTarget = mValue;
|
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/ |
H A D | CarPropertyValue.java | 48 private final T mValue; field in CarPropertyValue 103 mValue = value; in CarPropertyValue() 128 mValue = (T) new String(bytes, DEFAULT_CHARSET); in CarPropertyValue() 130 mValue = (T) in.readBlob(); in CarPropertyValue() 132 mValue = (T) in.readValue(valueClass.getClassLoader()); in CarPropertyValue() 160 Class<?> valueClass = mValue == null ? null : mValue.getClass(); in writeToParcel() 165 dest.writeBlob(((String) mValue).getBytes(DEFAULT_CHARSET)); in writeToParcel() 167 dest.writeBlob((byte[]) mValue); in writeToParcel() 169 dest.writeValue(mValue); in writeToParcel() 212 return mValue; in getValue() [all …]
|
/aosp12/frameworks/base/core/java/android/view/contentcapture/ |
H A 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()
|
/aosp12/system/core/libcutils/ |
H A D | properties_test.cpp | 63 PropertiesTest() : mValue() {} in PropertiesTest() 73 char mValue[PROPERTY_VALUE_MAX]; member in android::PropertiesTest 91 mValue[i] = (char) c; in ResetValue() 116 EXPECT_STREQ("hello_world", mValue); in TEST_F() 125 EXPECT_STREQ(EMPTY_STRING_DEFAULT, mValue); in TEST_F() 135 EXPECT_STREQ(maxLengthString.c_str(), mValue); in TEST_F() 151 EXPECT_STREQ(VALID_TEST_VALUE, mValue); in TEST_F() 165 EXPECT_STREQ(maxLengthString.c_str(), mValue); in TEST_F() 178 EXPECT_STREQ(maxLengthString.c_str(), mValue); in TEST_F() 191 EXPECT_STREQ(oneCharString.c_str(), mValue); in TEST_F() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | MultiValueAlpha.java | 39 return alphaProperty.mValue; 85 private float mValue = 1; field in MultiValueAlpha.AlphaProperty 96 if (mValue == value) { in setValue() 105 mOthers *= prop.mValue; in setValue() 113 mValue = value; in setValue() 115 final float alpha = mOthers * mValue; in setValue() 121 mConsumer.accept(mValue); in setValue() 126 return mValue; in getValue() 132 mConsumer.accept(mValue); in setConsumer() 138 return Float.toString(mValue); in toString()
|
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/ |
H A 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()
|