Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dminiopt.c41 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) in miniopt_init() argument
45 memset(t, 0, sizeof(miniopt_t)); in miniopt_init()
46 t->name = name; in miniopt_init()
48 t->flags = null_flags; in miniopt_init()
50 t->flags = flags; in miniopt_init()
51 t->longflags = longflags; in miniopt_init()
57 miniopt(miniopt_t *t, char **argv) in miniopt() argument
63 t->consumed = 0; in miniopt()
64 t->positional = FALSE; in miniopt()
65 memset(t->key, 0, MINIOPT_MAXKEY); in miniopt()
[all …]
/hardware/qcom/gps/msm8994/utils/
Dloc_timer.c58 timer_data* t = (timer_data*)thread_data; in timer_thread() local
60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread()
64 if(t->time_msec >= 1000) { in timer_thread()
65 ts.tv_sec += t->time_msec/1000; in timer_thread()
66 t->time_msec = t->time_msec % 1000; in timer_thread()
68 if(t->time_msec) in timer_thread()
69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread()
80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread()
81 if (READY == t->state) { in timer_thread()
82 t->state = WAITING; in timer_thread()
[all …]
/hardware/qcom/gps/utils/
Dloc_timer.c58 timer_data* t = (timer_data*)thread_data; in timer_thread() local
60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread()
64 if(t->time_msec >= 1000) { in timer_thread()
65 ts.tv_sec += t->time_msec/1000; in timer_thread()
66 t->time_msec = t->time_msec % 1000; in timer_thread()
68 if(t->time_msec) in timer_thread()
69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread()
80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread()
81 if (READY == t->state) { in timer_thread()
82 t->state = WAITING; in timer_thread()
[all …]
/hardware/qcom/gps/msm8084/utils/
Dloc_timer.c58 timer_data* t = (timer_data*)thread_data; in timer_thread() local
60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread()
64 if(t->time_msec >= 1000) { in timer_thread()
65 ts.tv_sec += t->time_msec/1000; in timer_thread()
66 t->time_msec = t->time_msec % 1000; in timer_thread()
68 if(t->time_msec) in timer_thread()
69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread()
80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread()
81 if (READY == t->state) { in timer_thread()
82 t->state = WAITING; in timer_thread()
[all …]
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DFileNodeTest.cc44 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false, false); in TEST() local
45 t.Update(false); in TEST()
52 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, true, true); in TEST() local
53 t.Update(false); in TEST()
64 FileNode t("test_dump", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, in TEST() local
66 t.Update(false); in TEST()
68 t.DumpToFd(dumptf.fd); in TEST()
85 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false, false); in TEST() local
87 EXPECT_TRUE(t.GetValueIndex("value2", &index)); in TEST()
90 EXPECT_FALSE(t.GetValueIndex("NON_EXIST", &index)); in TEST()
[all …]
DPropertyNodeTest.cc50 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() local
51 t.Update(false); in TEST()
58 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, true); in TEST() local
59 t.Update(false); in TEST()
70 PropertyNode t("test_dump", key, {{"value0"}, {"value1"}, {"value2"}}, 1, in TEST() local
72 t.Update(false); in TEST()
74 t.DumpToFd(dumptf.fd); in TEST()
92 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() local
94 EXPECT_TRUE(t.GetValueIndex("value2", &index)); in TEST()
97 EXPECT_FALSE(t.GetValueIndex("NON_EXIST", &index)); in TEST()
[all …]
/hardware/qcom/gps/msm8960/utils/
Dloc_timer.c51 timer_data t; in timer_thread() local
52 t.callback_func = ((timer_data *)thread_data)->callback_func; in timer_thread()
53 t.user_data = ((timer_data *)thread_data)->user_data; in timer_thread()
54 t.time_msec = ((timer_data *)thread_data)->time_msec; in timer_thread()
58 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t.time_msec); in timer_thread()
75 if(t.time_msec >= 1000) { in timer_thread()
76 ts.tv_sec += t.time_msec/1000; in timer_thread()
77 t.time_msec = t.time_msec % 1000; in timer_thread()
79 if(t.time_msec) in timer_thread()
80 ts.tv_nsec += t.time_msec * 1000000; in timer_thread()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8994/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8960/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8084/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8909/utils/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8996/utils/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 struct timeval t; in systemTime() local
36 t.tv_sec = t.tv_usec = 0; in systemTime()
37 gettimeofday(&t, NULL); in systemTime()
38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_time.cpp36 struct timeval t; in systemTime() local
37 t.tv_sec = t.tv_usec = 0; in systemTime()
38 gettimeofday(&t, NULL); in systemTime()
39 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/ril/reference-ril/
Dreference-ril.c183 static void onRequest (int request, void *data, size_t datalen, RIL_Token t);
186 static void onCancel (RIL_Token t);
209 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument
446 static void requestRadioPower(void *data, size_t datalen __unused, RIL_Token t) in requestRadioPower() argument
476 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestRadioPower()
480 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestRadioPower()
483 static void requestShutdown(RIL_Token t) in requestShutdown() argument
496 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestShutdown()
500 static void requestOrSendDataCallList(RIL_Token *t);
507 static void requestDataCallList(void *data __unused, size_t datalen __unused, RIL_Token t) in requestDataCallList() argument
[all …]
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_time.cpp36 struct timeval t; in systemTime() local
37 t.tv_sec = t.tv_usec = 0; in systemTime()
38 gettimeofday(&t, NULL); in systemTime()
39 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/google/aemu/host-common/include/host-common/
Dhw-config.h27 #define HWCFG_BOOL(n,s,d,a,t) hw_bool_t n; argument
28 #define HWCFG_INT(n,s,d,a,t) hw_int_t n; argument
29 #define HWCFG_STRING(n,s,d,a,t) hw_string_t n; argument
30 #define HWCFG_DOUBLE(n,s,d,a,t) hw_double_t n; argument
31 #define HWCFG_DISKSIZE(n,s,d,a,t) hw_disksize_t n; argument
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerSessionManager.cpp128 for (auto t : session->getTidList()) { in addThreadsFromPowerSessionLocked() local
129 if (mTidSessionListMap[t].empty()) { in addThreadsFromPowerSessionLocked()
130 if (!SetTaskProfiles(t, {"ResetUclampGrp"})) { in addThreadsFromPowerSessionLocked()
131 ALOGW("Failed to set ResetUclampGrp task profile for tid:%d", t); in addThreadsFromPowerSessionLocked()
134 mTidSessionListMap[t].insert(session); in addThreadsFromPowerSessionLocked()
144 for (auto t : session->getTidList()) { in removeThreadsFromPowerSessionLocked() local
145 size_t cnt = mTidSessionListMap[t].erase(session); in removeThreadsFromPowerSessionLocked()
146 if (cnt != 0 && mTidSessionListMap[t].empty()) { in removeThreadsFromPowerSessionLocked()
147 if (!SetTaskProfiles(t, {"NoResetUclampGrp"})) { in removeThreadsFromPowerSessionLocked()
148 ALOGW("Failed to set NoResetUclampGrp task profile for tid:%d", t); in removeThreadsFromPowerSessionLocked()
[all …]
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering() local
61 if (l < 0 || t < 0) { in startTileRendering()
63 t = (t < 0) ? 0 : t; in startTileRendering()
77 glStartTilingQCOM(l, t, w, h, GL_COLOR_BUFFER_BIT0_QCOM); in startTileRendering()
79 glStartTilingQCOM(l, t, w, h, GL_NONE); in startTileRendering()
/hardware/google/pixel/thermal/utils/
Dpowerhal_helper.cpp157 void PowerHalService::sendPowerExtHint(const Temperature &t) { in sendPowerExtHint() argument
160 ThrottlingSeverity prev_hint_severity = supported_powerhint_map_[t.name].prev_hint_severity; in sendPowerExtHint()
162 supported_powerhint_map_[t.name].hint_severity_map[t.throttlingStatus]; in sendPowerExtHint()
175 if (severity != supported_powerhint_map_[t.name].hint_severity_map[severity]) { in sendPowerExtHint()
179 setMode(t.name, severity, mode); in sendPowerExtHint()
183 LOG(INFO) << t.name << " send powerhint: " << log_buf.str(); in sendPowerExtHint()
185 supported_powerhint_map_[t.name].prev_hint_severity = current_hint_severity; in sendPowerExtHint()
188 bool PowerHalService::isModeSupported(const std::string &type, const ThrottlingSeverity &t) { in isModeSupported() argument
193 std::string power_hint = StringPrintf("THERMAL_%s_%s", type.c_str(), toString(t).c_str()); in isModeSupported()
206 void PowerHalService::setMode(const std::string &type, const ThrottlingSeverity &t, in setMode() argument
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferaccess.cpp113 const int t, const int w, const int h, in validate_lock_input_parameters() argument
124 if ((l < 0) || (t < 0) || (w < 0) || (h < 0)) in validate_lock_input_parameters()
127 "h = %d) in buffer lock request are invalid.", l, t, w, h); in validate_lock_input_parameters()
132 if (((l + w) < 0) || ((t + h) < 0)) in validate_lock_input_parameters()
135 " h = %d) in buffer lock request.", l, t, w, h); in validate_lock_input_parameters()
140 if (((t + h) > hnd->height) || ((l + w) > hnd->width)) in validate_lock_input_parameters()
144 l, t, w, h, hnd->width, hnd->height); in validate_lock_input_parameters()
189 uint64_t usage, int l, int t, int w, int h, void **vaddr) in mali_gralloc_lock() argument
200 status = validate_lock_input_parameters(buffer, l, t, w, h, usage); in mali_gralloc_lock()
/hardware/qcom/sm8150/thermal/
Dthermal_common.c233 sensor->t.name = get_cpu_label(sens_idx); in initialize_sensor()
235 sensor->t.name = v_sen_t->label; in initialize_sensor()
237 sensor->t.type = v_sen_t->type; in initialize_sensor()
241 sensor->t.throttling_threshold = v_sen_t->throt_thresh; in initialize_sensor()
243 sensor->t.throttling_threshold = UNKNOWN_TEMPERATURE; in initialize_sensor()
246 sensor->t.shutdown_threshold = v_sen_t->shutdwn_thresh; in initialize_sensor()
248 sensor->t.shutdown_threshold = UNKNOWN_TEMPERATURE; in initialize_sensor()
251 sensor->t.vr_throttling_threshold = v_sen_t->vr_thresh; in initialize_sensor()
253 sensor->t.vr_throttling_threshold = UNKNOWN_TEMPERATURE; in initialize_sensor()
374 ssize_t result = read_temperature(sensors[idx].tzn, sensors[idx].t.type, in get_temperature_for_all()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample2.cpp37 const TestHidDescriptor *t = findTestDescriptor("accel3"); in main() local
40 assert(t != nullptr); in main()
41 std::vector<unsigned char> descriptor(t->data, t->data + t->len); in main()

12345678910>>...16