Home
last modified time | relevance | path

Searched refs:MirroringPackageData (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datasources/
DControlCenterMirroringDataSource.kt34 import com.android.car.carlauncher.datasources.ControlCenterMirroringDataSource.MirroringPackageData
56 fun getAppMirroringSession(): Flow<MirroringPackageData> in getAppMirroringSession()
58 data class MirroringPackageData( in getAppMirroringSession() class
64 val NO_MIRRORING = MirroringPackageData("", Intent()) in getAppMirroringSession()
123 override fun getAppMirroringSession(): Flow<MirroringPackageData> { in getAppMirroringSession()
126 trySend(MirroringPackageData.NO_MIRRORING) in getAppMirroringSession()
140 producerScope: ProducerScope<MirroringPackageData> in getReceiverMessenger()
158 producerScope.trySend(MirroringPackageData.NO_MIRRORING) in getReceiverMessenger()
167 MirroringPackageData( in getReceiverMessenger()
186 producerScope: ProducerScope<MirroringPackageData> in getMirroringConnectionService()
[all …]
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DControlCenterMirroringDataSourceImplTest.kt30 import com.android.car.carlauncher.datasources.ControlCenterMirroringDataSource.MirroringPackageData in <lambda>()
121 val flows = mutableListOf<MirroringPackageData>() in <lambda>()
130 assertEquals(MirroringPackageData.NO_MIRRORING, flows[0]) in <lambda>()
144 val flows = mutableListOf<MirroringPackageData>() in <lambda>()
158 assertEquals(MirroringPackageData.NO_MIRRORING, flows[0]) // Initial no mirroring packet in <lambda>()
178 val flows = mutableListOf<MirroringPackageData>() in <lambda>()
192 assertEquals(MirroringPackageData.NO_MIRRORING, flows[0]) // Initial no mirroring packet in <lambda>()
193 assertEquals(MirroringPackageData.NO_MIRRORING, flows[1]) // Service no mirroring packet in <lambda>()