/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 68 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/ |
D | CarAppFocusManager.java | 48 void onAppFocusChanged(@AppFocusType int appType, boolean active); in onAppFocusChanged() argument 62 void onAppFocusOwnershipLost(@AppFocusType int appType); in onAppFocusOwnershipLost() argument 71 void onAppFocusOwnershipGranted(@AppFocusType int appType); in onAppFocusOwnershipGranted() argument 134 public void addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in addFocusListener() argument 145 binder.addAppType(appType); in addFocusListener() 148 mService.registerFocusListener(binder, appType); in addFocusListener() 159 public void removeFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in removeFocusListener() argument 168 mService.unregisterFocusListener(binder, appType); in removeFocusListener() 174 binder.removeAppType(appType); in removeFocusListener() 195 for (Integer appType : binder.getAppTypes()) { in removeFocusListener() [all …]
|
D | IAppFocus.aidl | 24 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
|
D | IAppFocusOwnershipCallback.aidl | 21 void onAppFocusOwnershipLost(int appType) = 0; in onAppFocusOwnershipLost() argument 22 void onAppFocusOwnershipGranted(int appType) = 1; in onAppFocusOwnershipGranted() argument
|
D | IAppFocusListener.aidl | 21 void onAppFocusChanged(int appType, boolean active) = 0; in onAppFocusChanged() argument
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | AppFocusTest.java | 71 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 72 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); in onAppFocusChanged() 73 mLastChangeAppType = appType; in onAppFocusChanged() 106 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 107 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost() 108 mLastLossEvent = appType; in onAppFocusOwnershipLost() 113 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 114 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted() 115 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountItem.java | 45 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 60 return new BluetoothMapAccountItem(id, name, packageName, authority, icon, appType, null, in create() 65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, in create() argument 67 return new BluetoothMapAccountItem(id, name, packageName, authority, icon, appType, uci, in create()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 321 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 323 mLastChangeAppType = appType; in onAppFocusChanged() 355 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 356 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost() 358 mLastLossEvent = appType; in onAppFocusOwnershipLost() 363 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 364 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted() 365 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
|
D | CarNavigationManagerTest.java | 128 public void onAppFocusChanged(int appType, boolean active) { in testSendEvent()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | InstrumentClusterService.java | 198 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() argument 199 changeNavContextOwner(appType, uid, pid, true); in onFocusAcquired() 203 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() argument 204 changeNavContextOwner(appType, uid, pid, false); in onFocusAbandoned() 207 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner() argument 208 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in changeNavContextOwner()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | InstrumentClusterFragment.java | 93 public void onAppFocusOwnershipLost(@CarAppFocusManager.AppFocusType int appType) { 95 Log.d(TAG, "onAppFocusOwnershipLost, appType: " + appType); 103 @CarAppFocusManager.AppFocusType int appType) { 105 Log.d(TAG, "onAppFocusOwnershipGranted, appType: " + appType); 110 (appType, active) -> { 112 Log.d(TAG, "onAppFocusChanged, appType: " + appType + " active: " + active);
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 1165 Integer appType = (Integer) request.argument; in handleMessage() local 1166 UiccCardApplication uiccApp = uiccCard.getApplicationByType(appType); in handleMessage() 1169 + appType); in handleMessage() 1175 + " specified type -- " + appType); in handleMessage() 1423 appType = setFplmnsArgs.first; in handleMessage() 1425 uiccApp = uiccCard.getApplicationByType(appType); in handleMessage() 1427 loge("setForbiddenPlmns: no app with specified type -- " + appType); in handleMessage() 4689 public String[] getForbiddenPlmns(int subId, int appType, String callingPackage, in getForbiddenPlmns() argument 4698 if (appType != TelephonyManager.APPTYPE_USIM in getForbiddenPlmns() 4699 && appType != TelephonyManager.APPTYPE_SIM) { in getForbiddenPlmns() [all …]
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterViewModel.java | 102 (appType, active) -> setNavigationFocus(active), in registerAppFocusListener()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 133 public void onAppFocusChanged(int appType, boolean active) { in connectCar()
|