Home
last modified time | relevance | path

Searched refs:speed (Results 1 - 25 of 29) sorted by relevance

12

/base/usb/usb_manager/test/fuzztest/usbmgrgetdevicespeed_fuzzer/
H A Dusbmgrgetdevicespeed_fuzzer.cpp42 uint8_t speed; in UsbMgrGetDeviceSpeedFuzzTest() local
43 ret = usbSrvClient.GetDeviceSpeed(reinterpret_cast<USBDevicePipe &>(data), speed); in UsbMgrGetDeviceSpeedFuzzTest()
/base/usb/usb_manager/test/tool/
H A Dusb_function_test.cpp189 uint8_t speed = -1; in DeviceSpeed() local
190 g_usbClient.GetDeviceSpeed(pipe, speed); in DeviceSpeed()
191 sp = speed; in DeviceSpeed()
223 uint8_t speed = -1; in ResetProxy() local
224 g_usbClient.GetDeviceSpeed(pipe, speed); in ResetProxy()
225 sp = speed; in ResetProxy()
235 printf("%s:%d device speed=%d\n", __func__, __LINE__, sp); in DeviceStatus()
/base/location/frameworks/native/location_ndk/include/
H A Dlocator_c_impl.h37 double speed = 0.0; member
/base/location/interfaces/c_api/include/
H A Doh_location_type.h200 double speed; member
/base/request/request/services/src/task/
H A Doperator.rs82 // wake up for notify, sleep until speed limit conditions are met
86 // get the init time and size, for speed caculate
92 // sleep until notification is required or speed limit conditions are met
105 // last caculate window has meet speed limit, update last_time and last_size,
106 // for next poll's speed compare
/base/location/interfaces/inner_api/include/
H A Dlocation.h76 inline void SetSpeed(double speed) in SetSpeed() argument
78 speed_ = speed; in SetSpeed()
/base/location/test/location_gnss/source/
H A Dgnss_event_callback_test.cpp84 locationInfo.speed = 1.0; in HWTEST_F()
198 locationInfo.speed = 1.0; in HWTEST_F()
242 locationInfo.speed = 1.0; in HWTEST_F()
/base/location/frameworks/native/location_ndk/source/
H A Dlocation_info_callback_host.cpp61 location_info.speed = location->GetSpeed(); in OnLocationReport()
H A Dlocator_c_impl.cpp115 location_Basic.speed = location->speed; in OH_LocationInfo_GetBasicInfo()
/base/powermgr/battery_statistics/services/native/src/
H A Dcpu_time_reader.cpp102 int64_t CpuTimeReader::GetUidCpuFreqTimeMs(int32_t uid, uint32_t cluster, uint32_t speed) in GetUidCpuFreqTimeMs() argument
111 if (speed < cpuFreqTimeVector.size()) { in GetUidCpuFreqTimeMs()
112 cpuFreqTime = cpuFreqTimeVector[speed]; in GetUidCpuFreqTimeMs()
113 STATS_HILOGD(COMP_SVC, "Get cpu freq time: %{public}s of speed: %{public}d", in GetUidCpuFreqTimeMs()
114 std::to_string(cpuFreqTime).c_str(), speed); in GetUidCpuFreqTimeMs()
116 STATS_HILOGD(COMP_SVC, "No cpu freq time of speed: %{public}d found, return 0", speed); in GetUidCpuFreqTimeMs()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_device_status_test.cpp101 uint8_t speed = 0; in HWTEST_F() local
102 ret = UsbSrvClient.GetDeviceSpeed(pipe, speed); in HWTEST_F()
105 USB_HILOGI(MODULE_USB_SERVICE, "GetDeviceSpeed001 %{public}d speed=%{public}u", in HWTEST_F()
106 __LINE__, speed); in HWTEST_F()
139 uint8_t speed = 0; in HWTEST_F() local
140 ret = UsbSrvClient.GetDeviceSpeed(pipeTmp, speed); in HWTEST_F()
143 USB_HILOGI(MODULE_USB_SERVICE, "GetDeviceSpeed002 %{public}d speed=%{public}u", in HWTEST_F()
144 __LINE__, speed); in HWTEST_F()
178 uint8_t speed = 0; in HWTEST_F() local
179 ret = UsbSrvClient.GetDeviceSpeed(pipeTmp, speed); in HWTEST_F()
218 uint8_t speed = 0; HWTEST_F() local
[all...]
/base/web/webview/ohos_adapter/media_adapter/include/
H A Dmedia_avsession_adapter_impl.h39 void OnSetSpeed(double speed) override;
/base/location/services/location_gnss/gnss/source/
H A Dgnss_event_callback.cpp64 locationNew->SetSpeed(location.speed); in ReportLocation()
85 "speed", std::to_string(location.speed), in ReportLocation()
/base/location/frameworks/cj/include/
H A Dgeolocationmanager_utils.h41 double speed; member
/base/powermgr/battery_statistics/services/native/include/
H A Dcpu_time_reader.h31 int64_t GetUidCpuFreqTimeMs(int32_t uid, uint32_t cluster, uint32_t speed);
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h80 int32_t GetDeviceSpeed(USBDevicePipe &pipe, uint8_t &speed);
H A Diusb_srv.h83 virtual int32_t GetDeviceSpeed(uint8_t busNum, uint8_t devAddr, uint8_t &speed) = 0;
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp554 int32_t UsbSrvClient::GetDeviceSpeed(USBDevicePipe &pipe, uint8_t &speed) in GetDeviceSpeed() argument
557 int32_t ret = proxy_->GetDeviceSpeed(pipe.GetBusNum(), pipe.GetDevAddr(), speed); in GetDeviceSpeed()
561 USB_HILOGE(MODULE_USB_INNERKIT, "GetDeviceSpeed speed = %{public}u!", speed); in GetDeviceSpeed()
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h91 int32_t GetDeviceSpeed(uint8_t busNum, uint8_t devAddr, uint8_t &speed) override;
/base/web/webview/test/unittest/nweb_helper_test/
H A Dnweb_helper_test.cpp396 int speed = WebDownloadItem_CurrentSpeed(download); in HWTEST_F() local
397 EXPECT_EQ(speed, 0); in HWTEST_F()
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_stub.cpp1196 uint8_t speed; in DoGetDeviceSpeed() local
1197 int32_t ret = GetDeviceSpeed(busNum, devAddr, speed); in DoGetDeviceSpeed()
1199 WRITE_PARCEL_WITH_RET(reply, Uint8, speed, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetDeviceSpeed()
1203 USB_HILOGE(MODULE_USBD, "DoGetDeviceSpeed speed:%{public}u", speed); in DoGetDeviceSpeed()
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_utils.cpp70 .altitude = loc.GetAltitude(), .accuracy = loc.GetAccuracy(), .speed = loc.GetSpeed(), in NativeLocationToCJLocation()
/base/usb/usb_manager/services/native/include/
H A Dusb_service.h133 int32_t GetDeviceSpeed(uint8_t busNum, uint8_t devAddr, uint8_t &speed) override;
/base/web/webview/ohos_adapter/media_adapter/src/
H A Dmedia_avsession_adapter_impl.cpp76 void MediaAVSessionCallbackImpl::OnSetSpeed(double speed) { in OnSetSpeed() argument
/base/location/frameworks/js/napi/source/
H A Dnapi_util.cpp110 SetValueDouble(env, "speed", locationInfo->GetSpeed(), result); in LocationToJs()
622 double speed = 0.0; in GetLocationArray() local
623 JsObjectToDouble(env, elementValue, "speed", speed); in GetLocationArray()
624 locationAdapter->SetSpeed(speed); in GetLocationArray()

Completed in 19 milliseconds

12