Home
last modified time | relevance | path

Searched refs:DeviceMode (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidInfo.java49 DeviceMode.MODE_INVALID,
50 DeviceMode.MODE_MONAURAL,
51 DeviceMode.MODE_BINAURAL,
52 DeviceMode.MODE_BANDED,
56 public @interface DeviceMode { annotation in HearingAidInfo
78 @DeviceMode
119 @DeviceMode
122 ashaDeviceMode, DeviceMode.MODE_INVALID); in convertAshaDeviceModeToInternalMode()
139 @DeviceMode
141 return HAP_DEVICE_TYPE_TO_INTERNAL_MODE_MAPPING.get(hapDeviceType, DeviceMode.MODE_INVALID); in convertHapDeviceTypeToInternalMode()
[all …]
DHearingAidProfile.java60 DeviceMode.MODE_INVALID,
61 DeviceMode.MODE_MONAURAL,
62 DeviceMode.MODE_BINAURAL
66 public @interface DeviceMode { annotation in HearingAidProfile
297 @DeviceMode
299 final int defaultValue = DeviceMode.MODE_INVALID; in getDeviceMode()
DCachedBluetoothDevice.java439 ? mHearingAidInfo.getMode() : HearingAidInfo.DeviceMode.MODE_INVALID; in getDeviceMode()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp158 if (mDeviceMode == DeviceMode::DISABLED) { in populateDeviceInfo()
284 if (mDeviceMode == DeviceMode::POINTER) { in dump()
540 if (mDeviceMode == DeviceMode::POINTER) { in findViewport()
893 if (mDeviceMode == DeviceMode::DIRECT) { in computeInputTransforms()
895 } else if (mDeviceMode == DeviceMode::POINTER) { in computeInputTransforms()
915 const DeviceMode oldDeviceMode = mDeviceMode; in configureInputDevice()
923 mDeviceMode = DeviceMode::POINTER; in configureInputDevice()
929 mDeviceMode = DeviceMode::DIRECT; in configureInputDevice()
935 mDeviceMode = DeviceMode::NAVIGATION; in configureInputDevice()
940 mDeviceMode = DeviceMode::DISABLED; in configureInputDevice()
[all …]
DTouchInputMapper.h214 enum class DeviceMode { enum
222 DeviceMode mDeviceMode{DeviceMode::DISABLED};
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java24 import static com.android.settingslib.bluetooth.HearingAidProfile.DeviceMode.MODE_BINAURAL;
182 HearingAidInfo.DeviceMode.MODE_BINAURAL); in initHearingAidDeviceIfNeeded_asha_validHiSyncId_setHearingAidInfo()
267 HearingAidInfo.DeviceMode.MODE_BINAURAL); in initHearingAidDeviceIfNeeded_leAudio_validInfo_setHearingAidInfo()
474 HearingAidInfo.DeviceMode.MODE_BINAURAL); in updateHearingAidsDevices_asha_validHiSyncId_setHearingAidInfo()
501 HearingAidInfo.DeviceMode.MODE_BINAURAL); in updateHearingAidsDevices_leAudio_validInfo_setHearingAidInfo()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp653 saveRef(DeviceMode::TORCH, deviceInfo->mId, halCameraProvider); in setTorchMode()
788 saveRef(DeviceMode::CAMERA, id, halCameraProvider); in openAidlSession()
792 removeRef(DeviceMode::CAMERA, id); in openAidlSession()
798 removeRef(DeviceMode::CAMERA, id); in openAidlSession()
830 saveRef(DeviceMode::CAMERA, id, halCameraProvider); in openAidlInjectionSession()
839 removeRef(DeviceMode::CAMERA, id); in openAidlInjectionSession()
869 saveRef(DeviceMode::CAMERA, id, halCameraProvider); in openHidlSession()
886 removeRef(DeviceMode::CAMERA, id); in openHidlSession()
894 void CameraProviderManager::saveRef(DeviceMode usageType, const std::string &cameraId, in saveRef()
903 if (usageType == DeviceMode::TORCH) { in saveRef()
[all …]
DCameraProviderManager.h227 enum class DeviceMode { enum
421 void removeRef(DeviceMode usageType, const std::string &cameraId);
874 void saveRef(DeviceMode usageType, const std::string &cameraId,
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp4160 sCameraService->mCameraProviderManager->removeRef(CameraProviderManager::DeviceMode::CAMERA, in disconnect()
/frameworks/proto_logging/stats/
Datoms.proto23434 enum DeviceMode { enum
23440 optional DeviceMode device_mode = 1;