Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDumpsysPackageReceiverTest.java40 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_classic()
61 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_future()
82 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_hidden()
DTestDeviceTest.java844 EasyMock.expect(mockRunner.getPackageName()).andStubReturn("com.example"); in testRunInstrumentationTests()
867 EasyMock.expect(mockRunner.getPackageName()).andReturn("foo"); in testRunInstrumentationTests_recoveryFails()
893 EasyMock.expect(mockRunner.getPackageName()).andReturn("foo"); in testRunInstrumentationTests_recoverySucceeds()
2195 EasyMock.expect(mockRunner.getPackageName()).andStubReturn("com.example"); in testrunInstrumentationTestsAsUser_failed()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstalledInstrumentationsTestTest.java82 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun()
135 assertEquals(nonshardableTestPkg1, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
136 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
144 assertEquals(nonshardableTestPkg2, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
145 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
DCodeCoverageTestBaseTest.java760 assertThat(runner.getPackageName()).isEqualTo(PACKAGE_NAME1);
805 assertThat(test.getPackageName()).isEqualTo(PACKAGE_NAME1);
881 mTests.get(getPackageName(), getRunnerName(), shardIndex, numShards);
884 listeners.stream().forEach(l -> l.testRunStarted(getPackageName(), tests.size()));
903 String devicePath = String.format(COVERAGE_PATH, getPackageName());
905 mMeasurements.get(getPackageName(), getRunnerName(), shardIndex, numShards);
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorRunner.java94 public String getPackageName() { in getPackageName() method in UiAutomatorRunner
314 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber())); in run()
320 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
327 CLog.w("TimeoutException when running tests %1$s on %2$s", getPackageName(), in run()
333 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
DCodeCoverageTest.java82 getPackageName() + "_runtime_coverage", in run()
93 getPackageName() + "_coverage_crash_" + getTestSize(), in run()
DInstalledInstrumentationsTest.java315 CLog.d("Running test %s on %s", test.getPackageName(), getDevice().getSerialNumber()); in doRun()
318 sendCoverage(test.getPackageName(), test.getCoverageTarget(), listener); in doRun()
DInstrumentationTest.java348 public String getPackageName() { in getPackageName() method in InstrumentationTest
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DAaptParserTest.java60 assertEquals("com.android.foo", p.getPackageName()); in testParsePackageNameVersionLabel()
76 assertEquals("com.android.foo", p.getPackageName()); in testParseVersionMultipleFieldsNoLabel()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java162 doReturn(null).when(mMockAaptParser).getPackageName(); in testSetup_noPackageName()
172 Mockito.verify(mMockAaptParser, times(1)).getPackageName(); in testSetup_noPackageName()
260 doReturn("com.fake.package").when(mMockAaptParser).getPackageName(); in testSetup_checkMinSdk_apiOk()
266 Mockito.verify(mMockAaptParser, times(2)).getPackageName(); in testSetup_checkMinSdk_apiOk()
/tools/tradefederation/core/src/com/android/tradefed/device/
DPackageInfo.java61 public String getPackageName() { in getPackageName() method in PackageInfo
DTestDevice.java726 CLog.d("Found uninstallable package %s", pkgInfo.getPackageName());
727 pkgs.add(pkgInfo.getPackageName());
DNativeDevice.java728 runner.getPackageName()), runTestsAction, 0); in runInstrumentationTests()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java61 public String getPackageName() { in getPackageName() method in DeviceTestRunOptions
DBaseHostJUnit4Test.java451 options.getPackageName(), in runDeviceTests()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DAppSetup.java166 if (aaptParser.getPackageName() == null) { in addPackageNameToUninstall()
171 mInstalledPkgs.add(aaptParser.getPackageName()); in addPackageNameToUninstall()
DAllTestAppsInstallSetup.java137 mPackagesInstalled.add(parser.getPackageName()); in installApk()
DInstallAllTestZipAppsSetup.java231 return parser.getPackageName(); in getAppPackageName()
DTestAppInstallSetup.java327 return parser.getPackageName(); in parsePackageName()
/tools/tradefederation/core/prod-tests/src/com/android/monkey/
DAppPkgInjector.java79 String pkgName = aapt.getPackageName(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java281 Log.d(LOG_TAG, String.format("Running test %s on %s", test.getPackageName(), in doRun()
285 sendCoverage(test.getPackageName(), test.getCoverageTarget(), listener); in doRun()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAaptParser.java134 public String getPackageName() { in getPackageName() method in AaptParser
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DAppInstallTest.java114 String packageName = parser.getPackageName(); in installAndTime()
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/
DAppLaunchTest.java97 String packageName = p.getPackageName(); in run()
/tools/tradefederation/core/res/jacoco/
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...