Searched refs:mDarkModeObserver (Results 1 – 2 of 2) sorted by relevance
38 private DarkModeObserver mDarkModeObserver; field in DarkModeObserverTest46 mDarkModeObserver = new DarkModeObserver(mContext); in setUp()47 mContentObserver = mDarkModeObserver.getContentObserver(); in setUp()53 mDarkModeObserver.subscribe(mCallback); in callbackTest_subscribedCallbackCalled()60 mDarkModeObserver.subscribe(mCallback); in callbackTest_unsubscribedCallNotbackCalled()62 mDarkModeObserver.unsubscribe(); in callbackTest_unsubscribedCallNotbackCalled()
30 private DarkModeObserver mDarkModeObserver; field in DarkModePreference36 mDarkModeObserver = new DarkModeObserver(context); in DarkModePreference()46 mDarkModeObserver.subscribe(mCallback); in DarkModePreference()52 mDarkModeObserver.subscribe(mCallback); in onAttached()58 mDarkModeObserver.unsubscribe(); in onDetached()