@Override public Object call(Object who, Method method, Object... args) throws Throwable { int maxNum = (int) args[0]; int flags = (int) args[1]; return VActivityManager.get().getServices(maxNum, flags).getList(); }
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); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { int maxNum = (int) args[0]; int flags = (int) args[1]; return VActivityManager.get().getServices(maxNum, flags).getList(); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { int maxNum = (int) args[0]; int flags = (int) args[1]; return VActivityManager.get().getServices(maxNum, flags).getList(); }
public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { try { // noinspection unchecked return getService().queryContentProviders(processName, uid, flags).getList(); } 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); } }
public List<PackageInfo> getInstalledPackages(int flags, int userId) { try { return getInterface().getInstalledPackages(flags, userId).getList(); } 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<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); } }