/base/web/webview/ohos_adapter/audio_adapter/src/ |
H A D | audio_system_manager_adapter_impl.cpp | 73 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 D | res_config_impl.h | 60 void SetDeviceType(DeviceType deviceType); 82 DeviceType GetDeviceType() const; 120 DeviceType deviceType_;
|
H A D | res_config.h | 33 virtual void SetDeviceType(DeviceType deviceType) = 0; 45 virtual DeviceType GetDeviceType() const = 0;
|
H A D | hap_parser.h | 91 static DeviceType GetDeviceType(uint32_t value);
|
H A D | res_common.h | 86 enum DeviceType { enum
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | res_desc_test.cpp | 141 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 D | res_config_impl_test.cpp | 322 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 D | resource_manager_test_common.h | 73 void AddColorModeResource(DeviceType deviceType, ColorMode colorMode, float screenDensity);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | res_desc_test.cpp | 141 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 D | res_config_impl_test.cpp | 328 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 D | subscribe_info.h | 37 DeviceType deviceType = DeviceType::UNKNOWN;
|
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | res_config_impl.h | 68 void SetDeviceType(DeviceType deviceType); 140 DeviceType GetDeviceType() const; 229 bool IsDeviceTypeMatch(DeviceType deviceType) const; 256 DeviceType deviceType_;
|
H A D | hap_parser.h | 172 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 D | upgrade_info.h | 32 DeviceType deviceType = DeviceType::UNKNOWN;
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_desc.cpp | 71 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 D | res_config_impl.cpp | 160 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 D | res_config_impl.cpp | 78 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 D | res_desc.cpp | 58 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 D | update_device_type.h | 20 enum class DeviceType { class
|
/base/update/updater/services/include/fs_manager/ |
H A D | partitions.h | 62 } DeviceType; typedef 73 DeviceType type; // SCSI, MMC, etc
|
/base/global/resource_management/interfaces/inner_api/include/ |
H A D | res_config.h | 38 virtual void SetDeviceType(DeviceType deviceType) = 0; 60 virtual DeviceType GetDeviceType() const = 0;
|
H A D | res_common.h | 122 enum DeviceType { enum
|
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetdevice_fuzzer/ |
H A D | audiogetdevice_fuzzer.cpp | 35 AudioSystemManagerAdapterImpl::GetInstance().GetDeviceName(DeviceType::DEVICE_TYPE_INVALID); in AudioGetDeviceFuzzTest()
|
/base/web/webview/ohos_adapter/audio_adapter/include/ |
H A D | audio_system_manager_adapter_impl.h | 88 std::string GetDeviceName(DeviceType deviceType);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
H A D | hap_parser.cpp | 414 DeviceType deviceType = DEVICE_NOT_SET; in CreateResConfigFromKeyParams() 448 DeviceType HapParser::GetDeviceType(uint32_t value) in GetDeviceType() 450 DeviceType deviceType = DEVICE_NOT_SET; in GetDeviceType()
|