Home
last modified time | relevance | path

Searched defs:expectedIntent (Results 1 – 25 of 25) sorted by relevance

/aosp_15_r20/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DExportImportNotificationFactoryTest.java93 Intent expectedIntent = new Intent(HealthConnectManager.ACTION_MANAGE_HEALTH_DATA); in importCompletesSuccessfully_notificationDisplayedCorrectly() local
118 Intent expectedIntent = new Intent(HEALTH_CONNECT_RESTART_IMPORT_ACTION); in importCompletesUnsuccessfully_invalidFile_notificationDisplayedCorrectly() local
143 Intent expectedIntent = new Intent(HEALTH_CONNECT_UPDATE_ACTION); in importCompletesUnsuccessfully_versionMismatch_notificationDisplayedCorrectly() local
168 Intent expectedIntent = new Intent(HEALTH_CONNECT_RESTART_IMPORT_ACTION); in importCompletesUnsuccessfully_unknownError_notificationDisplayedCorrectly() local
195 Intent expectedIntent = new Intent(HEALTH_CONNECT_RESTART_EXPORT_SETUP); in exportCompletesUnsuccessfully_unknownError_notificationDisplayedCorrectly() local
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowApplicationTest.java351 Intent expectedIntent = new Intent("expected").setPackage("package"); in bindServiceShouldCallOnServiceConnectedWhenNotPaused() local
374 Intent expectedIntent = new Intent("expected").setPackage("package"); in unbindServiceShouldNotCallOnServiceDisconnected_ifFlagUnset() local
394 Intent expectedIntent = new Intent("expected").setPackage("package"); in unbindServiceShouldCallOnServiceDisconnectedWhenNotPaused_ifFlagSet() local
412 Intent expectedIntent = new Intent("expected").setPackage("package"); in unbindServiceAddsEntryToUnboundServicesCollection() local
429 Intent expectedIntent = new Intent("refuseToBind").setPackage("package"); in declaringActionUnbindableMakesBindServiceReturnFalse() local
461 Intent expectedIntent = new Intent("expected").setPackage("package"); in declaringComponentUnbindableMakesBindServiceReturnFalse_intentWithoutComponent() local
479 Intent expectedIntent = new Intent("expected").setPackage("package"); in declaringComponentUnbindableMakesBindServiceReturnFalse_defaultComponent() local
H A DShadowInstrumentationTest.java42 Intent expectedIntent = new Intent("do_the_thing"); in testExecStartActivity_handledProperlyForSDK17to25() local
H A DShadowWifiManagerTest.java1168 Intent expectedIntent = new Intent(SCAN_RESULTS_AVAILABLE_ACTION); in networksFoundFromPnoScan_matchingSsid_scanResultsAvailableBroadcastSent() local
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
H A DAppClipsViewModelTest.java278 Intent expectedIntent = new Intent().setPackage(BACKLINKS_TASK_PACKAGE_NAME); in triggerBacklinks_shouldUpdateBacklinks_withAppProvidedIntent() local
302 Intent expectedIntent = new Intent().setPackage(BACKLINKS_TASK_PACKAGE_NAME); in triggerBacklinks_withNonResolvableAppProvidedIntent_usesMainLauncherIntent() local
405 Intent expectedIntent = new Intent().setPackage(package2); in triggerBacklinks_multipleAppsOnScreen_multipleBacklinksAvailable() local
502 private void mockQueryIntentActivities(Intent expectedIntent, ResolveInfo resolveInfoToReturn) { in mockQueryIntentActivities()
539 IntentMatcher(Intent expectedIntent) { in IntentMatcher()
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/actions/
H A DQSTileIntentUserInputHandlerTest.kt109 val expectedIntent = in testPassNonActivityPendingIntentAndRequestStartingActivity_findsIntentAndStarts() constant
159 private val expectedIntent = intent constant
/aosp_15_r20/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DItemInfoMatcherTest.kt118 val expectedIntent = in ofShortcutKeys returns Predicate for Deep Shortcut Info containing given ShortcutKey() constant
150 val expectedIntent = in forFolderMatch returns Predicate to match against children within Folder ItemInfo() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
H A DAlarmTileUserActionInteractorTest.kt55 val expectedIntent = mock<PendingIntent>() in <lambda>() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/domain/interactor/
H A DBrightnessPolicyEnforcementInteractorTest.kt112 val expectedIntent = in startRestrictionDialog() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/interactor/
H A DDisabledByPolicyInteractorTest.kt117 val expectedIntent = RestrictedLockUtils.getShowAdminSupportDetailsIntent(ADMIN) in testHandleDisabledByPolicy() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
H A DAccessibilityMenuServiceTest.java355 Intent expectedIntent = new Intent(Intent.ACTION_VOICE_COMMAND); in testAssistantButton_opensVoiceAssistant() local
375 Intent expectedIntent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); in testAccessibilitySettingsButton_opensAccessibilitySettings() local
/aosp_15_r20/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DFirstScreenBroadcastHelperTest.kt53 private val expectedIntent = constant in com.android.launcher3.model.FirstScreenBroadcastHelperTest
/aosp_15_r20/platform_testing/robolab/roboStandaloneProj/tests/src/com/android/myroboapplication/
H A DWelcomeActivityTest.java45 Intent expectedIntent = new Intent(activity, LoginActivity.class); in clickingLogin_shouldStartLoginActivity() local
/aosp_15_r20/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
H A DTransportConnectionManagerTest.java121 private ArgumentMatcher<Intent> matchesIntentAndExtras(Intent expectedIntent) { in matchesIntentAndExtras()
/aosp_15_r20/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DPrivateProfileManagerTest.java204 Intent expectedIntent = ApiWrapper.INSTANCE.get(mContext).getPrivateSpaceSettingsIntent(); in openPrivateSpaceSettings_triggersCorrectIntent() local
/aosp_15_r20/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/wifi/
DWifiTetherBasePreferenceControllerTest.java162 Intent expectedIntent = in onSetWifiTetherConfig_requestsWifiTetherRestart() local
/aosp_15_r20/external/robolectric/integration_tests/androidx_test/src/test/java/org/robolectric/integrationtests/axt/
H A DIntentsTest.java126 Intent expectedIntent = in testIntendedSuccess_truthChainedCorrespondence() local
/aosp_15_r20/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStartInterceptorTest.java360 Intent expectedIntent = new Intent(Intent.ACTION_MAIN); in testHomeIntentInterception() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java487 public IntentMatcher(Intent expectedIntent) { in IntentMatcher()
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
H A DCameraIntentsActivity.java185 String expectedIntent = EXPECTED_INTENTS[getStageIndex()]; in onReceivedIntent() local
/aosp_15_r20/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java605 boolean expectedIntent) { in injectAudioDeviceAdded()
620 boolean expectedIntent) { in injectAudioDeviceRemoved()
/aosp_15_r20/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerDataLayerTest.java688 final Intent expectedIntent = new Intent("foo"); in testFetchCloudAccountInfo() local
/aosp_15_r20/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java2002 Intent expectedIntent = new Intent(InCallService.SERVICE_INTERFACE); in testSeparatelyBluetoothService() local
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBroadcastQueueModernImplTest.java2194 final Intent expectedIntent = intents.get(i); in verifyPendingRecords() local
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java6532 Intent expectedIntent = new Intent( in verifyDataSharingAppliedBroadcast() local