Home
last modified time | relevance | path

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

12

/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.java876 EasyMock.expect(mockRunner.getPackageName()).andStubReturn("com.example"); in testRunInstrumentationTests()
899 EasyMock.expect(mockRunner.getPackageName()).andReturn("foo"); in testRunInstrumentationTests_recoveryFails()
925 EasyMock.expect(mockRunner.getPackageName()).andReturn("foo"); in testRunInstrumentationTests_recoverySucceeds()
2798 EasyMock.expect(mockRunner.getPackageName()).andStubReturn("com.example"); in testrunInstrumentationTestsAsUser_failed()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstalledInstrumentationsTestTest.java89 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun()
119 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun_retry()
165 assertEquals(nonshardableTestPkg1, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
166 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
174 assertEquals(nonshardableTestPkg2, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
175 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
197 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun_withCollectors()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorRunner.java94 public String getPackageName() { in getPackageName() method in UiAutomatorRunner
324 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber())); in run()
330 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
337 CLog.w("TimeoutException when running tests %1$s on %2$s", getPackageName(), in run()
343 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
DCodeCoverageTest.java84 getPackageName() + "_runtime_coverage", in run()
95 getPackageName() + "_coverage_crash_" + getTestSize(), in run()
DInstalledInstrumentationsTest.java415 CLog.d("Running test %s on %s", test.getPackageName(), getDevice().getSerialNumber()); in doRun()
DInstrumentationTest.java427 public String getPackageName() { in getPackageName() method in InstrumentationTest
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java70 assertEquals("com.foo.test", apk.getPackageName()); in testSingleApkInfo()
102 assertEquals("com.foo.test", apk.getPackageName()); in testOptionalFields()
161 assertEquals("com.foo.test", apk.getPackageName()); in testApkWithArguments()
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java86 Log.d(TAG, "Launching " + apk.getPackageName()); in startApp()
90 .getLaunchIntentForPackage(apk.getPackageName()); in startApp()
92 intent.setClassName(apk.getPackageName(), apk.getActivityName()); in startApp()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java69 String packageName = getPackageName(desc); in checkFilters()
124 private String getPackageName(Description desc) { in getPackageName() method in IsolationFilter
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java173 doReturn(null).when(mMockAaptParser).getPackageName(); in testSetup_noPackageName()
186 Mockito.verify(mMockAaptParser, times(1)).getPackageName(); in testSetup_noPackageName()
275 doReturn("com.fake.package").when(mMockAaptParser).getPackageName(); in testSetup_checkMinSdk_apiOk()
281 Mockito.verify(mMockAaptParser, times(2)).getPackageName(); in testSetup_checkMinSdk_apiOk()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DPackageInfo.java71 public String getPackageName() { in getPackageName() method in PackageInfo
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAppSetup.java184 if (aaptParser.getPackageName() == null) { in addPackageNameToUninstall()
192 mInstalledPkgs.add(aaptParser.getPackageName()); in addPackageNameToUninstall()
DInstallAllTestZipAppsSetup.java239 return parser.getPackageName(); in getAppPackageName()
DAllTestAppsInstallSetup.java154 mPackagesInstalled.add(parser.getPackageName()); in installApk()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DApkInfo.java111 public String getPackageName() { in getPackageName() method in ApkInfo
/tools/tradefederation/contrib/src/com/android/monkey/
DAppPkgInjector.java79 String pkgName = aapt.getPackageName(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java82 ((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseConfig()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAaptParser.java182 public String getPackageName() { in getPackageName() method in AaptParser
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppIncrementalInstallTest.java146 String packageName = parser.getPackageName(); in installAndTime()
DAppInstallTest.java173 String packageName = parser.getPackageName(); in installAndTime()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java447 + aaptParser.getPackageName()); in allowLegacyStorageForApps()
459 + aaptParser.getPackageName() in allowLegacyStorageForApps()
465 aaptParser.getPackageName(), setFileManagerAppOpResult.getStderr()); in allowLegacyStorageForApps()
1082 CLog.d("Found uninstallable package %s", pkgInfo.getPackageName()); in getUninstallablePackageNames()
1083 pkgs.add(pkgInfo.getPackageName()); in getUninstallablePackageNames()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java211 mDevice.uninstallPackage(mApk.getPackageName()); in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java471 options.getPackageName(), in runDeviceTests()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java526 return new ApexInfo(parser.getPackageName(), Long.parseLong(parser.getVersionCode())); in retrieveApexInfo()

12