Searched refs:mSystemServices (Results 1 – 3 of 3) sorted by relevance
166 private final HashMap<String, Object> mSystemServices = new HashMap<String, Object>(); field in ContextFixture169 synchronized (mSystemServices) { in setSystemService()170 mSystemServices.put(name, service); in setSystemService()214 synchronized (mSystemServices) { in getSystemService()215 Object service = mSystemServices.get(name); in getSystemService()
183 private final SystemServices mSystemServices; field in Vpn260 mSystemServices = systemServices; in Vpn()546 mSystemServices.settingsSecurePutStringForUser(Settings.Secure.ALWAYS_ON_VPN_APP, in saveAlwaysOnPackage()548 mSystemServices.settingsSecurePutIntForUser(Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN, in saveAlwaysOnPackage()562 final String alwaysOnPackage = mSystemServices.settingsSecureGetStringForUser( in loadAlwaysOnPackage()564 final boolean alwaysOnLockdown = mSystemServices.settingsSecureGetIntForUser( in loadAlwaysOnPackage()1563 final PendingIntent configIntent = mSystemServices.pendingIntentGetActivityAsUser( in updateAlwaysOnNotification()
148 @Mock private Vpn.SystemServices mSystemServices; field in VpnTest505 return new Vpn(Looper.myLooper(), mContext, mNetService, userId, mSystemServices); in createVpn()