/base/telephony/call_manager/services/audio/src/ |
D | audio_device_manager.cpp | 60 .deviceType = AudioDeviceType::DEVICE_SPEAKER, in Init() 65 .deviceType = AudioDeviceType::DEVICE_EARPIECE, in Init() 71 void AudioDeviceManager::AddAudioDeviceList(const std::string &address, AudioDeviceType deviceType) in AddAudioDeviceList() argument 76 if (it->address == address && it->deviceType == deviceType) { in AddAudioDeviceList() 80 …if (deviceType == AudioDeviceType::DEVICE_WIRED_HEADSET && it->deviceType == AudioDeviceType::DEVI… in AddAudioDeviceList() 92 audioDevice.deviceType = deviceType; in AddAudioDeviceList() 102 if (deviceType == AudioDeviceType::DEVICE_WIRED_HEADSET) { in AddAudioDeviceList() 105 if (deviceType == AudioDeviceType::DEVICE_BLUETOOTH_SCO) { in AddAudioDeviceList() 112 …d AudioDeviceManager::RemoveAudioDeviceList(const std::string &address, AudioDeviceType deviceType) in RemoveAudioDeviceList() argument 118 if (it->deviceType == AudioDeviceType::DEVICE_EARPIECE) { in RemoveAudioDeviceList() [all …]
|
D | audio_proxy.cpp | 286 device.deviceType = AudioDeviceType::DEVICE_BLUETOOTH_SCO; in GetPreferredOutputAudioDevice() 298 device.deviceType = AudioDeviceType::DEVICE_EARPIECE; in GetPreferredOutputAudioDevice() 301 device.deviceType = AudioDeviceType::DEVICE_SPEAKER; in GetPreferredOutputAudioDevice() 306 device.deviceType = AudioDeviceType::DEVICE_WIRED_HEADSET; in GetPreferredOutputAudioDevice() 357 device.deviceType = AudioDeviceType::DEVICE_BLUETOOTH_SCO; in OnPreferredOutputDeviceUpdated() 367 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated() 370 device.deviceType = AudioDeviceType::DEVICE_EARPIECE; in OnPreferredOutputDeviceUpdated() 371 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated() 374 device.deviceType = AudioDeviceType::DEVICE_SPEAKER; in OnPreferredOutputDeviceUpdated() 375 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated() [all …]
|
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/config/ |
D | config.ts | 21 private deviceType : string = 'tablet'; property in Config 30 this.deviceType = "tablet" 36 this.deviceType = "phone" 38 this.deviceType = "tablet" 45 return this.deviceType
|
/base/web/webview/ohos_adapter/system_properties_adapter/src/ |
D | system_properties_adapter_impl.cpp | 53 std::string deviceType = OHOS::system::GetDeviceType(); in GetProductDeviceType() local 54 if (deviceType == "phone" || deviceType == "default") { in GetProductDeviceType() 56 } else if (deviceType == "tablet") { in GetProductDeviceType() 58 } else if (deviceType == "2in1") { in GetProductDeviceType()
|
/base/hiviewdfx/hiview/base/utility/ |
D | parameter_ex.cpp | 62 std::string deviceType = GetString(KEY_BUILD_CHARACTER, "unknown"); in GetDeviceType() local 63 if (deviceType == "phone" || deviceType == "default") { in GetDeviceType() 65 } else if (deviceType == "watch") { in GetDeviceType() 67 } else if (deviceType == "tv") { in GetDeviceType() 69 } else if (deviceType == "car") { in GetDeviceType()
|
/base/telephony/call_manager/services/audio/include/ |
D | audio_device_manager.h | 41 static void SetDeviceAvailable(AudioDeviceType deviceType, bool available); 44 void AddAudioDeviceList(const std::string &address, AudioDeviceType deviceType); 45 void RemoveAudioDeviceList(const std::string &address, AudioDeviceType deviceType); 48 void SetCurrentAudioDevice(AudioDeviceType deviceType);
|
/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
D | device_type_manager.cpp | 35 DeviceTypeManager::DeviceTypeManager() : deviceType(false), getDeviceTypeMtx() in DeviceTypeManager() 57 if (currentDeviceType == deviceType) { in GetDeviceTypeInfo() 79 deviceType = currentDeviceType; in GetDeviceTypeInfo()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
D | mock_distributed_kv_data_manager.cpp | 54 localDevice.deviceType = "<localDeviceType>"; in GetLocalDevice() 63 .deviceType = "<localDeviceType>", in GetDeviceList() 68 .deviceType = "<remoteDeviceType>", in GetDeviceList()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
D | hap_parser.cpp | 414 DeviceType deviceType = DEVICE_NOT_SET; in CreateResConfigFromKeyParams() local 427 deviceType = GetDeviceType(kp->value_); in CreateResConfigFromKeyParams() 436 resConfig->SetDeviceType(deviceType); in CreateResConfigFromKeyParams() 450 DeviceType deviceType = DEVICE_NOT_SET; in GetDeviceType() local 452 deviceType = DEVICE_CAR; in GetDeviceType() 454 deviceType = DEVICE_PAD; in GetDeviceType() 456 deviceType = DEVICE_PHONE; in GetDeviceType() 458 deviceType = DEVICE_TABLET; in GetDeviceType() 460 deviceType = DEVICE_TV; in GetDeviceType() 462 deviceType = DEVICE_WEARABLE; in GetDeviceType() [all …]
|
/base/security/access_token/services/tokensyncmanager/src/device/ |
D | device_info_repository.cpp | 127 SaveDeviceInfo(deviceInfo.deviceId, deviceInfo.deviceName, deviceInfo.deviceType); in SaveDeviceInfo() 131 const DeviceId deviceId, const std::string &deviceName, const std::string &deviceType) in SaveDeviceInfo() argument 134 …deviceId.networkId, deviceId.universallyUniqueId, deviceId.uniqueDeviceId, deviceName, deviceType); in SaveDeviceInfo() 138 const std::string &uniqueDeviceId, const std::string &deviceName, const std::string &deviceType) in SaveDeviceInfo() argument 154 deviceInfo.deviceType = deviceType; in SaveDeviceInfo()
|
D | device_info_manager.cpp | 44 const std::string &uniqueDeviceId, const std::string &deviceName, const std::string &deviceType) in AddDeviceInfo() argument 48 … !DataValidator::IsDeviceIdValid(uniqueDeviceId) || deviceName.empty() || deviceType.empty()) { in AddDeviceInfo() 53 networkId, universallyUniqueId, uniqueDeviceId, deviceName, deviceType); in AddDeviceInfo() 141 LABEL, ">>> DeviceInfoRepository device type: %{public}s", info.deviceType.c_str()); in ConvertToUniqueDeviceIdOrFetch()
|
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/ |
D | token_sync_service_test.cpp | 1048 std::string deviceType; variable 1053 ASSERT_EQ("", deviceType); 1055 deviceType); // all empty 1061 deviceType = "123"; 1066 ASSERT_NE("", deviceType); 1068 deviceType); // all valued 1089 std::string deviceType = "123"; variable 1094 deviceType); 1122 std::string deviceType = "123"; variable 1124 deviceType); // add 123 nodeid [all …]
|
/base/security/access_token/services/tokensyncmanager/include/device/ |
D | device_info_repository.h | 42 …eDeviceInfo(const DeviceId deviceId, const std::string &deviceName, const std::string &deviceType); 45 … const std::string &uniqueDeviceId, const std::string &deviceName, const std::string &deviceType);
|
D | device_info.h | 40 std::string deviceType; member
|
D | device_info_manager.h | 63 … const std::string &uniqueDeviceId, const std::string &deviceName, const std::string &deviceType);
|
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/ |
D | NotificationServiceExtAbility.ts | 79 if (deviceInfo.deviceType === 'default' || deviceInfo.deviceType === 'phone') {
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | res_config_impl.h | 58 void SetDeviceType(DeviceType deviceType); 162 bool IsDeviceTypeMatch(DeviceType deviceType) const;
|
D | hap_parser.h | 197 std::string deviceType; member 209 DeviceType deviceType = DEVICE_NOT_SET; member
|
/base/web/webview/ohos_adapter/display_manager_adapter/src/ |
D | display_manager_adapter_impl.cpp | 177 std::string deviceType = OHOS::system::GetDeviceType(); in IsDefaultPortrait() local 178 return deviceType == "phone" || deviceType == "default"; in IsDefaultPortrait()
|
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/ |
D | audiodevice_fuzzer.cpp | 71 .deviceType = static_cast<AudioDeviceType>(size % AUDIO_DEVICE_NUM), in AudioControlManagerFunc() 106 AudioDeviceType deviceType = static_cast<AudioDeviceType>(size % AUDIO_DEVICE_NUM); in AudioDeviceManagerFunc() local 115 audioDeviceManager->SwitchDevice(deviceType); in AudioDeviceManagerFunc() 126 audioDeviceManager->SetCurrentAudioDevice(deviceType); in AudioDeviceManagerFunc()
|
/base/security/appverify/interfaces/innerkits/appverify/include/init/ |
D | device_type_manager.h | 42 bool deviceType;
|
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/ |
D | notificationDialog.ets | 37 if (this.isLand || !(deviceInfo.deviceType == 'default' || deviceInfo.deviceType == 'phone')) {
|
/base/telephony/call_manager/frameworks/native/src/ |
D | bluetooth_call_client.cpp | 279 int32_t BluetoothCallClient::SetAudioDevice(AudioDeviceType deviceType, const std::string &bluetoot… in SetAudioDevice() argument 286 device.deviceType = static_cast<AudioDeviceType>(deviceType); in SetAudioDevice()
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | hap_parser.cpp | 608 configKey.deviceType = GetDeviceType(kp->value_); in CreateResConfigFromKeyParams() 640 resConfig->SetDeviceType(configKey->deviceType); in BuildResConfig() 658 DeviceType deviceType = DEVICE_NOT_SET; in GetDeviceType() local 660 deviceType = DEVICE_CAR; in GetDeviceType() 662 deviceType = DEVICE_PAD; in GetDeviceType() 664 deviceType = DEVICE_PHONE; in GetDeviceType() 666 deviceType = DEVICE_TABLET; in GetDeviceType() 668 deviceType = DEVICE_TV; in GetDeviceType() 670 deviceType = DEVICE_WEARABLE; in GetDeviceType() 672 return deviceType; in GetDeviceType() [all …]
|
/base/security/device_security_level/services/dslm/ |
D | dslm_core_defines.h | 44 uint32_t deviceType; member
|