Home
last modified time | relevance | path

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

123456

/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()
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.java71 public void setUp() { in setUp() method in ShowmapSnapshotHelperTest
108 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, EMPTY_PROCESS_LIST); in testEmptyProcessName()
118 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, ONE_PROCESS_LIST); in testValidFile()
127 mShowmapSnapshotHelper.setUp(INVALID_OUTPUT_DIR, ONE_PROCESS_LIST); in testInvalidFile()
152 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_AllProcess()
164 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_Invalid_Metric_Pattern()
182 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_Empty_Metric_Pattern()
195 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, NO_PROCESS_LIST); in testGetMetrics_verify_child_processes_metrics()
234 mShowmapSnapshotHelper.setUp(VALID_OUTPUT_DIR, processNames); in testProcessList()
DDumpsysMeminfoHelperTest.java61 public void setUp() { in setUp() method in DumpsysMeminfoHelperTest
75 mDumpsysMeminfoHelper.setUp(null); in testCollectMeminfo_nullProcess()
83 mDumpsysMeminfoHelper.setUp(PROCESS_NOT_FOUND, null, ""); in testCollectMeminfo_wrongProcesses()
91 mDumpsysMeminfoHelper.setUp(TEST_PROCESS_NAME); in testCollectMeminfo_oneProcess()
101 mDumpsysMeminfoHelper.setUp(TEST_PROCESS_NAME, TEST_PROCESS_NAME_2); in testCollectMeminfo_multipleProcesses()
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()
DPinnerHelperTest.java62 public void setUp() { in setUp() method in PinnerHelperTest
86 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testValidFile()
95 mPinnerHelper.setUp(INVALID_OUTPUT_DIR); in testInvalidFile()
104 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testPinnerSnapshotDumpFile()
116 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testPinnerTotalFileSizeMetric()
128 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testSystemFileSizeMetrics()
143 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testIndividualAppFileSizeMetrics()
158 mPinnerHelper.setUp(VALID_OUTPUT_DIR); in testValidateTotalFileSizeCount()
/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/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/
DBouncingBallJankTest.java33 protected void setUp() throws Exception { in setUp() method in BouncingBallJankTest
34 super.setUp(); in setUp()
/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/
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()
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()
DPinnerSnapshotListenerTest.java51 public void setUp() { in setUp() method in PinnerSnapshotListenerTest
67 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()
DDumpsysMeminfoListenerTest.java60 verify(mDumpsysMeminfoHelper, never()).setUp(any()); in testListener_noProcessNames()
71 verify(mDumpsysMeminfoHelper).setUp("process1", "process2"); in testListener_withProcessNames()
/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/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchWebView.java40 public void setUp() throws Exception { in setUp() method in UiBenchWebView
41 super.setUp(); in setUp()
DUiBenchTransitionsJankTests.java43 public void setUp() throws Exception { in setUp() method in UiBenchTransitionsJankTests
44 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/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DCardsJankTest.java39 protected void setUp() throws Exception { in setUp() method in CardsJankTest
40 super.setUp(); in setUp()
DQuickSettingsJankTest.java51 protected void setUp() throws Exception { in setUp() method in QuickSettingsJankTest
55 super.setUp(); in setUp()
/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/functional/notificationtests/src/com/android/notification/functional/
DNotificationSecurityTests.java38 public void setUp() throws Exception { in setUp() method in NotificationSecurityTests
39 super.setUp(); in setUp()

123456