Home
last modified time | relevance | path

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

12

/aosp12/packages/services/Car/service/src/com/android/car/
H A DAppFocusService.java103 info.addAppType(appType); in registerFocusListener()
115 info.removeAppType(appType); in unregisterFocusListener()
133 owner = mFocusOwners.get(appType); in getAppTypeOwner()
192 info.addOwnedAppType(appType); in requestAppFocus()
195 mActiveAppTypes.add(appType); in requestAppFocus()
208 appType, true); in requestAppFocus()
245 mFocusOwners.remove(appType); in abandonAppFocus()
425 int appType) { in ClientInfo() argument
429 this.mAppTypes.add(appType); in ClientInfo()
533 int appType) { in requestAppFocusOwnershipLossDispatch() argument
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DCarAppFocusManager.java154 binder.addAppType(appType); in addFocusListener()
183 binder.removeAppType(appType); in removeFocusListener()
235 return mService.getAppTypeOwner(appType); in getAppTypeOwner()
284 binder.addAppType(appType); in requestAppFocus()
300 @AppFocusType int appType) { in abandonAppFocus() argument
312 mService.abandonAppFocus(binder, appType); in abandonAppFocus()
318 binder.removeAppType(appType); in abandonAppFocus()
366 mAppTypes.add(appType); in addAppType()
370 mAppTypes.remove(appType); in removeAppType()
407 mAppTypes.add(appType); in addAppType()
[all …]
H A 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
33 List<String> getAppTypeOwner(int appType) = 6; in getAppTypeOwner() argument
H A DIAppFocusOwnershipCallback.aidl21 void onAppFocusOwnershipLost(int appType) = 0; in onAppFocusOwnershipLost() argument
22 void onAppFocusOwnershipGranted(int appType) = 1; in onAppFocusOwnershipGranted() argument
H A DIAppFocusListener.aidl21 void onAppFocusChanged(int appType, boolean active) = 0; in onAppFocusChanged() argument
/aosp12/hardware/interfaces/radio/1.0/vts/functional/
H A Dradio_hidl_hal_icc.cpp42 if (cardStatus.applications[i].appType == AppType::SIM || in TEST_P()
43 cardStatus.applications[i].appType == AppType::USIM || in TEST_P()
44 cardStatus.applications[i].appType == AppType::RUIM || in TEST_P()
45 cardStatus.applications[i].appType == AppType::CSIM) { in TEST_P()
69 if (cardStatus.applications[i].appType == AppType::SIM || in TEST_P()
70 cardStatus.applications[i].appType == AppType::USIM || in TEST_P()
71 cardStatus.applications[i].appType == AppType::RUIM || in TEST_P()
72 cardStatus.applications[i].appType == AppType::CSIM) { in TEST_P()
95 if (cardStatus.applications[i].appType == AppType::SIM || in TEST_P()
96 cardStatus.applications[i].appType == AppType::USIM || in TEST_P()
[all …]
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DAppFocusTest.java82 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()
/aosp12/frameworks/base/telephony/java/android/telephony/gba/
H A DGbaAuthRequest.java44 public GbaAuthRequest(int subId, int appType, Uri nafUrl, byte[] securityProtocol, in GbaAuthRequest() argument
46 this(nextUniqueToken(), subId, appType, nafUrl, in GbaAuthRequest()
55 public GbaAuthRequest(int token, int subId, int appType, Uri nafUrl, byte[] securityProtocol, in GbaAuthRequest() argument
59 mAppType = appType; in GbaAuthRequest()
122 int appType = in.readInt();
131 return new GbaAuthRequest(token, subId, appType, nafUrl, protocol,
H A DGbaService.java144 public void onAuthenticationRequest(int subscriptionId, int token, @UiccAppTypeExt int appType, in onAuthenticationRequest() argument
/aosp12/packages/services/Car/service/src/com/android/car/cluster/
H A DClusterNavigationService.java131 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() argument
132 changeNavContextOwner(appType, uid, pid, true); in onFocusAcquired()
136 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() argument
137 changeNavContextOwner(appType, uid, pid, false); in onFocusAbandoned()
157 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner() argument
158 if (appType != CarAppFocusManager.APP_FOCUS_TYPE_NAVIGATION) { in changeNavContextOwner()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DAppFocusServiceTest.java143 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument
144 mLastAppType = appType; in onAppFocusChanged()
165 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument
166 mGrantedAppTypes = mGrantedAppTypes & ~appType; in onAppFocusOwnershipLost()
171 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument
172 mGrantedAppTypes = mGrantedAppTypes | appType; in onAppFocusOwnershipGranted()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A 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
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()
/aosp12/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
H A DPackageManagerComponentLabelIconOverrideTest.kt121 this += param.copy(appType = AppType.UPDATED_SYSTEM_APP)
124 this += param.copy(appType = AppType.NORMAL_APP,
138 private val appType: AppType,
142 constructor(pkgName: String, appType: AppType, exception: Class<out Exception>)
143 : this(pkgName, appType, Result.Exception(exception))
155 val isUpdatedSystemApp = appType == AppType.UPDATED_SYSTEM_APP
156 val isSystem = appType == AppType.SYSTEM_APP || isUpdatedSystemApp
167 return "pkg=$pkgName, type=$appType, component=$componentName, result=$resultString"
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarAppFocusManagerTest.java346 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument
348 mLastChangeAppType = appType; in onAppFocusChanged()
389 public void onAppFocusOwnershipLost(int appType) { in onAppFocusOwnershipLost() argument
390 Log.i(TAG, "onAppFocusOwnershipLost " + appType); in onAppFocusOwnershipLost()
394 mLastLossEvent = appType; in onAppFocusOwnershipLost()
399 public void onAppFocusOwnershipGranted(int appType) { in onAppFocusOwnershipGranted() argument
400 Log.i(TAG, "onAppFocusOwnershipGranted " + appType); in onAppFocusOwnershipGranted()
401 mLastGrantEvent = appType; in onAppFocusOwnershipGranted()
/aosp12/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
H A DWapPushManager.java119 int appType; field in WapPushManager.WapPushManDBHelper.queryData
152 ret.appType = cur.getInt(cur.getColumnIndex("app_type")); in queryLastApp()
216 if (lastapp.appType == WapPushManagerParams.APP_TYPE_ACTIVITY) { in processMessage()
398 String contentType, String packageName, String className, int appType, in insertPackage() argument
421 values.put("app_type", appType); in insertPackage()
491 " lastapp.appType: " + lastapp.appType + in verifyData()
498 && lastapp.appType == app_type in verifyData()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
H A DInstrumentClusterFragment.java95 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);
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccCardTest.java45 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus() argument
49 mIccCardAppStatus.app_type = appType; in composeUiccApplicationStatus()
/aosp12/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/
H A DSettings.java230 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()
H A DTestGbaService.java40 public void onAuthenticationRequest(int subId, int token, int appType, in onAuthenticationRequest() argument
/aosp12/frameworks/base/media/java/android/media/tv/
H A DTunedInfo.java104 boolean isVisible, boolean isMainSession, @AppType int appType, int appTag) { in TunedInfo() argument
110 mAppType = appType; in TunedInfo()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfoController.java422 public String getIccSimChallengeResponse(int subId, int appType, int authType, String data,
431 UiccCardApplication uiccApp = uiccCard.getApplicationByType(appType);
433 loge("getIccSimChallengeResponse() no app with specified type -- " + appType);
437 + " specified type -- " + appType);
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephony.aidl1467 String getAidForAppType(int subId, int appType); in getAidForAppType() argument
1667 String[] getForbiddenPlmns(int subId, int appType, String callingPackage, in getForbiddenPlmns() argument
1681 int setForbiddenPlmns(int subId, int appType, in List<String> fplmns, String callingPackage, in setForbiddenPlmns() argument
2145 boolean isApplicationOnUicc(int subId, int appType); in isApplicationOnUicc() argument
2283 void bootstrapAuthenticationRequest(int subId, int appType, in Uri nafUrl, in bootstrapAuthenticationRequest() argument
H A DIPhoneSubInfo.aidl219 String getIccSimChallengeResponse(int subId, int appType, int authType, String data, in getIccSimChallengeResponse() argument
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
H A DOccupantZoneStartActivity.java117 (CarAppFocusManager.OnAppFocusChangedListener) (appType, active) -> { in connectCar()
/aosp12/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
H A DClusterRenderingService.java196 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument
198 Log.i(TAG, "onAppFocusChanged: " + appType + ", active: " + active); in onAppFocusChanged()

12