Searched refs:privacyItems (Results 1 – 14 of 14) sorted by relevance
150 val privacyItems = appOpsPrivacyItemMonitor.getActivePrivacyItems() in testVoiceActivationPrivacyItems() constant151 assertEquals(1, privacyItems.size) in testVoiceActivationPrivacyItems()152 assertEquals(PrivacyType.TYPE_MICROPHONE, privacyItems[0].privacyType) in testVoiceActivationPrivacyItems()243 val privacyItems = appOpsPrivacyItemMonitor.getActivePrivacyItems() in testNotSendingLocationWhenLocationDisabled() constant244 assertEquals(1, privacyItems.size) in testNotSendingLocationWhenLocationDisabled()245 assertEquals(PrivacyType.TYPE_CAMERA, privacyItems[0].privacyType) in testNotSendingLocationWhenLocationDisabled()303 val privacyItems = appOpsPrivacyItemMonitor.getActivePrivacyItems() in testListFilterCurrentUser() constant305 assertEquals(1, privacyItems.size) in testListFilterCurrentUser()306 assertEquals(PrivacyType.TYPE_CAMERA, privacyItems[0].privacyType) in testListFilterCurrentUser()307 assertEquals(otherUserUid, privacyItems[0].application.uid) in testListFilterCurrentUser()[all …]
121 var privacyItems: List<PrivacyItem> = listOf() variable in PrivacyEvent126 v.privacyList = privacyItems in context()133 return "${javaClass.simpleName}(forceVisible=$forceVisible, privacyItems=$privacyItems)" in toString()137 return other is PrivacyEvent && (other.privacyItems != privacyItems || in shouldUpdateFromEvent()147 privacyItems = other.privacyItems in updateFromEvent()151 privacyChip?.privacyList = other.privacyItems in updateFromEvent()
86 event.privacyItems = privacyStateListener.currentPrivacyItems in notifyPrivacyItemsChanged()88 val items = PrivacyChipBuilder(context, event.privacyItems).joinTypes() in notifyPrivacyItemsChanged()133 override fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) { in onPrivacyItemsChanged()134 if (uniqueItemsMatch(privacyItems, currentPrivacyItems)) { in onPrivacyItemsChanged()136 } else if (privacyItems.isEmpty()) { in onPrivacyItemsChanged()141 currentPrivacyItems = privacyItems in onPrivacyItemsChanged()
64 private val privacyItems = mutableListOf<PrivacyItem>() constant112 privacyItems.add(item) in onMediaProjectionStartedLocked()121 privacyItems.removeAt(privacyItems.indexOfFirst { it.application == item.application }) in onMediaProjectionStoppedLocked()166 privacyItems.forEach { logItemActive(it, false) } in setListeningStateLocked()167 privacyItems.clear() in setListeningStateLocked()174 if (DEBUG) Log.d(TAG, "getActivePrivacyItems: privacyItems=$privacyItems") in getActivePrivacyItems()175 return privacyItems.toList() in getActivePrivacyItems()197 ipw.println("Privacy Items: $privacyItems") in dump()
217 fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) in onPrivacyItemsChanged()
45 val privacyItems: StateFlow<List<PrivacyItem>> in <lambda>() constant83 override val privacyItems: StateFlow<List<PrivacyItem>> = constant87 override fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) { in <lambda>()88 trySend(privacyItems) in <lambda>()
46 val privacyItems: StateFlow<List<PrivacyItem>> = repository.privacyItems in <lambda>() constant56 privacyItems in <lambda>()
114 val actual by collectLastValue(underTest.privacyItems) in privacyItems_updates()125 val privacyItems = in privacyItems_updates() constant132 callback.onPrivacyItemsChanged(privacyItems) in privacyItems_updates()133 assertThat(actual).isEqualTo(privacyItems) in privacyItems_updates()
117 override fun onPrivacyItemsChanged(privacyItems: List<PrivacyItem>) { in onChipVisibilityRefreshed()118 privacyChip.privacyList = privacyItems in onChipVisibilityRefreshed()119 setChipVisibility(privacyItems.isNotEmpty()) in onChipVisibilityRefreshed()
76 val privacyItems = in isChipVisible_updates() constant83 privacyChipRepository.setPrivacyItems(privacyItems) in isChipVisible_updates()
32 override val privacyItems = _privacyItems constant in com.android.systemui.shade.data.repository.FakePrivacyChipRepository
81 val privacyItems: StateFlow<List<PrivacyItem>> = privacyChipInteractor.privacyItems in <lambda>() constant
704 public void onPrivacyItemsChanged(List<PrivacyItem> privacyItems) { in onPrivacyItemsChanged() argument705 updatePrivacyItems(privacyItems); in onPrivacyItemsChanged()
580 val privacyList by viewModel.privacyItems.collectAsStateWithLifecycle() in PrivacyChip()