Home
last modified time | relevance | path

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

12

/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): argument
157 return self._behavior.wait_until_invoked(self._matcher, times, self._timeout)
Dcert_self_test.py485 when(thing).test_request(anything()).then(times=3).increment_count()
536 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count()
581 wait_until(thing).test_request(is_a).times(1)
593 wait_until(thing).test_request(lambda obj: obj == "A").times(1)
605 wait_until(thing).test_request(anything()).times(1)
617 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(1)).isFalse()
627 wait_until(thing).test_request(anything()).times(1)
641 wait_until(thing).test_request(lambda obj: obj == "A").times(2)
656 wait_until(thing).test_request(anything()).times(2)
670 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.cpp108 std::vector<size_t> times(numTimes); in waitTimes() local
110 times[i] = (size_t)(rand() % (maxWait + 1)); in waitTimes()
112 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/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/28.0/public/
Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/system/sepolicy/prebuilts/api/30.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/iorap/docs/binder/
DIIorap_setTaskListener.plantuml33 loop 1 or more times
/system/libvintf/test/
Dvintf_object_tests.cpp424 void expectVendorManifest(size_t times = 1) { in expectVendorManifest() argument
425 EXPECT_CALL(fetcher(), fetch(StrEq(kVendorLegacyManifest), _)).Times(times); in expectVendorManifest()
428 void expectSystemManifest(size_t times = 1) { in expectSystemManifest() argument
429 EXPECT_CALL(fetcher(), fetch(StrEq(kSystemManifest), _)).Times(times); in expectSystemManifest()
432 void expectVendorMatrix(size_t times = 1) { in expectVendorMatrix() argument
433 EXPECT_CALL(fetcher(), fetch(StrEq(kVendorLegacyMatrix), _)).Times(times); in expectVendorMatrix()
436 void expectSystemMatrix(size_t times = 1) { in expectSystemMatrix() argument
437 EXPECT_CALL(fetcher(), fetch(StrEq(kSystemLegacyMatrix), _)).Times(times); in expectSystemMatrix()
/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
/system/security/keystore/
Doperation_config.proto69 // counts corresponds to the number of times each op_config in the above array
/system/sepolicy/private/
Dboringssl_self_test.te7 # The KATs are expensive, and to ensure they are run as few times as possible, they
/system/sepolicy/prebuilts/api/30.0/private/
Dboringssl_self_test.te7 # The KATs are expensive, and to ensure they are run as few times as possible, they
/system/extras/app-launcher/
DREADME4 Introduction: app-launcher is a script that launches apps many times,
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc123 gki_cb.com.OSTicks = (uint32_t)times(nullptr); in GKI_init()
921 gki_cb.com.OSTicks = times(nullptr); in GKI_get_time_stamp()
/system/libhidl/transport/base/1.0/
DIBase.hal91 * multiple times with the same exact death recipient, this unlinks the most
/system/extras/simpleperf/doc/
Dinferno.md43 thousands of times per second. Simpleperf takes care of unwinding the stack
/system/core/logcat/
Devent.logtags61 # intrinsic event log times are wall-clock.
/system/sepolicy/
DREADME91 Often times, one will need to integrate an application that was signed by a separate
/system/core/init/
DREADME.md177 > This is a device-critical service. If it exits more than four times in
203 this tag should be used multiple times. An example of an entry for a HIDL
304 until shutdown times out. When shutdown times out, even services tagged with
396 at three times:
690 There are only three times where the init executable imports .rc files:

12