| /base/hiviewdfx/hiview/base/utility/ |
| D | parameter_ex.cpp | 65 DeviceType GetDeviceType() in GetDeviceType() 69 return DeviceType::PHONE; in GetDeviceType() 71 return DeviceType::WATCH; in GetDeviceType() 73 return DeviceType::TV; in GetDeviceType() 75 return DeviceType::IVI; in GetDeviceType() 77 return DeviceType::UNKNOWN; in GetDeviceType()
|
| /base/hiviewdfx/hiview/base/utility/test/unittest/common/ |
| D | system_service_ohos_test.cpp | 54 ASSERT_TRUE(ret == Parameter::DeviceType::UNKNOWN || 55 ret == Parameter::DeviceType::PHONE || 56 ret == Parameter::DeviceType::WATCH || 57 ret == Parameter::DeviceType::TV || 58 ret == Parameter::DeviceType::IVI);
|
| /base/web/webview/ohos_adapter/audio_adapter/src/ |
| D | audio_system_manager_adapter_impl.cpp | 58 const std::unordered_map<DeviceType, std::string> DEVICE_TYPE_MAP = { 59 { DeviceType::DEVICE_TYPE_NONE, DEVICE_TYPE_NONE }, 60 { DeviceType::DEVICE_TYPE_INVALID, DEVICE_TYPE_INVALID }, 61 { DeviceType::DEVICE_TYPE_EARPIECE, DEVICE_TYPE_EARPIECE }, 62 { DeviceType::DEVICE_TYPE_SPEAKER, DEVICE_TYPE_SPEAKER }, 63 { DeviceType::DEVICE_TYPE_WIRED_HEADSET, DEVICE_TYPE_WIRED_HEADSET }, 64 { DeviceType::DEVICE_TYPE_WIRED_HEADPHONES, DEVICE_TYPE_WIRED_HEADPHONES }, 65 { DeviceType::DEVICE_TYPE_BLUETOOTH_SCO, DEVICE_TYPE_BLUETOOTH_SCO }, 66 { DeviceType::DEVICE_TYPE_BLUETOOTH_A2DP, DEVICE_TYPE_BLUETOOTH_A2DP }, 67 { DeviceType::DEVICE_TYPE_MIC, DEVICE_TYPE_MIC }, [all …]
|
| /base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
| D | res_desc_test.cpp | 141 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PHONE, PHONE_STR); 142 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TABLET, TABLET_STR); 143 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_CAR, CAR_STR); 144 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PAD, PAD_STR); 145 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TV, TV_STR); 146 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_WEARABLE, WEARABLE_STR); 147 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_NOT_SET, "not_device_type");
|
| D | res_config_impl_test.cpp | 328 current->SetDeviceType(DeviceType::DEVICE_CAR); 329 other->SetDeviceType(DeviceType::DEVICE_CAR); 344 current->SetDeviceType(DeviceType::DEVICE_CAR); 345 other->SetDeviceType(DeviceType::DEVICE_PAD); 360 other->SetDeviceType(DeviceType::DEVICE_PAD); 375 current->SetDeviceType(DeviceType::DEVICE_PAD); 453 current->SetDeviceType(DeviceType::DEVICE_PHONE); 455 other->SetDeviceType(DeviceType::DEVICE_PHONE); 471 current->SetDeviceType(DeviceType::DEVICE_PHONE); 472 other->SetDeviceType(DeviceType::DEVICE_PHONE); [all …]
|
| /base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
| D | res_desc_test.cpp | 141 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PHONE, PHONE_STR); 142 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TABLET, TABLET_STR); 143 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_CAR, CAR_STR); 144 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PAD, PAD_STR); 145 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TV, TV_STR); 146 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_WEARABLE, WEARABLE_STR); 147 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_NOT_SET, "not_device_type");
|
| D | res_config_impl_test.cpp | 357 current->SetDeviceType(DeviceType::DEVICE_CAR); 358 other->SetDeviceType(DeviceType::DEVICE_CAR); 373 current->SetDeviceType(DeviceType::DEVICE_CAR); 374 other->SetDeviceType(DeviceType::DEVICE_PAD); 389 other->SetDeviceType(DeviceType::DEVICE_PAD); 404 current->SetDeviceType(DeviceType::DEVICE_PAD); 482 current->SetDeviceType(DeviceType::DEVICE_PHONE); 484 other->SetDeviceType(DeviceType::DEVICE_PHONE); 500 current->SetDeviceType(DeviceType::DEVICE_PHONE); 501 other->SetDeviceType(DeviceType::DEVICE_PHONE); [all …]
|
| D | resource_manager_test_common.h | 67 void AddColorModeResource(DeviceType deviceType, ColorMode colorMode, float screenDensity);
|
| /base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
| D | res_config_impl.h | 60 void SetDeviceType(DeviceType deviceType); 82 DeviceType GetDeviceType() const; 120 DeviceType deviceType_;
|
| D | res_config.h | 33 virtual void SetDeviceType(DeviceType deviceType) = 0; 45 virtual DeviceType GetDeviceType() const = 0;
|
| D | hap_parser.h | 91 static DeviceType GetDeviceType(uint32_t value);
|
| D | res_common.h | 86 enum DeviceType { enum
|
| /base/global/resource_management/frameworks/resmgr/include/ |
| D | res_config_impl.h | 60 void SetDeviceType(DeviceType deviceType); 112 DeviceType GetDeviceType() const; 175 bool IsDeviceTypeMatch(DeviceType deviceType) const; 200 DeviceType deviceType_;
|
| D | hap_parser.h | 168 static DeviceType GetDeviceType(uint32_t value); 219 DeviceType deviceType = DEVICE_NOT_SET;
|
| /base/hiviewdfx/hiview/base/utility/include/ |
| D | parameter_ex.h | 24 enum DeviceType { enum 41 DeviceType GetDeviceType();
|
| /base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
| 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()
|
| 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()
|
| /base/global/resource_management/frameworks/resmgr/src/ |
| D | res_desc.cpp | 70 case DeviceType::DEVICE_PHONE: in GetDeviceTypeStr() 73 case DeviceType::DEVICE_TABLET: in GetDeviceTypeStr() 76 case DeviceType::DEVICE_CAR: in GetDeviceTypeStr() 79 case DeviceType::DEVICE_PAD: in GetDeviceTypeStr() 82 case DeviceType::DEVICE_TV: in GetDeviceTypeStr() 85 case DeviceType::DEVICE_WEARABLE: in GetDeviceTypeStr() 88 case DeviceType::DEVICE_TWOINONE: in GetDeviceTypeStr()
|
| D | res_config_impl.cpp | 148 void ResConfigImpl::SetDeviceType(DeviceType deviceType) in SetDeviceType() 249 DeviceType ResConfigImpl::GetDeviceType() const in GetDeviceType() 415 bool ResConfigImpl::IsDeviceTypeMatch(DeviceType deviceType) const in IsDeviceTypeMatch() 488 request->deviceType_ != DeviceType::DEVICE_NOT_SET) { in IsMoreSuitable() 489 return this->deviceType_ != DeviceType::DEVICE_NOT_SET; in IsMoreSuitable() 662 return (this->deviceType_ != DeviceType::DEVICE_NOT_SET); in IsMoreSpecificThan()
|
| /base/update/updater/services/include/fs_manager/ |
| D | partitions.h | 62 } DeviceType; typedef 73 DeviceType type; // SCSI, MMC, etc
|
| /base/global/resource_management/interfaces/inner_api/include/ |
| D | res_config.h | 38 virtual void SetDeviceType(DeviceType deviceType) = 0; 58 virtual DeviceType GetDeviceType() const = 0;
|
| D | res_common.h | 107 enum DeviceType { enum
|
| /base/update/updateservice/interfaces/inner_api/include/ |
| D | update_helper.h | 250 enum class DeviceType { enum 285 DeviceType deviceType; 324 DeviceType deviceType = DeviceType::UNKNOWN;
|
| /base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
| 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()
|
| /base/global/resource_management/frameworks/resmgr/src/utils/ |
| D | hap_parser.cpp | 681 DeviceType HapParser::GetDeviceType(uint32_t value) in GetDeviceType() 683 DeviceType deviceType = DEVICE_NOT_SET; in GetDeviceType()
|