Home
last modified time | relevance | path

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

12

/system/core/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()
94 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
97 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P()
107 uint32_t sec = 0; in TEST_P() argument
109 make_message(sec++, "test_tag", "normal"), in TEST_P()
113 log_messages.emplace_back(make_message(sec++, "test_tag", "duplicate")); in TEST_P()
115 log_messages.emplace_back(make_message(sec++, "test_tag", "normal")); in TEST_P()
139 auto make_message = [&](uint32_t sec, int32_t tag, int32_t count) -> LogMessage { in TEST_P() argument
141 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_EVENTS, .uid = 0}; in TEST_P()
[all …]
DLogBufferTest.cpp70 if (expected.sec != result.sec) { in CompareLoggerEntries()
72 StringPrintf("sec: expected %" PRIu32 " vs %" PRIu32, expected.sec, result.sec)); in CompareLoggerEntries()
192 .sec = 1234, in TEST_P()
212 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
214 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20002, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
216 {{.pid = 100, .tid = 2, .sec = 10000, .nsec = 20003, .lid = LOG_ID_KERNEL, .uid = 0}, in TEST_P()
218 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20004, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
220 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20005, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
222 {{.pid = 2, .tid = 2, .sec = 10000, .nsec = 20006, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
224 {{.pid = 3, .tid = 2, .sec = 10000, .nsec = 20007, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
[all …]
/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/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))):
DHidlMetadata.mako98 % for sec in find_all_sections(metadata):
100 …enumerate(filter_added_in_hal_version(remove_synthetic(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 …_has_enum_values_added_in_hal_version(remove_synthetic(find_unique_entries(sec)), hal_major_versio…
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)):
Dndk_camera_metadata_tags.mako81 % for sec in find_all_sections(metadata):
83 entries = remove_synthetic(find_unique_entries(sec))
88 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))):
128 ${ndk(path_name(sec)) | csym}_END,
137 % for sec in find_all_sections(metadata):
138 % for entry in filter_ndk_visible(remove_synthetic(find_unique_entries(sec))):
Dmetadata_model.py460 for sec_name, sec in sections_dict.iteritems():
461 sec._leafs = []
462 sec.validate_tree()
467 sec = sections_dict.get(p.get_section(), \
469 sections_dict[p.get_section()] = sec
471 sec.validate_tree()
473 if p not in sec._leafs:
474 sec._leafs.append(p)
476 for sec_name, sec in sections_dict.iteritems():
478 if not sec.validate_tree():
[all …]
DCameraDeviceInfo.mako25 % for sec in find_all_sections(metadata):
26 % for entry in find_unique_entries(sec):
DCaptureResultTest.mako25 % for sec in find_all_sections(metadata):
26 % for entry in find_unique_entries(sec):
Dcamera_device_info.mako81 % for sec in find_all_sections(metadata):
86 % for entry in find_unique_entries(sec):
/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/core/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/core/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/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/bt/bta/pan/
Dbta_pan_act.cc347 uint8_t sec[3]; in bta_pan_set_role() local
353 sec[0] = p_data->api_set_role.user_sec_mask; in bta_pan_set_role()
354 sec[1] = p_data->api_set_role.gn_sec_mask; in bta_pan_set_role()
355 sec[2] = p_data->api_set_role.nap_sec_mask; in bta_pan_set_role()
359 p_data->api_set_role.role, sec, p_data->api_set_role.user_name, in bta_pan_set_role()
/system/core/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/CppApi/
Dgradle.properties12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/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/JavaApi/
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

12