Home
last modified time | relevance | path

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

123

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DPackageInstallerEnumerationTests.java65 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothing_cannotSeeSession()
73 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothingHasPermission_canSeeSession()
81 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesPackage_canSeeSession()
89 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothingTargetsQ_canSeeSession()
97 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_sessionOwner_canSeeSession()
105 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothing_cannotSeeSession()
114 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingHasPermission_canSeeSession()
123 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesPackage_canSeeSession()
132 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingTargetsQ_canSeeSession()
141 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_sessionOwner_canSeeSession()
[all …]
DLauncherAppsEnumerationTests.java244 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothing_cannotSeeSession()
262 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothingHasPermission_canSeeSession()
280 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesPackage_canSeeSession()
298 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothingTargetsQ_canSeeSession()
316 final int expectedSessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_sessionOwner_canSeeSession()
368 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothing_cannotSeeSessions()
384 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothingHasPermission_canSeeSessions()
399 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesPackage_canSeeSessions()
415 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothingTargetsQ_canSeeSessions()
430 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_sessionOwner_canSeeSessions()
/cts/tests/smartspace/src/android/smartspace/cts/
DCombinedCardsTemplateDataTest.java76 .setLoggingInfo(new SubItemLoggingInfo.Builder(0, 0).setPackageName( in createBaseTemplateData()
85 .setLoggingInfo(new SubItemLoggingInfo.Builder(1, 1).setPackageName( in createBaseTemplateData()
95 .setLoggingInfo(new SubItemLoggingInfo.Builder(2, 2).setPackageName( in createBaseTemplateData()
105 .setLoggingInfo(new SubItemLoggingInfo.Builder(3, 3).setPackageName( in createBaseTemplateData()
114 .setLoggingInfo(new SubItemLoggingInfo.Builder(4, 4).setPackageName( in createBaseTemplateData()
DBaseTemplateDataTest.java52 .setLoggingInfo(new SubItemLoggingInfo.Builder(0, 0).setPackageName( in testCreateBaseTemplateData()
61 .setLoggingInfo(new SubItemLoggingInfo.Builder(1, 1).setPackageName( in testCreateBaseTemplateData()
71 .setLoggingInfo(new SubItemLoggingInfo.Builder(2, 2).setPackageName( in testCreateBaseTemplateData()
81 .setLoggingInfo(new SubItemLoggingInfo.Builder(3, 3).setPackageName( in testCreateBaseTemplateData()
90 .setLoggingInfo(new SubItemLoggingInfo.Builder(4, 4).setPackageName( in testCreateBaseTemplateData()
DSubItemInfoTest.java50 .setPackageName("package name").build()) in testCreateCarouselItem()
58 .setPackageName("package name").build()); in testCreateCarouselItem()
DSmartspaceTargetTest.java199 .setLoggingInfo(new SubItemLoggingInfo.Builder(0, 0).setPackageName( in createBaseTemplateData()
208 .setLoggingInfo(new SubItemLoggingInfo.Builder(1, 1).setPackageName( in createBaseTemplateData()
218 .setLoggingInfo(new SubItemLoggingInfo.Builder(2, 2).setPackageName( in createBaseTemplateData()
228 .setLoggingInfo(new SubItemLoggingInfo.Builder(3, 3).setPackageName( in createBaseTemplateData()
237 .setLoggingInfo(new SubItemLoggingInfo.Builder(4, 4).setPackageName( in createBaseTemplateData()
DSubItemLoggingInfoTest.java41 .setPackageName("package name").build(); in testCreateSubItemLoggingInfo()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralService.java41 .setPackageName("com.android.cts.ephemeralapp1") in onBind()
54 .setPackageName("com.android.cts.ephemeralapp1") in onStartCommand()
DEphemeralActivity2.java36 .setPackageName("com.android.cts.ephemeralapp1") in onCreate()
DEphemeralActivity3.java36 .setPackageName("com.android.cts.ephemeralapp1") in onCreate()
DEphemeralActivity.java48 .setPackageName("com.android.cts.ephemeralapp1") in onCreate()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetTest.java61 .setPackageName(PACKAGE_NAME)
70 .setPackageName(PACKAGE_NAME)
107 .setPackageName(shortcut.getPackage()) in testBuilderShortcutInfo()
121 .setPackageName(PACKAGE_NAME) in testBuilderAppWidget()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DExposedService.java40 .setPackageName("com.android.cts.normalapp") in onBind()
61 .setPackageName("com.android.cts.normalapp") in onStartCommand()
DNormalService.java45 .setPackageName("com.android.cts.normalapp") in onStartCommand()
DExposedActivity.java49 .setPackageName("com.android.cts.normalapp") in onCreate()
DNormalWebActivity.java51 .setPackageName("com.android.cts.normalapp") in onCreate()
/cts/tests/tests/content/src/android/content/pm/cts/
DPreapprovalDetailsTest.java54 .setPackageName(TEST_PACKAGE_NAME) in testPreapprovalDetails()
80 .setPackageName(TEST_PACKAGE_NAME) in testPreapprovalDetails_parcelWithNullAppIcon()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserApp/src/com/android/cts/userapp/
DUserActivity.java35 .setPackageName("com.android.cts.userapp") in onCreate()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsDeviceAwareTest.kt81 .setPackageName(context.opPackageName) in getUidMode_shouldBeInferredFromPermissionState()
133 .setPackageName(context.opPackageName) in getPackagesForOps_isDeviceAware()
192 .setPackageName(context.opPackageName) in getPermissionGroupUsageForPrivacyIndicator_isDeviceAware()
/cts/tests/tests/attributionsource/BlamedPermissionApp/src/android/attributionsource/cts/blamed/
DBringToForegroundActivity.kt37 .setPackageName(RECEIVER2_PACKAGE_NAME) in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java130 event.setPackageName(mPackageName); in onInitializeAccessibilityEvent()
136 info.setPackageName(mPackageName); in onInitializeAccessibilityNodeInfo()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/
DImplicitActivity.java48 .setPackageName("com.android.cts.implicitapp") in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/
DEphemeralActivity.java47 .setPackageName("com.android.cts.ephemeralapp2") in onCreate()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DSoParser.java101 public void setPackageName(String name) { in setPackageName() method in SoParser
113 mAppInfoBuilder.setPackageName(mPackageName); in getAppInfo()
298 aParser.setPackageName(fileName); in main()
/cts/tools/release-parser/tests/src/com/android/cts/releaseparser/
DSoParserTest.java65 aParser.setPackageName(fileName); in testSoParser()

123