Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java62 ApplicationInfo applicationInfo = getApplicationInfo(APP_WITH_DATA_PKG); in testAccessPrivateData()
74 private ApplicationInfo getApplicationInfo(String packageName) { in getApplicationInfo() method in AccessPrivateDataTest
76 return mContext.getPackageManager().getApplicationInfo(packageName, 0); in getApplicationInfo()
89 ApplicationInfo applicationInfo = getApplicationInfo(APP_WITH_DATA_PKG); in testAccessPublicData()
105 .getApplicationInfo().uid; in accessPrivateTrafficStats()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java39 int uid1 = mContext.getPackageManager().getApplicationInfo(enableApp, in testUid()
41 int uid2 = mContext.getPackageManager().getApplicationInfo(disableApp, in testUid()
43 int uid3 = mContext.getPackageManager().getApplicationInfo(testApp, in testUid()
/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java51 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0); in testWriteToParcel()
80 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0); in testDescribeContents()
99 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0); in testLoadDescription()
DApplicationInfo_DisplayNameComparatorTest.java55 info1 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); in testCompare()
61 info2 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); in testCompare()
DPackageManagerTest.java115 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testQuery()
190 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testGetInfo()
404 assertNotNull(mPackageManager.getApplicationIcon(mPackageManager.getApplicationInfo( in testGetIcon()
414 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testGetIcon()
449 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testGetResources()
DProviderInfoTest.java43 ApplicationInfo appInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); in testProviderInfo()
DComponentInfoTest.java200 mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); in testLoadLabel()
/cts/tests/tests/security/src/android/security/cts/
DMMapExecutableTest.java31 assertTrue(mmapExecutable(getContext().getApplicationInfo().sourceDir)); in testMMapExecutable()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DThunkerCreateTest.java29 int sdkVersion = mCtx.getApplicationInfo().targetSdkVersion; in testCreateReflection()
DAllocationResize.java36 if (mRS.getApplicationContext().getApplicationInfo().targetSdkVersion >= 21) { in testResize()
/cts/tests/tests/dpi/src/android/dpi/cts/
DDefaultManifestAttributesTest.java58 appInfo = pm.getApplicationInfo(packageName, 0); in setUp()
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
DPrivilegedAppDisableTest.java68 ApplicationInfo aInfo = pm.getApplicationInfo(PRIVILEGED_SHIM_PKG, in getApplicationFlags()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java84 dataOut.writeInt(getContext().getApplicationInfo().uid); in testCreatePrivateData()
173 final int ownAppUid = getContext().getApplicationInfo().uid; in accessOwnTrafficStats()
/cts/tests/tests/car/src/android/car/cts/
DCarUiProviderTest.java114 .getApplicationInfo(CAR_UI_PROVIDER_PKG, 0).flags; in checkCompatibilityApi()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java55 getApplicationInfo().packageName, PackageManager.GET_PERMISSIONS); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java91 applicationInfo = packageManager.getApplicationInfo( in buildLayout()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java663 ApplicationInfo launcherAppInfo = mPackageManager.getApplicationInfo( in testLauncherVersionAtLeastL()
732 ApplicationInfo info = mPackageManager.getApplicationInfo(packagename, in isPackageInstalledOnSystemImage()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java108 String myAppDirectory = getContext().getApplicationInfo().dataDir; in testOtherApplicationDirectoriesAreNotWritable()
121 String myDataDir = getContext().getApplicationInfo().dataDir; in testApplicationParentDirectoryNotWritable()
1089 String myHome = getContext().getApplicationInfo().dataDir; in getWritableDirectoriesAndSubdirectoriesOf()
/cts/tests/tests/net/src/android/net/cts/
DTrafficStatsTest.java85 final int ownAppUid = getContext().getApplicationInfo().uid; in accessOwnTrafficStats()
/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java54 ApplicationInfo applicationInfo = mContext.getPackageManager().getApplicationInfo( in setUp()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java59 ApplicationInfo appInfo = getContext().getApplicationInfo(); in testApplicationInfoFlag()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java252 context.getApplicationInfo()).toString(); in userAcceptsOpenExternalDirectoryTest()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java298 (getContext().getApplicationInfo().flags & ApplicationInfo.FLAG_LARGE_HEAP) == 0); in testFeatureBase()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java495 assertEquals(mWebView.getContext().getApplicationInfo().packageName, header.getValue());
/cts/tools/dex-tools/dex/
Dclasses.out.dex9886 public abstract android.content.pm.ApplicationInfo getApplicationInfo(
10166 public android.content.pm.ApplicationInfo getApplicationInfo(
22972 public abstract android.content.pm.ApplicationInfo getApplicationInfo(
23201 public android.content.pm.ApplicationInfo getApplicationInfo(