Lines Matching refs:binder
145 IAppFocusListenerImpl binder; in addFocusListener() local
147 binder = mChangeBinders.get(listener); in addFocusListener()
148 if (binder == null) { in addFocusListener()
149 binder = new IAppFocusListenerImpl(this, listener); in addFocusListener()
150 mChangeBinders.put(listener, binder); in addFocusListener()
152 binder.addAppType(appType); in addFocusListener()
155 mService.registerFocusListener(binder, appType); in addFocusListener()
167 IAppFocusListenerImpl binder; in removeFocusListener() local
169 binder = mChangeBinders.get(listener); in removeFocusListener()
170 if (binder == null) { in removeFocusListener()
175 mService.unregisterFocusListener(binder, appType); in removeFocusListener()
181 binder.removeAppType(appType); in removeFocusListener()
182 if (!binder.hasAppTypes()) { in removeFocusListener()
194 IAppFocusListenerImpl binder; in removeFocusListener() local
196 binder = mChangeBinders.remove(listener); in removeFocusListener()
197 if (binder == null) { in removeFocusListener()
202 for (Integer appType : binder.getAppTypes()) { in removeFocusListener()
203 mService.unregisterFocusListener(binder, appType); in removeFocusListener()
229 IAppFocusOwnershipCallbackImpl binder; in isOwningFocus() local
231 binder = mOwnershipBinders.get(callback); in isOwningFocus()
232 if (binder == null) { in isOwningFocus()
237 return mService.isOwningFocus(binder, appType); in isOwningFocus()
259 IAppFocusOwnershipCallbackImpl binder; in requestAppFocus() local
261 binder = mOwnershipBinders.get(ownershipCallback); in requestAppFocus()
262 if (binder == null) { in requestAppFocus()
263 binder = new IAppFocusOwnershipCallbackImpl(this, ownershipCallback); in requestAppFocus()
264 mOwnershipBinders.put(ownershipCallback, binder); in requestAppFocus()
266 binder.addAppType(appType); in requestAppFocus()
269 return mService.requestAppFocus(binder, appType); in requestAppFocus()
286 IAppFocusOwnershipCallbackImpl binder; in abandonAppFocus() local
288 binder = mOwnershipBinders.get(ownershipCallback); in abandonAppFocus()
289 if (binder == null) { in abandonAppFocus()
294 mService.abandonAppFocus(binder, appType); in abandonAppFocus()
300 binder.removeAppType(appType); in abandonAppFocus()
301 if (!binder.hasAppTypes()) { in abandonAppFocus()
313 IAppFocusOwnershipCallbackImpl binder; in abandonAppFocus() local
315 binder = mOwnershipBinders.remove(ownershipCallback); in abandonAppFocus()
316 if (binder == null) { in abandonAppFocus()
321 for (Integer appType : binder.getAppTypes()) { in abandonAppFocus()
322 mService.abandonAppFocus(binder, appType); in abandonAppFocus()