Home
last modified time | relevance | path

Searched refs:oldExecutor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DKeyedObserver.kt115 val oldExecutor = synchronized(observers) { observers.put(observer, executor) } in addObserver() constant
116 if (oldExecutor != null && oldExecutor != executor) { in addObserver()
117 throw IllegalStateException("Add $observer twice, old=$oldExecutor, new=$executor") in addObserver()
122 val oldExecutor = in addObserver() constant
126 if (oldExecutor != null && oldExecutor != executor) { in addObserver()
127 throw IllegalStateException("Add $observer twice, old=$oldExecutor, new=$executor") in addObserver()
DObserver.kt78 val oldExecutor = synchronized(observers) { observers.put(observer, executor) } in addObserver() constant
79 if (oldExecutor != null && oldExecutor != executor) { in addObserver()
80 throw IllegalStateException("Add $observer twice, old=$oldExecutor, new=$executor") in addObserver()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java3067 Executor oldExecutor = mCallbackMap.put(callback, executor); in registerAvailabilityCallback() local
3069 if (oldExecutor == null) { in registerAvailabilityCallback()
3100 Executor oldExecutor = mTorchCallbackMap.put(callback, executor); in registerTorchCallback() local
3102 if (oldExecutor == null) { in registerTorchCallback()