Lines Matching full:handle
166 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle)
169 if (N <= (size_t)handle) {
173 status_t err = mHandleToObject.insertAt(e, N, handle+1-N);
176 return &mHandleToObject.editItemAt(handle);
179 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle)
185 handle_entry* e = lookupHandleLocked(handle);
193 if (handle == 0) {
209 // stop special casing handle 0 for context manager and add
210 // a driver API to get a handle to the context manager with
220 b = new BpBinder(handle);
227 // but another team is sending the handle to us.
236 wp<IBinder> ProcessState::getWeakProxyForHandle(int32_t handle)
242 handle_entry* e = lookupHandleLocked(handle);
250 // releasing a reference on this BpBinder, and a new reference on its handle
254 b = new BpBinder(handle);
267 void ProcessState::expungeHandle(int32_t handle, IBinder* binder)
271 handle_entry* e = lookupHandleLocked(handle);
273 // This handle may have already been replaced with a new BpBinder