/packages/apps/DeskClock/tests/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivityTest.java | 101 assertEquals(DataModel.getDataModel().getDefaultTimerRingtoneUri(), in validateDefaultState_TimerRingtonePicker() 105 DataModel.getDataModel().getTimerRingtoneUri(), in validateDefaultState_TimerRingtonePicker() 106 DataModel.getDataModel().getDefaultTimerRingtoneUri()); in validateDefaultState_TimerRingtonePicker() 139 assertEquals(DataModel.getDataModel().getDefaultAlarmRingtoneUri(), in validateDefaultState_AlarmRingtonePicker() 148 DataModel.getDataModel().addCustomRingtone(CUSTOM_RINGTONE_1, "CustomSound"); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 183 assertEquals(DataModel.getDataModel().getDefaultTimerRingtoneUri(), in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 187 DataModel.getDataModel().getTimerRingtoneUri(), in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 188 DataModel.getDataModel().getDefaultTimerRingtoneUri()); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 193 DataModel.getDataModel().removeCustomRingtone(CUSTOM_RINGTONE_1); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 201 DataModel.getDataModel().addCustomRingtone(CUSTOM_RINGTONE_1, "CustomSound"); in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones() [all …]
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerSetupViewTest.java | 118 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in validateDefaultState_TimersExist() 120 DataModel.getDataModel().removeTimer(timer); in validateDefaultState_TimersExist() 141 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in type0InDefaultState_TimersExist() 143 DataModel.getDataModel().removeTimer(timer); in type0InDefaultState_TimersExist() 196 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in fillDisplayThenDeleteAll_TimersExist() 198 DataModel.getDataModel().removeTimer(timer); in fillDisplayThenDeleteAll_TimersExist() 224 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in fillDisplayWith9s_TimersExist() 226 DataModel.getDataModel().removeTimer(timer); in fillDisplayWith9s_TimersExist() 255 if (DataModel.getDataModel().getTimers().isEmpty()) { in assertIsReset() 285 if (DataModel.getDataModel().getTimers().isEmpty()) { in assertHasValue()
|
D | TimerFragmentTest.java | 89 DataModel.getDataModel().addTimer(60000L, null, false); in setUpSingleTimer() 97 DataModel.getDataModel().addTimer(60000L, null, false); in setUpTwoTimers() 98 DataModel.getDataModel().addTimer(90000L, null, false); in setUpTwoTimers() 146 final List<Timer> timers = new ArrayList<>(DataModel.getDataModel().getTimers()); in clearTimers() 148 DataModel.getDataModel().removeTimer(timer); in clearTimers() 359 DataModel.getDataModel().expireTimer(null, DataModel.getDataModel().getTimers().get(0)); in fabClick_resetsTimer() 378 DataModel.getDataModel().expireTimer(null, DataModel.getDataModel().getTimers().get(1)); in fabClick_resetsSecondTimer() 397 long remainingTime1 = DataModel.getDataModel().getTimers().get(0).getRemainingTime(); in clickAdd_addsOneMinuteToTimer() 399 long remainingTime2 = DataModel.getDataModel().getTimers().get(0).getRemainingTime(); in clickAdd_addsOneMinuteToTimer() 400 assertSame(Timer.State.RUNNING, DataModel.getDataModel().getTimers().get(0).getState()); in clickAdd_addsOneMinuteToTimer() [all …]
|
D | TimerServiceTest.java | 49 dataModel = DataModel.getDataModel(); in setUp() 63 final List<Timer> timers = new ArrayList<>(DataModel.getDataModel().getTimers()); in clearTimers() 65 DataModel.getDataModel().removeTimer(timer); in clearTimers()
|
D | TimerItemFragmentTest.java | 57 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning() 74 DataModel.getDataModel().removeTimer(timer); in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning()
|
D | ExpiredTimersActivityTest.java | 53 final DataModel dm = DataModel.getDataModel(); in configurationChanges_DoNotResetFiringTimer()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/ |
D | VoiceUtil.java | 248 .getDataModel() in directSend() 266 .getDataModel() in voiceReply() 277 AppFactory.get().getDataModel().muteConversation(conversationKey, true); in mute() 287 AppFactory.get().getDataModel().markAsRead(conversationKey); in markAsRead()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivityTest.java | 64 final City city = DataModel.getDataModel().getAllCities().get(0); in setUp() 65 DataModel.getDataModel().setSelectedCities(Collections.singletonList(city)); in setUp()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/interfaces/ |
D | AppFactory.java | 65 public abstract DataModel getDataModel(); in getDataModel() method in AppFactory
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/launcher/ |
D | MessageLauncherViewModel.java | 43 mDataSource = AppFactory.get().getDataModel(); in MessageLauncherViewModel()
|
D | MessageLauncherActivity.java | 79 AppFactory.get().getDataModel().refreshUserAccounts(); in onResume()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | Factory.java | 58 public abstract DataModel getDataModel(); in getDataModel() method in Factory
|
D | FactoryImpl.java | 139 public DataModel getDataModel() { in getDataModel() method in FactoryImpl
|
D | BugleApplication.java | 106 final DataModel dataModel = factory.getDataModel(); in initializeSync()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/ |
D | ConversationListViewModel.java | 46 mDataModel = AppFactory.get().getDataModel(); in ConversationListViewModel()
|
D | ConversationItemViewHolder.java | 80 mDataModel = AppFactory.get().getDataModel(); in ConversationItemViewHolder()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/ |
D | AppFactoryImpl.java | 96 public DataModel getDataModel() { in getDataModel() method in AppFactoryImpl
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/ |
D | MessengerService.java | 94 DataModel dataModel = AppFactory.get().getDataModel(); in subscribeToNotificationUpdates()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DataModel.java | 59 return Factory.get().getDataModel(); in get()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 169 public DataModel getDataModel() { in getDataModel() method in FakeFactory
|