Searched refs:oldService (Results 1 – 2 of 2) sorted by relevance
378 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService() local379 if (oldService != null) { in setTemporaryService()380 oldService.removeSelfFromCacheLocked(); in setTemporaryService()409 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local410 if (oldService != null) { in setDefaultServiceEnabled()411 oldService.removeSelfFromCacheLocked(); in setDefaultServiceEnabled()
1150 @Override public void onRegistration(IHealth oldService, IHealth newService, in onRegistration() argument1156 if (oldService != null) { in onRegistration()1157 int r = oldService.unregisterCallback(this); in onRegistration()1453 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument1489 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()1492 if (Objects.equals(newService, oldService)) return; in onRegistration()1495 mCallback.onRegistration(oldService, newService, mInstanceName); in onRegistration()