Home
last modified time | relevance | path

Searched refs:vendor (Results 1 - 25 of 71) sorted by relevance

123

/foundation/filemanagement/storage_service/services/storage_manager/disk/test/
H A Ddisk_manager_service_test.cpp51 std::string vendor = "vendor-1"; in HWTEST_F() local
54 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
82 std::string vendor = "vendor-2"; in HWTEST_F() local
85 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
114 std::string vendor = "vendor-3"; in HWTEST_F() local
117 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
147 std::string vendor in HWTEST_F() local
177 std::string vendor = "vendor-5"; HWTEST_F() local
207 std::string vendor = "vendor-6"; HWTEST_F() local
238 std::string vendor = "vendor-7"; HWTEST_F() local
266 std::string vendor = "vendor-8"; HWTEST_F() local
297 std::string vendor = "vendor-9"; HWTEST_F() local
326 std::string vendor = "vendor-10"; HWTEST_F() local
[all...]
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/
H A Ddisk_test.cpp48 std::string vendor = ""; in HWTEST_F() local
50 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
58 EXPECT_EQ(result4, vendor); in HWTEST_F()
80 std::string vendor = ""; in HWTEST_F() local
82 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F()
88 EXPECT_EQ(parcel.ReadString(), vendor); in HWTEST_F()
108 std::string vendor = ""; in HWTEST_F() local
114 parcel.WriteString(vendor); in HWTEST_F()
122 EXPECT_EQ(result->GetVendor(), vendor); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundle_info_test/
H A Dbundle_info_test.cpp36 info.vendor = "ohos"; in BenchmarkTestForReadFromParcel()
54 info.applicationInfo.vendor = "ohos"; in BenchmarkTestForReadFromParcel()
75 info.vendor = "ohos"; in BenchmarkTestForMarshalling()
93 info.applicationInfo.vendor = "ohos"; in BenchmarkTestForMarshalling()
113 info.vendor = "ohos"; in BenchmarkTestForUnmarshalling()
131 info.applicationInfo.vendor = "ohos"; in BenchmarkTestForUnmarshalling()
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_info_utils.cpp57 SetBundleInfoVendor(des, src.vendor); in CopyBundleInfo()
98 des->vendor = src.vendor; in CopyBundleInfoNoReplication()
142 bool BundleInfoUtils::SetBundleInfoVendor(BundleInfo *bundleInfo, const char *vendor) in SetBundleInfoVendor() argument
144 if (bundleInfo == nullptr || vendor == nullptr) { in SetBundleInfoVendor()
148 AdapterFree(bundleInfo->vendor); in SetBundleInfoVendor()
149 bundleInfo->vendor = Utils::Strdup(vendor); in SetBundleInfoVendor()
150 return bundleInfo->vendor != nullptr; in SetBundleInfoVendor()
H A Dbundle_info.cpp33 AdapterFree(bundleInfo->vendor); in ClearBundleInfo()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/application_info_test/
H A Dapplication_info_test.cpp44 info.vendor = "ohos"; in BenchmarkTestForReadFromParcel()
73 info.vendor = "ohos"; in BenchmarkTestForReadMetaDataFromParcel()
102 info.vendor = "ohos"; in BenchmarkTestForMarshalling()
130 info.vendor = "ohos"; in BenchmarkTestForUnmarshalling()
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_device.cpp21 int32_t product, int32_t vendor, std::string phys, std::string uniq, const std::vector<AxisInfo>& axis) in InputDevice()
23 vendor_(vendor), phys_(phys), uniq_(uniq), axis_(axis) {} in InputDevice()
85 void InputDevice::SetVendor(int32_t vendor) in SetVendor() argument
87 vendor_ = vendor; in SetVendor()
20 InputDevice(int32_t id, std::string name, int32_t deviceType, int32_t bus, int32_t version, int32_t product, int32_t vendor, std::string phys, std::string uniq, const std::vector<AxisInfo>& axis) InputDevice() argument
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/
H A Ddisk.cpp22 Disk::Disk(std::string diskId, int64_t sizeBytes, std::string sysPath, std::string vendor, int32_t flag) in Disk() argument
23 : diskId_(diskId), sizeBytes_(sizeBytes), sysPath_(sysPath), vendor_(vendor), flag_(flag) {} in Disk()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/extension_ability_info_test/
H A Dextension_ability_info_test.cpp53 info.applicationInfo.vendor = "ohos"; in BenchmarkTestForReadFromParcel()
91 info.applicationInfo.vendor = "ohos"; in BenchmarkTestForMarshalling()
128 info.applicationInfo.vendor = "ohos"; in BenchmarkTestForUnmarshalling()
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dinput_device.h72 void SetVendor(int32_t vendor);
115 int32_t vendor, std::string phys, std::string uniq, const std::vector<AxisInfo>& axis);
/foundation/multimodalinput/input/service/device_config/src/
H A Ddevice_config_file_parser.cpp57 uint32_t vendor = libinput_device_get_id_vendor(device); in CombDeviceFileName() local
63 std::to_string(vendor) + "_" + std::to_string(product) + "_" + std::to_string(version) + "_" + name; in CombDeviceFileName()
122 std::string filePath = "/vendor/etc/pointer/" + CombDeviceFileName(device) + ".TOML"; in GetVendorConfig()
/foundation/filemanagement/storage_service/services/storage_daemon/mtp/src/
H A Dmtp_device_monitor.cpp84 devInfo.vendor = rawDevice->device_entry.vendor; in MonitorDevice()
91 LOGI("Detect new mtp device: id=%{public}s, vendor=%{public}s, product=%{public}s, devNum=%{public}d", in MonitorDevice()
92 (devInfo.id).c_str(), (devInfo.vendor).c_str(), (devInfo.product).c_str(), devInfo.devNum); in MonitorDevice()
H A Dmtp_device_manager.cpp87 client.NotifyMtpMounted(device.id, device.path, device.vendor, device.uuid); in MountDevice()
/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/
H A Dbundle_info.h104 /** Pointer to the vendor name of the application */
105 char *vendor; member
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/
H A Ddisk.h30 Disk(std::string diskId, int64_t sizeBytes, std::string sysPath, std::string vendor, int32_t flag);
/foundation/filemanagement/storage_service/services/storage_daemon/include/mtp/
H A Dmtp_device_manager.h35 std::string vendor; member
/foundation/multimodalinput/input/service/event_handler/src/
H A Dkey_map_manager.cpp79 return "/vendor/etc/keymap/" + fileName + ".pro"; in GetProFilePath()
85 uint32_t vendor = libinput_device_get_id_vendor(device); in GetKeyEventFileName() local
90 std::string fileName = std::to_string(vendor) + "_" + std::to_string(product) + "_" + in GetKeyEventFileName()
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/
H A Dbundle_info_utils.h29 static bool SetBundleInfoVendor(BundleInfo *bundleInfo, const char *vendor);
/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice.h75 void SetVendor(int32_t vendor) override;
191 inline void Device::SetVendor(int32_t vendor) in SetVendor() argument
193 vendor_ = vendor; in SetVendor()
/foundation/distributedhardware/distributed_input/inputdevicehandler/src/
H A Ddistributed_input_handler.cpp59 pBuf.bus, pBuf.vendor, pBuf.product, pBuf.version, GetAnonyString(pBuf.descriptor).c_str()); in StructTransJson()
65 tmpJson[VENDOR] = pBuf.vendor; in StructTransJson()
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/
H A Dvirtual_device.cpp37 vendorId_(event.vendor), productId_(event.product), version_(event.version), classes_(event.classes) in VirtualDevice()
142 dev_.id.vendor = vendorId_; in SetUp()
H A Ddistributed_input_inject.cpp89 pBuf.bus, pBuf.vendor, pBuf.product, pBuf.version, GetAnonyString(pBuf.descriptor).c_str()); in StructTransJson()
95 tmpJson[VENDOR] = pBuf.vendor; in StructTransJson()
/foundation/bundlemanager/bundle_framework/services/test/moduletest/common/bms/bundle_parser_test/
H A Dbms_bundle_parser_module_test.cpp48 EXPECT_EQ(bundleInfo.vendor, "example"); in CheckBundleParserResult()
/foundation/multimodalinput/input/intention/prototype/include/
H A Di_device.h63 virtual void SetVendor(int32_t vendor) = 0;
/foundation/multimodalinput/input/frameworks/native/input/test/
H A Doh_input_manager_test.cpp1225 int32_t vendor = -1; in HWTEST_F() local
1226 retResult = OH_Input_GetDeviceVendor(deviceInfo, &vendor); in HWTEST_F()
1249 int32_t vendor = -1; in HWTEST_F() local
1250 retResult = OH_Input_GetDeviceVendor(deviceInfo, &vendor); in HWTEST_F()
1272 int32_t *vendor = nullptr; in HWTEST_F() local
1273 retResult = OH_Input_GetDeviceVendor(deviceInfo, vendor); in HWTEST_F()
1287 int32_t vendor = -1; in HWTEST_F() local
1288 Input_Result retResult = OH_Input_GetDeviceVendor(deviceInfo, &vendor); in HWTEST_F()
1290 EXPECT_LT(vendor, 0); in HWTEST_F()

Completed in 10 milliseconds

123