Home
last modified time | relevance | path

Searched refs:time (Results 101 - 125 of 250) sorted by relevance

12345678910

/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_test_utils/
H A Daudio_test_utils.h75 int32_t ReadMmapPosition(int32_t streamId, uint64_t &frames, CurrentTime &time) override
101 int32_t GetRenderPosition(uint64_t &frames, AudioTimeStamp &time) override
226 int32_t GetMmapPosition(uint64_t &frames, AudioTimeStamp &time) override
297 int32_t GetCapturePosition(uint64_t &frames, AudioTimeStamp &time) override
387 int32_t GetMmapPosition(uint64_t &frames, AudioTimeStamp &time) override
517 int32_t ReadMmapPosition(int32_t streamId, uint64_t &frames, CurrentTime &time) override
/drivers/hdf_core/framework/model/sensor/driver/ppg/
H A Dsensor_ppg_driver.c42 OsalTimespec time = {0}; in ReportPpgData() local
51 if (OsalGetTime(&time) != HDF_SUCCESS) { in ReportPpgData()
52 HDF_LOGE("%s: Get time failed", __func__); in ReportPpgData()
55 event.timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReportPpgData()
/drivers/hdf_core/framework/model/sensor/driver/accel/
H A Dsensor_gravity_driver.c55 OsalTimespec time; in GravityDataWorkEntry() local
64 if (OsalGetTime(&time) != HDF_SUCCESS) { in GravityDataWorkEntry()
65 HDF_LOGE("%s: Get time failed", __func__); in GravityDataWorkEntry()
68 event.timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in GravityDataWorkEntry()
92 HDF_LOGE("%s: Gravity modify time failed", __func__); in GravityTimerEntry()
/drivers/peripheral/audio/test/hal_mock/
H A Daudio_render_mock.c45 static int32_t GetPosition(struct IAudioRenderVdi* render, uint64_t *frames, struct AudioTimeStamp *time) in GetPosition() argument
47 if (render == NULL || frame == NULL || time == NULL) { in GetPosition()
52 (void *)time; in GetPosition()
325 static int32_t GetMmapPosition(struct IAudioRenderVdi* render, uint64_t *frames, struct AudioTimeStamp *time) in GetMmapPosition() argument
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/
H A Daudio_proxy_common.cpp269 int32_t AudioProxyGetMmapPositionRead(struct HdfSBuf *reply, uint64_t *frames, struct AudioTimeStamp *time) in AudioProxyGetMmapPositionRead() argument
271 if (reply == NULL || frames == NULL || time == NULL) { in AudioProxyGetMmapPositionRead()
277 if (!HdfSbufReadInt64(reply, &time->tvSec)) { in AudioProxyGetMmapPositionRead()
280 if (!HdfSbufReadInt64(reply, &time->tvNSec)) { in AudioProxyGetMmapPositionRead()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_capture_interface_impl.cpp20 #include "sys/time.h"
61 int32_t AudioCaptureInterfaceImpl::GetCapturePosition(uint64_t &frames, AudioTimeStamp &time) in GetCapturePosition() argument
65 (void)time; in GetCapturePosition()
105 DHLOGD("This time capture frame spend: %" PRId64" us, The interval of this time and the last time: %" PRId64 in CaptureFrame()
340 int32_t AudioCaptureInterfaceImpl::GetMmapPosition(uint64_t &frames, AudioTimeStamp &time) in GetMmapPosition() argument
344 (void)time; in GetMmapPosition()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_capture_extension/src/
H A Daudio_capture_ext_impl_test.cpp20 #include <sys/time.h>
103 AudioTimeStamp time; in HWTEST_F() local
106 EXPECT_EQ(HDF_SUCCESS, audioCapturelatencyImpl_->GetCapturePosition(frames, time)); in HWTEST_F()
112 EXPECT_EQ(HDF_FAILURE, audioCapturelatencyImpl_->GetMmapPosition(frames, time)); in HWTEST_F()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_render_extension/src/
H A Daudio_render_ext_impl_test.cpp20 #include <sys/time.h>
66 AudioTimeStamp time; in HWTEST_F() local
70 EXPECT_EQ(HDF_SUCCESS, audioRenderlatencyImpl_->GetRenderPosition(replyBytes, time)); in HWTEST_F()
78 EXPECT_EQ(HDF_SUCCESS, audioRenderlatencyImpl_->GetMmapPosition(replyBytes, time)); in HWTEST_F()
/drivers/hdf_core/framework/model/input/driver/
H A Devent_hub.h26 uint64_t time; member
/drivers/peripheral/audio/interfaces/2.0/include/
H A Daudio_render.h101 * @param time Indicates the pointer to the timestamp associated with the frame.
105 int32_t (*GetRenderPosition)(struct AudioRender *render, uint64_t *frames, struct AudioTimeStamp *time);
H A Daudio_attribute.h134 * @param time Indicates the pointer to the timestamp associated with the frame where the read/write starts.
137 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
/drivers/peripheral/bluetooth/audio/interfaces/include/
H A Daudio_render.h99 * @param time Indicates the pointer to the timestamp associated with the frame.
103 int32_t (*GetRenderPosition)(struct AudioRender *render, uint64_t *frames, struct AudioTimeStamp *time);
H A Daudio_attribute.h133 * @param time Indicates the pointer to the timestamp associated with the frame where the read/write starts.
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
/drivers/peripheral/audio/interfaces/include/
H A Daudio_render.h99 * @param time Indicates the pointer to the timestamp associated with the frame.
103 int32_t (*GetRenderPosition)(struct AudioRender *render, uint64_t *frames, struct AudioTimeStamp *time);
H A Daudio_attribute.h133 * @param time Indicates the pointer to the timestamp associated with the frame where the read/write starts.
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dhci_watcher.h24 #include <sys/time.h>
/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/test/unittest/include/
H A Ddaudio_test_utils.h60 int32_t ReadMmapPosition(int32_t streamId, uint64_t &frames, CurrentTime &time) override
/drivers/peripheral/distributed_audio/interface/audio/v1_0/
H A Di_audio_render.h38 virtual int32_t GetRenderPosition(uint64_t &frames, AudioTimeStampHAL &time) = 0;
/drivers/peripheral/distributed_audio/interface/audio_ext/v1_0/
H A Di_daudio_hdf_callback.h33 uint64_t &frames, struct CurrentTime &time) = 0;
/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_ddk_test.h21 #include <sys/time.h>
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Duser_auth_funcs.c327 uint64_t time = GetSystemTime(); in CheckReuseUnlockTokenValid() local
328 if (time < g_unlockAuthResult.authToken.tokenDataPlain.time) { in CheckReuseUnlockTokenValid()
329 LOG_ERROR("bad system time"); in CheckReuseUnlockTokenValid()
332 if ((time - g_unlockAuthResult.authToken.tokenDataPlain.time) > REUSED_UNLOCK_TOKEN_PERIOD) { in CheckReuseUnlockTokenValid()
335 LOG_ERROR("cached unlock token is time out"); in CheckReuseUnlockTokenValid()
338 if ((time - g_unlockAuthResult.authToken.tokenDataPlain.time) > info->reuseUnlockResultDuration) { in CheckReuseUnlockTokenValid()
/drivers/peripheral/location/gnss/hdi_service/
H A Dgnss_interface_impl.cpp431 referenceInfo.u.time.size = sizeof(GnssRefTime); in SetGnssReferenceInfo()
432 referenceInfo.u.time.time = refInfo.time.time; in SetGnssReferenceInfo()
433 referenceInfo.u.time.elapsedRealtime = refInfo.time.elapsedRealtime; in SetGnssReferenceInfo()
434 referenceInfo.u.time.uncertaintyOfTime = refInfo.time.uncertaintyOfTime; in SetGnssReferenceInfo()
/drivers/peripheral/audio/test/sample/tools/get_mem_excel/
H A Dget_mem_excel.py21 import time namespace
60 # Gets the current time, which is used as the file name part of the scraped data
170 # Perform a one-time crawl of memory data for all processes configured
182 time.sleep(daily)
/drivers/peripheral/camera/vdi_base/common/include/
H A Dcamera.h27 #include <sys/time.h>
29 #include <time.h>
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/
H A Daudio_capture_ext_impl.h47 int32_t GetCapturePosition(uint64_t &frames, AudioTimeStamp &time) override;
65 int32_t GetMmapPosition(uint64_t &frames, AudioTimeStamp &time) override;

Completed in 13 milliseconds

12345678910