Home
last modified time | relevance | path

Searched refs:appType (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DAppFocusService.java68 public void registerFocusListener(IAppFocusListener listener, int appType) { in registerFocusListener() argument
73 Binder.getCallingPid(), appType); in registerFocusListener()
76 info.addAppType(appType); in registerFocusListener()
82 public void unregisterFocusListener(IAppFocusListener listener, int appType) { in unregisterFocusListener() argument
88 info.removeAppType(appType); in unregisterFocusListener()
103 public boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) { in isOwningFocus() argument
110 return info.getOwnedAppTypes().contains(appType); in isOwningFocus()
115 public int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) { in requestAppFocus() argument
125 if (!alreadyOwnedAppTypes.contains(appType)) { in requestAppFocus()
126 OwnershipClientInfo ownerInfo = mFocusOwners.get(appType); in requestAppFocus()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCarAppFocusManager.java49 void onAppFocusChanged(@AppFocusType int appType, boolean active); in onAppFocusChanged() argument
63 void onAppFocusOwnershipLost(@AppFocusType int appType); in onAppFocusOwnershipLost() argument
72 void onAppFocusOwnershipGranted(@AppFocusType int appType); in onAppFocusOwnershipGranted() argument
135 public void addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) in addFocusListener() argument
147 binder.addAppType(appType); in addFocusListener()
150 mService.registerFocusListener(binder, appType); in addFocusListener()
162 public void removeFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in removeFocusListener() argument
171 mService.unregisterFocusListener(binder, appType); in removeFocusListener()
176 binder.removeAppType(appType); in removeFocusListener()
198 for (Integer appType : binder.getAppTypes()) { in removeFocusListener()
[all …]
DIAppFocus.aidl24 void registerFocusListener(IAppFocusListener callback, int appType) = 0; in registerFocusListener() argument
25 void unregisterFocusListener(IAppFocusListener callback, int appType) = 1; in unregisterFocusListener() argument
28 boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) = 3; in isOwningFocus() argument
30 int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) = 4; in requestAppFocus() argument
32 void abandonAppFocus(IAppFocusOwnershipCallback callback, int appType) = 5; in abandonAppFocus() argument
DIAppFocusOwnershipCallback.aidl21 void onAppFocusOwnershipLost(int appType) = 0; in onAppFocusOwnershipLost() argument
22 void onAppFocusOwnershipGranted(int appType) = 1; in onAppFocusOwnershipGranted() argument
DIAppFocusListener.aidl21 void onAppFocusChanged(int appType, boolean active) = 0; in onAppFocusChanged() argument
/packages/services/Car/car-support-lib/src/android/support/car/
DCarAppFocusManagerEmbedded.java43 public void addFocusListener(OnAppFocusChangedListener listener, int appType) in addFocusListener() argument
57 mManager.addFocusListener(proxy, appType); in addFocusListener()
64 public void removeFocusListener(OnAppFocusChangedListener listener, int appType) { in removeFocusListener() argument
72 mManager.removeFocusListener(proxy, appType); in removeFocusListener()
88 public boolean isOwningFocus(int appType, OnAppFocusOwnershipCallback listener) in isOwningFocus() argument
98 return mManager.isOwningFocus(proxy, appType); in isOwningFocus()
105 public int requestAppFocus(int appType, OnAppFocusOwnershipCallback ownershipCallback) in requestAppFocus() argument
119 return mManager.requestAppFocus(appType, proxy); in requestAppFocus()
126 public void abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, int appType) { in abandonAppFocus() argument
137 mManager.abandonAppFocus(proxy, appType); in abandonAppFocus()
[all …]
DCarAppFocusManager.java43 void onAppFocusChanged(CarAppFocusManager manager, @AppFocusType int appType, in onAppFocusChanged() argument
60 void onAppFocusOwnershipLost(CarAppFocusManager manager, @AppFocusType int appType); in onAppFocusOwnershipLost() argument
71 void onAppFocusOwnershipGranted(CarAppFocusManager manager, @AppFocusType int appType); in onAppFocusOwnershipGranted() argument
130 @AppFocusType int appType) throws CarNotConnectedException; in addFocusListener() argument
138 @AppFocusType int appType); in removeFocusListener() argument
153 public abstract boolean isOwningFocus(@AppFocusType int appType, in isOwningFocus() argument
181 public abstract int requestAppFocus(int appType, in requestAppFocus() argument
191 @AppFocusType int appType); in abandonAppFocus() argument
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DAppFocusTest.java69 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument
70 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); in onAppFocusChanged()
71 mLastChangeAppType = appType; in onAppFocusChanged()
104 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument
105 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost()
106 mLastLossEvent = appType; in onAppFocusOwnershipLost()
111 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument
112 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted()
113 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
DCarAppFocusManagerTest.java296 public void onAppFocusChanged(CarAppFocusManager manager, int appType, boolean active) { in onAppFocusChanged() argument
297 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); in onAppFocusChanged()
299 mLastChangeAppType = appType; in onAppFocusChanged()
332 public void onAppFocusOwnershipLost(CarAppFocusManager manager, int appType) { in onAppFocusOwnershipLost() argument
333 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost()
335 mLastLossEvent = appType; in onAppFocusOwnershipLost()
340 public void onAppFocusOwnershipGranted(CarAppFocusManager manager, int appType) { in onAppFocusOwnershipGranted() argument
341 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted()
343 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
DCarNavigationStatusManagerTest.java84 public void onAppFocusChanged(CarAppFocusManager manager, int appType, in testStart()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) { in BluetoothMapAccountItem() argument
51 this.mType = appType; in BluetoothMapAccountItem()
59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) { in create() argument
61 icon, appType, null, null); in create()
65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, in create() argument
68 icon, appType, uci, uciPrefix); in create()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java400 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument
402 mLastChangeAppType = appType; in onAppFocusChanged()
434 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument
435 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost()
437 mLastLossEvent = appType; in onAppFocusOwnershipLost()
442 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument
443 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted()
444 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
DCarNavigationManagerTest.java64 public void onAppFocusChanged(int appType, boolean active) { in testStart()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java165 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() argument
166 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in onFocusAcquired()
182 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() argument
183 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in onFocusAbandoned()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java141 public void onAppFocusChanged(CarAppFocusManager manager, int appType, in initCluster()
143 Log.d(TAG, "onAppFocusChanged, appType: " + appType + " active: " in initCluster()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java940 Integer appType = (Integer) request.argument; in handleMessage() local
941 UiccCardApplication uiccApp = uiccCard.getApplicationByType(appType); in handleMessage()
944 + appType); in handleMessage()
952 + " specified type -- " + appType); in handleMessage()
2481 public String[] getForbiddenPlmns(int subId, int appType, String callingPackage) { in getForbiddenPlmns() argument
2499 if (appType != TelephonyManager.APPTYPE_USIM && appType != TelephonyManager.APPTYPE_SIM) { in getForbiddenPlmns()
2504 CMD_GET_FORBIDDEN_PLMNS, new Integer(appType), subId); in getForbiddenPlmns()
3598 public String getAidForAppType(int subId, int appType) { in getAidForAppType() argument
3607 .getApplicationByType(appType).getAid(); in getAidForAppType()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java148 public void onAppFocusChanged(int appType, boolean active) { in init()