/packages/services/Car/car-support-lib/src/android/support/car/ |
H A D | CarAppFocusManager.java | 40 * @param appType application type for which status changed 43 void onAppFocusChanged(CarAppFocusManager manager, @AppFocusType int appType, argument 58 * @param appType 60 void onAppFocusOwnershipLost(CarAppFocusManager manager, @AppFocusType int appType); argument 69 * @param appType 71 void onAppFocusOwnershipGranted(CarAppFocusManager manager, @AppFocusType int appType); argument 126 * @param appType Application type to get notification for. 130 @AppFocusType int appType) throws CarNotConnectedException; 135 * @param appType Application type to get notification for. 138 @AppFocusType int appType); 129 addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) argument 137 removeFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) argument 153 isOwningFocus(@ppFocusType int appType, OnAppFocusOwnershipCallback callback) argument 181 requestAppFocus(int appType, OnAppFocusOwnershipCallback ownershipCallback) argument 190 abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, @AppFocusType int appType) argument [all...] |
H A D | CarAppFocusManagerEmbedded.java | 43 public void addFocusListener(OnAppFocusChangedListener listener, int appType) argument 57 mManager.addFocusListener(proxy, appType); 64 public void removeFocusListener(OnAppFocusChangedListener listener, int appType) { argument 72 mManager.removeFocusListener(proxy, appType); 88 public boolean isOwningFocus(int appType, OnAppFocusOwnershipCallback listener) argument 98 return mManager.isOwningFocus(proxy, appType); 105 public int requestAppFocus(int appType, OnAppFocusOwnershipCallback ownershipCallback) argument 119 return mManager.requestAppFocus(appType, proxy); 126 public void abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, int appType) { argument 137 mManager.abandonAppFocus(proxy, appType); 173 onAppFocusChanged(int appType, boolean active) argument [all...] |
/packages/services/Car/service/src/com/android/car/cluster/ |
H A D | InstrumentClusterService.java | 133 public void onFocusAcquired(int appType, int uid, int pid) { argument 134 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { 150 public void onFocusAbandoned(int appType, int uid, int pid) { argument 151 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) {
|
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/ |
H A D | CarAppFocusManagerTest.java | 296 public void onAppFocusChanged(CarAppFocusManager manager, int appType, boolean active) { argument 297 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); 299 mLastChangeAppType = appType; 332 public void onAppFocusOwnershipLost(CarAppFocusManager manager, int appType) { argument 333 Log.i(TAG, "onAppFocusOwnershipLost " + appType); 335 mLastLossEvent = appType; 340 public void onAppFocusOwnershipGranted(CarAppFocusManager manager, int appType) { argument 341 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); 343 mLastGrantEvent = appType; [all...] |
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
H A D | AppFocusTest.java | 69 public void onAppFocusChanged(int appType, boolean active) { argument 70 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); 71 mLastChangeAppType = appType; 104 public void onAppFocusOwnershipLost(int appType) { argument 105 Log.i(TAG, "onAppFocusOwnershipLost " + appType); 106 mLastLossEvent = appType; 111 public void onAppFocusOwnershipGranted(int appType) { argument 112 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); 113 mLastGrantEvent = appType; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAccountItem.java | 45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) { 51 this.mType = appType; 59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) { 61 icon, appType, null, null); 65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, 68 icon, appType, uci, uciPrefix); 119 if(V) Log.d(TAG, "Wrong appType : " + this.mType + " vs " + other.mType); 44 BluetoothMapAccountItem(String id, String name, String packageName, String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) argument 58 create(String id, String name, String packageName, String authority, Drawable icon, BluetoothMapUtils.TYPE appType) argument 64 create(String id, String name, String packageName, String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) argument
|
/packages/services/Car/car-lib/src/android/car/ |
H A D | CarAppFocusManager.java | 46 * @param appType 49 void onAppFocusChanged(@AppFocusType int appType, boolean active); argument 61 * @param appType 63 void onAppFocusOwnershipLost(@AppFocusType int appType); argument 70 * @param appType 72 void onAppFocusOwnershipGranted(@AppFocusType int appType); argument 132 * @param appType Application type to get notification for. 135 public void addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) argument 147 binder.addAppType(appType); 150 mService.registerFocusListener(binder, appType); 162 removeFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) argument 225 isOwningFocus(OnAppFocusOwnershipCallback callback, @AppFocusType int appType) argument 253 requestAppFocus(int appType, OnAppFocusOwnershipCallback ownershipCallback) argument 282 abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, @AppFocusType int appType) argument 348 addAppType(@ppFocusType int appType) argument 352 removeAppType(@ppFocusType int appType) argument 365 onAppFocusChanged(final @AppFocusType int appType, final boolean active) argument 392 addAppType(@ppFocusType int appType) argument 396 removeAppType(@ppFocusType int appType) argument 409 onAppFocusOwnershipLost(final @AppFocusType int appType) argument 424 onAppFocusOwnershipGranted(final @AppFocusType int appType) argument [all...] |
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
H A D | CarAppFocusManagerTest.java | 400 public void onAppFocusChanged(int appType, boolean active) { argument 402 mLastChangeAppType = appType; 434 public void onAppFocusOwnershipLost(int appType) { argument 435 Log.i(TAG, "onAppFocusOwnershipLost " + appType); 437 mLastLossEvent = appType; 442 public void onAppFocusOwnershipGranted(int appType) { argument 443 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); 444 mLastGrantEvent = appType;
|
/packages/services/Car/service/src/com/android/car/ |
H A D | AppFocusService.java | 49 /** K: appType, V: client owning it */ 68 public void registerFocusListener(IAppFocusListener listener, int appType) { argument 73 Binder.getCallingPid(), appType); 76 info.addAppType(appType); 82 public void unregisterFocusListener(IAppFocusListener listener, int appType) { argument 88 info.removeAppType(appType); 103 public boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) { argument 110 return info.getOwnedAppTypes().contains(appType); 115 public int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) { argument 125 if (!alreadyOwnedAppTypes.contains(appType)) { 172 abandonAppFocus(IAppFocusOwnershipCallback callback, int appType) argument 262 isFocusOwner(int uid, int pid, int appType) argument 276 onFocusAcquired(int appType, int uid, int pid) argument 277 onFocusAbandoned(int appType, int uid, int pid) argument 307 updateFocusOwner(int appType, OwnershipClientInfo owner) argument 319 dispatchAppFocusOwnershipLoss(IAppFocusOwnershipCallback callback, int appType) argument 326 dispatchAppFocusOwnershipGrant(IAppFocusOwnershipCallback callback, int appType) argument 333 dispatchAppFocusChange(IAppFocusListener listener, int appType, boolean active) argument 359 ClientInfo(ClientHolder holder, IAppFocusListener binder, int uid, int pid, int appType) argument 371 addAppType(Integer appType) argument 375 removeAppType(Integer appType) argument 408 addOwnedAppType(Integer appType) argument 415 removeOwnedAppType(Integer appType) argument 448 requestAppFocusOwnershipLossDispatch(IAppFocusOwnershipCallback callback, int appType) argument 454 requestAppFocusOwnershipGrantDispatch(IAppFocusOwnershipCallback callback, int appType) argument 460 requestAppFocusChangeDispatch(IAppFocusListener listener, int appType, boolean active) argument [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneInterfaceManager.java | 926 Integer appType = (Integer) request.argument; 927 UiccCardApplication uiccApp = uiccCard.getApplicationByType(appType); 930 + appType); 938 + " specified type -- " + appType); 2506 public String[] getForbiddenPlmns(int subId, int appType) { argument 2509 if (appType != TelephonyManager.APPTYPE_USIM && appType != TelephonyManager.APPTYPE_SIM) { 2514 CMD_GET_FORBIDDEN_PLMNS, new Integer(appType), subId); 3575 * @param appType the uicc app type. 3579 public String getAidForAppType(int subId, int appType) { argument [all...] |