Searched refs:cb (Results 1 - 25 of 27) sorted by relevance

12

/system/bt/hci/include/
H A Dbtsnoop_mem.h31 void btsnoop_mem_set_callback(btsnoop_data_cb cb);
/system/core/include/utils/
H A Dmisc.h33 void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
/system/bt/osi/include/
H A Dalarm.h38 // Sets an alarm to fire |cb| after the given |deadline|. Note that |deadline| is the
40 // for the callback and may be NULL. |cb| will be called back in the context of an
42 // |alarm| and |cb| may not be NULL.
43 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data);
47 void alarm_set_periodic(alarm_t *alarm, period_ms_t period, alarm_callback_t cb, void *data);
H A Dnon_repeating_timer.h27 // Creates a new non repeating timer of |duration| with callback |cb|. |cb| will be
31 non_repeating_timer_t *non_repeating_timer_new(period_ms_t duration, alarm_callback_t cb, void *data);
/system/bt/osi/test/
H A Dalarm_test.cpp53 static void cb(UNUSED_ATTR void *data) { function
76 alarm_set(alarm, 10, cb, NULL);
88 alarm_set(alarm, 10, cb, NULL);
97 alarm_set(alarm, 10, cb, NULL);
112 alarm_set(alarm, TIMER_INTERVAL_FOR_WAKELOCK_IN_MS, cb, NULL);
131 alarm_set(alarm[0], 10, cb, NULL);
132 alarm_set(alarm[1], 20, cb, NULL);
157 alarm_set(alarm[0], 10, cb, NULL);
158 alarm_set(alarm[1], 10 + TIMER_INTERVAL_FOR_WAKELOCK_IN_MS + EPSILON_MS, cb, NULL);
183 alarm_set(alarm[0], TIMER_INTERVAL_FOR_WAKELOCK_IN_MS, cb, NUL
[all...]
H A DAlarmTestHarness.cpp60 static bool set_wake_alarm(uint64_t delay_millis, bool, alarm_cb cb, void *data) { argument
61 saved_callback = cb;
/system/bt/hci/src/
H A Dbtsnoop_mem.c26 void btsnoop_mem_set_callback(btsnoop_data_cb cb) { argument
27 data_callback = cb;
/system/bt/test/suite/support/
H A Dhal.c29 static bool set_wake_alarm(uint64_t delay_millis, bool should_wake, alarm_cb cb, void *data);
78 static bool set_wake_alarm(uint64_t delay_millis, bool should_wake, alarm_cb cb, void *data) { argument
85 timer_t *timer = hash_map_get(timers, cb);
88 hash_map_set(timers, cb, timer);
93 sigevent.sigev_notify_function = (void (*)(union sigval))cb;
/system/bt/osi/src/
H A Dnon_repeating_timer.c32 non_repeating_timer_t *non_repeating_timer_new(period_ms_t duration, alarm_callback_t cb, void *data) { argument
33 assert(cb != NULL);
42 ret->callback = cb;
H A Dalarm.c78 static void alarm_set_internal(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data, bool is_periodic);
142 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data) { argument
143 alarm_set_internal(alarm, deadline, cb, data, false);
146 void alarm_set_periodic(alarm_t *alarm, period_ms_t period, alarm_callback_t cb, void *data) { argument
147 alarm_set_internal(alarm, period, cb, data, true);
151 static void alarm_set_internal(alarm_t *alarm, period_ms_t period, alarm_callback_t cb, void *data, bool is_periodic) { argument
154 assert(cb != NULL);
161 alarm->callback = cb;
/system/core/libpixelflinger/
H A Draster.cpp59 surface_t* cb = &(c->state.buffers.color); local
62 if (uint32_t(xs) > cb->width)
64 if (uint32_t(ys) > cb->height)
66 if (uint32_t(xs + width) > cb->width)
68 if (uint32_t(ys + height) > cb->height)
105 const GGLFormat* fp = &(c->formats[cb->format]);
106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data)
107 + (xs + (cb->stride * ys)) * fp->size;
108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data)
109 + (xd + (cb
[all...]
H A Dscanline.cpp874 surface_t* cb = &(c->state.buffers.depth); local
875 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y));
1434 const surface_t* cb = &(c->state.buffers.color); local
1436 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
2091 surface_t* cb = &(c->state.buffers.color); local
2096 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
2132 surface_t* cb local
2182 surface_t* cb = &(c->state.buffers.color); local
2250 surface_t* cb = &(c->state.buffers.color); local
2270 surface_t* cb = &(c->state.buffers.color); local
2281 surface_t* cb = &(c->state.buffers.color); local
2292 surface_t* cb = &(c->state.buffers.color); local
2303 surface_t* cb = &(c->state.buffers.color); local
2316 surface_t* cb = &(c->state.buffers.color); local
2341 surface_t* cb = &(c->state.buffers.color); local
[all...]
H A Dtrap.cpp454 surface_t* cb = &(c->state.buffers.color); local
455 const GGLFormat* fp = &(c->formats[cb->format]);
456 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) +
457 (x + (cb->stride * y)) * fp->size;
/system/core/libutils/
H A Dmisc.cpp50 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument
57 info.callback = cb;
/system/core/init/
H A Dueventd.cpp58 selinux_callback cb; local
59 cb.func_log = selinux_klog_callback;
60 selinux_set_callback(SELINUX_CB_LOG, cb);
H A Dinit.cpp958 selinux_callback cb; local
959 cb.func_log = selinux_klog_callback;
960 selinux_set_callback(SELINUX_CB_LOG, cb);
961 cb.func_audit = audit_callback;
962 selinux_set_callback(SELINUX_CB_AUDIT, cb);
/system/bt/btif/include/
H A Dbtif_gatt_multi_adv_util.h94 void btif_multi_adv_timer_ctrl(int client_if, TIMER_CBACK cb);
/system/core/include/system/
H A Dgraphics.h454 * @y, @cb, and @cr point to the first byte of their respective planes.
469 void *cb; member in struct:android_ycbcr
/system/core/libnativebridge/
H A Dnative_bridge.cc144 static bool VersionCheck(const NativeBridgeCallbacks* cb) { argument
147 if (cb == nullptr || cb->version == 0) {
152 if (cb->version >= 2) {
/system/bt/btcore/src/
H A Dcounter.c172 bool counter_foreach(counter_iter_cb cb, void *context) { argument
173 assert(cb != NULL);
175 cb,
/system/core/debuggerd/
H A Ddebuggerd.cpp590 union selinux_callback cb; local
593 cb.func_log = selinux_log_callback;
594 selinux_set_callback(SELINUX_CB_LOG, cb);
/system/bt/stack/btm/
H A Dbtm_pm.c357 tBTM_PM_STATUS_CBACK *cb = NULL; local
363 cb = btm_cb.pm_reg_db[btm_cb.pm_pend_id].cback;
373 if(cb != NULL && btm_cb.pm_pend_link < MAX_L2CAP_LINKS)
374 (*cb)(btm_cb.acl_db[btm_cb.pm_pend_link].remote_addr, BTM_PM_STS_ERROR, BTM_DEV_RESET, 0);
/system/bt/btif/src/
H A Dbtif_gatt_multi_adv_util.c611 void btif_multi_adv_timer_ctrl(int client_if, TIMER_CBACK cb) argument
625 if (cb == NULL)
636 p_multi_adv_data_cb->inst_cb[cbindex].tle_limited_timer.param = (UINT32)cb;
/system/bt/test/bluedroidtest/
H A Dbluedroidtest.c505 static bool set_wake_alarm(uint64_t delay_millis, bool should_wake, alarm_cb cb, void *data) { argument
513 sigevent.sigev_notify_function = (void (*)(union sigval))cb;
/system/bt/bta/jv/
H A Dbta_jv_act.c444 ** Returns BTA_JV_SUCCESS if cb has been freed correctly,
531 ** Returns pointer to allocated cb or NULL in case of failure
1657 static int find_rfc_pcb(void* user_data, tBTA_JV_RFC_CB **cb, tBTA_JV_PCB **pcb) argument
1659 *cb = NULL;
1669 *cb = &bta_jv_cb.rfc_cb[rfc_handle - 1];
1672 (*pcb)->state, (*cb)->handle);
2153 APPL_TRACE_WARNING("bta_jv_set_pm_profile() free pm cb failed: reason %d",

Completed in 481 milliseconds

12