Searched refs:createPackageContext (Results 1 – 4 of 4) sorted by relevance
160 public void createPackageContext() throws Exception { in createPackageContext() method in ShadowContextImplTest161 Context packageContext = context.createPackageContext(context.getPackageName(), 0); in createPackageContext()
157 Context packageContext = context.createPackageContext(packageName, 0); in createIconFromPackage()
424 … public Context createPackageContext(String s, int i) throws PackageManager.NameNotFoundException { in createPackageContext() method in MockContext.MockContext2
213 .createPackageContext(applicationInfo.packageName, Context.CONTEXT_INCLUDE_CODE); in setUpApplicationState()