Lines Matching defs:handle
138 uint32_t handle;
166 if (si->handle) {
167 binder_release(bs, si->handle);
168 si->handle = 0;
182 if (!si || !si->handle) {
199 return si->handle;
202 int do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle,
206 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle,
209 if (!handle || (len == 0) || (len > 127))
214 str8(s, len), handle, uid);
220 if (si->handle) {
222 str8(s, len), handle, uid);
225 si->handle = handle;
230 str8(s, len), handle, uid);
233 si->handle = handle;
245 binder_acquire(bs, handle);
246 binder_link_to_death(bs, handle, &si->death);
258 uint32_t handle;
307 handle = do_find_service(s, len, txn->sender_euid, txn->sender_pid);
308 if (!handle)
310 bio_put_ref(reply, handle);
318 handle = bio_get_ref(msg);
321 if (do_add_service(bs, s, len, handle, txn->sender_euid, allow_isolated, dumpsys_priority,