Lines Matching refs:handle

38         int handle = 0;
47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) {
50 this.handle = handle;
56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance,
60 this.handle = handle;
67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) {
70 this.handle = handle;
75 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) {
78 this.handle = handle;
99 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance,
101 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred));
104 void addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) {
105 mLastCharacteristic = handle;
106 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle));
109 void addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) {
110 mEntries.add(new Entry(serverIf, TYPE_DESCRIPTOR, handle, uuid, serviceHandle, mLastCharacteristic));
113 void setStarted(int serverIf, int handle, boolean started) {
117 entry.handle != handle)
125 Entry getByHandle(int handle) {
127 if (entry.handle == handle)
130 Log.e(TAG, "getByHandle() - Handle " + handle + " not found!");
140 return entry.handle;
153 return entry.handle;
166 if (entry.handle == serviceHandle ||
176 void addRequest(int requestId, int handle) {
177 mRequestMap.put(requestId, handle);
185 Integer handle = mRequestMap.get(requestId);
186 if (handle == null) {
190 return getByHandle(handle);
202 sb.append(" " + entry.serverIf + ": [" + entry.handle + "] ");