Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/storage/cts/
DCrateInfoTest.java37 public TestName mTestName = new TestName(); field in CrateInfoTest
41 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName()); in getLabel_shouldMatchTheConstructor()
43 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in getLabel_shouldMatchTheConstructor()
48 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName()); in newCrateInfo_withNormalLabel_shouldBeSuccess()
50 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in newCrateInfo_withNormalLabel_shouldBeSuccess()
55 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), 0); in newCrateInfo_withNormalLabelAndExpiration_shouldBeSuccess()
57 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in newCrateInfo_withNormalLabelAndExpiration_shouldBeSuccess()
62 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), Long.MAX_VALUE); in newCrateInfo_withNormalLabelAndMaxExpiration_shouldBeSuccess()
95 new CrateInfo(mTestName.getMethodName(), -1); in newCrateInfo_withNegativeExpiration_throwIllegalArgumentException()
106 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), Long.MAX_VALUE); in readFromParcel_shouldMatchFromWriteToParcel()
[all …]
DStorageStatsManagerTest.java70 public TestName mTestName = new TestName(); field in StorageStatsManagerTest
112 mCrateId = mTestName.getMethodName(); in setUp()
269 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUid_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
281 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUser_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
293 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForPackage_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
DStorageCrateTest.java44 public TestName mTestName = new TestName(); field in StorageCrateTest
86 mCrateId = mTestName.getMethodName(); in setUp()
87 mCratePath = mCratesRoot.resolve(mTestName.getMethodName()); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubbleActivity.java33 private String mTestName = null; field in BubbleActivity
63 mTestName = i.getStringExtra(EXTRA_TEST_NAME); in setUpTestForExtras()
65 if (mTestName == null) { in setUpTestForExtras()
69 if (TEST_MIN_HEIGHT.equals(mTestName) in setUpTestForExtras()
70 || TEST_MAX_HEIGHT.equals(mTestName)) { in setUpTestForExtras()
80 if (TEST_MIN_HEIGHT.equals(mTestName)) { in checkHeight()
90 } else if (TEST_MAX_HEIGHT.equals(mTestName)) { in checkHeight()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarThemeTest.java54 public TestName mTestName = new TestName(); field in LightBarThemeTest
90 mTestName.getMethodName()); in testNavigationBarDividerColor()
DLightBarTests.java87 public TestName mTestName = new TestName(); field in LightBarTests
188 mTestName.getMethodName()); in testNavigationBarDivider()
312 dumpBitmap(bitmap, mTestName.getMethodName()); in assertStats()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java38 public TestName mTestName = new TestName(); field in EndToEndImeTestBase
50 final String testMethodName = mTestName.getMethodName(); in verifyAppModeConsistency()
/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/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java464 private String mTestName; field in SensorCtsHelper.TestResultCollector
476 mTestName = test; in TestResultCollector()
486 Log.d(mTag, mTestName + " running " + (s.isEmpty() ? "..." : s)); in perform()
491 Log.e(mTag, mTestName + " error: " + e.getMessage()); in perform()
/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/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java53 private String mTestName; field in MainInteractionSession
114 mTestName = args.getString(Utils.TESTCASE_TYPE, ""); in onShow()
194 if (mTestName.equals(Utils.SCREENSHOT)) { in onHandleScreenshot()
/cts/tests/tests/content/src/android/content/pm/cts/
DResourcesHardeningTest.java296 private final String mTestName; field in ResourcesHardeningTest.RemoteTest
300 mTestName = testName; in RemoteTest()
332 launchIntent.putExtra(TestUtils.TEST_NAME_EXTRA_KEY, mTestName); in start()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java147 private String mTestName; field in AssistTestBase
261 mTestName = testName; in startTestActivity()
301 return startSession(mTestName, extras); in startSession()
331 if (!sessionLatch.await(Utils.getAssistDataTimeout(mTestName), TimeUnit.MILLISECONDS)) { in waitForContext()
332 fail("Fail to receive broadcast in " + Utils.getAssistDataTimeout(mTestName) + "msec"); in waitForContext()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityFocusAndInputFocusSyncTest.java110 @Rule public TestName mTestName = new TestName(); field in AccessibilityFocusAndInputFocusSyncTest
420 final String fileName1 = String.format("%s_%s_%s.png", mTestName.getMethodName(), "Bitmap1", in saveFailureScreenshot()
424 final String fileName2 = String.format("%s_%s_%s.png", mTestName.getMethodName(), "Bitmap2", in saveFailureScreenshot()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java370 private final String mTestName; field in TestListAdapter.SetTestResultTask
382 mTestName = testName; in SetTestResultTask()
392 mContext, mTestName, mResult, mDetails, mReportLog, mHistoryCollection); in doInBackground()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java111 public TestName mTestName = new TestName(); field in PixelCopyTest
865 assertBitmapQuadColor(mTestName.getMethodName(), "PixelCopyTest", bitmap, in assertBitmapQuadColor()
919 BitmapDumper.dumpBitmap(bitmap, mTestName.getMethodName(), "PixelCopyTest"); in assertBitmapQuadColor()
952 BitmapDumper.dumpBitmap(bitmap, mTestName.getMethodName(), "PixelCopyTest"); in fail()
DTextureViewTest.java76 public TestName mTestName = new TestName(); field in TextureViewTest
593 PixelCopyTest.assertBitmapQuadColor(mTestName.getMethodName(), "TextureViewTest", in assertBitmapQuadColor()
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DMusicRecognitionManagerTest.java81 @Rule public TestName mTestName = new TestName(); field in MusicRecognitionManagerTest
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java679 final String mTestName; field in MultiNetworkConnectivityTestActivity.MultiNetworkValidator
695 mTestName = testName; in MultiNetworkValidator()