Searched refs:oldService (Results 1 – 2 of 2) sorted by relevance
347 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService() local348 if (oldService != null) { in setTemporaryService()349 oldService.removeSelfFromCacheLocked(); in setTemporaryService()378 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local379 if (oldService != null) { in setDefaultServiceEnabled()380 oldService.removeSelfFromCacheLocked(); in setDefaultServiceEnabled()
1126 @Override public void onRegistration(IHealth oldService, IHealth newService, in onRegistration() argument1132 if (oldService != null) { in onRegistration()1133 int r = oldService.unregisterCallback(this); in onRegistration()1422 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument1458 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()1461 if (Objects.equals(newService, oldService)) return; in onRegistration()1464 mCallback.onRegistration(oldService, newService, mInstanceName); in onRegistration()