Home
last modified time | relevance | path

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

12

/cts/tests/framework/base/locale/util/src/android/localemanager/cts/util/
DLocaleUtils.java44 .putExtra(Intent.EXTRA_PACKAGE_NAME, in constructResultIntent()
45 intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME)) in constructResultIntent()
60 .putExtra(Intent.EXTRA_PACKAGE_NAME, packageName) in constructResultIntent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSetPolicyActivity.java34 private static final String EXTRA_PACKAGE_NAME = "extra-package-name"; field in SetPolicyActivity
73 String packageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in handleIntent()
79 String packageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in handleIntent()
/cts/tests/translation/src/android/translation/cts/
DCtsTestIme.java27 import static android.translation.cts.Helper.EXTRA_PACKAGE_NAME;
104 result.putExtra(EXTRA_PACKAGE_NAME, mCallback.getStartedPackageName()); in assertOnStart()
111 result.putExtra(EXTRA_PACKAGE_NAME, mCallback.getFinishedPackageName()); in assertOnFinish()
118 result.putExtra(EXTRA_PACKAGE_NAME, mCallback.getResumedPackageName()); in assertOnResume()
125 result.putExtra(EXTRA_PACKAGE_NAME, mCallback.getPausedPackageName()); in assertOnPause()
DHelper.java65 public static final String EXTRA_PACKAGE_NAME = "package_name"; field in Helper
DUiTranslationManagerTest.java30 import static android.translation.cts.Helper.EXTRA_PACKAGE_NAME;
600 String startedPackageName = onStartIntent.getStringExtra(EXTRA_PACKAGE_NAME); in testIMEUiTranslationStateCallback()
615 String pausedPackageName = onPausedIntent.getStringExtra(EXTRA_PACKAGE_NAME); in testIMEUiTranslationStateCallback()
628 String resumedPackageName = onResumedIntent.getStringExtra(EXTRA_PACKAGE_NAME); in testIMEUiTranslationStateCallback()
646 String finishedPackageName = onFinishIntent.getStringExtra(EXTRA_PACKAGE_NAME); in testIMEUiTranslationStateCallback()
/cts/tests/framework/base/locale/src/android/localemanager/cts/
DBlockingBroadcastReceiver.java49 if (intent.hasExtra(Intent.EXTRA_PACKAGE_NAME)) { in onReceive()
50 mPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onReceive()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetPolicyActivity.java42 private static final String EXTRA_PACKAGE_NAME = "extra-package-name"; field in SetPolicyActivity
97 String packageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in handleIntent()
106 String packageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in handleIntent()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDualSuspendTests.java19 import static android.content.Intent.EXTRA_PACKAGE_NAME;
86 createSingleKeyBundle(Intent.EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME), in setSuspendViaDpm()
167 final Bundle extras = createSingleKeyBundle(EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME); in testUnsuspendedOnUninstallBlocked()
206 final Bundle extras = createSingleKeyBundle(EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME); in testCannotSuspendWhenUninstallBlocked()
239 final Bundle extras = createSingleKeyBundle(EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME); in tearDown()
DDistractingPackageTest.java19 import static android.content.Intent.EXTRA_PACKAGE_NAME;
119 createSingleKeyBundle(EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME), mHandler)); in testCannotRestrictWhenUninstallBlocked()
149 final Bundle extras = createSingleKeyBundle(EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME); in tearDown()
DDialogTests.java106 incomingIntent.getStringExtra(Intent.EXTRA_PACKAGE_NAME)); in testInterceptorActivity_unsuspend()
187 TEST_APP_PACKAGE_NAME, incomingIntent.getStringExtra(Intent.EXTRA_PACKAGE_NAME)); in testInterceptorActivity_moreDetails()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java45 public static final String EXTRA_PACKAGE_NAME = "packageName"; field in UtilsProvider
62 context.grantUriPermission(intent.getStringExtra(EXTRA_PACKAGE_NAME), uri, in call()
95 intent.getStringExtra(EXTRA_PACKAGE_NAME), in call()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java167 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
188 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
237 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
241 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
245 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
249 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
253 final String authority = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
256 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
274 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
334 final String sharedLibName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java67 PackageInstaller.EXTRA_PACKAGE_NAME)); in testPackageInstall()
83 PackageInstaller.EXTRA_PACKAGE_NAME)); in testPackageUninstall()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUtils.java29 import static com.android.cts.permissiondeclareapp.UtilsProvider.EXTRA_PACKAGE_NAME;
94 intent.putExtra(EXTRA_PACKAGE_NAME, getContext().getPackageName()); in grantClipUriPermissionViaContext()
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/
DLocaleConfigAppUpdateTest.java244 if (intent.hasExtra(Intent.EXTRA_PACKAGE_NAME)) { in onReceive()
245 mPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onReceive()
/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/
DTestCommsReceiver.java52 final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onReceive()
/cts/tests/tests/settings/src/android/settings/cts/
DSettingsIntentsInWorkProfileTest.java70 intent.putExtra(Intent.EXTRA_PACKAGE_NAME, TEST_PACKAGE); in settingActivity_launchAppUsageIntent_shouldNotCrash()
/cts/hostsidetests/securitybulletin/test-apps/BUG-182282630/src/android/security/cts/BUG_182282630/
DDeviceTest.java125 intent.putExtra(Intent.EXTRA_PACKAGE_NAME, "com.android.car.settings"); in launchTapjackedActivity()
/cts/tests/backup/src/android/backup/cts/
DAppLocalesBackupTest.java523 if (intent.hasExtra(Intent.EXTRA_PACKAGE_NAME)) { in onReceive()
524 mPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onReceive()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java73 PackageInstaller.EXTRA_PACKAGE_NAME));
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DOtherAppFilesRule.java190 + Intent.EXTRA_PACKAGE_NAME
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java99 PackageInstaller.EXTRA_PACKAGE_NAME));
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java22 import static android.content.pm.PackageInstaller.EXTRA_PACKAGE_NAME;
452 String installedPackageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in install()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTestsBase.java109 intent.putExtra(Intent.EXTRA_PACKAGE_NAME, targetPackageName); in sendCommand()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DBlockUninstallTest.java242 bundle.putString(PolicyUpdateReceiver.EXTRA_PACKAGE_NAME, sTestApp.packageName()); in policyUpdateReceiver_uninstallBlockedSet_receivedPolicySetBroadcast()

12