Home
last modified time | relevance | path

Searched refs:setUp (Results 1 – 25 of 175) sorted by relevance

1234567

/platform_testing/libraries/collectors-helper/app/test/src/com/android/helpers/tests/
DAppVersionHelperTest.java56 public void setUp() { in setUp() method in AppVersionHelperTest
63 mAppVersionHelper.setUp(""); in testEmptyPackageName()
72 mAppVersionHelper.setUp(null); in testNullPackageName()
81 mAppVersionHelper.setUp(TEST_PACKAGE_NAME); in testGetMetrics_OnePackage()
94 mAppVersionHelper.setUp(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME_2); in testGetMetrics_MultiplePackages()
114 mAppVersionHelper.setUp(INVALID_PACKAGE_NAME); in testGetMetrics_InvalidPackage()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DTotalPssHelperTest.java55 public void setUp() { in setUp() method in TotalPssHelperTest
62 mTotalPssHelper.setUp(""); in testEmptyProcessName()
70 mTotalPssHelper.setUp(null); in testNullProcessName()
78 mTotalPssHelper.setUp(TEST_PROCESS_NAME); in testGetMetrics_OneProcess()
88 mTotalPssHelper.setUp(TEST_PROCESS_NAME, TEST_PROCESS_NAME_2); in testGetMetrics_MultipleProcesses()
100 mTotalPssHelper.setUp(INVALID_PROCESS_NAME); in testGetMetrics_InvalidProcess()
DPinnerHelperTest.java54 public void setUp() { in setUp() method in PinnerHelperTest
74 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testValidFile()
81 mPinnerHelper.setUp(INVALID_OUTPUT_DIR); in testInvalidFile()
88 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testPinnerSnapshotDumpFile()
100 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testPinnerTotalFileSizeMetric()
112 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testValidateTotalFileSizeCount()
DHeapDumpHelperTest.java48 public void setUp() { in setUp() method in HeapDumpHelperTest
62 mHeapDumpHelper.setUp("/data/local/tmp/", ""); in testHeapDumpCollectionNoProcess()
72 mHeapDumpHelper.setUp("/data/local/tmp/", "com.android.systemui"); in testSuccessfulHeapDumpCollection()
88 mHeapDumpHelper.setUp("/data/local/tmp/", "/system/bin/surfaceflinger"); in testHeapCollectionProcessWithSpecialChars()
105 mHeapDumpHelper.setUp("/data/local/tmp/", processNames); in testSuccessfulHeapDumpCollectionForTwoProcesses()
128 mHeapDumpHelper.setUp("/data/local/tmp/", processNames); in testSuccessfulNativeHeapDumpCollectionForTwoProcesses()
162 mHeapDumpHelper.setUp("/data/local/tmp/", "com.android.systemui"); in testHeapDumpNotCollectedWithEmptyId()
173 mHeapDumpHelper.setUp("/data/local/tmp/", processNames); in testHeapDumpCollectionForInvalidProcesses()
190 mHeapDumpHelper.setUp("/data/local/tmp/", processNames); in testNativeHeapDumpCollectionForInvalidProcesses()
DProcessShowmapHelperTest.java56 public void setUp() { in setUp() method in ProcessShowmapHelperTest
71 mShowmapHelper.setUp(""); in testEmptyProcessName()
81 mShowmapHelper.setUp(TEST_PROCESS_NAME); in testSamplesMemory()
88 mShowmapHelper.setUp(TEST_PROCESS_NAME); in testGetMetrics_OneProcess()
98 mShowmapHelper.setUp(TEST_PROCESS_NAME, TEST_PROCESS_NAME_2); in testGetMetrics_MultipleProcesses()
DShowmapSnapshotHelperTest.java95 public void setUp() { in setUp() method in ShowmapSnapshotHelperTest
133 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, EMPTY_PROCESS_LIST); in testEmptyProcessName()
143 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, ONE_PROCESS_LIST); in testValidFile()
152 mShowmapSnapshotHelper.setUp(INVALID_OUTPUT_DIR, ONE_PROCESS_LIST); in testInvalidFile()
189 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, MIXED_PROCESS_LIST); in testGetMetrics_MixedProcess()
221 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, CACHED_PROCESS_LIST); in testGetMetrics_CachedProcess()
252 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_AllProcess()
263 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_Invalid_Metric_Pattern()
281 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_Empty_Metric_Pattern()
294 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_Summation_Metric_Pattern()
[all …]
DGarbageCollectionHelperTest.java49 public void setUp() throws Throwable { in setUp() method in GarbageCollectionHelperTest
79 mHelper.setUp("package.name1"); in testOneAppToGc()
92 mHelper.setUp("package.name1", "package.name2", "package.name3"); in testMultipleAppsToGc()
109 mHelper.setUp("does.not.exist", "package.name1"); in testSkipsGcOnDneApp()
/platform_testing/libraries/collectors-helper/generic/test/src/com/android/helpers/tests/
DGenericExecutableCollectorHelperTest.java68 public void setUp() { in setUp() method in GenericExecutableCollectorHelperTest
78 () -> mGenericExecutableCollectorHelper.setUp(INVALID_INPUT_DIR)); in testBadInputDir()
87 () -> mGenericExecutableCollectorHelper.setUp(VALID_EMPTY_DIR)); in testEmptyDir()
93 mGenericExecutableCollectorHelper.setUp(sTestFile1.getParent()); in testGoodDir()
117 mGenericExecutableCollectorHelper.setUp(sTestFile1.getParent()); in testMultipleGoodFiles()
175 mGenericExecutableCollectorHelper.setUp(sTestFile1.getParent()); in testBadExectuable_goodExecutableStillCollects()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DGarbageCollectRuleTest.java68 verify(mGcHelper).setUp("package.name1"); in testCallsGcBeforeTest()
91 verify(mGcHelper).setUp("package.name1"); in testCallsGcBeforeAndAfterTest()
113 verify(mGcHelper).setUp("package.name1"); in testCallsGcOnlyBeforeTest()
135 verify(mGcHelper).setUp("package.name1"); in testExtendWaitTime()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DAppVersionListener.java66 mAppVersionHelper.setUp(); in setupAdditionalArgs()
68 mAppVersionHelper.setUp(pkgNamesString.split(PKG_NAME_SEPARATOR)); in setupAdditionalArgs()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DTotalPssMetricListenerTest.java60 public void setUp() { in setUp() method in TotalPssMetricListenerTest
79 verify(mTotalPssMetricHelper).setUp("process1", "process2"); in testHelperReceivesProcessNames()
94 verify(mTotalPssMetricHelper).setUp("process1"); in testAdditionalPssOptions()
DShowmapSnapshotListenerTest.java55 public void setUp() { in setUp() method in ShowmapSnapshotListenerTest
76 verify(mShowmapSnapshotHelper).setUp(VALID_OUTPUT_DIR, "process1", "process2"); in testHelperReceivesProcessNames()
90 verify(mShowmapSnapshotHelper).setUp(VALID_OUTPUT_DIR, "process1"); in testAdditionalOptions()
DPinnerSnapshotListenerTest.java54 public void setUp() { in setUp() method in PinnerSnapshotListenerTest
70 verify(mPinnerHelper).setUp(VALID_OUTPUT_DIR); in testHelperReceivesCustomDirectory()
DProcessShowmapListenerTest.java56 public void setUp() { in setUp() method in ProcessShowmapListenerTest
75 verify(mShowmapHelper).setUp("process1", "process2"); in testHelperReceivesProcessNames()
DDumpsysServiceListenerTest.java60 verify(mDumpsysServiceHelper, never()).setUp(any()); in testListener_noProcessNames()
71 verify(mDumpsysServiceHelper).setUp("service1", "service2"); in testListener_withProcessNames()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchWebView.java39 public void setUp() throws Exception { in setUp() method in UiBenchWebView
40 super.setUp(); in setUp()
DUiBenchTransitionsJankTests.java42 public void setUp() throws Exception { in setUp() method in UiBenchTransitionsJankTests
43 super.setUp(); in setUp()
DUiBenchRenderingJankTests.java44 public void setUp() throws Exception { in setUp() method in UiBenchRenderingJankTests
45 super.setUp(); in setUp()
DUiBenchTextJankTests.java43 public void setUp() throws Exception { in setUp() method in UiBenchTextJankTests
44 super.setUp(); in setUp()
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/
DDumpsysServiceHelperTest.java58 public void setUp() { in setUp() method in DumpsysServiceHelperTest
78 mDumpsysServiceHelper.setUp(TEST_SERVICE_NAME); in testCollectDumpsys_oneService()
96 mDumpsysServiceHelper.setUp(TEST_SERVICE_NAME, TEST_SERVICE_NAME_2); in testCollectDumpsys_multipleServices()
DTimeInStateHelperTest.java62 public void setUp() { in setUp() method in TimeInStateHelperTest
87 mTimeInStateHelper.setUp(key1 + "@" + file1.getPath()); in testCollectTimeInState_oneSource()
109 mTimeInStateHelper.setUp(key1 + "@" + file1.getPath(), key2 + "@" + file2.getPath()); in testCollectTimeInState_multipleSources()
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DDeviceFlagsValueProviderTest.java36 public void setUp() { in setUp() method in DeviceFlagsValueProviderTest
37 mFlagsValueProvider.setUp(); in setUp()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DIFlagsValueProvider.java30 default void setUp() throws FlagReadException {} in setUp() method
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DTimeInStateListenerTest.java60 verify(mTimeInStateHelper, never()).setUp(any()); in testListener_noSource()
71 verify(mTimeInStateHelper).setUp("key1@temp1", "key2@temp2"); in testListener_withSources()
/platform_testing/tests/codecoverage/instrumentation/src/android/platform/test/
DCoverageInstrumentationTest.java14 public void setUp() { in setUp() method in CoverageInstrumentationTest

1234567