/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 100 public void registerFocusListener(IAppFocusListener listener, int appType) { in registerFocusListener() argument 105 Binder.getCallingPid(), appType); in registerFocusListener() 108 info.addAppType(appType); in registerFocusListener() 114 public void unregisterFocusListener(IAppFocusListener listener, int appType) { in unregisterFocusListener() argument 120 info.removeAppType(appType); in unregisterFocusListener() 135 public List<String> getAppTypeOwner(@CarAppFocusManager.AppFocusType int appType) { in getAppTypeOwner() argument 138 owner = mFocusOwners.get(appType); in getAppTypeOwner() 151 public boolean isOwningFocus(IAppFocusOwnershipCallback callback, int appType) { in isOwningFocus() argument 159 return info.getOwnedAppTypes().contains(appType); in isOwningFocus() 163 public int requestAppFocus(IAppFocusOwnershipCallback callback, int appType) { in requestAppFocus() argument [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarAppFocusManager.java | 58 void onAppFocusChanged(@AppFocusType int appType, boolean active); in onAppFocusChanged() argument 73 void onAppFocusOwnershipLost(@AppFocusType int appType); in onAppFocusOwnershipLost() argument 83 void onAppFocusOwnershipGranted(@AppFocusType int appType); in onAppFocusOwnershipGranted() argument 153 public void addFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in addFocusListener() argument 164 binder.addAppType(appType); in addFocusListener() 167 mService.registerFocusListener(binder, appType); in addFocusListener() 179 public void removeFocusListener(OnAppFocusChangedListener listener, @AppFocusType int appType) { in removeFocusListener() argument 188 mService.unregisterFocusListener(binder, appType); in removeFocusListener() 194 binder.removeAppType(appType); in removeFocusListener() 216 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 | 82 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 83 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); in onAppFocusChanged() 84 mLastChangeAppType = appType; in onAppFocusChanged() 117 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 118 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost() 119 mLastLossEvent = appType; in onAppFocusOwnershipLost() 124 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 125 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted() 126 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | AppFocusServiceTest.java | 154 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 155 mLastAppType = appType; in onAppFocusChanged() 176 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 177 mGrantedAppTypes = mGrantedAppTypes & ~appType; in onAppFocusOwnershipLost() 182 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 183 mGrantedAppTypes = mGrantedAppTypes | appType; in onAppFocusOwnershipGranted()
|
/packages/modules/Bluetooth/android/app/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/service/src/com/android/car/cluster/ |
D | ClusterNavigationService.java | 144 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() argument 145 changeNavContextOwner(appType, uid, pid, true); in onFocusAcquired() 149 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() argument 150 changeNavContextOwner(appType, uid, pid, false); in onFocusAbandoned() 170 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner() argument 171 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in changeNavContextOwner()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 358 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument 360 mLastChangeAppType = appType; in onAppFocusChanged() 401 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument 402 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost() 406 mLastLossEvent = appType; in onAppFocusOwnershipLost() 411 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument 412 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted() 413 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
|
D | CarNavigationManagerTest.java | 129 public void onAppFocusChanged(int appType, boolean active) { in testSendEvent()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | InstrumentClusterFragment.java | 95 public void onAppFocusOwnershipLost(@CarAppFocusManager.AppFocusType int appType) { 97 Log.d(TAG, "onAppFocusOwnershipLost, appType: " + appType); 105 @CarAppFocusManager.AppFocusType int appType) { 107 Log.d(TAG, "onAppFocusOwnershipGranted, appType: " + appType); 112 (appType, active) -> { 114 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/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 1557 Integer appType = (Integer) request.argument; in handleMessage() local 1558 UiccCardApplication uiccApp = uiccPort.getApplicationByType(appType); in handleMessage() 1561 + appType); in handleMessage() 1567 + " specified type -- " + appType); in handleMessage() 1863 appType = setFplmnsArgs.first; in handleMessage() 1865 uiccApp = uiccPort.getApplicationByType(appType); in handleMessage() 1867 loge("setForbiddenPlmns: no app with specified type -- " + appType); in handleMessage() 5467 public String[] getForbiddenPlmns(int subId, int appType, String callingPackage, in getForbiddenPlmns() argument 5476 if (appType != TelephonyManager.APPTYPE_USIM in getForbiddenPlmns() 5477 && appType != TelephonyManager.APPTYPE_SIM) { in getForbiddenPlmns() [all …]
|
/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 | 102 (appType, active) -> setNavigationFocus(active), in registerAppFocusListener()
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 364 public void onAppFocusChanged(int appType, boolean active) { 365 if (!active || appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | OccupantZoneStartActivity.java | 117 (CarAppFocusManager.OnAppFocusChangedListener) (appType, active) -> { in connectCar()
|
D | AudioAutoStartActivity.java | 107 (OnAppFocusChangedListener) (appType, active) -> { in connectCar()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | ClusterViewModel.java | 99 (appType, active) -> setNavigationFocus(active), in registerAppFocusListener()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 1185 WifiConfiguration config, int appType) { in getGsmAuthResponseWithLength() argument 1209 appType, TelephonyManager.AUTHTYPE_EAP_SIM, base64Challenge); in getGsmAuthResponseWithLength()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2907 method TIRAMISU_0 void addFocusListener(OnAppFocusChangedListener listener, int appType); 2908 method TIRAMISU_0 void removeFocusListener(OnAppFocusChangedListener listener, int appType); 2911 method TIRAMISU_0 @hiddenOnly List<String> getAppTypeOwner(int appType); 2912 method TIRAMISU_0 boolean isOwningFocus(OnAppFocusOwnershipCallback callback, int appType); 2913 … method TIRAMISU_0 int requestAppFocus(int appType, OnAppFocusOwnershipCallback ownershipCallback); 2914 …method TIRAMISU_0 void abandonAppFocus(OnAppFocusOwnershipCallback ownershipCallback, int appType); 2918 method TIRAMISU_0 void onAppFocusChanged(int appType, boolean active); 2920 method TIRAMISU_0 void onAppFocusOwnershipLost(int appType); 2921 method TIRAMISU_0 void onAppFocusOwnershipGranted(int appType);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 195 public void onAppFocusChanged(int appType, boolean active) { in connectCar()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 5076 mDecodedProto.wifiNetworkSuggestionApiLog.appCountPerType[0].appType); in testWifiNetworkSuggestionApiLog() 5079 mDecodedProto.wifiNetworkSuggestionApiLog.appCountPerType[1].appType); in testWifiNetworkSuggestionApiLog() 5082 mDecodedProto.wifiNetworkSuggestionApiLog.appCountPerType[2].appType); in testWifiNetworkSuggestionApiLog()
|