/packages/apps/Launcher3/robolectric_tests/unstaged/ |
D | SettingsCacheTest.java | 42 private SettingsCache.OnChangeListener mChangeListener; field in SettingsCacheTest 47 mChangeListener = mock(SettingsCache.OnChangeListener.class); in setup() 50 mSettingsCache.register(KEY_SYSTEM_URI_TEST1, mChangeListener); in setup() 56 verify(mChangeListener, times(1)).onSettingsChanged(true); in listenerCalledOnChange() 90 verify(mChangeListener, times(1)).onSettingsChanged(true); in multipleListenersSingleKey() 101 verify(mChangeListener, times(1)).onSettingsChanged(true); in singleListenerMultipleKeys() 108 mSettingsCache.register(KEY_SYSTEM_URI_TEST2, mChangeListener); in sameListenerMultipleKeys() 112 verify(mChangeListener, times(2)).onSettingsChanged(true); in sameListenerMultipleKeys()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripContentObserver.java | 27 private ChangeListener mChangeListener; field in FilmstripContentObserver 41 mChangeListener = changeListener; in setForegroundChangeListener() 45 mChangeListener = null; in removeForegroundChangeListener() 54 if (mChangeListener != null) { in onChange() 55 mChangeListener.onChange(); in onChange()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DataDuringCallsPreferenceController.java | 44 private SubscriptionsChangeListener mChangeListener; field in DataDuringCallsPreferenceController 62 if (mChangeListener == null) { in onResume() 63 mChangeListener = new SubscriptionsChangeListener(mContext, this); in onResume() 65 mChangeListener.start(); in onResume() 76 if (mChangeListener != null) { in onPause() 77 mChangeListener.stop(); in onPause()
|
D | DisabledSubscriptionController.java | 40 private SubscriptionsChangeListener mChangeListener; field in DisabledSubscriptionController 50 mChangeListener = new SubscriptionsChangeListener(context, this); in DisabledSubscriptionController() 63 mChangeListener.start(); in onResume() 69 mChangeListener.stop(); in onPause()
|
D | MobileNetworkSwitchController.java | 43 private SubscriptionsChangeListener mChangeListener; field in MobileNetworkSwitchController 50 mChangeListener = new SubscriptionsChangeListener(context, this); in MobileNetworkSwitchController() 60 mChangeListener.start(); in onResume() 66 mChangeListener.stop(); in onPause()
|
D | DefaultSubscriptionController.java | 56 protected SubscriptionsChangeListener mChangeListener; field in DefaultSubscriptionController 69 mChangeListener = new SubscriptionsChangeListener(context, this); in DefaultSubscriptionController() 103 mChangeListener.start(); in onResume() 109 mChangeListener.stop(); in onPause()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkSummaryController.java | 61 private SubscriptionsChangeListener mChangeListener; field in MobileNetworkSummaryController 87 mChangeListener = new SubscriptionsChangeListener(context, this); in MobileNetworkSummaryController() 94 mChangeListener.start(); in onResume() 100 mChangeListener.stop(); in onPause() 162 mPreference.setEnabled(!mChangeListener.isAirplaneModeOn()); in initPreference() 189 mPreference.setAddWidgetEnabled(!mChangeListener.isAirplaneModeOn()); in update()
|
D | MobileNetworkListController.java | 57 private SubscriptionsChangeListener mChangeListener; field in MobileNetworkListController 64 mChangeListener = new SubscriptionsChangeListener(context, this); in MobileNetworkListController() 71 mChangeListener.start(); in onResume() 77 mChangeListener.stop(); in onPause()
|
D | NetworkProviderSimListController.java | 55 private SubscriptionsChangeListener mChangeListener; field in NetworkProviderSimListController 62 mChangeListener = new SubscriptionsChangeListener(context, this); in NetworkProviderSimListController() 69 mChangeListener.start(); in onResume() 78 mChangeListener.stop(); in onPause()
|
D | NetworkProviderDownloadedSimListController.java | 60 private SubscriptionsChangeListener mChangeListener; field in NetworkProviderDownloadedSimListController 67 mChangeListener = new SubscriptionsChangeListener(context, this); in NetworkProviderDownloadedSimListController() 74 mChangeListener.start(); in onResume() 83 mChangeListener.stop(); in onPause()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimDialogFragment.java | 37 private SubscriptionsChangeListener mChangeListener; field in SimDialogFragment 60 mChangeListener = new SubscriptionsChangeListener(context, this); in onAttach() 66 mChangeListener.stop(); in onPause() 72 mChangeListener.start(); in onResume()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 68 private PopupDataChangeListener mChangeListener = PopupDataChangeListener.INSTANCE; field in PopupDataProvider 76 mChangeListener.onNotificationDotsUpdated(updatedDots); in updateNotificationDots() 143 mChangeListener.trimNotifications(updatedDots); in trimNotifications() 200 mChangeListener.onRecommendedWidgetsBound(); in setRecommendedWidgets() 205 mChangeListener.onWidgetsBound(); in setAllWidgets() 209 mChangeListener = listener == null ? PopupDataChangeListener.INSTANCE : listener; in setChangeListener()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceController.java | 41 private final SubscriptionsChangeListener mChangeListener; field in MobileNetworkEntryPreferenceController 50 mChangeListener = new SubscriptionsChangeListener(context, /* action= */ this); in MobileNetworkEntryPreferenceController() 63 mChangeListener.start(); in onStartInternal() 68 mChangeListener.stop(); in onStopInternal()
|
D | RoamingPreferenceController.java | 143 private Runnable mChangeListener; field in RoamingPreferenceController.RoamingStateChangeObserver 147 mChangeListener = changeListener; in RoamingStateChangeObserver() 153 mChangeListener.run(); in onChange()
|
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureServiceTest.java | 126 private final CarDriverDistractionManager.OnDriverDistractionChangeListener mChangeListener = field in DriverDistractionExperimentalFeatureServiceTest 365 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegister_returnsInitialEvent() 383 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegister_distractionValueUnchanged_doesNotEmitEvent() 410 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegister_eventInThrottleWindow_isQueued() 455 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegister_multipleEventsInThrottleWindow_dropsExtraEvents() 500 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegister_multipleEventsOutsideThrottleWindow_emitsAllEvents() 559 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegister_receivesChangeEvents() 589 mManager.addDriverDistractionChangeListener(mChangeListener); in testManagerRegisterUnregister_stopsReceivingEvents() 590 mManager.removeDriverDistractionChangeListener(mChangeListener); in testManagerRegisterUnregister_stopsReceivingEvents() 603 mManager.removeDriverDistractionChangeListener(mChangeListener); in testManagerUnregister_beforeRegister_doesNothing()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | VideoStore.java | 54 private final ChangeListener mChangeListener; field in VideoStore 72 mChangeListener = changeListener; in VideoStore() 198 mChangeListener.onMoviesAdded(movies); in load() 199 mChangeListener.onSeriesAdded(series); in load() 200 mChangeListener.onEpisodesAdded(episodes); in load() 201 mChangeListener.onOthersAdded(others); in load()
|
D | AudioStore.java | 42 private final ChangeListener mChangeListener; field in AudioStore 61 mChangeListener = changeListener; in AudioStore() 233 mChangeListener.onAudiosAdded(audios); in load() 234 mChangeListener.onArtistsAdded(artists); in load() 235 mChangeListener.onAlbumsAdded(albums); in load() 236 mChangeListener.onGenresAdded(genres); in load() 237 mChangeListener.onPlaylistsAdded(playlists); in load()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | PinnedAppListLiveData.java | 40 private final SharedPreferences.OnSharedPreferenceChangeListener mChangeListener; field in PinnedAppListLiveData 48 mChangeListener = (preferences, key) -> { in PinnedAppListLiveData() 51 prefs.registerOnSharedPreferenceChangeListener(mChangeListener); in PinnedAppListLiveData()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 42 private final ICarPowerPolicyListener mChangeListener = field in CarAudioPowerListener 87 mCarPowerManagementService.addPowerPolicyListener(filter, mChangeListener); in startListeningForPolicyChanges() 95 mCarPowerManagementService.removePowerPolicyListener(mChangeListener); in stopListeningForPolicyChanges()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantZoneServiceTest.java | 169 private final CarOccupantZoneManager.OccupantZoneConfigChangeListener mChangeListener = field in CarOccupantZoneServiceTest 903 mManager.registerOccupantZoneConfigChangeListener(mChangeListener); in testManagerRegisterUnregister() 918 mManager.unregisterOccupantZoneConfigChangeListener(mChangeListener); in testManagerRegisterUnregister() 930 mManager.registerOccupantZoneConfigChangeListener(mChangeListener); in testManagerRegisterUnregisterForAudioConfigs() 943 mManager.unregisterOccupantZoneConfigChangeListener(mChangeListener); in testManagerRegisterUnregisterForAudioConfigs()
|