Home
last modified time | relevance | path

Searched refs:mPm (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java60 private PackageManager mPm; field in EncryptionAppTest
71 mPm = mCe.getPackageManager(); in setUp()
251 mPm.resolveContentProvider("com.android.cts.encryptionapp.aware", 0)); in assertLocked()
253 mPm.resolveContentProvider("com.android.cts.encryptionapp.unaware", 0)); in assertLocked()
285 mPm.resolveContentProvider("com.android.cts.encryptionapp.aware", 0)); in assertUnlocked()
287 mPm.resolveContentProvider("com.android.cts.encryptionapp.unaware", 0)); in assertUnlocked()
307 assertEquals("activity", count, mPm.queryIntentActivities(intent, flags).size()); in assertQuery()
308 assertEquals("service", count, mPm.queryIntentServices(intent, flags).size()); in assertQuery()
309 assertEquals("provider", count, mPm.queryIntentContentProviders(intent, flags).size()); in assertQuery()
310 assertEquals("receiver", count, mPm.queryBroadcastReceivers(intent, flags).size()); in assertQuery()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java46 PackageManager mPm; field in VulkanFeaturesTest
59 mPm = getContext().getPackageManager(); in setUp()
60 FeatureInfo features[] = mPm.getSystemAvailableFeatures(); in setUp()
142 if (!mPm.hasSystemFeature(PackageManager.FEATURE_VR_MODE_HIGH_PERFORMANCE)) in testVulkanVersionForVrHighPerformance()
/cts/tests/tests/telephony/src/android/telephony/cts/
DCellInfoTest.java46 private PackageManager mPm; field in CellInfoTest
54 mPm = getContext().getPackageManager(); in setUp()
59 if(! (mPm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY))) { in testCellInfo()
/cts/tests/deviceadmin/uninstalltest/src/android/devicepolicy/cts/uiautomatertest/
DDeviceAdminUninstallTest.java81 private PackageManager mPm; field in DeviceAdminUninstallTest
88 mPm = mContext.getPackageManager(); in setUp()
89 mHasFeature = mPm.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
141 packageInfo = mPm.getPackageInfo(DEVICE_ADMIN_PACKAGE_NAME, 0); in packageExists()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java114 private PackageManager mPm; field in NetworkUsageStatsTest
177 mPm = getInstrumentation().getContext().getPackageManager(); in setUp()
258 boolean hasFeature = mPm.hasSystemFeature( in shouldTestThisNetworkType()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java56 private PackageManager mPm; field in IntentTest
71 mPm = mContext.getPackageManager(); in setUp()
718 final ComponentName target = emptyIntent.resolveActivity(mPm); in testResolveActivityEmpty()
727 final ComponentName target = intent.resolveActivity(mPm); in testResolveActivitySingleMatch()
738 final ComponentName target = intent.resolveActivity(mPm); in testResolveActivityShortcutMatch()
747 final ComponentName target = intent.resolveActivity(mPm); in testResolveActivityMultipleMatch()
753 if (mPm.checkPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS, pkgName) in testResolveActivityMultipleMatch()
/cts/tools/dex-tools/dex/
Dclasses.out.dex100828 private android.content.pm.PackageManager mPm