Searched refs:ownershipCallback (Results 1 – 3 of 3) sorted by relevance
247 int appType, OnAppFocusOwnershipCallback ownershipCallback) { in requestAppFocus() argument248 if (ownershipCallback == null) { in requestAppFocus()253 binder = mOwnershipBinders.get(ownershipCallback); in requestAppFocus()255 binder = new IAppFocusOwnershipCallbackImpl(this, ownershipCallback); in requestAppFocus()256 mOwnershipBinders.put(ownershipCallback, binder); in requestAppFocus()273 public void abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, in abandonAppFocus() argument275 if (ownershipCallback == null) { in abandonAppFocus()280 binder = mOwnershipBinders.get(ownershipCallback); in abandonAppFocus()294 mOwnershipBinders.remove(ownershipCallback); in abandonAppFocus()304 public void abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback) { in abandonAppFocus() argument[all …]
132 OnAppFocusOwnershipCallback ownershipCallback = new OnAppFocusOwnershipCallback() { in testSendEvent() local144 ownershipCallback); in testSendEvent()145 assertTrue(mCarAppFocusManager.isOwningFocus(ownershipCallback, in testSendEvent()
196 for (FocusOwnershipCallback ownershipCallback : mFocusOwnershipCallbacks) { in abandonAppFocus()197 ownershipCallback.onFocusAbandoned(appType, info.mUid, info.mPid); in abandonAppFocus()