Searched refs:repository (Results 1 – 9 of 9) sorted by relevance
30 private val repository: ChatRepository = DefaultChatRepository.getInstance(application) in <lambda>() constant48 repository.activateChat(id) in <lambda>()50 repository.deactivateChat(id) in <lambda>()59 repository.findContact(id) in <lambda>()66 repository.findMessages(id) in <lambda>()75 value = repository.canBubble() in <lambda>()82 repository.activateChat(id) in <lambda>()84 repository.deactivateChat(id) in <lambda>()91 repository.sendMessage(id, text) in <lambda>()97 repository.showAsBubble(id) in <lambda>()[all …]
43 private lateinit var repository: TestChatRepository in <lambda>() variable in com.example.android.bubbles.ui.chat.ChatViewModelTest47 repository = TestChatRepository(dummyContacts.map { contact -> in <lambda>()51 viewModel = ChatViewModel(ApplicationProvider.getApplicationContext(), repository) in <lambda>()61 assertThat(repository.activatedId).isEqualTo(1L) in <lambda>()77 assertThat(repository.bubbleId).isEqualTo(0L) in <lambda>()79 assertThat(repository.bubbleId).isEqualTo(1L) in <lambda>()
25 repository: ChatRepository = DefaultChatRepository.getInstance(application)31 val contacts = repository.getContacts()
32 <#if sample.repository?has_content>33 <#list sample.repository as rep>