Home
last modified time | relevance | path

Searched refs:TYPE_CAMERA (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyChipBuilderTest.kt36 val bar2 = PrivacyItem(Privacy.TYPE_CAMERA, PrivacyApplication( in testGenerateAppsList()
42 val baz1 = PrivacyItem(Privacy.TYPE_CAMERA, PrivacyApplication( in testGenerateAppsList()
55 assertEquals(listOf(Privacy.TYPE_CAMERA, Privacy.TYPE_LOCATION), typesList[0]) in testGenerateAppsList()
56 assertEquals(listOf(Privacy.TYPE_CAMERA), typesList[1]) in testGenerateAppsList()
63 val appCamera = PrivacyItem(PrivacyType.TYPE_CAMERA, in testOrder()
DPrivacyItemControllerTest.kt133 val item1 = PrivacyItem(PrivacyType.TYPE_CAMERA, 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()
237 val list = listOf(PrivacyItem(PrivacyType.TYPE_CAMERA, in testListShouldBeCopy()
272 PrivacyItem(PrivacyType.TYPE_CAMERA, in testPassageOfTimeDoesNotRemoveIndicators()
289 PrivacyItem(PrivacyType.TYPE_CAMERA, in testNotHeldAfterTimeIsOff()
312 PrivacyItem(PrivacyType.TYPE_CAMERA, in testElementNotRemovedBeforeHoldTime()
[all …]
DAppOpsPrivacyItemMonitorTest.kt245 assertEquals(PrivacyType.TYPE_CAMERA, privacyItems[0].privacyType) in testNotSendingLocationWhenLocationDisabled()
306 assertEquals(PrivacyType.TYPE_CAMERA, privacyItems[0].privacyType) in testListFilterCurrentUser()
331 assertEquals(PrivacyType.TYPE_CAMERA, privacyItems[0].privacyType) in testAlwaysGetPhoneCameraOps()
DPrivacyDialogTest.kt119 PrivacyType.TYPE_CAMERA, in testCorrectNumElements()
157 PrivacyType.TYPE_CAMERA, in testUsingText()
DPrivacyDialogV2Test.kt186 createPrivacyElement(type = PrivacyType.TYPE_CAMERA, isActive = true), in testCorrectNumElements()
212 val list = listOf(createPrivacyElement(type = PrivacyType.TYPE_CAMERA, isActive = true)) in testUsingText()
DPrivacyDialogControllerTest.kt270 assertThat(list.get(0).type).isEqualTo(PrivacyType.TYPE_CAMERA) in <lambda>()
640 assertThat(list.get(0).type).isEqualTo(PrivacyType.TYPE_CAMERA) in <lambda>()
DPrivacyDialogControllerV2Test.kt290 assertThat(list.get(0).type).isEqualTo(PrivacyType.TYPE_CAMERA) in <lambda>()
/frameworks/base/core/java/android/service/controls/
DDeviceTypes.java99 public static final @DeviceType int TYPE_CAMERA = 50; field in DeviceTypes
184 TYPE_CAMERA,
/frameworks/base/core/java/android/os/
DCoolingDevice.java60 TYPE_CAMERA,
94 public static final int TYPE_CAMERA = CoolingType.CAMERA; field in CoolingDevice
DTemperature.java84 TYPE_CAMERA,
111 public static final int TYPE_CAMERA = TemperatureType.CAMERA; field in Temperature
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItem.kt29 TYPE_CAMERA(
DPrivacyDialogController.kt292 Manifest.permission_group.CAMERA -> PrivacyType.TYPE_CAMERA in permGroupToPrivacyType()
301 if ((it == PrivacyType.TYPE_CAMERA || it == PrivacyType.TYPE_MICROPHONE) && in filterType()
DAppOpsPrivacyItemMonitor.kt212 AppOpsManager.OP_CAMERA -> PrivacyType.TYPE_CAMERA in <lambda>()
DPrivacyDialog.kt165 PrivacyType.TYPE_CAMERA -> R.drawable.privacy_item_circle_camera in <lambda>()
DPrivacyDialogControllerV2.kt340 Manifest.permission_group.CAMERA -> PrivacyType.TYPE_CAMERA in permGroupToPrivacyType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt97 DeviceTypes.TYPE_CAMERA
116 DeviceTypes.TYPE_CAMERA to R.drawable.ic_device_camera,
DControlViewHolder.kt83 DeviceTypes.TYPE_CAMERA
142 deviceType == DeviceTypes.TYPE_CAMERA -> Supplier { TouchBehavior() } in findBehaviorClass()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DPrivacyChipInteractorTest.kt79 privacyType = PrivacyType.TYPE_CAMERA, in isChipVisible_updates()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/
DPrivacyChipRepositoryTest.kt128 privacyType = PrivacyType.TYPE_CAMERA, in privacyItems_updates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java331 String cameraString = mResources.getString(PrivacyType.TYPE_CAMERA.getNameId()); in init()
334 mIconController.setIcon(mSlotCamera, PrivacyType.TYPE_CAMERA.getIconId(), in init()
721 case TYPE_CAMERA: in updatePrivacyItems()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt138 private const val TEST_DEVICE_TYPE_2 = DeviceTypes.TYPE_CAMERA in <lambda>()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java780 type = Temperature.TYPE_CAMERA; in runInjectTemperature()
/frameworks/base/core/api/
Dcurrent.txt40632 field public static final int TYPE_CAMERA = 50; // 0x32