Home
last modified time | relevance | path

Searched refs:hasCategory (Results 1 – 20 of 20) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java235 assertFalse(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_Single()
236 assertFalse(intent.hasCategory(Intent.CATEGORY_OPENABLE)); in testShareSelectedDocuments_Single()
262 assertFalse(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_Multiple()
263 assertFalse(intent.hasCategory(Intent.CATEGORY_OPENABLE)); in testShareSelectedDocuments_Multiple()
291 assertTrue(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_VirtualFiles()
292 assertFalse(intent.hasCategory(Intent.CATEGORY_OPENABLE)); in testShareSelectedDocuments_VirtualFiles()
306 assertFalse(intent.hasCategory(Intent.CATEGORY_OPENABLE)); in testShareSelectedDocuments_RegularAndVirtualFiles()
308 assertTrue(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_RegularAndVirtualFiles()
324 assertFalse(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_OmitsPartialFiles()
325 assertFalse(intent.hasCategory(Intent.CATEGORY_OPENABLE)); in testShareSelectedDocuments_OmitsPartialFiles()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoActivityRelatedPermissionTest.java93 && (intent.hasCategory(Intent.CATEGORY_HOME) in isHomeIntent()
94 || intent.hasCategory(Intent.CATEGORY_SECONDARY_HOME)) in isHomeIntent()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.kt954 if (!intent.hasCategory(ALARM_DISMISS_TAG) && in <lambda>()
955 !intent.hasCategory(ALARM_SNOOZE_TAG)) { in <lambda>()
962 if (intent.hasCategory(ALARM_DISMISS_TAG)) { in <lambda>()
964 } else if (intent.hasCategory(ALARM_SNOOZE_TAG)) { in <lambda>()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtils.java71 if (filter.hasCategory(Intent.CATEGORY_BROWSABLE) in getHandledDomains()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionParameters.kt92 check(deletionType.hasCategory) { in getCategoryLabel()
DDeletionType.kt192 val hasCategory: Boolean constant in com.android.healthconnect.controller.deletion.DeletionType
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v35/
DWalletRoleBehavior.java164 if (apduServiceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) { in getQualifyingApduServicesAsUser()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenPrioritySendersHelper.java104 if (!FALLBACK_INTENT.hasCategory(Intent.CATEGORY_APP_CONTACTS)) { in ZenPrioritySendersHelper()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java281 && launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER) in isLauncherAppTarget()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceController.java103 if (!FALLBACK_INTENT.hasCategory(Intent.CATEGORY_APP_CONTACTS)) { in ZenModePrioritySendersPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DInstantAppButtonsPreferenceControllerTest.java261 && intent.hasCategory(Intent.CATEGORY_BROWSABLE) in clickLaunchButton_shouldLaunchViewIntent()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DPreferredServicesTest.java162 when(mServiceInfoPayment.hasCategory(eq(CardEmulation.CATEGORY_PAYMENT))).thenReturn(true); in setUp()
163 when(mServiceInfoNonPayment.hasCategory(eq(CardEmulation.CATEGORY_PAYMENT))).thenReturn(false); in setUp()
DRegisteredServicesCacheTest.java1179 when(apduServiceInfo.hasCategory(category)).thenReturn(true); in createServiceResolveInfo()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarderActivity.java299 && intent.hasCategory(Intent.CATEGORY_BROWSABLE); in isViewActionIntent()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java371 if (serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) { in isForegroundAllowedLocked()
DRegisteredServicesCache.java401 if (service.hasCategory(category)) services.add(service); in getServicesForCategory()
586 if (!service.hasCategory(CardEmulation.CATEGORY_OTHER)) { in invalidateOther()
DCardEmulationManager.java431 if (service.hasCategory(CardEmulation.CATEGORY_PAYMENT) in verifyDefaults()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java282 state.openableOnly = intent.hasCategory(Intent.CATEGORY_OPENABLE); in includeState()
/packages/apps/Settings/src/com/android/settings/
DUtils.java629 if (filter.hasCategory(Intent.CATEGORY_BROWSABLE) in getHandledDomains()
/packages/apps/Nfc/apex/hiddenapi/
Dhiddenapi-max-target-o.txt25 Landroid/nfc/cardemulation/ApduServiceInfo;->hasCategory(Ljava/lang/String;)Z