public void addVisibleOutsidePackage(String pkg) { try { getService().addVisibleOutsidePackage(pkg); } catch (RemoteException e) { VirtualRuntime.crash(e); } }
private IAppManager getService() { if (mService == null || (!VirtualCore.get().isVAppProcess() && !mService.asBinder().pingBinder())) { synchronized (this) { Object remote = getStubInterface(); mService = LocalProxyUtils.genProxy(IAppManager.class, remote); } } return mService; }
public void clearAppRequestListener() { try { getService().clearAppRequestListener(); } catch (RemoteException e) { e.printStackTrace(); } }
public boolean clearPackage(String packageName) { try { return getService().clearPackage(packageName); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public InstalledAppInfo getInstalledAppInfo(String pkg, int flags) { try { return getService().getInstalledAppInfo(pkg, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<InstalledAppInfo> getInstalledAppsAsUser(int userId, int flags) { try { return getService().getInstalledAppsAsUser(userId, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<InstalledAppInfo> getInstalledApps(int flags) { try { return getService().getInstalledApps(flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public IAppRequestListener getAppRequestListener() { try { return getService().getAppRequestListener(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public boolean clearPackageAsUser(int userId, String packageName) { try { return getService().clearPackageAsUser(userId, packageName); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public int getInstalledAppCount() { try { return getService().getInstalledAppCount(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public boolean clearPackage(String packageName) { try { return getService().clearPackage(packageName); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public InstalledAppInfo getInstalledAppInfo(String pkg, int flags) { try { return getService().getInstalledAppInfo(pkg, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<InstalledAppInfo> getInstalledAppsAsUser(int userId, int flags) { try { return getService().getInstalledAppsAsUser(userId, flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public List<InstalledAppInfo> getInstalledApps(int flags) { try { return getService().getInstalledApps(flags); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public IAppRequestListener getAppRequestListener() { try { return getService().getAppRequestListener(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public boolean clearPackageAsUser(int userId, String packageName) { try { return getService().clearPackageAsUser(userId, packageName); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public int getInstalledAppCount() { try { return getService().getInstalledAppCount(); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public void clearAppRequestListener() { try { getService().clearAppRequestListener(); } catch (RemoteException e) { e.printStackTrace(); } }
private IAppManager getService() { if (mService == null || (!VirtualCore.get().isVAppProcess() && !mService.asBinder().pingBinder())) { synchronized (this) { Object remote = getStubInterface(); mService = LocalProxyUtils.genProxy(IAppManager.class, remote); } } return mService; }
public void addVisibleOutsidePackage(String pkg) { try { getService().addVisibleOutsidePackage(pkg); } catch (RemoteException e) { VirtualRuntime.crash(e); } }