/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_test_utils/ |
H A D | audio_test_utils.h | 75 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 D | sensor_ppg_driver.c | 42 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 D | sensor_gravity_driver.c | 55 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 D | audio_render_mock.c | 45 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 D | audio_proxy_common.cpp | 269 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 D | audio_capture_interface_impl.cpp | 20 #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 D | audio_capture_ext_impl_test.cpp | 20 #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 D | audio_render_ext_impl_test.cpp | 20 #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 D | event_hub.h | 26 uint64_t time; member
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
H A D | audio_render.h | 101 * @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 D | audio_attribute.h | 134 * @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 D | audio_render.h | 99 * @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 D | audio_attribute.h | 133 * @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 D | audio_render.h | 99 * @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 D | audio_attribute.h | 133 * @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 D | hci_watcher.h | 24 #include <sys/time.h>
|
/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/test/unittest/include/ |
H A D | daudio_test_utils.h | 60 int32_t ReadMmapPosition(int32_t streamId, uint64_t &frames, CurrentTime &time) override
|
/drivers/peripheral/distributed_audio/interface/audio/v1_0/ |
H A D | i_audio_render.h | 38 virtual int32_t GetRenderPosition(uint64_t &frames, AudioTimeStampHAL &time) = 0;
|
/drivers/peripheral/distributed_audio/interface/audio_ext/v1_0/ |
H A D | i_daudio_hdf_callback.h | 33 uint64_t &frames, struct CurrentTime &time) = 0;
|
/drivers/peripheral/usb/sample/host/include/ |
H A D | usbhost_ddk_test.h | 21 #include <sys/time.h>
|
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | user_auth_funcs.c | 327 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 D | gnss_interface_impl.cpp | 431 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 D | get_mem_excel.py | 21 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 D | camera.h | 27 #include <sys/time.h> 29 #include <time.h>
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_capture_ext_impl.h | 47 int32_t GetCapturePosition(uint64_t &frames, AudioTimeStamp &time) override; 65 int32_t GetMmapPosition(uint64_t &frames, AudioTimeStamp &time) override;
|