OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ownershipCallback
(Results
1 - 6
of
6
) sorted by null
/packages/services/Car/car-support-lib/src/android/support/car/
CarAppFocusManagerEmbedded.java
105
public int requestAppFocus(int appType, OnAppFocusOwnershipCallback
ownershipCallback
)
107
if (
ownershipCallback
== null) {
112
proxy = mOwnershipCallbacks.get(
ownershipCallback
);
114
proxy = new OnAppFocusOwnershipCallbackProxy(this,
ownershipCallback
);
115
mOwnershipCallbacks.put(
ownershipCallback
, proxy);
126
public void abandonAppFocus(OnAppFocusOwnershipCallback
ownershipCallback
, int appType) {
127
if (
ownershipCallback
== null) {
132
proxy = mOwnershipCallbacks.get(
ownershipCallback
);
141
public void abandonAppFocus(OnAppFocusOwnershipCallback
ownershipCallback
) {
142
if (
ownershipCallback
== null)
[
all
...]
CarAppFocusManager.java
175
* @param
ownershipCallback
Ownership callback to request app focus for. Cannot be null.
182
OnAppFocusOwnershipCallback
ownershipCallback
)
187
* @param
ownershipCallback
Ownership callback to abandon app focus for. Cannot be null.
190
public abstract void abandonAppFocus(OnAppFocusOwnershipCallback
ownershipCallback
,
195
* @param
ownershipCallback
Ownership callback to abandon focus for. Cannot be null.
197
public abstract void abandonAppFocus(OnAppFocusOwnershipCallback
ownershipCallback
);
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
CarNavigationManagerTest.java
68
OnAppFocusOwnershipCallback
ownershipCallback
= new OnAppFocusOwnershipCallback() {
80
ownershipCallback
);
81
assertTrue(mCarAppFocusManager.isOwningFocus(
ownershipCallback
,
/packages/services/Car/car-lib/src/android/car/
CarAppFocusManager.java
248
* @param
ownershipCallback
254
OnAppFocusOwnershipCallback
ownershipCallback
)
256
if (
ownershipCallback
== null) {
261
binder = mOwnershipBinders.get(
ownershipCallback
);
263
binder = new IAppFocusOwnershipCallbackImpl(this,
ownershipCallback
);
264
mOwnershipBinders.put(
ownershipCallback
, binder);
278
* @param
ownershipCallback
282
public void abandonAppFocus(OnAppFocusOwnershipCallback
ownershipCallback
,
284
if (
ownershipCallback
== null) {
289
binder = mOwnershipBinders.get(
ownershipCallback
);
[
all
...]
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
CarNavigationStatusManagerTest.java
90
ownershipCallback
= new OnAppFocusOwnershipCallback() {
101
mCarAppFocusManager.requestAppFocus(APP_FOCUS_TYPE_NAVIGATION,
ownershipCallback
);
102
assertTrue(mCarAppFocusManager.isOwningFocus(APP_FOCUS_TYPE_NAVIGATION,
ownershipCallback
));
/packages/services/Car/service/src/com/android/car/
AppFocusService.java
196
for (FocusOwnershipCallback
ownershipCallback
: mFocusOwnershipCallbacks) {
197
ownershipCallback
.onFocusAbandoned(appType, info.mUid, info.mPid);
Completed in 778 milliseconds