Home
last modified time | relevance | path

Searched defs:pi (Results 1 – 25 of 36) sorted by relevance

12

/cts/hostsidetests/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/
DPackageAccessTest.java52 PackageInfo pi = pm.getPackageInfo(TINY_PKG, 0); in testPackageAccess_inUser() local
63 PackageInfo pi = pm.getPackageInfo(TINY_PKG, PackageManager.MATCH_UNINSTALLED_PACKAGES); in testPackageAccess_inUserUninstalled() local
74 PackageInfo pi = pm.getPackageInfo(TINY_PKG, 0); in testPackageAccess_notInOtherUser() local
85 PackageInfo pi = pm.getPackageInfo(TINY_PKG, PackageManager.MATCH_UNINSTALLED_PACKAGES); in testPackageAccess_notInOtherUserUninstalled() local
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/
DV3RotationTest.java138 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNATURES); in testGetSignaturesShowsOld() local
150 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNING_CERTIFICATES); in testGetSigningCertificatesShowsAll() local
181 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNING_CERTIFICATES); in testGetApkContentsSignersShowsCurrent() local
193 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNING_CERTIFICATES); in testGetApkContentsSignersShowsMultipleSigners() local
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DUidCapTests.java71 final PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, in sufficientAlarmsAllowedByDefault() local
87 final PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, in alarmsCannotExceedLimit() local
/cts/hostsidetests/appsecurity/test-apps/MajorVersionApp/src-common/com/android/cts/majorversion/
DVersionTest.java35 PackageInfo pi = pm.getPackageInfo(InstrumentationRegistry.getContext().getPackageName(), in testCheckVersion() local
/cts/hostsidetests/packagemanager/codepath/app/src/com/android/tests/codepath/app/
DCodePathDeviceTest.java36 PackageInfo pi = InstrumentationRegistry.getInstrumentation().getContext() in testCodePathMatchesExpected() local
/cts/tests/tests/security/src/android/security/cts/
DCVE_2020_0294.java53 PendingIntent pi = activityManager.getRunningServiceControlPanel(componentName); in testPocCVE_2020_0294() local
/cts/tests/app/src/android/app/cts/
DRecoverableSecurityExceptionTest.java51 …final PendingIntent pi = PendingIntent.getActivity(getContext(), 42, new Intent(), PendingIntent.F… in build() local
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceAdminTest.java37 final PackageInfo pi = pm.getPackageInfo(mContext.getPackageName(), /* flags =*/ 0); in testTargetApiLevel() local
/cts/tests/tests/content/src/android/content/pm/cts/
DProviderInfoListTest.java35 final PackageInfo pi = pm.getPackageInfo(PACKAGE_NAME, in testApplicationInfoSquashed() local
DFeatureGroupInfoTest.java58 PackageInfo pi = mPackageManager.getPackageInfo(getContext().getPackageName(), in testFeatureGroupsAreCorrect() local
/cts/tests/tests/os/src/android/os/cts/
DCrossProcessExceptionService.java71 final PendingIntent pi = PendingIntent.getActivity( in onBind() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DDoubleTest.java39 double pi = 3.14159265359; in testDoubleGlobal() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DActionTriggeredReceiver.java61 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, in makeBroadcastIntent() local
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java280 PendingIntent pi = PendingIntent.getBroadcast(mContext, 1, broadcastIntent, in testStartScanPendingIntent_nullnull() local
311 PendingIntent pi = PendingIntent.getBroadcast(mContext, 1, broadcastIntent, in testStartScanPendingIntent() local
/cts/tests/tests/appop2/src/android/app/appops2/cts/
DAppOpsLoggingTest.kt92 val pi = context.createAttributionContext(TEST_ATTRIBUTION_TAG).packageManager in <lambda>() constant
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPackageDeviceInfo.java145 final PermissionInfo pi = pm.getPermissionInfo(permission, 0); in collectPermissions() local
223 private static void writePermissionsDetails(PermissionInfo pi, DeviceInfoStore store) in writePermissionsDetails()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionTest.java278 PendingIntent pi = PendingIntent.getActivity(getContext(), 555, intent, in testConfigureSession() local
315 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, intent, in testSetMediaButtonReceiver_broadcastReceiver() local
360 PendingIntent pi = PendingIntent.getService(mContext, 0, intent, in testSetMediaButtonReceiver_service() local
406 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, intent, in testSetMediaButtonReceiver_implicitIntent() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java94 final ProviderInfo pi = new ProviderInfo(); in setUp() local
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt132 val pi = pm.packageInstaller in launchPackageInstallerViaSession() constant
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DPackageInstallerTestBase.kt133 val pi = pm.packageInstaller in <lambda>() constant
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DPackageInstallerTestBase.kt133 val pi = pm.packageInstaller in <lambda>() constant
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java163 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isPackageInstalled() local
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt141 val pi = pm.packageInstaller in <lambda>() constant
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java205 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isPackageInstalled() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java177 final PackageInfo pi = pm.getPackageInfo(mContext.getPackageName(), /* flags= */ 0); in getTargetApiLevel() local

12