Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt67 private const val MICROPHONE = SensorPrivacyManager.Sensors.MICROPHONE in <lambda>() constant
92 if (!sensorPrivacyController.isSensorBlocked(MICROPHONE) && in <lambda>()
99 if (!sensorPrivacyController.isSensorBlocked(MICROPHONE) && in <lambda>()
132 MICROPHONE -> in <lambda>()
142 .visibility = if (sensor == MICROPHONE || sensor == ALL_SENSORS) { in <lambda>()
155 MICROPHONE -> in <lambda>()
246 sensorPrivacyController.setSensorBlocked(DIALOG, MICROPHONE, false) in <lambda>()
258 .suppressSensorPrivacyReminders(MICROPHONE, suppressed) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/
DTvUnblockSensorActivity.java20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
78 && !mSensorPrivacyController.isSensorBlocked(MICROPHONE)) { in onCreate()
99 case MICROPHONE: in initUI()
124 mSensorPrivacyController.setSensorBlocked(OTHER, MICROPHONE, false); in initUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DMicrophoneToggleTile.java19 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
66 return mSensorPrivacyController.supportsSensorToggle(MICROPHONE) in isAvailable()
88 return MICROPHONE; in getSensorId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DIndividualSensorPrivacyControllerImpl.java20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
34 private static final int[] SENSORS = new int[] {CAMERA, MICROPHONE};
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java36 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
364 setIndividualSensorPrivacyUnchecked(userId, OTHER, MICROPHONE, false); in onUserRestrictionsChanged()
385 sensor = MICROPHONE; in onOpNoted()
505 if (sensor == MICROPHONE) { in onSensorUseStarted()
554 if (sensor == MICROPHONE && mSuppressReminders.containsKey(new Pair<>(CAMERA, user)) in enqueueSensorUseReminderDialog()
556 .containsKey(new Pair<>(MICROPHONE, user))) { in enqueueSensorUseReminderDialog()
557 sensors.add(MICROPHONE); in enqueueSensorUseReminderDialog()
630 if (sensor == MICROPHONE) { in showSensorUseReminderNotification()
764 if (sensor == MICROPHONE && mEmergencyCallHelper.isInEmergencyCall()) { in canChangeIndividualSensorPrivacy()
775 if (sensor == MICROPHONE && mUserManagerInternal.getUserRestriction(userId, in canChangeIndividualSensorPrivacy()
[all …]
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/
DPowerComponent.aidl98 MICROPHONE = 15, enumConstant
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/current/android/frameworks/automotive/powerpolicy/
DPowerComponent.aidl50 MICROPHONE = 15, enumConstant
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/aidl_api/android.frameworks.automotive.powerpolicy/1/android/frameworks/automotive/powerpolicy/
DPowerComponent.aidl51 MICROPHONE = 15, enumConstant
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
131 || mSensorPrivacyController.isSensorBlocked(MICROPHONE); in AppOpsControllerImpl()
153 || mSensorPrivacyController.isSensorBlocked(MICROPHONE); in setListening()
513 || mSensorPrivacyController.isSensorBlocked(MICROPHONE); in onReceive()
522 } else if (sensor == MICROPHONE) { in onSensorBlockedChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItem.kt38 android.Manifest.permission_group.MICROPHONE,
DPrivacyDialogController.kt218 Manifest.permission_group.MICROPHONE -> PrivacyType.TYPE_MICROPHONE in permGroupToPrivacyType()
/frameworks/base/core/java/android/hardware/
DSensorPrivacyManager.java86 public static final int MICROPHONE = SensorPrivacyIndividualEnabledSensorProto.MICROPHONE; field in SensorPrivacyManager.Sensors
99 MICROPHONE,
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java21 import static android.Manifest.permission_group.MICROPHONE;
135 return MICROPHONE; in getGroupForOp()
288 if (hasPhoneCall && usedPermGroups.contains(MICROPHONE) && audioManager.getMode() in getOpUsageData()
292 List<OpUsage> permUsages = rawUsages.get(MICROPHONE); in getOpUsageData()
312 permGroup = MICROPHONE; in getOpUsageData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
558 mController.onSensorBlockedChanged(MICROPHONE, true); in testAudioFilteredWhenMicDisabled()
568 mController.onSensorBlockedChanged(MICROPHONE, false); in testAudioFilteredWhenMicDisabled()
592 mController.onSensorBlockedChanged(MICROPHONE, true); in testPhoneCallMicrophoneFilteredWhenMicDisabled()
602 mController.onSensorBlockedChanged(MICROPHONE, false); in testPhoneCallMicrophoneFilteredWhenMicDisabled()
/frameworks/base/core/proto/android/hardware/
Dsensorprivacy.proto59 MICROPHONE = 1; enumerator
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DIContextHubWrapper.java330 sendSettingChanged(android.hardware.contexthub.V1_2.Setting.MICROPHONE, in onMicrophoneDisableSettingChanged()
DContextHubService.java302 SensorPrivacyManager.Sensors.MICROPHONE, (userId, enabled) -> { in ContextHubService()
1101 getCurrentUserId(), SensorPrivacyManager.Sensors.MICROPHONE);
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal43 MICROPHONE = 1,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt71 private const val PERM_MICROPHONE = android.Manifest.permission_group.MICROPHONE in <lambda>()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java211 UserHandle.getUserId(uid), Sensors.MICROPHONE)) { in hasPermission()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java874 .supportsSensorToggle(SensorPrivacyManager.Sensors.MICROPHONE); in AudioService()
1189 SensorPrivacyManager.Sensors.MICROPHONE, (userId, enabled) -> { in onSystemReady()
7860 SensorPrivacyManager.Sensors.MICROPHONE); in onReceive()
/frameworks/proto_logging/stats/
Datoms.proto16534 MICROPHONE = 1; enumerator
/frameworks/base/core/api/
Dcurrent.txt203 field public static final String MICROPHONE = "android.permission-group.MICROPHONE";
17740 field public static final int MICROPHONE = 1; // 0x1
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt181 field public static final java.lang.String MICROPHONE = "android.permission-group.MICROPHONE";