/cts/tests/tests/os/src/android/os/storage/cts/ |
D | CrateInfoTest.java | 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() 115 assertThat(readFromCrateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in readFromParcel_shouldMatchFromWriteToParcel() [all …]
|
D | StorageStatsManagerTest.java | 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()
|
/cts/tests/tests/content/src/android/content/om/cts/ |
D | FabricatedOverlayTest.java | 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() 186 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forStringType_withConfigurations_shouldBeValid() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PasswordMinimumRestrictionsTest.java | 91 getMethodName(METHOD_LIST[i]) in testPasswordMinimumRestriction() 99 getMethodName(METHOD_LIST[i]) + " failed to get expected value on mParentDpm.", in testPasswordMinimumRestriction() 139 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH_LOW + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 146 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 149 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 154 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH_LOW + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 157 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 167 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 170 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin() 175 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin() [all …]
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 33 mName = description.getMethodName(); in apply() 44 public String getMethodName() {
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 33 mName = description.getMethodName(); in apply() 44 public String getMethodName() {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 189 getTestLogger().logTestStart(description.getMethodName()); in testStarted() 194 getTestLogger().logTestPass(description.getMethodName(), null /* testSummary */); in testFinished() 201 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testFailure() 207 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testAssumptionFailure() 212 getTestLogger().logTestSkip(description.getMethodName(), description.toString()); in testIgnored()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ExtraBusinessLogicTestCase.java | 55 + "configuration.", mTestCase.getMethodName()), mCanReadBusinessLogic); in handleBusinessLogic() 58 "Skipping Business Logic for %s", mTestCase.getMethodName())); in handleBusinessLogic()
|
D | RequiredFeatureRule.java | 55 + description.getClassName() + "#" + description.getMethodName() in apply()
|
D | RequiredServiceRule.java | 62 + description.getClassName() + "#" + description.getMethodName() in apply()
|
D | RequiredSystemResourceRule.java | 66 + description.getClassName() + "#" + description.getMethodName() in apply()
|
/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/ |
D | PerformanceClassEvaluatorTest.java | 42 Mockito.when(mMockTestName.getMethodName()).thenReturn(null); in constructorTest_replacesNullWithEmpty() 50 Mockito.when(mMockTestName.getMethodName()).thenReturn("{}"); in constructorTest_replacesCurlyBraces()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ScreenshotTestRule.java | 58 mTestMethod = description.getMethodName(); in apply() 77 + description.getMethodName(); in capture()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | DumpOnFailureRule.java | 48 final String testName = description.getClassName() + "_" + description.getMethodName(); in onTestFailure() 73 return shortenedClassName + "_" + description.getMethodName(); in getShortenedTestName()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | CallGraphManager.java | 163 if (methodProfile.getMethodName().equals("<init>")) { in markCoveredApisWithoutCaller() 170 methodProfile.getMethodName(), in markCoveredApisWithoutCaller() 203 apiMethod.getMethodName(), in markCoveredApisWithCaller()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | DumpLoggerRule.java | 36 Log.i(mTag, "Debugging info for failed test: " + description.getMethodName()); in failed()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumpOnFailureRule.java | 67 + "_" + description.getMethodName(); in getTestNameFrom()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/testrules/ |
D | TestNameSaver.java | 55 String testName = description.getMethodName(); in apply()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SaveBitmapHelper.java | 36 + "/" + testName.getMethodName(); in saveBitmap()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 101 String methodName = child.getMethodName(); in getTestDescription()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | DumpOnFailure.java | 120 return description.getTestClass().getSimpleName() + "_" + description.getMethodName() 127 + "_" + description.getMethodName());
|
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/ |
D | CarBuiltinApiHostCtsBase.java | 69 description.getClassName(), description.getMethodName(), mFeature); in apply()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | LogShellCommandRule.java | 78 runAndLogAll("failure of " + description.getMethodName()); in apply()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 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/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 610 fail("setDataSource failed: " + testName.getMethodName()); in testAssetFD() 627 fail("setDataSource failed: " + testName.getMethodName()); 661 fail("setDataSource failed: " + testName.getMethodName()); 678 fail("setDataSource failed: " + testName.getMethodName()); 694 fail("setDataSource failed: " + testName.getMethodName()); 715 fail("setDataSource failed: " + testName.getMethodName()); 764 assertTrue(testName.getMethodName() + " failed ", 1095 assertTrue(testName.getMethodName() + " failed for Mediatype: " + mMediaType, isOk); 1132 assertTrue(testName.getMethodName() + " failed for mediaType: " + mMediaType, isOk); 1166 assertTrue(testName.getMethodName() + " failed for Mediatype: " + mMediaType, isOk); [all …]
|