Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 47) sorted by relevance

12

/system/logging/logd/
DChattyLogBufferTest.cpp22 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
25 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P()
90 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
93 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P()
103 uint32_t sec = 0; in TEST_P() local
105 make_message(sec++, "test_tag", "normal"), in TEST_P()
109 log_messages.emplace_back(make_message(sec++, "test_tag", "duplicate")); in TEST_P()
111 log_messages.emplace_back(make_message(sec++, "test_tag", "normal")); in TEST_P()
131 auto make_message = [&](uint32_t sec, int32_t tag, int32_t count) -> LogMessage { in TEST_P() argument
133 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_EVENTS, .uid = 0}; in TEST_P()
[all …]
DLogBufferTest.cpp60 if (expected.sec != result.sec) { in CompareLoggerEntries()
62 StringPrintf("sec: expected %" PRIu32 " vs %" PRIu32, expected.sec, result.sec)); in CompareLoggerEntries()
182 .sec = 1234, in TEST_P()
199 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
201 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20002, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
203 {{.pid = 100, .tid = 2, .sec = 10000, .nsec = 20003, .lid = LOG_ID_KERNEL, .uid = 0}, in TEST_P()
205 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20004, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
207 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20005, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
209 {{.pid = 2, .tid = 2, .sec = 10000, .nsec = 20006, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
211 {{.pid = 3, .tid = 2, .sec = 10000, .nsec = 20007, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
[all …]
/system/media/camera/docs/
Dcamera_metadata_tag_info.mako47 % for sec in find_all_sections(metadata):
48 static tag_info_t ${path_name(sec) | csyml}[${path_name(sec) | csym}_END -
49 ${path_name(sec) | csym}_START] = {
50 % for entry in remove_synthetic(find_unique_entries(sec)):
51 [ ${entry.name | csym} - ${path_name(sec) | csym}_START ] =
65 % for sec in find_all_sections(metadata):
66 % for entry in remove_synthetic(filter_has_permission_needed(find_unique_entries(sec))):
80 % for sec in find_all_sections(metadata):
81 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))):
120 % for sec in find_all_sections(metadata):
[all …]
Dcamera_metadata_tags.mako77 % for sec in find_all_sections(metadata):
78 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))):
86 ${path_name(sec) | csym}_END,
95 % for sec in find_all_sections(metadata):
96 % for entry in remove_synthetic(find_unique_entries(sec)):
DHidlMetadata.mako98 % for sec in find_all_sections(metadata):
100 …lter_added_in_hal_version(remove_synthetic_or_fwk_only(find_unique_entries(sec)), hal_major_versio…
109 … % if find_first_older_used_hal_version(sec, hal_major_version(), hal_minor_version()) == (0, 0):
112 <% prevVersion = find_first_older_used_hal_version(sec, hal_major_version(), hal_minor_version…
121 …${path_name(sec) | csym}${'_END' if first_hal_minor_version(hal_major_version()) == hal_minor_vers…
130 % for sec in find_all_sections(metadata):
131 …lues_added_in_hal_version(remove_synthetic_or_fwk_only(find_unique_entries(sec)), hal_major_versio…
Dndk_camera_metadata_tags.mako80 % for sec in find_all_sections(metadata):
82 entries = remove_synthetic_or_fwk_only(find_unique_entries(sec))
87 % for idx,entry in enumerate(remove_synthetic_or_fwk_only(find_unique_entries(sec))):
127 ${ndk(path_name(sec)) | csym}_END,
136 % for sec in find_all_sections(metadata):
137 % for entry in filter_ndk_visible(remove_synthetic_or_fwk_only(find_unique_entries(sec))):
Dmetadata_model.py459 for sec_name, sec in sections_dict.items():
460 sec._leafs = []
461 sec.validate_tree()
466 sec = sections_dict.get(p.get_section(), \
468 sections_dict[p.get_section()] = sec
470 sec.validate_tree()
472 if p not in sec._leafs:
473 sec._leafs.append(p)
475 for sec_name, sec in sections_dict.items():
477 if not sec.validate_tree():
[all …]
DCaptureResultTest.mako25 % for sec in find_all_sections(metadata):
26 % for entry in find_unique_entries(sec):
DCameraDeviceInfo.mako25 % for sec in find_all_sections(metadata):
26 % for entry in find_unique_entries(sec):
Dcamera_device_info.mako97 % for sec in find_all_sections(metadata):
102 % for entry in find_unique_entries(sec):
/system/bt/osi/src/
Dconfig.cc62 [&section](const section_t& sec) { return sec.name == section; }); in Find() argument
77 [&section](const section_t& sec) { return sec.name == section; }); in section_find() argument
83 auto sec = section_find(config, section); in entry_find() local
84 if (sec == config.sections.end()) return nullptr; in entry_find()
86 for (const entry_t& entry : sec->entries) { in entry_find()
133 for (const section_t& sec : src.sections) { in config_new_clone() local
134 for (const entry_t& entry : sec.entries) { in config_new_clone()
135 config_set_string(ret.get(), sec.name, entry.key, entry.value); in config_new_clone()
211 auto sec = section_find(*config, section); in config_set_string() local
212 if (sec == config->sections.end()) { in config_set_string()
[all …]
/system/extras/simpleperf/scripts/
Dreport_sample.py47 sec = sample.time / 1000000000
48 usec = (sample.time - sec * 1000000000) / 1000
50 sample.tid, sample.cpu, sec,
/system/core/llkd/tests/
Dllkd_test.cpp149 auto sec = duration_cast<seconds>(timeout); in llkdSleepPeriod() local
150 if (sec == 0s) { in llkdSleepPeriod()
151 ++sec; in llkdSleepPeriod()
152 } else if (sec > 59s) { in llkdSleepPeriod()
153 GTEST_LOG_WARNING << "llkd is configured for about " << duration_cast<minutes>(sec).count() in llkdSleepPeriod()
158 return (sec * 4 + 2s) / 3; in llkdSleepPeriod()
/system/media/audio_utils/include/audio_utils/
Dclock.h59 const time_t sec = ns / one_second; in audio_utils_ns_to_string() local
63 if (localtime_r(&sec, &tm) == NULL) { in audio_utils_ns_to_string()
/system/logging/liblog/include_vndk/log/
Dlog_read.h44 uint32_t sec; /* seconds since Epoch */ member
64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
/system/logging/liblog/include/log/
Dlog_read.h44 uint32_t sec; /* seconds since Epoch */ member
64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
Dlog_time.h45 explicit log_time(uint32_t sec, uint32_t nsec = 0)
46 : tv_sec(sec), tv_nsec(nsec) { in tv_sec()
/system/bt/btif/test/
Dbtif_config_cache_test.cc496 for (const section_t& sec : config_paired.sections) { in TEST() local
497 EXPECT_TRUE(test_btif_config_cache.HasPersistentSection(sec.name)); in TEST()
507 for (const section_t& sec : config_paired.sections) { in TEST() local
508 EXPECT_TRUE(test_btif_config_cache.HasPersistentSection(sec.name)); in TEST()
519 for (const section_t& sec : config_paired.sections) { in TEST() local
520 EXPECT_TRUE(test_btif_config_cache.HasPersistentSection(sec.name)); in TEST()
/system/logging/liblog/tests/
Dlog_wrap_test.cpp46 log_time start(log_msg.entry.sec, log_msg.entry.nsec); in read_with_wrap()
/system/extras/ANRdaemon/
DREADME27 whole 20secs (because from systrace's view, the two 20 sec apart sched trace
29 for all 20sec). However, this will not affect the actual captured trace during
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/
Dgradle.properties16 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/system/extras/simpleperf/demo/CppApi/
Dgradle.properties12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/
Dgradle.properties16 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/system/extras/simpleperf/demo/JavaApi/
Dgradle.properties12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/
Dgradle.properties16 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects

12