Home
last modified time | relevance | path

Searched refs:MICROPHONE (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSensorToggleRestrictionTest.java69 if (!mSensorPrivacyManager.supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE)) { in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy()
74 m -> m.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE))); in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy()
78 m -> m.setSensorPrivacy(OTHER, SensorPrivacyManager.Sensors.MICROPHONE, true)); in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy()
82 m -> m.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE))); in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy()
105 if (!mSensorPrivacyManager.supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE)) { in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy()
109 m -> m.setSensorPrivacy(OTHER, SensorPrivacyManager.Sensors.MICROPHONE, true)); in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy()
116 m -> m.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE))) { in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyMicrophoneTest.kt21 import android.hardware.SensorPrivacyManager.Sensors.MICROPHONE
30 MICROPHONE,
DSensorPrivacyBaseTest.kt28 import android.hardware.SensorPrivacyManager.Sensors.MICROPHONE in <lambda>()
352 MICROPHONE -> AppOpsManager.OPSTR_RECORD_AUDIO in <lambda>()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyDef.java188 MICROPHONE("MICROPHONE"), enumConstant
248 PowerComponent.MICROPHONE,
271 PowerComponent.MICROPHONE
296 PowerComponent.MICROPHONE
323 PowerComponent.MICROPHONE,
346 PowerComponent.MICROPHONE,
370 PowerComponent.MICROPHONE
/cts/hostsidetests/car/app/src/android/car/cts/app/
DPowerComponentUtil.java83 return PowerComponent.MICROPHONE; in toPowerComponent()
122 case PowerComponent.MICROPHONE: in componentToString()
/cts/tests/tests/permission3/src/android/permission3/cts/
DPermissionHistoryTest.kt43 Manifest.permission_group.MICROPHONE, 0).loadLabel(packageManager).toString()
114 putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, Manifest.permission_group.MICROPHONE) in openMicrophoneTimeline()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorRatePermissionEventConnectionTestHelper.java108 !spm.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE)); in flipAndAssertMicToggleOff()
119 spm.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE)); in flipAndAssertMicToggleOn()
DSensorRatePermissionDirectReportTestHelper.java137 !spm.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE)); in flipAndAssertMicToggleOff()
148 spm.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.MICROPHONE)); in flipAndAssertMicToggleOn()
/cts/tests/tests/permission4/src/android/permission4/cts/
DCameraMicIndicatorsPermissionTest.kt66 Manifest.permission_group.MICROPHONE, 0).loadLabel(packageManager).toString()