Searched refs:oldService (Results 1 – 2 of 2) sorted by relevance
384 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService() local385 if (oldService != null) { in setTemporaryService()386 oldService.removeSelfFromCacheLocked(); in setTemporaryService()415 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local416 if (oldService != null) { in setDefaultServiceEnabled()417 oldService.removeSelfFromCacheLocked(); in setDefaultServiceEnabled()
1153 @Override public void onRegistration(IHealth oldService, IHealth newService, in onRegistration() argument1159 if (oldService != null) { in onRegistration()1160 int r = oldService.unregisterCallback(this); in onRegistration()1466 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument1502 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()1505 if (Objects.equals(newService, oldService)) return; in onRegistration()1508 mCallback.onRegistration(oldService, newService, mInstanceName); in onRegistration()