Home
last modified time | relevance | path

Searched refs:times (Results 1 – 25 of 50) sorted by relevance

12

/system/bt/gd/os/
Dmock_queue.h52 void run_enqueue(unsigned times = 1) {
53 while (registered_handler != nullptr && times > 0) {
54 times--;
87 void run_dequeue(unsigned times = 1) {
88 while (registered_handler != nullptr && times > 0) {
89 times--;
/system/bt/gd/cert/
Dbehavior.py91 def wait_until_invoked(self, matcher, times, timeout): argument
94 while datetime.now() < end_time and invoked_times < times:
100 return invoked_times == times
110 def then(self, times=1): argument
112 reply_stage.init(self._behavior, self._matcher, times)
116 return self.then(times=-1)
156 def times(self, times=1): member in BoundVerificationStage
157 return self._behavior.wait_until_invoked(self._matcher, times, self._timeout)
Dcert_self_test_lib.py405 when(thing).test_request(anything()).then(times=3).increment_count()
460 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count()
508 wait_until(thing).test_request(is_a).times(1)
521 wait_until(thing).test_request(lambda obj: obj == "A").times(1)
534 wait_until(thing).test_request(anything()).times(1)
547 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(1)).isFalse()
558 wait_until(thing).test_request(anything()).times(1)
573 wait_until(thing).test_request(lambda obj: obj == "A").times(2)
589 wait_until(thing).test_request(anything()).times(2)
604 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(2)).isFalse()
/system/extras/simpleperf/demo/JavaApi/app/src/main/java/simpleperf/demo/java_api/
DMainActivity.java84 long times = 0; in createBusyThread()
93 times++; in createBusyThread()
94 final long count = times; in createBusyThread()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp110 std::vector<size_t> times(numTimes); in waitTimes() local
112 times[i] = (size_t)(rand() % (maxWait + 1)); in waitTimes()
114 return times; in waitTimes()
/system/core/bootstat/
Dboot_event_record_store.cpp88 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value}; in AddBootEventWithValue() local
89 if (utime(record_path.c_str(), &times) == -1) { in AddBootEventWithValue()
Dboot_event_record_store_test.cpp54 const struct timeval times[] = {atime, mtime}; in CreateEmptyBootEventRecord() local
55 if (utimes(record_path.c_str(), times) != 0) { in CreateEmptyBootEventRecord()
/system/tools/aidl/tests/lazy_test/
Dmain.cpp98 std::vector<size_t> times(numTimes); in waitTimes() local
100 times.at(i) = (size_t)(rand() % (maxWait + 1)); in waitTimes()
102 return times; in waitTimes()
/system/sepolicy/private/
Dodrefresh.te24 # Allow odrefresh to kill dex2oat if compilation times out.
30 # Allow odrefresh to kill dexoptanalyzer if analysis times out.
Dboringssl_self_test.te7 # The KATs are expensive, and to ensure they are run as few times as possible, they
/system/sepolicy/prebuilts/api/31.0/private/
Dodrefresh.te24 # Allow odrefresh to kill dex2oat if compilation times out.
30 # Allow odrefresh to kill dexoptanalyzer if analysis times out.
Dboringssl_self_test.te7 # The KATs are expensive, and to ensure they are run as few times as possible, they
/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py186 times = []
206 times.append(sample_time)
260 data = {'time': times,
/system/timezone/input_tools/android/tzlookup_generator/
DREADME.android12 and are not distinct for future times according to IANA or ICU/CLDR.
/system/sepolicy/prebuilts/api/30.0/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/sepolicy/prebuilts/api/28.0/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/sepolicy/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/sepolicy/prebuilts/api/29.0/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/sepolicy/prebuilts/api/31.0/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/sepolicy/prebuilts/api/27.0/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/extras/boottime_tools/bootanalyze/
DREADME.md19 * bootanalyze.sh provides an example to analyze boot-times and bootcharts.
/system/iorap/docs/binder/
DIIorap_setTaskListener.plantuml33 loop 1 or more times
/system/libvintf/test/
Dvintf_object_tests.cpp463 void expectVendorManifest(size_t times = 1) { in expectVendorManifest() argument
464 EXPECT_CALL(fetcher(), fetch(StrEq(kVendorLegacyManifest), _)).Times(times); in expectVendorManifest()
467 void expectSystemManifest(size_t times = 1) { in expectSystemManifest() argument
468 EXPECT_CALL(fetcher(), fetch(StrEq(kSystemManifest), _)).Times(times); in expectSystemManifest()
471 void expectVendorMatrix(size_t times = 1) { in expectVendorMatrix() argument
472 EXPECT_CALL(fetcher(), fetch(StrEq(kVendorLegacyMatrix), _)).Times(times); in expectVendorMatrix()
475 void expectSystemMatrix(size_t times = 1) { in expectSystemMatrix() argument
476 EXPECT_CALL(fetcher(), fetch(StrEq(kSystemLegacyMatrix), _)).Times(times); in expectSystemMatrix()
/system/extras/simpleperf/
Dcmd_debug_unwind.cpp679 auto times = ParseUintVector<uint64_t>(*value.str_value); in ParseOptions() local
680 if (!times) { in ParseOptions()
683 sample_times_.insert(times.value().begin(), times.value().end()); in ParseOptions()
/system/bt/gd/proto/bluetooth/metrics/
Dbluetooth.proto279 // Number of times that this profile is connected since last metrics dump
294 // Number of times this type of headset profile is connected

12