Lines Matching full:handle
22 of the API through a handle.
47 outside of the API through a handle.
50 an invalid or already closed handle, we keep track of all opened handles in
52 an object that this handle represents. All objects that are exposed to the
55 1. When CreateHandle() method is called on an object, a handle (ADBAPIHANDLE
56 that is) is assigned to it, a pair <handle, object> is added to the global
57 AdbObjectHandleMap instance, object is referenced and then handle is
59 2. Every time API is called with a handle, a lookup is performed in
60 AdbObjectHandleMap to find an object that is associated with the handle.
66 3. When object handle gets closed, assuming object is found in the map, that
67 <handle, object> pair is deleted from the map and object's refcount is
110 /** \brief Creates handle to this object.
112 In this call a handle for this object is generated and object is added
114 @return A handle to this object on success or NULL on an error.
121 /** \brief This method is called when handle to this object gets closed.
137 /** \brief Looks up AdbObjectHandle instance associated with the given handle
141 @param[in] adb_handle ADB handle to the object
142 @return API object associated with the handle or NULL if object is not
157 /// Gets ADB handle associated with this object
174 /// API handle associated with this object
190 @param[in] adb_handle API handle for the object
191 @return Object associated with the handle or NULL on error. If NULL is
196 // Lookup object for the handle in the map