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.java378 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService() local
379 if (oldService != null) { in setTemporaryService()
380 oldService.removeSelfFromCacheLocked(); in setTemporaryService()
409 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local
410 if (oldService != null) { in setDefaultServiceEnabled()
411 oldService.removeSelfFromCacheLocked(); in setDefaultServiceEnabled()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1150 @Override public void onRegistration(IHealth oldService, IHealth newService, in onRegistration() argument
1156 if (oldService != null) { in onRegistration()
1157 int r = oldService.unregisterCallback(this); in onRegistration()
1453 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument
1489 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()
1492 if (Objects.equals(newService, oldService)) return; in onRegistration()
1495 mCallback.onRegistration(oldService, newService, mInstanceName); in onRegistration()