Home
last modified time | relevance | path

Searched refs:repository (Results 1 – 9 of 9) sorted by relevance

/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/chat/
DChatViewModel.kt30 private val repository: ChatRepository = DefaultChatRepository.getInstance(application) in <lambda>() constant
48 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 …]
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/ui/chat/
DChatViewModelTest.kt43 private lateinit var repository: TestChatRepository in <lambda>() variable in com.example.android.bubbles.ui.chat.ChatViewModelTest
47 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>()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/main/
DMainViewModel.kt25 repository: ChatRepository = DefaultChatRepository.getInstance(application)
31 val contacts = repository.getContacts()
/developers/build/templates/WearPlusShared/Shared/
Dbuild.gradle.ftl32 <#if sample.repository?has_content>
33 <#list sample.repository as rep>
/developers/build/templates/WearPlusShared/_MODULE_/
Dbuild.gradle.ftl32 <#if sample.repository?has_content>
33 <#list sample.repository as rep>
/developers/build/templates/Wear/Wearable/
Dbuild.gradle.ftl32 <#if sample.repository?has_content>
33 <#list sample.repository as rep>
/developers/build/templates/WearPlusShared/Wearable/
Dbuild.gradle.ftl32 <#if sample.repository?has_content>
33 <#list sample.repository as rep>
/developers/build/templates/base-application/_MODULE_/
Dbuild.gradle.ftl32 <#if sample.repository?has_content>
33 <#list sample.repository as rep>
/developers/build/templates/base/_MODULE_/
Dbuild.gradle.ftl32 <#if sample.repository?has_content>
33 <#list sample.repository as rep>