Home
last modified time | relevance | path

Searched refs:oldService (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java387 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService() local
388 if (oldService != null) { in setTemporaryService()
389 oldService.removeSelfFromCacheLocked(); in setTemporaryService()
421 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local
422 if (oldService != null) { in setDefaultServiceEnabled()
423 oldService.removeSelfFromCacheLocked(); in setDefaultServiceEnabled()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1208 @Override public void onRegistration(IHealth oldService, IHealth newService, in onRegistration() argument
1214 if (oldService != null) { in onRegistration()
1215 int r = oldService.unregisterCallback(this); in onRegistration()
1556 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument
1592 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()
1595 if (Objects.equals(newService, oldService)) return; in onRegistration()
1600 mCallback.onRegistration(oldService, newService, mInstanceName); in onRegistration()