Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstalledInstrumentationsTestTest.java85 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun()
137 assertEquals(nonshardableTestPkg1, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
138 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
146 assertEquals(nonshardableTestPkg2, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
147 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
173 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun_withCollectors()
/tools/tradefederation/core/src/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.java82 getPackageName() + "_runtime_coverage", in run()
93 getPackageName() + "_coverage_crash_" + getTestSize(), in run()
DInstalledInstrumentationsTest.java343 CLog.d("Running test %s on %s", test.getPackageName(), getDevice().getSerialNumber()); in doRun()
346 sendCoverage(test.getPackageName(), test.getCoverageTarget(), listener); in doRun()
/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()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTestTest.java84 assertEquals(TEST_PKG, mMockInstrumentationTest.getPackageName()); in testRun()
157 assertNull(mMockInstrumentationTest.getPackageName()); in testRun_noDevice()
171 assertNull(mMockInstrumentationTest.getPackageName()); in testRun_noPath()
/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/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/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt171 packageName = getPackageName(psiClass) in <lambda>()
333 val packageName = getPackageName(psiClass) in <lambda>()
462 val packageName = getPackageName(clz) in <lambda>()
468 val pkgName = getPackageName(clz) in <lambda>()
585 private fun getPackageName(clz: PsiClass): String { in <lambda>() method
DPsiTypePrinter.kt333 prefix = StringUtil.getPackageName(fqn) in <lambda>()
585 val prefix = StringUtil.getPackageName(fqn) in <lambda>()
/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/src/com/android/tradefed/targetprep/
DAppSetup.java167 if (aaptParser.getPackageName() == null) { in addPackageNameToUninstall()
172 mInstalledPkgs.add(aaptParser.getPackageName()); in addPackageNameToUninstall()
DAllTestAppsInstallSetup.java137 mPackagesInstalled.add(parser.getPackageName()); in installApk()
DInstallAllTestZipAppsSetup.java231 return parser.getPackageName(); in getAppPackageName()
/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/device/
DPackageInfo.java61 public String getPackageName() { in getPackageName() method in PackageInfo
/tools/tradefederation/contrib/src/com/android/monkey/
DAppPkgInjector.java79 String pkgName = aapt.getPackageName(); in setUp()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DApkInfo.java111 public String getPackageName() { in getPackageName() method in ApkInfo
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java70 public String getPackageName() { in getPackageName() method in DeviceTestRunOptions
/tools/tradefederation/core/src/com/android/tradefed/util/
DAaptParser.java134 public String getPackageName() { in getPackageName() method in AaptParser
/tools/tradefederation/contrib/src/com/android/app/tests/
DAppLaunchTest.java91 String packageName = p.getPackageName(); in run()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppInstallTest.java173 String packageName = parser.getPackageName(); in installAndTime()
/tools/tradefederation/core/util-apps/ContentProvider/androidTest/src/android/tradefed/contentprovider/
DManagedFileContentProviderTest.java74 assertEquals("android.tradefed.contentprovider.test", mAppContext.getPackageName()); in setUp()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java211 mDevice.uninstallPackage(mApk.getPackageName()); in tearDown()

12