Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDumpsysPackageReceiverTest.java44 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_classic()
66 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_future()
88 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_hidden()
119 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_perUser()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DInstalledInstrumentationsTestTest.java113 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun()
145 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun_retry()
209 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun_retry_runFailure()
246 assertEquals(TEST_PKG, mockInstrumentationTest.getPackageName()); in testRun_retry_notExecuted()
253 assertEquals("com.example2.tests", mockInstrumentationTest2.getPackageName()); in testRun_retry_notExecuted()
311 assertEquals(nonshardableTestPkg1, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
312 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
320 assertEquals(nonshardableTestPkg2, mMockInstrumentationTests.get(0).getPackageName()); in testShardedRun()
321 assertEquals(shardableTestPkg, mMockInstrumentationTests.get(1).getPackageName()); in testShardedRun()
343 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()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationPackageInfo.java55 public String getPackageName() { in getPackageName() method in AttestationPackageInfo
65 return new StringBuilder().append("Package name: ").append(getPackageName()) in toString()
/tools/tradefederation/core/javatests/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java93 ((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseConfig()
147 ((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseModule()
195 assertNull(((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseConfig_notoptions()
199 ((AndroidJUnitTest) config.getTests().get(1)).getPackageName()); in testParseConfig_notoptions()
/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/javatests/com/android/tradefed/targetprep/
DAppSetupTest.java145 doReturn("com.fake.package").when(mMockAaptParser).getPackageName(); in testSetup_deviceApi34_forceQueryableIsFalse()
199 doReturn(null).when(mMockAaptParser).getPackageName(); in testSetup_noPackageName()
212 Mockito.verify(mMockAaptParser, times(1)).getPackageName(); in testSetup_noPackageName()
303 doReturn("com.fake.package").when(mMockAaptParser).getPackageName(); in testSetup_checkMinSdk_apiOk()
309 Mockito.verify(mMockAaptParser, times(2)).getPackageName(); in testSetup_checkMinSdk_apiOk()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java79 String packageName = getPackageName(desc); in checkFilters()
134 private String getPackageName(Description desc) { in getPackageName() method in IsolationFilter
/tools/tradefederation/contrib/tests/src/com/android/scenario/
DAppSetupTest.java108 mAppSetup.getPackageName(), AppSetup.DEFAULT_SCENARIOS_PACKAGE); in testDefaultsToUsingScenariosPackage()
123 assertEquals(mAppSetup.getPackageName(), packageName); in testSupportsExplicitPackageName()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineUtils.kt29 internal fun getPackageName(unit: CompUnit): String { in getPackageName() method
DTurbineSourceFile.kt36 val pkgName = getPackageName(compUnit) in getHeaderComments()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DAaptParserTest.java69 assertEquals("com.android.foo", p.getPackageName()); in testParsePackageNameVersionLabel()
86 assertEquals("com.android.foo", p.getPackageName()); in testParseVersionMultipleFieldsNoLabel()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDumpsysPackageReceiver.java118 return new PerUserPackageParserState(mPkgInfo.getPackageName(), userId); in parse()
220 return new PerUserPackageParserState(mPkgInfo.getPackageName(), userId); in parse()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAppSetup.java194 if (aaptParser.getPackageName() == null) { in addPackageNameToUninstall()
202 mInstalledPkgs.add(aaptParser.getPackageName()); in addPackageNameToUninstall()
DInstallAllTestZipAppsSetup.java249 return parser.getPackageName(); in getAppPackageName()
/tools/tradefederation/contrib/src/com/android/scenario/
DAppSetup.java67 if (getPackageName() == null) { in run()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DPackageInfo.java72 public String getPackageName() { in getPackageName() method in PackageInfo
/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.java81 String pkgName = aapt.getPackageName(); in setUp()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt313 val pkgName = getPackageName(classItem.psiClass) in <lambda>()
503 val packageName = getPackageName(psiClass) in <lambda>()
605 val packageName = getPackageName(psiClass) in <lambda>()
769 private fun getPackageName(clz: PsiClass): String { in <lambda>() method
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java78 public String getPackageName() { in getPackageName() method in DeviceTestRunOptions
/tools/tradefederation/contrib/src/com/android/performance/tests/
DBaseEmulatorPerfTest.java88 delegateTest.setPackageName(parser.getPackageName()); in run()
DAppIncrementalInstallTest.java146 String packageName = parser.getPackageName(); in installAndTime()

12