Home
last modified time | relevance | path

Searched refs:CommunalHubState (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/proto/
DCommunalHubStateExt.kt19 import com.android.systemui.communal.nano.CommunalHubState
23 fun CommunalHubState.toByteArray(): ByteArray { in toByteArray() method
24 return CommunalHubState.toByteArray(this) in toByteArray()
32 fun ByteArray.toCommunalHubState(): CommunalHubState { in toCommunalHubState()
33 return CommunalHubState.parseFrom(this) in toCommunalHubState()
Dcommunal_hub_state.proto24 message CommunalHubState { message
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtils.kt22 import com.android.systemui.communal.nano.CommunalHubState in <lambda>()
41 fun getCommunalHubState(): CommunalHubState { in <lambda>()
44 val widgetsState = mutableListOf<CommunalHubState.CommunalWidgetItem>() in <lambda>()
47 CommunalHubState.CommunalWidgetItem().apply { in <lambda>()
54 return CommunalHubState().apply { widgets = widgetsState.toTypedArray() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepository.kt27 import com.android.systemui.communal.nano.CommunalHubState in <lambda>()
220 val state: CommunalHubState in restoreWidgets()
254 CommunalHubState.CommunalWidgetItem().apply { in restoreWidgets()
260 val newState = CommunalHubState().apply { widgets = newWidgets.toTypedArray() } in restoreWidgets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/
DCommunalWidgetDaoTest.kt24 import com.android.systemui.communal.nano.CommunalHubState in <lambda>()
314 CommunalHubState().apply { in <lambda>()
317 CommunalHubState.CommunalWidgetItem().apply { in <lambda>()
322 CommunalHubState.CommunalWidgetItem().apply { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepositoryImplTest.kt36 import com.android.systemui.communal.nano.CommunalHubState
448 withArgCaptor<CommunalHubState> { in restoreWidgets_restoredWidgetsNotRegisteredWithHostAreSkipped()
478 withArgCaptor<CommunalHubState> { in restoreWidgets_registeredWidgetsNotRestoredAreRemoved()
516 withArgCaptor<CommunalHubState> { in restoreWidgets_onlySomeWidgetsGotNewIds()
646 CommunalHubState().apply { in <lambda>()
649 CommunalHubState.CommunalWidgetItem().apply { in <lambda>()
654 CommunalHubState.CommunalWidgetItem().apply { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtilsTest.kt25 import com.android.systemui.communal.nano.CommunalHubState in <lambda>()
138 val represents: Correspondence<CommunalHubState.CommunalWidgetItem, FakeWidgetMetadata> = in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/
DCommunalWidgetDao.kt26 import com.android.systemui.communal.nano.CommunalHubState in <lambda>()
165 fun restoreCommunalHubState(state: CommunalHubState) { in restoreCommunalHubState()