Home
last modified time | relevance | path

Searched refs:MICROPHONE (Results 1 – 15 of 15) 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
32 MICROPHONE,
DSensorPrivacyBaseTest.kt29 import android.hardware.SensorPrivacyManager.Sensors.MICROPHONE in <lambda>()
643 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
325 PowerComponent.MICROPHONE,
348 PowerComponent.MICROPHONE,
372 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/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/sensor/sensorratepermission/DirectReportAPI31/src/android/sensorratepermission/cts/directreportapi31/
DDirectReportAPI31Test.java75 .supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE)); in setUp()
/cts/tests/tests/settings/src/android/settings/cts/
DAutoPrivacySettingsTest.java61 private static final String MICROPHONE = "Microphone"; field in AutoPrivacySettingsTest
132 UiObject2 micObj = assertScrollToAndFind(MICROPHONE); in testPrivacyMicrophoneSettings()
/cts/tests/sensor/sensorratepermission/EventConnectionAPI31/src/android/sensorratepermission/cts/eventconnectionapi31/
DEventConnectionAPI31Test.java91 .supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE)); in setUp()
/cts/tests/sensor/sensorratepermission/DirectReportAPI30/src/android/sensorratepermission/cts/directreportapi30/
DDirectReportAPI30Test.java82 .supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE)); in setUp()
/cts/tests/sensor/sensorratepermission/EventConnectionAPI30/src/android/sensorratepermission/cts/eventconnectionapi30/
DEventConnectionAPI30Test.java97 .supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE)); in setUp()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAlwaysOnHotwordDetectorTest.java959 SensorPrivacyManager.Sensors.MICROPHONE)); in testAppOpsLostReacquired_recognitionPausedResumed()
988 SensorPrivacyManager.Sensors.MICROPHONE, true); in testAppOpsLostReacquired_recognitionPausedResumed()
994 SensorPrivacyManager.Sensors.MICROPHONE, false); in testAppOpsLostReacquired_recognitionPausedResumed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DManifestTestListAdapter.java544 context, SensorPrivacyManager.Sensors.MICROPHONE); in matchAllConfigs()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt345 field public static final String MICROPHONE = "android.permission-group.MICROPHONE";
18841 field public static final int MICROPHONE = 1; // 0x1