Home
last modified time | relevance | path

Searched refs:DeviceType (Results 1 - 25 of 36) sorted by relevance

12

/base/web/webview/ohos_adapter/audio_adapter/src/
H A Daudio_system_manager_adapter_impl.cpp73 const std::unordered_map<DeviceType, std::string> DEVICE_TYPE_NAME_ZH_CN_MAP = {
74 { DeviceType::DEVICE_TYPE_NONE, DEVICE_TYPE_NONE_ZH_CN},
75 { DeviceType::DEVICE_TYPE_INVALID, DEVICE_TYPE_INVALID_ZH_CN},
76 { DeviceType::DEVICE_TYPE_EARPIECE, DEVICE_TYPE_EARPIECE_ZH_CN},
77 { DeviceType::DEVICE_TYPE_SPEAKER, DEVICE_TYPE_SPEAKER_ZH_CN},
78 { DeviceType::DEVICE_TYPE_WIRED_HEADSET, DEVICE_TYPE_WIRED_HEADSET_ZH_CN},
79 { DeviceType::DEVICE_TYPE_WIRED_HEADPHONES, DEVICE_TYPE_WIRED_HEADPHONES_ZH_CN},
80 { DeviceType::DEVICE_TYPE_BLUETOOTH_SCO, DEVICE_TYPE_BLUETOOTH_SCO_ZH_CN},
81 { DeviceType::DEVICE_TYPE_BLUETOOTH_A2DP, DEVICE_TYPE_BLUETOOTH_A2DP_ZH_CN},
82 { DeviceType
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_config_impl.h60 void SetDeviceType(DeviceType deviceType);
82 DeviceType GetDeviceType() const;
120 DeviceType deviceType_;
H A Dres_config.h33 virtual void SetDeviceType(DeviceType deviceType) = 0;
45 virtual DeviceType GetDeviceType() const = 0;
H A Dhap_parser.h91 static DeviceType GetDeviceType(uint32_t value);
H A Dres_common.h86 enum DeviceType { enum
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dres_desc_test.cpp141 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PHONE, PHONE_STR); in HWTEST_F()
142 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TABLET, TABLET_STR); in HWTEST_F()
143 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_CAR, CAR_STR); in HWTEST_F()
144 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PAD, PAD_STR); in HWTEST_F()
145 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TV, TV_STR); in HWTEST_F()
146 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_WEARABLE, WEARABLE_STR); in HWTEST_F()
147 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_NOT_SET, "not_device_type"); in HWTEST_F()
H A Dres_config_impl_test.cpp322 current->SetDeviceType(DeviceType::DEVICE_CAR); in HWTEST_F()
323 other->SetDeviceType(DeviceType::DEVICE_CAR); in HWTEST_F()
336 current->SetDeviceType(DeviceType::DEVICE_CAR); in HWTEST_F()
337 other->SetDeviceType(DeviceType::DEVICE_PAD); in HWTEST_F()
350 other->SetDeviceType(DeviceType::DEVICE_PAD); in HWTEST_F()
363 current->SetDeviceType(DeviceType::DEVICE_PAD); in HWTEST_F()
431 current->SetDeviceType(DeviceType::DEVICE_PHONE); in HWTEST_F()
433 other->SetDeviceType(DeviceType::DEVICE_PHONE); in HWTEST_F()
447 current->SetDeviceType(DeviceType::DEVICE_PHONE); in HWTEST_F()
448 other->SetDeviceType(DeviceType in HWTEST_F()
[all...]
H A Dresource_manager_test_common.h73 void AddColorModeResource(DeviceType deviceType, ColorMode colorMode, float screenDensity);
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dres_desc_test.cpp141 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PHONE, PHONE_STR); in HWTEST_F()
142 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TABLET, TABLET_STR); in HWTEST_F()
143 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_CAR, CAR_STR); in HWTEST_F()
144 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PAD, PAD_STR); in HWTEST_F()
145 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TV, TV_STR); in HWTEST_F()
146 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_WEARABLE, WEARABLE_STR); in HWTEST_F()
147 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_NOT_SET, "not_device_type"); in HWTEST_F()
H A Dres_config_impl_test.cpp328 current->SetDeviceType(DeviceType::DEVICE_CAR); in HWTEST_F()
329 other->SetDeviceType(DeviceType::DEVICE_CAR); in HWTEST_F()
344 current->SetDeviceType(DeviceType::DEVICE_CAR); in HWTEST_F()
345 other->SetDeviceType(DeviceType::DEVICE_PAD); in HWTEST_F()
360 other->SetDeviceType(DeviceType::DEVICE_PAD); in HWTEST_F()
375 current->SetDeviceType(DeviceType::DEVICE_PAD); in HWTEST_F()
453 current->SetDeviceType(DeviceType::DEVICE_PHONE); in HWTEST_F()
455 other->SetDeviceType(DeviceType::DEVICE_PHONE); in HWTEST_F()
471 current->SetDeviceType(DeviceType::DEVICE_PHONE); in HWTEST_F()
472 other->SetDeviceType(DeviceType in HWTEST_F()
[all...]
/base/update/updateservice/interfaces/inner_api/feature/update/model/subscribe/
H A Dsubscribe_info.h37 DeviceType deviceType = DeviceType::UNKNOWN;
/base/global/resource_management/frameworks/resmgr/include/
H A Dres_config_impl.h68 void SetDeviceType(DeviceType deviceType);
140 DeviceType GetDeviceType() const;
229 bool IsDeviceTypeMatch(DeviceType deviceType) const;
256 DeviceType deviceType_;
H A Dhap_parser.h172 static DeviceType GetDeviceType(uint32_t value);
242 DeviceType deviceType = DEVICE_NOT_SET;
/base/update/updateservice/interfaces/inner_api/feature/update/model/upgrade_info/
H A Dupgrade_info.h32 DeviceType deviceType = DeviceType::UNKNOWN;
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_desc.cpp71 case DeviceType::DEVICE_PHONE: in GetDeviceTypeStr()
74 case DeviceType::DEVICE_TABLET: in GetDeviceTypeStr()
77 case DeviceType::DEVICE_CAR: in GetDeviceTypeStr()
80 case DeviceType::DEVICE_PAD: in GetDeviceTypeStr()
83 case DeviceType::DEVICE_TV: in GetDeviceTypeStr()
86 case DeviceType::DEVICE_WEARABLE: in GetDeviceTypeStr()
89 case DeviceType::DEVICE_TWOINONE: in GetDeviceTypeStr()
H A Dres_config_impl.cpp160 void ResConfigImpl::SetDeviceType(DeviceType deviceType) in SetDeviceType()
282 DeviceType ResConfigImpl::GetDeviceType() const in GetDeviceType()
474 bool ResConfigImpl::IsDeviceTypeMatch(DeviceType deviceType) const in IsDeviceTypeMatch()
550 request->deviceType_ != DeviceType::DEVICE_NOT_SET) { in IsMoreSuitable()
551 return this->deviceType_ != DeviceType::DEVICE_NOT_SET; in IsMoreSuitable()
714 return (this->deviceType_ != DeviceType::DEVICE_NOT_SET); in IsMoreSpecificThan()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_config_impl.cpp78 void ResConfigImpl::SetDeviceType(DeviceType deviceType) in SetDeviceType()
113 DeviceType ResConfigImpl::GetDeviceType() const in GetDeviceType()
235 request->deviceType_ != DeviceType::DEVICE_NOT_SET) { in IsMoreSuitable()
236 return this->deviceType_ != DeviceType::DEVICE_NOT_SET; in IsMoreSuitable()
296 return (this->deviceType_ != DeviceType::DEVICE_NOT_SET); in IsMoreSpecificThan()
H A Dres_desc.cpp58 case DeviceType::DEVICE_PHONE: in GetDeviceTypeStr()
61 case DeviceType::DEVICE_TABLET: in GetDeviceTypeStr()
64 case DeviceType::DEVICE_CAR: in GetDeviceTypeStr()
67 case DeviceType::DEVICE_PAD: in GetDeviceTypeStr()
70 case DeviceType::DEVICE_TV: in GetDeviceTypeStr()
73 case DeviceType::DEVICE_WEARABLE: in GetDeviceTypeStr()
/base/update/updateservice/foundations/model/include/
H A Dupdate_device_type.h20 enum class DeviceType { class
/base/update/updater/services/include/fs_manager/
H A Dpartitions.h62 } DeviceType; typedef
73 DeviceType type; // SCSI, MMC, etc
/base/global/resource_management/interfaces/inner_api/include/
H A Dres_config.h38 virtual void SetDeviceType(DeviceType deviceType) = 0;
60 virtual DeviceType GetDeviceType() const = 0;
H A Dres_common.h122 enum DeviceType { enum
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetdevice_fuzzer/
H A Daudiogetdevice_fuzzer.cpp35 AudioSystemManagerAdapterImpl::GetInstance().GetDeviceName(DeviceType::DEVICE_TYPE_INVALID); in AudioGetDeviceFuzzTest()
/base/web/webview/ohos_adapter/audio_adapter/include/
H A Daudio_system_manager_adapter_impl.h88 std::string GetDeviceName(DeviceType deviceType);
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dhap_parser.cpp414 DeviceType deviceType = DEVICE_NOT_SET; in CreateResConfigFromKeyParams()
448 DeviceType HapParser::GetDeviceType(uint32_t value) in GetDeviceType()
450 DeviceType deviceType = DEVICE_NOT_SET; in GetDeviceType()

Completed in 12 milliseconds

12