Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/health/
DHealthRegCallbackAidl.java62 public void onRegistration(@Nullable IHealth oldService, @NonNull IHealth newService) { in onRegistration() argument
67 unregisterCallback(oldService, mHalInfoCallback); in onRegistration()
80 private static void unregisterCallback(@Nullable IHealth oldService, IHealthInfoCallback cb) { in unregisterCallback() argument
81 if (oldService == null) return; in unregisterCallback()
83 oldService.unregisterCallback(cb); in unregisterCallback()
DHealthHalCallbackHidl.java79 public void onRegistration(IHealth oldService, IHealth newService, String instance) { in onRegistration() argument
84 if (oldService != null) { in onRegistration()
85 int r = oldService.unregisterCallback(this); in onRegistration()
DHealthServiceWrapperAidl.java246 IHealth oldService = mLastService.getAndSet(newService); in onRegistration() local
248 oldService != null ? oldService.asBinder() : null; in onRegistration()
253 mRegCallback.onRegistration(oldService, newService); in onRegistration()
DHealthServiceWrapperHidl.java246 void onRegistration(IHealth oldService, IHealth newService, String instance); in onRegistration() argument
286 IHealth oldService = mLastService.getAndSet(newService); in onRegistration()
290 if (Objects.equals(newService, oldService)) return; in onRegistration()
299 oldService, newService, mInstanceName); in onRegistration()
/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.removeSelfFromCache(); in setTemporaryService()
425 final S oldService = peekServiceForUserLocked(userId); in setTemporaryServices() local
426 if (oldService != null) { in setTemporaryServices()
427 oldService.removeSelfFromCache(); in setTemporaryServices()
458 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled() local
459 if (oldService != null) { in setDefaultServiceEnabled()
460 oldService.removeSelfFromCache(); in setDefaultServiceEnabled()