Home
last modified time | relevance | path

Searched refs:onModelUpdated (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/
DHomeAudioCardPresenterTest.java70 mPresenter.onModelUpdated(mModel); in onModelUpdated_updatesFragment()
81 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullDifferentModel_doesNotUpdate()
84 mPresenter.onModelUpdated(mOtherModel); in onModelUpdated_nullDifferentModel_doesNotUpdate()
96 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullSameModel_updatesFragment()
100 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullSameModel_updatesFragment()
109 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullModelAndNullCurrentModel_updatesFragment()
DInCallModelTest.java83 verify(mPresenter, never()).onModelUpdated(any()); in noChange_doesNotCallPresenter()
90 verify(mPresenter).onModelUpdated(mInCallModel); in onCallRemoved_callsPresenter()
97 verify(mPresenter).onModelUpdated(mInCallModel); in updateModelWithPhoneNumber_setsPhoneNumber()
113 verify(mPresenter).onModelUpdated(mInCallModel); in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon()
129 verify(mPresenter).onModelUpdated(mInCallModel); in updateModelWithContact_invalidAvatarUri_setsContactNameAndInitialsIcon()
DMediaViewModelTest.java98 verify(mPresenter, never()).onModelUpdated(any()); in noChange_doesNotCallPresenter()
118 verify(mPresenter, times(2)).onModelUpdated(mMediaViewModel); in changeSourceAndMetadata_updatesModel()
135 verify(mPresenter).onModelUpdated(mMediaViewModel); in changeSourceOnly_updatesModel()
152 verify(mPresenter, never()).onModelUpdated(any()); in changeMetadataOnly_doesNotCallPresenter()
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/assistive/
DAssistiveCardPresenterTest.java68 mPresenter.onModelUpdated(mModel); in onModelUpdated_updatesFragment()
79 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullDifferentModel_doesNotUpdate()
82 mPresenter.onModelUpdated(mOtherModel); in onModelUpdated_nullDifferentModel_doesNotUpdate()
94 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullSameModel_updatesFragment()
98 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullSameModel_updatesFragment()
107 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullModelAndNullCurrentModel_doesNotUpdate()
DProjectionModelTest.java91 verify(mPresenter, never()).onModelUpdated(any()); in noChange_doesNotCallPresenter()
100 verify(mPresenter).onModelUpdated(mModel); in changeProjectionStatusToProjectingDevice_callsPresenter()
109 verify(mPresenter).onModelUpdated(mModel); in changeProjectionStatusToNonProjectingDevice_callsPresenter()
121 verify(mPresenter).onModelUpdated(mModel); in changeProjectionStatusToInactive_callsPresenter()
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/
DCardPresenterTest.java71 mPresenter.onModelUpdated(null); in onModelUpdated_nullModel_hidesFragment()
81 mPresenter.onModelUpdated(mModel); in onModelUpdated_validModel_updatesFragment()
92 mPresenter.onModelUpdated(mModel); in onModelUpdated_validHeaderNullContent_showsHeaderOnly()
103 mPresenter.onModelUpdated(mModel); in onModelUpdated_nullHeaderValidContent_hidesFragment()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/assistive/
DAssistiveCardPresenter.java74 public void onModelUpdated(HomeCardInterface.Model model) { in onModelUpdated() method in AssistiveCardPresenter
82 super.onModelUpdated(candidate); in onModelUpdated()
93 super.onModelUpdated(model); in onModelUpdated()
DProjectionModel.java125 mPresenter.onModelUpdated(this); in onProjectionStatusChanged()
142 mPresenter.onModelUpdated(this); in onProjectionStatusChanged()
DFakeWeatherModel.java46 mPresenter.onModelUpdated(this); in onCreate()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DHomeAudioCardPresenter.java87 public void onModelUpdated(HomeCardInterface.Model model) { in onModelUpdated() method in HomeAudioCardPresenter
96 super.onModelUpdated(mMediaViewModel); in onModelUpdated()
106 super.onModelUpdated(model); in onModelUpdated()
DMediaViewModel.java99 mAudioPresenter.onModelUpdated(this); in onCreate()
103 mAudioPresenter.onModelUpdated(this); in onCreate()
161 mAudioPresenter.onModelUpdated(this); in updateModel()
172 mAudioPresenter.onModelUpdated(this); in updateModelMetadata()
DInCallModel.java206 mPresenter.onModelUpdated(this); in onCallRemoved()
221 mPresenter.onModelUpdated(this); in updateModelWithPhoneNumber()
255 mPresenter.onModelUpdated(this); in updateModelWithContact()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
DCardPresenter.java34 public void onModelUpdated(HomeCardInterface.Model model) { in onModelUpdated() method in CardPresenter
DHomeCardInterface.java115 void onModelUpdated(Model model); in onModelUpdated() method