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.java384 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService() local
385 if (oldService != null) { in setTemporaryService()
386 oldService.removeSelfFromCacheLocked(); in setTemporaryService()
415 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local
416 if (oldService != null) { in setDefaultServiceEnabled()
417 oldService.removeSelfFromCacheLocked(); in setDefaultServiceEnabled()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1153 @Override public void onRegistration(IHealth oldService, IHealth newService, in onRegistration() argument
1159 if (oldService != null) { in onRegistration()
1160 int r = oldService.unregisterCallback(this); in onRegistration()
1466 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument
1502 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()
1505 if (Objects.equals(newService, oldService)) return; in onRegistration()
1508 mCallback.onRegistration(oldService, newService, mInstanceName); in onRegistration()