/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 112 public void registerFocusListener(IAppFocusListener listener, int appType) { in registerFocusListener() argument 117 mBinderInterface.getCallingPid(), appType); in registerFocusListener() 120 info.addAppType(appType); in registerFocusListener() 126 public void unregisterFocusListener(IAppFocusListener listener, int appType) { in unregisterFocusListener() argument 132 info.removeAppType(appType); in unregisterFocusListener() 147 public List<String> getAppTypeOwner(@CarAppFocusManager.AppFocusType int appType) { in getAppTypeOwner() argument 155 owner = mFocusOwners.get(appType); in getAppTypeOwner() 168 public boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) { in isOwningFocus() argument 176 return info.getOwnedAppTypes().contains(appType); in isOwningFocus() 180 public int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) { in requestAppFocus() argument [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarAppFocusManager.java | 64 void onAppFocusChanged(@AppFocusType int appType, boolean active); in onAppFocusChanged() argument 78 void onAppFocusOwnershipLost(@AppFocusType int appType); in onAppFocusOwnershipLost() argument 87 void onAppFocusOwnershipGranted(@AppFocusType int appType); in onAppFocusOwnershipGranted() argument 151 public void addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in addFocusListener() argument 162 binder.addAppType(appType); in addFocusListener() 165 mService.registerFocusListener(binder, appType); in addFocusListener() 176 public void removeFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in removeFocusListener() argument 185 mService.unregisterFocusListener(binder, appType); in removeFocusListener() 191 binder.removeAppType(appType); in removeFocusListener() 212 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 33 List<String> getAppTypeOwner(int appType) = 6; in getAppTypeOwner() 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 | 84 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 85 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); in onAppFocusChanged() 86 mLastChangeAppType = appType; in onAppFocusChanged() 99 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 100 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost() 105 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 106 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountItem.java | 46 BluetoothMapUtils.TYPE appType, in BluetoothMapAccountItem() argument 54 this.mType = appType; in BluetoothMapAccountItem() 67 BluetoothMapUtils.TYPE appType) { in create() argument 69 id, name, packageName, authority, icon, appType, null, null); in create() 78 BluetoothMapUtils.TYPE appType, in create() argument 82 id, name, packageName, authority, icon, appType, uci, uciPrefix); in create()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | AppFocusServiceTest.java | 168 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 169 mLastAppType = appType; in onAppFocusChanged() 190 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 191 mGrantedAppTypes = mGrantedAppTypes & ~appType; in onAppFocusOwnershipLost() 196 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 197 mGrantedAppTypes = mGrantedAppTypes | appType; in onAppFocusOwnershipGranted()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | ClusterNavigationService.java | 150 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() argument 151 changeNavContextOwner(appType, uid, pid, true); in onFocusAcquired() 155 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() argument 156 changeNavContextOwner(appType, uid, pid, false); in onFocusAbandoned() 176 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner() argument 177 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in changeNavContextOwner()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 340 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 342 mLastChangeAppType = appType; in onAppFocusChanged() 383 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 384 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost() 388 mLastLossEvent = appType; in onAppFocusOwnershipLost() 393 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 394 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted() 395 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
|
D | CarNavigationManagerTest.java | 130 public void onAppFocusChanged(int appType, boolean active) { in testSendEvent()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | InstrumentClusterFragment.java | 90 public void onAppFocusOwnershipLost(@CarAppFocusManager.AppFocusType int appType) { 92 Log.d(TAG, "onAppFocusOwnershipLost, appType: " + appType); 100 @CarAppFocusManager.AppFocusType int appType) { 102 Log.d(TAG, "onAppFocusOwnershipGranted, appType: " + appType); 107 (appType, active) -> { 109 Log.d(TAG, "onAppFocusChanged, appType: " + appType + " active: " + active);
|
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ |
D | Settings.java | 230 public void updateTestConfig(Context cxt, int appType, String url, in updateTestConfig() argument 234 mAppType = appType; in updateTestConfig() 244 editor.putInt(KEY_APP_TYPE, appType); in updateTestConfig()
|
D | TestGbaService.java | 40 public void onAuthenticationRequest(int subId, int token, int appType, in onAuthenticationRequest() argument
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | OccupantZoneStartActivity.java | 115 (CarAppFocusManager.OnAppFocusChangedListener) (appType, active) -> { in connectCar()
|
D | AudioAutoStartActivity.java | 107 (OnAppFocusChangedListener) (appType, active) -> { in connectCar()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 196 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 198 Log.i(TAG, "onAppFocusChanged: " + appType + ", active: " + active); in onAppFocusChanged()
|
D | ClusterViewModel.java | 105 (appType, active) -> setNavigationFocus(active), in registerAppFocusListener()
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 447 public void onAppFocusChanged(int appType, boolean active) { 448 if (!active || appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) {
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 1656 Integer appType = (Integer) request.argument; in handleMessage() local 1657 UiccCardApplication uiccApp = uiccPort.getApplicationByType(appType); in handleMessage() 1660 + appType); in handleMessage() 1666 + " specified type -- " + appType); in handleMessage() 1963 appType = setFplmnsArgs.first; in handleMessage() 1965 uiccApp = uiccPort.getApplicationByType(appType); in handleMessage() 1967 loge("setForbiddenPlmns: no app with specified type -- " + appType); in handleMessage() 6253 public String[] getForbiddenPlmns(int subId, int appType, String callingPackage, in getForbiddenPlmns() argument 6265 if (appType != TelephonyManager.APPTYPE_USIM in getForbiddenPlmns() 6266 && appType != TelephonyManager.APPTYPE_SIM) { in getForbiddenPlmns() [all …]
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | ClusterViewModel.java | 103 (appType, active) -> setNavigationFocus(active), in registerAppFocusListener()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 1364 WifiConfiguration config, int appType) { in getGsmAuthResponseWithLength() argument 1388 appType, TelephonyManager.AUTHTYPE_EAP_SIM, base64Challenge); in getGsmAuthResponseWithLength()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2909 method TIRAMISU_0 void addFocusListener(OnAppFocusChangedListener listener, int appType); 2910 method TIRAMISU_0 void removeFocusListener(OnAppFocusChangedListener listener, int appType); 2913 method TIRAMISU_0 @hiddenOnly List<String> getAppTypeOwner(int appType); 2914 method TIRAMISU_0 boolean isOwningFocus(OnAppFocusOwnershipCallback callback, int appType); 2915 … method TIRAMISU_0 int requestAppFocus(int appType, OnAppFocusOwnershipCallback ownershipCallback); 2916 …method TIRAMISU_0 void abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, int appType); 2920 method TIRAMISU_0 void onAppFocusChanged(int appType, boolean active); 2922 method TIRAMISU_0 void onAppFocusOwnershipLost(int appType); 2923 method TIRAMISU_0 void onAppFocusOwnershipGranted(int appType);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 206 public void onAppFocusChanged(int appType, boolean active) { in connectCar()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 5377 mDecodedProto.wifiNetworkSuggestionApiLog.appCountPerType[0].appType); in testWifiNetworkSuggestionApiLog() 5380 mDecodedProto.wifiNetworkSuggestionApiLog.appCountPerType[1].appType); in testWifiNetworkSuggestionApiLog() 5383 mDecodedProto.wifiNetworkSuggestionApiLog.appCountPerType[2].appType); in testWifiNetworkSuggestionApiLog()
|