/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyChipBuilderTest.kt | 36 val bar2 = PrivacyItem(Privacy.TYPE_CAMERA, PrivacyApplication( in testGenerateAppsList() 38 val bar3 = PrivacyItem(Privacy.TYPE_LOCATION, PrivacyApplication( in testGenerateAppsList() 40 val foo0 = PrivacyItem(Privacy.TYPE_MICROPHONE, PrivacyApplication( in testGenerateAppsList() 42 val baz1 = PrivacyItem(Privacy.TYPE_CAMERA, PrivacyApplication( in testGenerateAppsList() 63 val appCamera = PrivacyItem(PrivacyType.TYPE_CAMERA, in testOrder() 66 PrivacyItem(PrivacyType.TYPE_MICROPHONE, in testOrder() 69 PrivacyItem(PrivacyType.TYPE_LOCATION, in testOrder()
|
D | PrivacyItemControllerTest.kt | 79 private lateinit var argCaptor: ArgumentCaptor<List<PrivacyItem>> in capture() 133 val item1 = PrivacyItem(PrivacyType.TYPE_CAMERA, in testPrivacyItemsAggregated() 135 val item2 = PrivacyItem(PrivacyType.TYPE_MICROPHONE, in testPrivacyItemsAggregated() 153 PrivacyItem(PrivacyType.TYPE_CAMERA, in testDistinctItems() 155 PrivacyItem(PrivacyType.TYPE_CAMERA, in testDistinctItems() 159 PrivacyItem(PrivacyType.TYPE_CAMERA, in testDistinctItems() 172 PrivacyItem(PrivacyType.TYPE_CAMERA, in testSimilarItemsDifferentTimeStamp() 174 PrivacyItem(PrivacyType.TYPE_CAMERA, in testSimilarItemsDifferentTimeStamp() 200 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems() in testMultipleCallbacksAreUpdated() 218 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems() in testRemoveCallback() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/data/repository/ |
D | FakePrivacyChipRepository.kt | 21 import com.android.systemui.privacy.PrivacyItem 31 private val _privacyItems: MutableStateFlow<List<PrivacyItem>> = MutableStateFlow(emptyList()) 44 fun setPrivacyItems(value: List<PrivacyItem>) { in setPrivacyItems()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventCoordinator.kt | 29 import com.android.systemui.privacy.PrivacyItem 129 var currentPrivacyItems = listOf<PrivacyItem>() 130 var previousPrivacyItems = listOf<PrivacyItem>() 133 override fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) { in onPrivacyItemsChanged() 157 private fun uniqueItemsMatch(one: List<PrivacyItem>, two: List<PrivacyItem>): Boolean { in uniqueItemsMatch()
|
D | StatusEvent.kt | 25 import com.android.systemui.privacy.PrivacyItem in <lambda>() 121 var privacyItems: List<PrivacyItem> = listOf()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyItemController.kt | 54 internal var privacyList = emptyList<PrivacyItem>() 183 private fun processNewList(list: List<PrivacyItem>): List<PrivacyItem> { in processNewList() 208 private infix fun PrivacyItem.isIn(list: List<PrivacyItem>): Boolean { in isIn() 217 fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) in onPrivacyItemsChanged() 224 private val list: List<PrivacyItem>
|
D | MediaProjectionPrivacyItemMonitor.kt | 64 private val privacyItems = mutableListOf<PrivacyItem>() 126 private fun makePrivacyItem(info: MediaProjectionInfo): PrivacyItem { in makePrivacyItem() 131 return PrivacyItem(PrivacyType.TYPE_MEDIA_PROJECTION, app, now) in makePrivacyItem() 134 private fun logItemActive(item: PrivacyItem, active: Boolean) { in logItemActive() 172 override fun getActivePrivacyItems(): List<PrivacyItem> { in getActivePrivacyItems()
|
D | AppOpsPrivacyItemMonitor.kt | 182 override fun getActivePrivacyItems(): List<PrivacyItem> { in <lambda>() 206 private fun toPrivacyItemLocked(appOpItem: AppOpItem): PrivacyItem? { in <lambda>() 223 return PrivacyItem(type, app, appOpItem.timeStartedElapsed, appOpItem.isDisabled) in <lambda>()
|
D | PrivacyItemMonitor.kt | 24 fun getActivePrivacyItems(): List<PrivacyItem> in startListening()
|
D | PrivacyChipBuilder.kt | 20 class PrivacyChipBuilder(private val context: Context, itemsList: List<PrivacyItem>) {
|
D | PrivacyItem.kt | 60 data class PrivacyItem( in getName() class
|
D | OngoingPrivacyChip.kt | 49 var privacyList = emptyList<PrivacyItem>() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/logging/ |
D | PrivacyLogger.kt | 27 import com.android.systemui.privacy.PrivacyItem 58 fun logRetrievedPrivacyItemsList(list: List<PrivacyItem>) { in logRetrievedPrivacyItemsList() 66 fun logPrivacyItemsToHold(list: List<PrivacyItem>) { in logPrivacyItemsToHold() 176 private fun listToString(list: List<PrivacyItem>): String { in listToString() 177 return list.joinToString(separator = ", ", transform = PrivacyItem::log) in listToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/ |
D | PrivacyChipRepository.kt | 28 import com.android.systemui.privacy.PrivacyItem in <lambda>() 45 val privacyItems: StateFlow<List<PrivacyItem>> in <lambda>() 83 override val privacyItems: StateFlow<List<PrivacyItem>> = 87 override fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/ |
D | PrivacyChipInteractor.kt | 24 import com.android.systemui.privacy.PrivacyItem in <lambda>() 46 val privacyItems: StateFlow<List<PrivacyItem>> = repository.privacyItems in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/ |
D | PrivacyChipInteractorTest.kt | 26 import com.android.systemui.privacy.PrivacyItem 78 PrivacyItem( in isChipVisible_updates()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/ |
D | PrivacyChipRepositoryTest.kt | 31 import com.android.systemui.privacy.PrivacyItem 127 PrivacyItem( in privacyItems_updates()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/ |
D | ShadeHeaderViewModel.kt | 31 import com.android.systemui.privacy.PrivacyItem in <lambda>() 81 val privacyItems: StateFlow<List<PrivacyItem>> = privacyChipInteractor.privacyItems in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | HeaderPrivacyIconsController.kt | 24 import com.android.systemui.privacy.PrivacyItem 117 override fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) { in onChipVisibilityRefreshed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 52 import com.android.systemui.privacy.PrivacyItem; 704 public void onPrivacyItemsChanged(List<PrivacyItem> privacyItems) { in onPrivacyItemsChanged() 708 private void updatePrivacyItems(List<PrivacyItem> items) { in updatePrivacyItems() 712 for (PrivacyItem item : items) { in updatePrivacyItems()
|