/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 68 private PackageManager mPm; field in EncryptionAppTest 79 mPm = mCe.getPackageManager(); in setUp() 204 mPm.resolveContentProvider("com.android.cts.encryptionapp.aware", 0)); in assertLocked() 206 mPm.resolveContentProvider("com.android.cts.encryptionapp.unaware", 0)); in assertLocked() 262 mPm.resolveContentProvider("com.android.cts.encryptionapp.aware", 0)); in assertUnlocked() 264 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/telephony/sdk28/src/android/telephony/sdk28/cts/ |
D | CellInfoTest.java | 49 private PackageManager mPm; field in CellInfoTest 61 mPm = getContext().getPackageManager(); in setUp() 72 if (!mPm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCellInfoSdk28()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SignalStrengthTest.java | 56 private PackageManager mPm; field in SignalStrengthTest 69 mPm = getContext().getPackageManager(); in setUp() 74 if (!mPm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSignalStrength()
|
D | CellInfoTest.java | 165 private PackageManager mPm; field in CellInfoTest 228 mPm = getContext().getPackageManager(); in setUp() 240 if (!mPm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) return; in testPhoneStateListenerCallback() 289 if(!(mPm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY))) { in testCellInfo()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 73 private PackageManager mPm; field in VulkanFeaturesTest 82 mPm = InstrumentationRegistry.getTargetContext().getPackageManager(); in setup() 83 FeatureInfo features[] = mPm.getSystemAvailableFeatures(); in setup() 217 if (!mPm.hasSystemFeature(PackageManager.FEATURE_VR_MODE_HIGH_PERFORMANCE)) in testVulkanVersionForVrHighPerformance()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityManagerGetConfigTests.java | 72 PackageManager mPm; field in ActivityManagerGetConfigTests 78 mPm = mContext.getPackageManager(); in setUp() 323 List<SharedLibraryInfo> slibs = mPm.getSharedLibraries(0); in checkDeviceConfig() 332 FeatureInfo[] features = mPm.getSystemAvailableFeatures(); in checkDeviceConfig()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 59 private PackageManager mPm; field in IntentTest 76 mPm = mContext.getPackageManager(); in setUp() 748 final ComponentName target = emptyIntent.resolveActivity(mPm); in testResolveActivityEmpty() 757 final ComponentName target = intent.resolveActivity(mPm); in testResolveActivitySingleMatch() 768 final ComponentName target = intent.resolveActivity(mPm); in testResolveActivityShortcutMatch() 778 final ComponentName target = intent.resolveActivity(mPm); in testResolveActivityMultipleMatch() 784 if (mPm.checkPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS, pkgName) in testResolveActivityMultipleMatch() 1318 assertNotNull(target.resolveActivity(mPm)); in testCreateChooser()
|
/cts/tests/tests/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 99 private PackageManager mPm; field in TetheringManagerTest 125 mPm = mContext.getPackageManager(); in setUp() 751 assumeTrue(mPm.hasSystemFeature(FEATURE_TELEPHONY)); in testTetheringUpstream()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 164 private PackageManager mPm; field in NetworkUsageStatsTest 232 mPm = getInstrumentation().getContext().getPackageManager(); in setUp() 325 boolean hasFeature = mPm.hasSystemFeature( in shouldTestThisNetworkType()
|