Searched refs:observers (Results 1 – 6 of 6) sorted by relevance
505 final List<DynamicDataObserver> observers = in refreshDashboardTiles() local510 registerDynamicDataObservers(observers); in refreshDashboardTiles()511 mDashboardTilePrefKeys.put(key, observers); in refreshDashboardTiles()542 void registerDynamicDataObservers(List<DynamicDataObserver> observers) { in registerDynamicDataObservers() argument543 if (observers == null || observers.isEmpty()) { in registerDynamicDataObservers()547 observers.forEach(observer -> registerDynamicDataObserver(resolver, observer)); in registerDynamicDataObservers()558 private void unregisterDynamicDataObservers(List<DynamicDataObserver> observers) { in unregisterDynamicDataObservers() argument559 if (observers == null || observers.isEmpty()) { in unregisterDynamicDataObservers()563 observers.forEach(observer -> { in unregisterDynamicDataObservers()
353 private List<TestContentObserver> observers; field in ClientPlaylistTest.TestContentObserverHelper355 private TestContentObserverHelper(List<TestContentObserver> observers) { in TestContentObserverHelper() argument356 this.observers = observers; in TestContentObserverHelper()360 List<TestContentObserver> observers = new ArrayList(); in create() local363 observers.add(observer); in create()365 final TestContentObserverHelper obsWrapper = new TestContentObserverHelper(observers); in create()370 for (TestContentObserver observer : observers) { in waitForChange()376 for (TestContentObserver observer : observers) { in unregister()
182 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_shouldBindAllSwitchData() local192 assertThat(observers.get(0).getUri().toString()).isEqualTo(SWITCH_URI); in bindPreference_shouldBindAllSwitchData()306 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProviderAndHaveObserver() local311 assertThat(observers.get(0).getUri().toString()).isEqualTo(uriString); in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProviderAndHaveObserver()322 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_hasTitleUri_shouldLoadFromContentProviderAndHaveObserver() local327 assertThat(observers.get(0).getUri().toString()).isEqualTo(uriString); in bindPreference_hasTitleUri_shouldLoadFromContentProviderAndHaveObserver()380 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_callbackOnChanged_shouldLoadFromContentProvider() local385 observers.get(0).onDataChanged(); in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()390 observers.get(0).onDataChanged(); in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...