Home
last modified time | relevance | path

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

123456

/aosp12/system/logging/logd/
H A 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() argument
105 make_message(sec++, "test_tag", "normal"), in TEST_P()
111 log_messages.emplace_back(make_message(sec++, "test_tag", "normal")); in TEST_P()
133 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_EVENTS, .uid = 0}; in TEST_P()
196 logger_entry entry = {.pid = pid, .tid = 1, .sec = sec, .nsec = 1, .lid = lid, .uid = uid}; in TEST_P()
250 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
[all …]
H A 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()
213 {{.pid = 4, .tid = 2, .sec = 10000, .nsec = 20008, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
217 {{.pid = 6, .tid = 2, .sec = 10000, .nsec = 20011, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
229 LogMessage GenerateRandomLogMessage(uint32_t sec) { in GenerateRandomLogMessage() argument
235 .sec = sec, in GenerateRandomLogMessage()
290 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
[all …]
/aosp12/frameworks/av/services/audioflinger/
H A DFastThread.cpp226 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop() local
228 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), in threadLoop()
232 --sec; in threadLoop()
243 mMeasuredWarmupTs.tv_sec += sec; in threadLoop()
269 if (sec > 0 || nsec > mUnderrunNs) { in threadLoop()
273 (int) sec, nsec / 1000000L); in threadLoop()
283 (int) sec, nsec / 1000000L); in threadLoop()
311 if (sec > 0 && sec < 4) { in threadLoop()
320 sec = newLoad.tv_sec - mOldLoad.tv_sec; in threadLoop()
323 --sec; in threadLoop()
[all …]
H A DAudioWatchdog.cpp67 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop() local
70 --sec; in threadLoop()
76 if (sec > 0) { in threadLoop()
77 if (sec < 4) { in threadLoop()
78 cycleNs += sec * 1000000000; in threadLoop()
83 mLogTs.tv_sec += sec; in threadLoop()
/aosp12/art/test/ProfileTestMultiDex/
H A DMain.java50 public int inlineMultiMonomorphic(Super s, Secret sec) { in inlineMultiMonomorphic() argument
51 return s.getValue() + sec.getIdentity(); in inlineMultiMonomorphic()
54 public int inlineMultiPolymorphic(Super s, Secret sec) { in inlineMultiPolymorphic() argument
55 return s.getValue() + sec.getIdentity(); in inlineMultiPolymorphic()
59 return s.getValue() + sec.getIdentity() + thr.getIdentity(); in inlineTriplePolymorphic()
62 public int inlineMultiMegamorphic(Super s, Secret sec) { in inlineMultiMegamorphic() argument
63 return s.getValue() + sec.getIdentity(); in inlineMultiMegamorphic()
66 public int inlineMultiMissingTypes(Super s, Secret sec) { in inlineMultiMissingTypes() argument
67 return s.getValue() + sec.getIdentity(); in inlineMultiMissingTypes()
70 public int noInlineCacheMulti(Super s, Secret sec) { in noInlineCacheMulti() argument
[all …]
/aosp12/system/bt/osi/src/
H A 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 __anonef1ce1df0302() argument
83 auto sec = section_find(config, section); in entry_find() local
86 for (const entry_t& entry : sec->entries) { in entry_find()
133 for (const section_t& sec : src.sections) { in config_new_clone() local
211 auto sec = section_find(*config, section); in config_set_string() local
212 if (sec == config->sections.end()) { in config_set_string()
226 for (entry_t& entry : sec->entries) { in config_set_string()
242 config->sections.erase(sec); in config_remove_section()
252 for (auto entry = sec->entries.begin(); entry != sec->entries.end(); in config_remove_key()
[all …]
/aosp12/system/media/camera/docs/
H A 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 …]
H A 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…
H A 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)):
H A 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))):
H A Dmetadata_model.py460 sec._leafs = []
461 sec.validate_tree()
468 sections_dict[p.get_section()] = sec
470 sec.validate_tree()
472 if p not in sec._leafs:
473 sec._leafs.append(p)
477 if not sec.validate_tree():
479 % (sec), file=sys.stderr)
481 self._construct_kinds(sec)
486 if not sec.validate_tree():
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragDriver.java40 public DragDriver(EventListener eventListener, Consumer<MotionEvent> sec) { in DragDriver() argument
42 mSecondaryEventConsumer = sec; in DragDriver()
70 Consumer<MotionEvent> sec) { in create() argument
75 return new SystemDragDriver(dragController, sec); in create()
77 return new InternalDragDriver(dragController, sec); in create()
90 SystemDragDriver(DragController dragController, Consumer<MotionEvent> sec) { in SystemDragDriver() argument
91 super(dragController, sec); in SystemDragDriver()
170 InternalDragDriver(DragController dragController, Consumer<MotionEvent> sec) { in InternalDragDriver() argument
171 super(dragController, sec); in InternalDragDriver()
/aosp12/frameworks/av/services/mediametrics/
H A Dcleaner.cpp37 for (int sec = 1; sec <= 32; sec *= 2) { in bucket_time_minutes() local
38 if (in_millis <= sec * SEC_TO_MS) { in bucket_time_minutes()
39 return sec * SEC_TO_MS; in bucket_time_minutes()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
H A DBipDatetimeTest.java36 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument
41 builder.setTimeOfDay(hours, min, sec, 0); in makeDate()
46 private Date makeDate(int month, int day, int year, int hours, int min, int sec) { in makeDate() argument
47 return makeDate(month, day, year, hours, min, sec, null); in makeDate()
51 int sec) { in makeTzAdjustedString() argument
53 cal.setTime(makeDate(month, day, year, hours, min, sec)); in makeTzAdjustedString()
H A DBipAttachmentFormatTest.java35 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument
40 builder.setTimeOfDay(hours, min, sec, 0); in makeDate()
45 private Date makeDate(int month, int day, int year, int hours, int min, int sec) { in makeDate() argument
46 return makeDate(month, day, year, hours, min, sec, null); in makeDate()
/aosp12/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp130 time_t sec = nowTs.tv_sec - mWriteTs.tv_sec; in write() local
132 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), in write()
136 --sec; in write()
139 if (sec == 0) { in write()
/aosp12/frameworks/base/startop/scripts/app_startup/
H A Dparse_metrics44 -t, --timeout <sec> how many seconds to timeout when trying to wait for logcat to change
134 local sec
164 sec=${result/s*/}
166 sec=0
169 ((result=sec*1000+ms))
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DCountDownView.java141 public void startCountDown(int sec) { in startCountDown() argument
142 if (sec <= 0) { in startCountDown()
143 Log.w(TAG, "Invalid input for countdown timer: " + sec + " seconds"); in startCountDown()
150 remainingSecondsChanged(sec); in startCountDown()
/aosp12/system/core/llkd/tests/
H A Dllkd_test.cpp141 auto sec = duration_cast<seconds>(timeout); in llkdSleepPeriod() local
142 if (sec == 0s) { in llkdSleepPeriod()
143 ++sec; in llkdSleepPeriod()
144 } else if (sec > 59s) { in llkdSleepPeriod()
145 GTEST_LOG_WARNING << "llkd is configured for about " << duration_cast<minutes>(sec).count() in llkdSleepPeriod()
150 return (sec * 4 + 2s) / 3; in llkdSleepPeriod()
/aosp12/system/extras/simpleperf/scripts/
H A Dreport_sample.py47 sec = sample.time / 1000000000
48 usec = (sample.time - sec * 1000000000) / 1000
50 sample.tid, sample.cpu, sec,
/aosp12/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
H A DProgramSelectorExt.java388 for (Identifier sec : sel.getSecondaryIds()) { in toUri()
389 String secType = typeToUri(sec.getType()); in toUri()
391 uri.appendQueryParameter(secType, valueToUri(sec)); in toUri()
430 Identifier sec = parseComponents.apply(secStr[0], secStr[1]); in fromUri() local
431 if (sec != null) secIds.add(sec); in fromUri()
/aosp12/frameworks/av/include/media/
H A DInterpolator.h125 S sec, sec0, sec1; in findY() local
127 sec = (high->second - low->second) / interval; in findY()
149 m0 = (sec0 + sec) * 0.5f; in findY()
150 m1 = (sec1 + sec) * 0.5f; in findY()
159 const S maxSlope = 3 * sec; in findY()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dpps.h28 __s64 sec; member
33 __s64 sec; member
/aosp12/system/media/audio_utils/include/audio_utils/
H A 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()
/aosp12/hardware/ti/am57x/libhwcomposer/
H A Ddisplay.h109 …static void page_flip_handler(int fd, unsigned int frame, unsigned int sec, unsigned int usec, voi…
110 …static void vblank_handler(int fd, unsigned int frame, unsigned int sec, unsigned int usec, void* …

123456