Home
last modified time | relevance | path

Searched refs:mTestName (Results 1 – 25 of 51) sorted by relevance

123

/cts/tests/tests/os/src/android/os/storage/cts/
DCrateInfoTest.java39 public TestName mTestName = new TestName(); field in CrateInfoTest
43 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName()); in getLabel_shouldMatchTheConstructor()
45 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in getLabel_shouldMatchTheConstructor()
50 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName()); in newCrateInfo_withNormalLabel_shouldBeSuccess()
52 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in newCrateInfo_withNormalLabel_shouldBeSuccess()
57 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), 0); in newCrateInfo_withNormalLabelAndExpiration_shouldBeSuccess()
59 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in newCrateInfo_withNormalLabelAndExpiration_shouldBeSuccess()
64 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), Long.MAX_VALUE); in newCrateInfo_withNormalLabelAndMaxExpiration_shouldBeSuccess()
97 new CrateInfo(mTestName.getMethodName(), -1); in newCrateInfo_withNegativeExpiration_throwIllegalArgumentException()
108 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), Long.MAX_VALUE); in readFromParcel_shouldMatchFromWriteToParcel()
[all …]
DStorageStatsManagerTest.java71 public TestName mTestName = new TestName(); field in StorageStatsManagerTest
113 mCrateId = mTestName.getMethodName(); in setUp()
270 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUid_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
282 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUser_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
294 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForPackage_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
DStorageCrateTest.java46 public TestName mTestName = new TestName(); field in StorageCrateTest
88 mCrateId = mTestName.getMethodName(); in setUp()
89 mCratePath = mCratesRoot.resolve(mTestName.getMethodName()); in setUp()
/cts/tests/tests/content/src/android/content/om/cts/
DFabricatedOverlayTest.java46 @Rule public TestName mTestName = new TestName(); field in FabricatedOverlayTest
87 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_withoutSlash_shouldBeInvalid()
99 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_colonAfterSlash_shouldBeInvalid()
113 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_invalidResourceType_shouldFail()
125 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_colonBeforeSlash_shouldBeValid()
134 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_colorAsStringType_shouldFail()
145 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_forColorType_shouldBeValid()
154 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_withConfigurations_shouldBeValid()
165 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_forNotExistColor_shouldBeValid()
174 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forStringType_forNotExistString_shouldBeValid()
[all …]
/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/
DRequirementsTest.java36 public final TestName mTestName = new TestName(); field in RequirementsTest
41 var pce = new PerformanceClassEvaluator(mTestName); in hdrDisplay_noHdr_1000nits()
52 var pce = new PerformanceClassEvaluator(mTestName); in hdrDisplay_900nits()
63 var pce = new PerformanceClassEvaluator(mTestName); in hdrDisplay_1000nits()
76 var pce = new PerformanceClassEvaluator(mTestName); in sequentialWrite_90mbps()
86 var pce = new PerformanceClassEvaluator(mTestName); in sequentialWrite_100mbps()
96 var pce = new PerformanceClassEvaluator(mTestName); in sequentialWrite_125mbps()
106 var pce = new PerformanceClassEvaluator(mTestName); in sequentialWrite_150mbps()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubbleActivity.java34 private String mTestName = null; field in BubbleActivity
64 mTestName = i.getStringExtra(EXTRA_TEST_NAME); in setUpTestForExtras()
66 if (mTestName == null) { in setUpTestForExtras()
70 if (TEST_MIN_HEIGHT.equals(mTestName) in setUpTestForExtras()
71 || TEST_MAX_HEIGHT.equals(mTestName)) { in setUpTestForExtras()
81 if (TEST_MIN_HEIGHT.equals(mTestName)) { in checkHeight()
91 } else if (TEST_MAX_HEIGHT.equals(mTestName)) { in checkHeight()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadResult.java29 public final String mTestName; field in BedsteadResult
39 mTestName = testName; in BedsteadResult()
DBedsteadRunResultsProvider.java59 result.mIndex, result.mTestName, result.mResult, in query()
/cts/tests/mediapc/src/android/mediapc/cts/
DFrameDropTest.java48 public final TestName mTestName = new TestName(); field in FrameDropTest
78 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test30Fps()
104 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test60Fps()
130 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test4k()
DAdaptivePlaybackFrameDropTest.java49 public final TestName mTestName = new TestName(); field in AdaptivePlaybackFrameDropTest
82 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test30Fps()
111 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test60Fps()
140 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test4k()
DPerformanceClassTest.java64 public final TestName mTestName = new TestName(); field in PerformanceClassTest
118 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testSecureHwDecodeSupport()
144 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testMediaDrmSecurityLevelHwSecureAll()
176 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testMinimumResolutionAndDensity()
203 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testMinimumMemory()
216 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testDisplayHdr()
DVideoCodecRequirementsTest.java91 public final TestName mTestName = new TestName(); field in VideoCodecRequirementsTest
175 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testAV1HwDecoderRequirements()
191 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test4k60Decoder()
207 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in test4k60Encoder()
236 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testAVIFHwDecoderRequirements()
295 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testAV1EncoderRequirements()
342 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testHlgEditingSupport()
376 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName);
425 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testPortraitResolutionSupport()
458 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testColorFormatSupport()
DEglTest.java45 public final TestName mTestName = new TestName(); field in EglTest
55 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in requireGraphicsProtectedContent()
DVulkanTest.java55 public final TestName mTestName = new TestName(); field in VulkanTest
84 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in checkVulkanProtectedMemoryAndGlobalPrioritySupport()
DExtYuvTargetSupportTest.java58 public final TestName mTestName = new TestName(); field in ExtYuvTargetSupportTest
182 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testYuvTextureSampling()
DMultiEncoderPerfTest.java63 public final TestName mTestName = new TestName(); field in MultiEncoderPerfTest
168 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testCodec()
/cts/tests/filesystem/src/android/filesystem/cts/
DRandomRWTest.java47 public final TestName mTestName = new TestName(); field in RandomRWTest
76 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testRandomRead()
106 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testRandomUpdate()
DSequentialRWTest.java60 public final TestName mTestName = new TestName(); field in SequentialRWTest
108 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testSingleSequentialWrite()
173 PerformanceClassEvaluator pce = new PerformanceClassEvaluator(this.mTestName); in testSingleSequentialRead()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfAnnotationsRenderScreenshotTests.java66 private final String mTestName; field in PdfAnnotationsRenderScreenshotTests
75 mTestName = testName; in PdfAnnotationsRenderScreenshotTests()
99 renderAndCompare(mTestName, mGoldenRes); in renderAnnotationsTypeWhenCorrespondingFlagSet()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarThemeTest.java54 public TestName mTestName = new TestName(); field in LightBarThemeTest
90 mTestName.getMethodName()); in testNavigationBarDividerColor()
/cts/tests/video/src/android/video/cts/
DVideoCodecClaimsPerformanceTestBase.java62 protected TestName mTestName = new TestName(); field in VideoCodecClaimsPerformanceTestBase
68 mTestConfig.append("Test Name :- ").append(mTestName.getMethodName()).append("\n"); in setUpTestLogs()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java145 public final TestName mTestName = new TestName(); field in SessionAbandonBehaviorTest
188 mHandlerThread = new HandlerThread(mTestName.getMethodName()); in registerSessionCallbacks()
335 mTestName.getMethodName()); in abandon_stagedSession_openForWriting_shouldFail()
353 mTestName.getMethodName()); in abandon_nonStagedSession_openForWriting_shouldFail()
531 mTestName.getMethodName()); in abandon_stagedParentSession_openChildSessionForWriting_shouldFail()
551 openSessionForWrite(firstChildSession, mTestName.getMethodName()); in abandon_nonStagedParentSession_openChildSessionForWriting_shouldFail()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityFlowTest.java76 public final TestName mTestName = new TestName(); field in PreferenceActivityFlowTest
486 String testName = getClass().getSimpleName() + "." + mTestName.getMethodName(); in assertScreenshotsAreEqual()
535 String testName = mTestName.getMethodName(); in requirePortraitModeSupport()
555 String testName = mTestName.getMethodName(); in requireLandscapeModeSupport()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java492 private String mTestName; field in SensorCtsHelper.TestResultCollector
504 mTestName = test; in TestResultCollector()
514 Log.d(mTag, mTestName + " running " + (s.isEmpty() ? "..." : s)); in perform()
519 Log.e(mTag, mTestName + " error: " + e.getMessage()); in perform()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java54 public TestName mTestName = new TestName(); field in EndToEndImeTestBase
123 final String testMethodName = mTestName.getMethodName(); in verifyAppModeConsistency()

123