Home
last modified time | relevance | path

Searched refs:end_time (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Devent_stream.py189 end_time = datetime.now() + timeout
190 while len(event_list) <= at_most_times and datetime.now() < end_time:
191 remaining = static_remaining_time_delta(end_time)
206 def static_remaining_time_delta(end_time): argument
207 remaining = end_time - datetime.now()
225 end_time = datetime.now() + timeout
226 while len(event_list) < at_least_times and datetime.now() < end_time:
227 remaining = static_remaining_time_delta(end_time)
251 end_time = datetime.now() + timeout
252 while len(pending_matches) > 0 and datetime.now() < end_time:
[all …]
Dbehavior.py92 end_time = datetime.now() + timeout
94 while datetime.now() < end_time and invoked_times < times:
95 remaining = static_remaining_time_delta(end_time)
/packages/modules/Bluetooth/system/common/test/
Dthread_performance_test.cc133 std::chrono::steady_clock::time_point end_time = in TEST_F() local
136 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
178 std::chrono::steady_clock::time_point end_time = in TEST_F() local
181 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
224 std::chrono::steady_clock::time_point end_time = in TEST_F() local
227 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
265 std::chrono::steady_clock::time_point end_time = in TEST_F() local
268 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
315 std::chrono::steady_clock::time_point end_time = in TEST_F() local
318 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
[all …]
/packages/modules/Bluetooth/system/blueberry/utils/
Dandroid_bluetooth_decorator.py271 end_time = time.time() + bt_constants.BT_DEFAULT_TIMEOUT_SECONDS
274 while time.time() < end_time:
353 end_time = start_time + timeout
354 while time.time() < end_time:
480 end_time = time.time() + timeout
481 while time.time() < end_time:
932 end_time = start_time + timeout
933 while time.time() < end_time:
1126 end_time = time.time() + timeout_sec
1127 while time.time() < end_time:
[all …]
Dbt_audio_utils.py197 end_time = (current_position + window_size) / sample_rate
202 _END_TIME_KEY: end_time
Dbt_test_utils.py149 end_time = start_time + timeout_sec
150 while time.time() < end_time:
/packages/services/DeviceAsWebcam/tests/
Dwindows_webcam_test.py118 end_time = time.time()
120 fps = num_frames / (end_time - start_time)
Dmac_webcam_test.py160 end_time = time.time()
161 fps = _TOTAL_NUM_FRAMES / (end_time - start_time)
Dlinux_webcam_test.py302 end_time = time.time()
303 elapsed_time = end_time - start_time
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dinformational.rs135 return !self.acls.is_empty() && self.acls.last().unwrap().end_time == INVALID_TS; in is_connection_active()
196 end_time: NaiveDateTime, field
209 end_time: INVALID_TS, in new()
230 self.end_time = ts; in report_end()
373 timestamp_info = print_start_end_timestamps(self.start_time, self.end_time) in fmt()
443 end_time: NaiveDateTime, field
452 end_time: INVALID_TS, in new()
464 self.end_time = ts; in report_end()
475 timestamp_info = print_start_end_timestamps(self.start_time, self.end_time) in fmt()
/packages/modules/Bluetooth/system/blueberry/tests/pbap/
Dbluetooth_pbap_test.py189 end_time = start_time + timeout_sec
191 while time.time() < end_time:
225 end_time = start_time + timeout_sec
227 while time.time() < end_time:
/packages/modules/Bluetooth/system/blueberry/tests/connectivity/
Dbluetooth_latency_test.py45 end_time = time.time()
47 return (end_time - start_time) * 1000
/packages/modules/Bluetooth/system/gd/os/
Dalarm_benchmark.cc60 auto end_time = std::chrono::steady_clock::now(); in AlarmSleepAndCountDelayedTime() local
61 …auto duration_since_start = std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start… in AlarmSleepAndCountDelayedTime()
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/ADV/
DBV_11_C.py69 end_time = asyncio.get_running_loop().time() + 5
70 while asyncio.get_running_loop().time() < end_time:
DBV_47_C.py232 end_time = asyncio.get_running_loop().time() + duration / 100
233 while asyncio.get_running_loop().time() < end_time:
/packages/modules/Bluetooth/system/common/
Drepeating_timer_unittest.cc64 auto end_time = std::chrono::steady_clock::now(); in VerifyDelayTimeAndSleep() local
66 end_time - start_time); in VerifyDelayTimeAndSleep()
/packages/apps/Settings/src/com/android/settings/fuelgauge/protos/
Dapp_usage_event.proto41 optional int64 end_time = 2; field
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_core.py340 end_time = time.monotonic() + wait_sec
341 while time.monotonic() < end_time:
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetSchedulePreferenceController.java74 TextView end = layoutPref.findViewById(R.id.end_time); in updateState()
/packages/modules/adb/
Dtest_device.py454 end_time = time.time() + 3
456 self.assertFalse(time.time() > end_time,