Home
last modified time | relevance | path

Searched defs:packageManager (Results 1 – 25 of 86) sorted by relevance

1234

/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java62 PackageManager packageManager = mContext.getPackageManager(); in assertCanBeHandled() local
74 PackageManager packageManager = mContext.getPackageManager(); in assertDefaultHandlerValidPriority() local
87 PackageManager packageManager = mContext.getPackageManager(); in assertHandledBySystemOnly() local
101 PackageManager packageManager = mContext.getPackageManager(); in assertHandledBySelfOnly() local
169 PackageManager packageManager = mContext.getPackageManager(); in testCallPhoneNumber() local
181 PackageManager packageManager = mContext.getPackageManager(); in testDialPhoneNumber() local
193 PackageManager packageManager = mContext.getPackageManager(); in testDialVoicemail() local
205 PackageManager packageManager = mContext.getPackageManager(); in testChangePhoneAccounts() local
216 PackageManager packageManager = mContext.getPackageManager(); in testShowCallAccessibilitySettings() local
227 PackageManager packageManager = mContext.getPackageManager(); in testShowCallSettings() local
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiFeature.java24 PackageManager packageManager = context.getPackageManager(); in isWifiSupported() local
29 PackageManager packageManager = context.getPackageManager(); in isP2pSupported() local
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/
DPackageManagerMultiUserTest.java53 PackageManager packageManager = context.getPackageManager(); in testUninstallExistingPackage() local
65 PackageManager packageManager = context.getPackageManager(); in testGetInstalledModules() local
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedStoragePermissionTest.java529 final PackageManager packageManager = getContext().getPackageManager(); in assertCannotWhitelistStorage() local
579 final PackageManager packageManager = getContext().getPackageManager(); in assertCannotUnWhitelistStorage() local
637 final PackageManager packageManager = getContext().getPackageManager(); in getPermissionsOfAppWithAnyOfFlags() local
655 final PackageManager packageManager = getContext().getPackageManager(); in getRequestedPermissionsOfApp() local
705 final PackageManager packageManager = getContext().getPackageManager(); in installApp() local
716 final PackageManager packageManager = getContext().getPackageManager(); in installApp() local
731 final PackageManager packageManager = getContext().getPackageManager(); in installApp() local
DRestrictedPermissionsTest.java432 final PackageManager packageManager = getContext().getPackageManager(); in assertWeCannotReadOrWriteWhileShellCanReadAndWrite() local
459 final PackageManager packageManager = getContext().getPackageManager(); in getPermissionsOfAppWithAnyOfFlags() local
477 final PackageManager packageManager = getContext().getPackageManager(); in getRequestedPermissionsOfApp() local
500 final PackageManager packageManager = getContext().getPackageManager(); in assertRestrictedPermissionWhitelisted() local
558 final PackageManager packageManager = getContext().getPackageManager(); in assertAllRestrictedPermissionGranted() local
581 final PackageManager packageManager = getContext().getPackageManager(); in assertRestrictedPermissionGranted() local
656 final PackageManager packageManager = getContext().getPackageManager(); in installApp() local
665 final PackageManager packageManager = getContext().getPackageManager(); in installApp() local
677 final PackageManager packageManager = getContext().getPackageManager(); in installApp() local
DNoCaptureAudioOutputPermissionTest.java49 PackageManager packageManager = mContext.getPackageManager(); in testCreateAudioRecord() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java42 PackageManager packageManager = context.getPackageManager(); in getPackageInfo() local
52 PackageManager packageManager = context.getPackageManager(); in getMetadata() local
/cts/tests/tests/os/src/android/os/cts/
DRequiredComponentsTest.java73 PackageManager packageManager = InstrumentationRegistry.getContext().getPackageManager(); in testExtServicesPresent() local
121 PackageManager packageManager = InstrumentationRegistry.getContext() in enforceSharedLibPresentAndProperlyHosted() local
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DModifyInstallerCrossPackageTest.kt54 private val packageManager = context.packageManager constant in com.android.cts.permissiondeclareapp.ModifyInstallerCrossPackageTest
/cts/tests/tests/permission/src/android/permission/cts/
DMainlineNetworkStackPermissionTest.java47 final PackageManager packageManager = mContext.getPackageManager(); in testPackageWithMainlineNetworkStackPermission() local
DPlatformPermissionGroupMappingTest.kt31 private val packageManager = context.packageManager constant in android.permission.cts.PlatformPermissionGroupMappingTest
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiSetHttpProxyTest.java40 PackageManager packageManager = mContext.getPackageManager(); in testSetHttpProxy() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilitySettingsTest.java56 PackageManager packageManager = getContext().getPackageManager(); in testAccessibilitySettingsIntentHandled() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPrimaryUserFilterSetterActivity.java24 PackageManager packageManager = getPackageManager(); in onCreate() local
DComponentDisablingActivity.java42 PackageManager packageManager = getPackageManager(); in onCreate() local
/cts/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java50 PackageManager packageManager = mContext.getPackageManager(); in testPackageSignatures() local
197 PackageManager packageManager = mContext.getPackageManager(); in writeSignature() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0928/src/android/security/cts/CVE_2021_0928/
DDeviceTest.java49 PackageManager packageManager = context.getPackageManager(); in test() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/
DDeviceTest.java50 PackageManager packageManager = context.getPackageManager(); in test() local
/cts/libs/install/src/com/android/cts/install/lib/
DUninstall.java47 PackageManager packageManager = context.getPackageManager(); in uninstallSinglePackage() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0693/src/android/security/cts/CVE_2021_0693/
DDeviceTest.java56 PackageManager packageManager = context.getPackageManager(); in testHeapDumpAccessibility() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerCrossPackageTest.kt61 private val packageManager = context.packageManager constant
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/src/com/android/cts/packageinstallerpermissionrequestapp/
DPermissionRequestTest.kt43 private val packageManager = context.packageManager constant
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DVersion.java57 PackageManager packageManager = context.getPackageManager(); in getPackageInfo() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DAttestKeyTest.java171 PackageManager packageManager = in assumeStrongBox() local
178 PackageManager packageManager = in assumeAttestKey() local
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java60 PackageManager packageManager = context.getPackageManager(); in testGetLine1Number() local

1234