public VDeviceInfo getDeviceInfo() { if (deviceInfo == null) { synchronized (this) { if (deviceInfo == null) { deviceInfo = VDeviceManager.get().getDeviceInfo(getUserId(vuid)); } } } return deviceInfo; }
public VDeviceInfo getDeviceInfo(int userId) { try { return getRemote().getDeviceInfo(userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } } }
public IDeviceInfoManager getRemote() { if (mRemote == null || (!mRemote.asBinder().pingBinder() && !VirtualCore.get().isVAppProcess())) { synchronized (this) { Object remote = getRemoteInterface(); mRemote = LocalProxyUtils.genProxy(IDeviceInfoManager.class, remote); } } return mRemote; }
public VDeviceInfo getDeviceInfo(int userId) { try { return getService().getDeviceInfo(userId); } catch (RemoteException e) { return VirtualRuntime.crash(e); } } }
public VDeviceInfo getDeviceInfo() { if (deviceInfo == null) { synchronized (this) { if (deviceInfo == null) { deviceInfo = VDeviceManager.get().getDeviceInfo(getUserId(vuid)); } } } return deviceInfo; }
public IDeviceInfoManager getRemote() { if (mRemote == null || (!mRemote.asBinder().pingBinder() && !VirtualCore.get().isVAppProcess())) { synchronized (this) { Object remote = getRemoteInterface(); mRemote = LocalProxyUtils.genProxy(IDeviceInfoManager.class, remote); } } return mRemote; }
public VDeviceInfo getDeviceInfo(int userId) { try { return getRemote().getDeviceInfo(userId, VUserHandle.myAppId()); } catch (RemoteException e) { return VirtualRuntime.crash(e); } } }
public VDeviceInfo getDeviceInfo() { if (deviceInfo == null) { synchronized (this) { if (deviceInfo == null) { deviceInfo = VDeviceManager.get().getDeviceInfo(getUserId(vuid)); } } } return deviceInfo; }