/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | DatasetTest.java | 60 private final AutofillValue mValue = AutofillValue.forText("ValuableLikeGold"); field in DatasetTest 109 assertThrows(NullPointerException.class, () -> builder.setValue(null, mValue)); in testBuilder_setValueNullId() 115 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation() 121 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithNullPresentation() 128 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithBothPresentation_nullPresentation() 135 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithBothPresentation_nullInlinePresentation() 142 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithBothPresentation_bothNull() 148 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter() 154 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentation_nullFilter() 161 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, mFilter, in testBuilder_setFilteredValueWithPresentation_nullPresentation() [all …]
|
D | UserDataTest.java | 80 private final String mValue = mShortValue + "-1"; field in UserDataTest 90 mBuilder = new UserData.Builder(mId, mValue, mCategoryId); in setFixtures() 96 () -> new UserData.Builder(null, mValue, mCategoryId)); in testBuilder_invalid() 98 () -> new UserData.Builder("", mValue, mCategoryId)); in testBuilder_invalid() 107 assertThrows(NullPointerException.class, () -> new UserData.Builder(mId, mValue, null)); in testBuilder_invalid() 108 assertThrows(IllegalArgumentException.class, () -> new UserData.Builder(mId, mValue, "")); in testBuilder_invalid() 117 assertThrows(NullPointerException.class, () -> mBuilder.add(mValue, null)); in testAdd_invalid() 118 assertThrows(IllegalArgumentException.class, () -> mBuilder.add(mValue, "")); in testAdd_invalid() 123 assertThat(new UserData.Builder(mId, mValue, mCategoryId).add(mValue, mCategoryId).build()) in testAdd_duplicatedValue() 125 assertThat(new UserData.Builder(mId, mValue, mCategoryId).add(mValue, mCategoryId2).build()) in testAdd_duplicatedValue() [all …]
|
D | CompositeUserDataTest.java | 47 private final String mValue = mShortValue + "-1"; field in CompositeUserDataTest 57 private final UserData mEmptyGenericUserData = new UserData.Builder(mId, mValue, mCategoryId) 59 private final UserData mLoadedGenericUserData = new UserData.Builder(mId, mValue, mCategoryId) 114 assertThat(values[1]).isEqualTo(mValue); in testMerge_bothEmpty() 135 assertThat(values[2]).isEqualTo(mValue); in testMerge_emptyGenericUserData() 166 assertThat(values[1]).isEqualTo(mValue); in testMerge_emptyPackageUserData() 200 assertThat(values[2]).isEqualTo(mValue); in testMerge_bothHaveData()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | CommonDevicePolicy.java | 104 private final int mValue; field in CommonDevicePolicy.DevicePolicyOperation 107 mValue = value; in DevicePolicyOperation() 111 return mValue; in getValue() 120 private final int mValue; field in CommonDevicePolicy.OperationSafetyReason 123 mValue = value; in OperationSafetyReason() 127 return mValue; in getValue()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Target.java | 197 return new Floaty(a.mNumberOfBits, new double[] { a.mValue + b.mValue, in add() 209 return new Floaty(a.mNumberOfBits, new double[] { a.mValue - b.mValue, in subtract() 221 return new Floaty(a.mNumberOfBits, new double[] { a.mValue * b.mValue, in multiply() 235 return new Floaty(a.mNumberOfBits, new double[] { a.mValue / b.mValue, in divide() 252 f.mValue = Math.abs(a.mValue); in abs() 271 double f = Math.sqrt(a.mValue); in sqrt() 317 private double mValue; field in Target.Floaty 327 mValue = a.mValue; in Floaty() 342 mValue = values[0]; in Floaty() 605 public double get() { return mValue; } in get() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | StateChangerRule.java | 39 private final T mValue; field in StateChangerRule 49 mValue = value; in StateChangerRule() 59 if (!Objects.equals(previousValue, mValue)) { in apply() 60 mStateManager.set(mValue); in apply()
|
D | BlockingCallback.java | 45 private AtomicReference<E> mValue = new AtomicReference<>(); field in BlockingCallback 77 mValue.set(value); in callbackTriggered() 101 return mValue.get(); in await()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/appops/ |
D | AppOpsMode.java | 34 final int mValue; field in AppOpsMode 38 return mValue; in value() 42 this.mValue = value; in AppOpsMode()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DragSourceCursor.java | 24 private final String mValue; field in DragSourceCursor 27 mValue = value; in DragSourceCursor() 48 return mValue; in getString()
|
/cts/libs/webkit-shared/src/android/webkit/cts/ |
D | HttpHeader.java | 32 private final String mValue; field in HttpHeader 69 mValue = value; in HttpHeader() 77 out.writeString(mValue); in writeToParcel() 86 return Pair.create(mHeader, mValue); in getPair()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/ |
D | SimpleAccountManagerFuture.java | 37 private final AtomicReference<V> mValue = new AtomicReference<>(); field in SimpleAccountManagerFuture 65 return mValue.get(); in getResult() 79 mValue.set(result); in setResult() 94 return mValue.get(); in getResult()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingCallback.java | 45 private AtomicReference<E> mValue = new AtomicReference<>(); field in BlockingCallback 77 mValue.set(value); in callbackTriggered() 101 return mValue.get(); in await()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProvider.java | 123 private final int mValue; field in SliceProvider.TestParcel 126 mValue = 42; in TestParcel() 130 mValue = in.readInt(); in TestParcel() 135 dest.writeInt(mValue); in writeToParcel() 147 return p.mValue == mValue; in equals()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/certificates/ |
D | Certificates.java | 37 private final String mValue; field in Certificates.KeyAlgorithmType 40 mValue = value; in KeyAlgorithmType() 44 return mValue; in getValue()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CliIntentExtra.java | 33 private final String mValue; field in CliIntentExtra 47 mValue = value; in CliIntentExtra() 77 return mValue; in value()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | FractionTest.java | 43 private TypedValue mValue; field in FractionTest 48 mValue = new TypedValue(); in setUp() 93 mResources.getValue(resid, mValue, true); in tryFraction() 94 float res = mValue.getFraction(base, pbase); in tryFraction() 102 + Integer.toHexString(resid) + " " + mValue, diff > prec); in tryFraction()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/ |
D | LogcatHelper.java | 60 private String mValue; field in LogcatHelper.Level 63 return mValue; in getValue() 67 mValue = v; in Level() 95 String match = String.format("%s %s: %s", level.mValue, tag, message); in assertLogcatMessage() 134 String match = String.format("%s %s: %s", level.mValue, tag, message); in assertNoLogcatMessage()
|
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/ |
D | PlatformInspectableProcessorTest.java | 86 private final int mValue; field in PlatformInspectableProcessorTest.IntPropertyTest 89 mValue = seed.nextInt(); in IntPropertyTest() 94 return mValue; in getValue() 118 private final int mValue; field in PlatformInspectableProcessorTest.NamedPropertyTest 121 mValue = seed.nextInt(); in NamedPropertyTest() 126 return mValue; in getValue() 281 private final int mValue; field in PlatformInspectableProcessorTest.ValueTypeTest 286 mValue = seed.nextInt(); in ValueTypeTest() 302 return mValue; in getValue() 429 private int mValue; field in PlatformInspectableProcessorTest.IntEnumTest [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/ |
D | MethodProfile.java | 59 private final int mValue; field in MethodProfile.MethodType 62 mValue = value; in MethodType() 66 return mValue; in getValue()
|
D | ClassProfile.java | 76 private final int mValue; field in ClassProfile.ClassType 79 mValue = value; in ClassType() 83 return mValue; in getValue()
|
/cts/tests/translation/src/android/translation/cts/unittests/ |
D | TranslationResponseTest.java | 40 private final TranslationResponseValue mValue = field in TranslationResponseTest 99 .setTranslationResponseValue(0, mValue) in testBuilder_validTranslationResponseValue() 115 .setTranslationResponseValue(0, mValue) in testParceledResponse_validTranslationResponseValues() 146 .setTranslationResponseValue(0, mValue) in testBuilder_mixingAdders() 167 values.set(0, mValue); in testBuilder_mixingSetters()
|
D | TranslationRequestTest.java | 37 private final TranslationRequestValue mValue = TranslationRequestValue.forText("hello"); field in TranslationRequestTest 66 values.add(mValue); in testBuilder_validTranslationRequestValue() 93 values.add(mValue); in testBuilder_mixingSetters() 120 values.add(mValue); in testParceledRequest_validTranslationRequestValues()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionParamsUnitTest.java | 299 private final T mValue; field in InstallSessionParamsUnitTest.Optional 303 mValue = value; in Optional() 314 return mValue; in get() 320 } else if (mValue == null) { in toString() 323 return mValue.toString(); in toString() 333 consumer.accept(mValue); in ifPresent()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalService.java | 65 private int mValue = 0; field in LocalService 80 reply.writeInt(mValue); 84 mValue = data.readInt();
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 215 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib() 216 return mValue[0]; in findConfigAttrib() 323 private int[] mValue = new int[1]; field in GLtestView.ConfigChooser
|