public boolean activitySupportsIntent(ComponentName component, Intent intent, String resolvedType) { try { return getService().activitySupportsIntent(component, intent, resolvedType); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public int checkPermission(String permName, String pkgName, int userId) { try { return getService().checkPermission(permName, pkgName, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public ActivityInfo getActivityInfo(ComponentName componentName, int flags, int userId) { try { return getService().getActivityInfo(componentName, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { try { return getService().getAllPermissionGroups(flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public String getNameForUid(int uid) { try { return getService().getNameForUid(uid); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public ApplicationInfo getApplicationInfo(String packageName, int flags, int userId) { try { return getService().getApplicationInfo(packageName, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public PackageInfo getPackageInfo(String packageName, int flags, int userId) { try { return getService().getPackageInfo(packageName, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public IPackageInstaller getPackageInstaller() { try { return IPackageInstaller.Stub.asInterface(getService().getPackageInstaller()); } catch (RemoteException e) { return VirtualRuntime.crash(e); } } }
public List<ApplicationInfo> getInstalledApplications(int flags, int userId) { try { // noinspection unchecked return getService().getInstalledApplications(flags, userId).getList(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<PackageInfo> getInstalledPackages(int flags, int userId) { try { return getService().getInstalledPackages(flags, userId).getList(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }