Searched refs:mScreenCaptureRegistrations (Results 1 – 1 of 1) sorted by relevance
35 mScreenCaptureRegistrations = new ArrayMap<>(); field in ScreenCaptureCallbackHandler39 mObserver = new ScreenCaptureObserver(mScreenCaptureRegistrations); in ScreenCaptureCallbackHandler()82 synchronized (mScreenCaptureRegistrations) { in registerScreenCaptureCallback()83 if (mScreenCaptureRegistrations.containsKey(callback)) { in registerScreenCaptureCallback()87 mScreenCaptureRegistrations.put(callback, registration); in registerScreenCaptureCallback()89 if (mScreenCaptureRegistrations.size() == 1) { in registerScreenCaptureCallback()101 synchronized (mScreenCaptureRegistrations) { in unregisterScreenCaptureCallback()102 if (!mScreenCaptureRegistrations.containsKey(callback)) { in unregisterScreenCaptureCallback()106 mScreenCaptureRegistrations.remove(callback); in unregisterScreenCaptureCallback()108 if (mScreenCaptureRegistrations.size() == 0) { in unregisterScreenCaptureCallback()