/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | DatasetTest.java | 41 private final AutofillValue mValue = AutofillValue.forText("ValuableLikeGold"); field in DatasetTest 54 assertThrows(NullPointerException.class, () -> builder.setValue(null, mValue)); in testBuilder_setValueNullId() 60 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation() 66 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithNullPresentation() 72 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter() 78 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentationNullFilter() 85 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, mFilter, in testBuilder_setFilteredValueWithPresentationNullPresentation() 92 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue, mFilter)); in testBuilder_setFilteredValueWithoutPresentation() 104 builder.setValue(mId, mValue, mPresentation); in testNoMoreInteractionsAfterBuild() 107 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue)); in testNoMoreInteractionsAfterBuild() [all …]
|
D | UserDataTest.java | 78 private final String mValue = mShortValue + "-1"; field in UserDataTest 88 mBuilder = new UserData.Builder(mId, mValue, mCategoryId); in setFixtures() 94 () -> new UserData.Builder(null, mValue, mCategoryId)); in testBuilder_invalid() 96 () -> new UserData.Builder("", mValue, mCategoryId)); in testBuilder_invalid() 105 assertThrows(NullPointerException.class, () -> new UserData.Builder(mId, mValue, null)); in testBuilder_invalid() 106 assertThrows(IllegalArgumentException.class, () -> new UserData.Builder(mId, mValue, "")); in testBuilder_invalid() 115 assertThrows(NullPointerException.class, () -> mBuilder.add(mValue, null)); in testAdd_invalid() 116 assertThrows(IllegalArgumentException.class, () -> mBuilder.add(mValue, "")); in testAdd_invalid() 121 assertThrows(IllegalStateException.class, () -> mBuilder.add(mValue, mCategoryId)); in testAdd_duplicatedValue() 122 assertThrows(IllegalStateException.class, () -> mBuilder.add(mValue, mCategoryId2)); in testAdd_duplicatedValue() [all …]
|
/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/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 75 mValue[0] = val; in setDouble() 81 return mValue[0]; in getDouble() 84 int64_t* data = reinterpret_cast<int64_t*>(mValue); in setInt64() 90 int64_t* data = reinterpret_cast<int64_t*>(mValue); in getInt64() 95 return mValue; in getPtr() 98 return ((mValue[0] == b.mValue[0]) && (mType == b.mType)); 102 double mValue[1];
|
D | TaskProcess.h | 83 TaskCase::Value mValue; variable
|
/cts/tests/autofillservice/src/android/autofillservice/cts/common/ |
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()
|
/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/tests/tests/content/src/android/content/res/cts/ |
D | FractionTest.java | 28 private TypedValue mValue; field in FractionTest 34 mValue = new TypedValue(); in setUp() 78 mResources.getValue(resid, mValue, true); in tryFraction() 79 float res = mValue.getFraction(base, pbase); in tryFraction() 87 + Integer.toHexString(resid) + " " + mValue, diff > prec); in tryFraction()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProvider.java | 122 private final int mValue; field in SliceProvider.TestParcel 125 mValue = 42; in TestParcel() 129 mValue = in.readInt(); in TestParcel() 134 dest.writeInt(mValue); in writeToParcel() 146 return p.mValue == mValue; in equals()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionParamsUnitTest.java | 265 private final T mValue; field in InstallSessionParamsUnitTest.Optional 269 mValue = value; in Optional() 280 return mValue; in get() 286 } else if (mValue == null) { in toString() 289 return mValue.toString(); in toString() 299 consumer.accept(mValue); in ifPresent()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | UrlQuerySanitizer_ParameterValuePairTest.java | 31 assertEquals(vaule, parameterValuePair.mValue); in testConstructor()
|
D | UrlQuerySanitizerTest.java | 100 assertEquals(EXPECTED_UNDERLINE_NAME, pvp.mValue); in testUrlQuerySanitizer() 103 assertEquals(EXPECTED_AGE, pvp.mValue); in testUrlQuerySanitizer() 106 assertEquals(EXPECTED_HEIGHT, pvp.mValue); in testUrlQuerySanitizer()
|
/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
|
/cts/tests/tests/util/src/android/util/cts/ |
D | ArraySetTest.java | 104 final int mValue; field in ArraySetTest.ControlledHash 107 mValue = value; in ControlledHash() 115 return mValue == ((ControlledHash)o).mValue; in equals() 120 return mValue/100; in hashCode() 125 return Integer.toString(mValue); in toString()
|
D | ArrayMapTest.java | 109 final int mValue; field in ArrayMapTest.ControlledHash 112 mValue = value; in ControlledHash() 120 return mValue == ((ControlledHash)o).mValue; in equals() 125 return mValue/100; in hashCode() 130 return Integer.toString(mValue); in toString() 140 dest.writeInt(mValue); in writeToParcel()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | PropertyValuesHolderTest.java | 563 PointF mValue = new PointF(); in testOfObject_Converter() 566 mValue.x = -value.x; in testOfObject_Converter() 567 mValue.y = -value.y; in testOfObject_Converter() 568 return mValue; in testOfObject_Converter() 634 PointF mValue = new PointF(); in testSetConverter() 637 mValue.x = value * (-1f); in testSetConverter() 638 mValue.y = 0f; in testSetConverter() 639 return mValue; in testSetConverter()
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 284 private T mValue; field in NetworkSecurityPolicyTestBase.SettableFuture 290 mValue = value; in set() 362 return mValue; in getValue()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskProcess.cpp | 339 mValue(val) in Param() 358 return mValue; in getValue() 364 return &mValue; in getValuePtr()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGLES20NativeActivityOne.java | 39 int mValue; field in OpenGLES20NativeActivityOne
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 133 private T mValue; field in AudioHelper.FutureLatch 139 mValue = value; in set() 155 value = mValue; in get()
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewOnUiThread.java | 908 private T mValue; 912 mValue = capture(); 918 return mValue;
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentLifecycleTest.java | 1235 private int mValue; field in FragmentLifecycleTest.SaveStateFragment 1239 saveStateFragment.mValue = value; in create() 1246 outState.putInt(VALUE_KEY, mValue); in onSaveInstanceState() 1253 mValue = savedInstanceState.getInt(VALUE_KEY, mValue); in onCreate() 1258 return mValue; in getValue()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 926 mValue = new int[1]; in ComponentSizeChooser() 964 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib() 965 return mValue[0]; in findConfigAttrib() 970 private int[] mValue; field in GLSurfaceViewCustom.ComponentSizeChooser
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 726 ALOGI("AMediaDrm_queryKeyStatus: key=%s, value=%s", keyStatus[i].mKey, keyStatus[i].mValue); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testQueryKeyStatusNative()
|