Home
last modified time | relevance | path

Searched refs:observers (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java505 final List<DynamicDataObserver> observers = in refreshDashboardTiles() local
510 registerDynamicDataObservers(observers); in refreshDashboardTiles()
511 mDashboardTilePrefKeys.put(key, observers); in refreshDashboardTiles()
542 void registerDynamicDataObservers(List<DynamicDataObserver> observers) { in registerDynamicDataObservers() argument
543 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() argument
559 if (observers == null || observers.isEmpty()) { in unregisterDynamicDataObservers()
563 observers.forEach(observer -> { in unregisterDynamicDataObservers()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DClientPlaylistTest.java353 private List<TestContentObserver> observers; field in ClientPlaylistTest.TestContentObserverHelper
355 private TestContentObserverHelper(List<TestContentObserver> observers) { in TestContentObserverHelper() argument
356 this.observers = observers; in TestContentObserverHelper()
360 List<TestContentObserver> observers = new ArrayList(); in create() local
363 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java182 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_shouldBindAllSwitchData() local
192 assertThat(observers.get(0).getUri().toString()).isEqualTo(SWITCH_URI); in bindPreference_shouldBindAllSwitchData()
306 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProviderAndHaveObserver() local
311 assertThat(observers.get(0).getUri().toString()).isEqualTo(uriString); in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProviderAndHaveObserver()
322 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_hasTitleUri_shouldLoadFromContentProviderAndHaveObserver() local
327 assertThat(observers.get(0).getUri().toString()).isEqualTo(uriString); in bindPreference_hasTitleUri_shouldLoadFromContentProviderAndHaveObserver()
380 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_callbackOnChanged_shouldLoadFromContentProvider() local
385 observers.get(0).onDataChanged(); in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()
390 observers.get(0).onDataChanged(); in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...