public int checkPermission(String permName, String pkgName, int userId) { try { return getInterface().checkPermission(permName, pkgName, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public String getNameForUid(int uid) { try { return getInterface().getNameForUid(uid); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) { try { return getInterface().queryPermissionsByGroup(group, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<ResolveInfo> queryIntentActivities(Intent intent, String resolvedType, int flags, int userId) { try { return getInterface().queryIntentActivities(intent, resolvedType, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public ProviderInfo resolveContentProvider(String name, int flags, int userId) { try { return getInterface().resolveContentProvider(name, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<String> querySharedPackages(String packageName) { try { return getInterface().querySharedPackages(packageName); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public String[] getPackagesForUid(int uid) { try { return getInterface().getPackagesForUid(uid); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public PermissionGroupInfo getPermissionGroupInfo(String name, int flags) { try { return getInterface().getPermissionGroupInfo(name, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public PermissionInfo getPermissionInfo(String name, int flags) { try { return getInterface().getPermissionInfo(name, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public boolean activitySupportsIntent(ComponentName component, Intent intent, String resolvedType) { try { return getInterface().activitySupportsIntent(component, intent, resolvedType); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public ResolveInfo resolveService(Intent intent, String resolvedType, int flags, int userId) { try { return getInterface().resolveService(intent, resolvedType, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public ActivityInfo getReceiverInfo(ComponentName componentName, int flags, int userId) { try { return getInterface().getReceiverInfo(componentName, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<ResolveInfo> queryIntentReceivers(Intent intent, String resolvedType, int flags, int userId) { try { return getInterface().queryIntentReceivers(intent, resolvedType, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<PermissionGroupInfo> getAllPermissionGroups(int flags) { try { return getInterface().getAllPermissionGroups(flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<ResolveInfo> queryIntentServices(Intent intent, String resolvedType, int flags, int userId) { try { return getInterface().queryIntentServices(intent, resolvedType, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public int getPackageUid(String packageName, int userId) { try { return getInterface().getPackageUid(packageName, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public ResolveInfo resolveIntent(Intent intent, String resolvedType, int flags, int userId) { try { return getInterface().resolveIntent(intent, resolvedType, flags, userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<ApplicationInfo> getInstalledApplications(int flags, int userId) { try { // noinspection unchecked return getInterface().getInstalledApplications(flags, userId).getList(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<PackageInfo> getInstalledPackages(int flags, int userId) { try { return getInterface().getInstalledPackages(flags, userId).getList(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { try { // noinspection unchecked return getInterface().queryContentProviders(processName, uid, flags).getList(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }