/system/media/audio_utils/tests/ |
D | timestampverifier_tests.cpp | 29 android::TimestampVerifier<int64_t, int64_t> tv; in makeVerifier() local 34 tv.add(f, t, sampleRate); in makeVerifier() 39 tv.discontinuity(tv.DISCONTINUITY_MODE_CONTINUOUS); in makeVerifier() 42 tv.error(); in makeVerifier() 44 return tv; in makeVerifier() 49 constexpr android::TimestampVerifier<int64_t, int64_t> tv; in TEST() local 53 static_assert(std::is_trivially_copyable<decltype(tv)>::value, in TEST() 55 static_assert(std::is_trivially_destructible<decltype(tv)>::value, in TEST() 58 constexpr android::audio_utils::Statistics<double> s = tv.getJitterMs(); in TEST() 105 android::TimestampVerifier<int64_t, int64_t> tv; in TEST() local [all …]
|
D | getch.c | 37 struct timeval tv = { 0L, 0L }; in kbhit() local 41 return select(1, &fds, NULL, NULL, &tv); in kbhit()
|
/system/extras/simpleperf/ |
D | IOEventLoop_test.cpp | 127 timeval tv; in TestPeriodicEvents() local 128 tv.tv_sec = period_in_us / 1000000; in TestPeriodicEvents() 129 tv.tv_usec = period_in_us % 1000000; in TestPeriodicEvents() 135 ASSERT_TRUE(loop.AddPeriodicEvent(tv, [&]() { in TestPeriodicEvents() 197 timeval tv; in TEST() local 198 tv.tv_sec = 0; in TEST() 199 tv.tv_usec = 500000; in TEST() 201 ASSERT_TRUE(loop.AddPeriodicEvent(tv, [&]() { in TEST() 224 timeval tv; in TEST() local 225 tv.tv_sec = 0; in TEST() [all …]
|
D | utils.cpp | 365 timeval tv; in SecondToTimeval() local 366 tv.tv_sec = static_cast<time_t>(time_in_sec); in SecondToTimeval() 367 tv.tv_usec = static_cast<int>((time_in_sec - tv.tv_sec) * 1000000); in SecondToTimeval() 368 return tv; in SecondToTimeval()
|
/system/bt/common/ |
D | time_util.cc | 39 struct timeval tv = {}; in time_gettimeofday_us() local 40 gettimeofday(&tv, nullptr); in time_gettimeofday_us() 41 return static_cast<uint64_t>(tv.tv_sec) * 1000000ULL + in time_gettimeofday_us() 42 static_cast<uint64_t>(tv.tv_usec); in time_gettimeofday_us()
|
/system/core/fastboot/ |
D | util.cpp | 41 struct timeval tv; in now() local 42 gettimeofday(&tv, NULL); in now() 43 return (double)tv.tv_sec + (double)tv.tv_usec / 1000000; in now()
|
/system/extras/ioshark/ |
D | ioshark_bench.h | 107 get_msecs(struct timeval *tv) in get_msecs() argument 109 return ((tv->tv_sec * 1000) + (tv->tv_usec / 1000)); in get_msecs() 113 get_usecs(struct timeval *tv) in get_usecs() argument 115 return (tv->tv_usec % 1000); in get_usecs()
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/java/com/example/simpleperf/simpleperfexamplewithnative/ |
D | MainActivity.java | 20 TextView tv = (TextView) findViewById(R.id.sample_text); in onCreate() local 21 tv.setText(stringFromJNI()); in onCreate()
|
/system/core/libstats/push_compat/ |
D | stats_event_list.c | 163 struct timeval tv; in __write_to_stats_daemon() local 164 gettimeofday(&tv, NULL); in __write_to_stats_daemon() 165 ts.tv_sec = tv.tv_sec; in __write_to_stats_daemon() 166 ts.tv_nsec = tv.tv_usec * 1000; in __write_to_stats_daemon()
|
/system/update_engine/aosp/ |
D | logging_android.cc | 167 timeval tv; in GetPrefix() local 168 gettimeofday(&tv, nullptr); in GetPrefix() 169 time_t t = tv.tv_sec; in GetPrefix() 176 << tm_time->tm_sec << '.' << std::setw(6) << tv.tv_usec << "] "; in GetPrefix()
|
/system/nfc/src/adaptation/ |
D | debug_nfcsnoop.cc | 130 struct timeval tv; in nfcsnoop_capture() local 131 gettimeofday(&tv, nullptr); in nfcsnoop_capture() 132 uint64_t timestamp = static_cast<uint64_t>(tv.tv_sec) * USEC_PER_SEC + in nfcsnoop_capture() 133 static_cast<uint64_t>(tv.tv_usec); in nfcsnoop_capture()
|
/system/core/debuggerd/ |
D | crash_dump.cpp | 155 struct timeval tv = { in activity_manager_notify() local 159 if (setsockopt(amfd.get(), SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)) == -1) { in activity_manager_notify() 163 tv.tv_sec = 3 * android::base::HwTimeoutMultiplier(); // 3 seconds on handshake read in activity_manager_notify() 164 if (setsockopt(amfd.get(), SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) { in activity_manager_notify()
|
/system/bt/osi/test/ |
D | fixed_queue_test.cc | 26 struct timeval tv; in is_fd_readable() local 29 tv.tv_sec = 0; in is_fd_readable() 30 tv.tv_usec = 0; in is_fd_readable() 33 int result = select(FD_SETSIZE, &rfds, NULL, NULL, &tv); in is_fd_readable()
|
/system/tools/aidl/ |
D | hiddenapi-greylist | 230 "android.media.tv.ITvInputClient", 231 "android.media.tv.ITvInputHardware", 232 "android.media.tv.ITvInputHardwareCallback", 233 "android.media.tv.ITvInputManager", 234 "android.media.tv.ITvInputManagerCallback", 235 "android.media.tv.ITvInputService", 236 "android.media.tv.ITvInputServiceCallback", 237 "android.media.tv.ITvInputSession", 238 "android.media.tv.ITvInputSessionCallback", 239 "android.media.tv.ITvRemoteProvider", [all …]
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 66 static void populate_timeval(struct timeval* tv, const Duration& duration) { in populate_timeval() argument 69 tv->tv_sec = static_cast<long>(seconds.count()); in populate_timeval() 70 tv->tv_usec = static_cast<long>(microseconds.count()); in populate_timeval()
|
/system/linkerconfig/testdata/root/system/apex/com.android.vndk.vR/etc/ |
D | vndkcore.libraries.R.txt | 135 android.hardware.tv.cec@1.0.so 136 android.hardware.tv.cec@2.0.so 137 android.hardware.tv.input@1.0.so 138 android.hardware.tv.tuner@1.0.so
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | hwservice_contexts | 67 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 68 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0 69 android.hardware.tv.tuner::ITuner u:object_r:hal_tv_tuner_hwservice:s0
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | hwservice_contexts | 66 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 67 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0 68 android.hardware.tv.tuner::ITuner u:object_r:hal_tv_tuner_hwservice:s0
|
/system/sepolicy/private/ |
D | hwservice_contexts | 66 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 67 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0 68 android.hardware.tv.tuner::ITuner u:object_r:hal_tv_tuner_hwservice:s0
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | hwservice_contexts | 38 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 39 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | hwservice_contexts | 41 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 42 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 271 struct timeval tv; in skt_connect() local 272 tv.tv_sec = SOCK_SEND_TIMEOUT_MS / 1000; in skt_connect() 273 tv.tv_usec = (SOCK_SEND_TIMEOUT_MS % 1000) * 1000; in skt_connect() 275 ret = setsockopt(skt_fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); in skt_connect() 278 tv.tv_sec = SOCK_RECV_TIMEOUT_MS / 1000; in skt_connect() 279 tv.tv_usec = (SOCK_RECV_TIMEOUT_MS % 1000) * 1000; in skt_connect() 281 ret = setsockopt(skt_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in skt_connect()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 463 struct timeval tv; in _wait_for_msg() local 472 tv.tv_sec = timeout; in _wait_for_msg() 473 tv.tv_usec = 0; in _wait_for_msg() 476 rc = select(fd+1, &rfds, NULL, NULL, &tv); in _wait_for_msg()
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | hwservice_contexts | 53 android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 54 android.hardware.tv.input::ITvInput u:object_r:hal_tv_input_hwservice:s0
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 265 struct timeval tv; in skt_connect() local 266 tv.tv_sec = SOCK_SEND_TIMEOUT_MS / 1000; in skt_connect() 267 tv.tv_usec = (SOCK_SEND_TIMEOUT_MS % 1000) * 1000; in skt_connect() 269 ret = setsockopt(skt_fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); in skt_connect() 272 tv.tv_sec = SOCK_RECV_TIMEOUT_MS / 1000; in skt_connect() 273 tv.tv_usec = (SOCK_RECV_TIMEOUT_MS % 1000) * 1000; in skt_connect() 275 ret = setsockopt(skt_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in skt_connect()
|