/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | PackageChangedReceiverTest.java | 198 Intent intent = new Intent(); in createIntentSentByAdServiceSystemService() local 210 Intent intent = new Intent(); in createIntentSentBySystem() local 218 Intent intent = in testReceivePackageFullyRemoved_topicsKillSwitchOff() local 226 Intent intent = createIntentSentBySystem(Intent.ACTION_PACKAGE_FULLY_REMOVED); in testReceivePackageFullyRemoved_topicsKillSwitchOff_backCompat() local 232 Intent intent = in testReceivePackageFullyRemoved_topicsKillSwitchOn() local 240 Intent intent = createIntentSentBySystem(Intent.ACTION_PACKAGE_FULLY_REMOVED); in testReceivePackageFullyRemoved_topicsKillSwitchOn_backCompat() local 246 Intent intent = in testReceivePackageFullyRemoved_measurementKillSwitchOff() local 255 Intent intent = createIntentSentBySystem(Intent.ACTION_PACKAGE_FULLY_REMOVED); in testReceivePackageFullyRemoved_measurementKillSwitchOff_backCompat() local 261 Intent intent = in testReceivePackageFullyRemoved_measurementKillSwitchOn() local 270 Intent intent = createIntentSentBySystem(Intent.ACTION_PACKAGE_FULLY_REMOVED); in testReceivePackageFullyRemoved_measurementKillSwitchOn_backCompat() local [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 113 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISABLE); in onCreate_requestDisableIntent_hasDisableRequestType() local 123 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() local 133 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() local 143 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() local 156 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan() local 166 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog() local 176 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered() local 187 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery() local 203 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() local 214 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); in onCreate_requestEnableIntent_hasEnableRequestType() local [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | AllIntentsActivity.java | 172 Intent intent = new Intent(Intent.ACTION_PICK); in onListItemClick() local 183 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 188 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 194 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 200 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 206 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 212 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 218 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 224 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 230 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParserTest.java | 275 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE) in testParse_trustedSourceProvisioningIntent() local 330 Intent intent = new Intent(ACTION_PROVISION_FINANCED_DEVICE) in testParse_financedDeviceProvisioningIntent() local 370 Intent intent = new Intent(Globals.ACTION_RESUME_PROVISIONING) in testParse_resumeProvisioningIntent() local 380 Intent intent = new Intent(ACTION_PROVISION_MANAGED_PROFILE) in testParse_managedProfileIntent() local 424 Intent intent = buildTestManagedProfileIntent(); in testParse_managedProfileIntent_CompProvisioning() local 458 Intent intent = new Intent(ACTION_PROVISION_MANAGED_PROFILE) in testParse_managedProfileIntent_DeviceOwnerWithByodProvisioning() local 489 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE) in testParse_managedDeviceIntent() local 530 Intent intent = new Intent(ACTION_NDEF_DISCOVERED) in testParse_nfcProvisioningIntentThrowsException() local 556 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE) in testParse_illFormedLocaleThrowsException() local 579 Intent intent = in testSetUseMobileData_forManagedProfile_alwaysFalse() local [all …]
|
/packages/apps/Nfc/testutils/src/com/android/nfc/emulator/ |
D | NfcEmulatorDeviceSnippet.java | 47 Intent intent = new Intent(Intent.ACTION_MAIN); in startSingleNonPaymentEmulatorActivity() local 61 Intent intent = new Intent(Intent.ACTION_MAIN); in startSinglePaymentEmulatorActivity() local 74 Intent intent = new Intent(Intent.ACTION_MAIN); in startDualPaymentEmulatorActivity() local 87 Intent intent = new Intent(Intent.ACTION_MAIN); in startForegroundPaymentEmulatorActivity() local 101 Intent intent = new Intent(Intent.ACTION_MAIN); in startDynamicAidEmulatorActivity() local 114 Intent intent = new Intent(Intent.ACTION_MAIN); in startPrefixPaymentEmulatorActivity() local 127 Intent intent = new Intent(Intent.ACTION_MAIN); in startPrefixPaymentEmulator2Activity() local 140 Intent intent = new Intent(Intent.ACTION_MAIN); in startDualNonPaymentPrefixEmulatorActivity() local 155 Intent intent = new Intent(Intent.ACTION_MAIN); in startOffHostEmulatorActivity() local 169 Intent intent = new Intent(Intent.ACTION_MAIN); in startScreenOnOnlyOffHostEmulatorActivity() local [all …]
|
/packages/apps/Nfc/testutils/src/com/android/nfc/reader/ |
D | NfcReaderDeviceSnippet.java | 58 Intent intent = in startSingleNonPaymentReaderActivity() local 70 Intent intent = in startSinglePaymentReaderActivity() local 82 Intent intent = in startDualPaymentReaderActivity() local 94 Intent intent = in startForegroundPaymentReaderActivity() local 106 Intent intent = in startDynamicAidReaderActivity() local 120 Intent intent = in startPrefixPaymentReaderActivity() local 134 Intent intent = in startPrefixPaymentReader2Activity() local 192 Intent intent = in startDualNonPaymentPrefixReaderActivity() local 202 Intent intent = in startOffHostReaderActivity() local 235 Intent intent = in startOnAndOffHostReaderActivity() local [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/parser/ |
D | ParserUtilsTest.java | 83 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE); in extractProvisioningTrigger_provisionManagedDeviceIntent_returnsUnspecified() local 91 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE); in extractProvisioningTrigger_provisionTrustedSourceIntentWithNoProvisioningTrigger_returnsUnspecified() local 100 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE); in extractProvisioningTrigger_provisionTrustedSourceWithQrProvisioningTrigger_returnsQr() local 109 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE); in extractProvisioningTrigger_provisionTrustedSourceWithCloudEnrollmentProvisioningTrigger_returnsCloudEnrollment() local 118 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE); in extractProvisioningTrigger_provisionTrustedSourceWithDeviceOwnerProvisioningTrigger_returnsPersistentDeviceOwner() local 129 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE); in extractProvisioningAction_provisionManagedDeviceIntent_returnsProvisionManagedDevice() local 139 Intent intent = new Intent(ACTION_PROVISION_MANAGED_PROFILE); in extractProvisioningAction_provisionManagedProfileIntent_returnsProvisionManagedProfile() local 149 Intent intent = new Intent(ACTION_PROVISION_FINANCED_DEVICE); in extractProvisioningAction_provisionFinancedDeviceIntent_returnsProvisionFinancedDevice() local 159 Intent intent = new Intent(ACTION_PROVISION_MANAGED_DEVICE_SILENTLY); in extractProvisioningAction_provisionManagedDeviceSilentlyIntent_returnsProvisionManagedDevice() local 168 Intent intent = new Intent(ACTION_NDEF_DISCOVERED); in extractProvisioningAction_nfcIntent_returnsProvisionManagedDevice() local [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | SafetySourceBroadcastReceiverTest.java | 87 Intent intent = in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData() local 104 Intent intent = in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoIntentAction_doesNotSetData() local 120 Intent intent = in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNullSourceIds_doesNotSetData() local 134 Intent intent = in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoSourceIds_doesNotSetData() local 149 Intent intent = in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoBroadcastId_doesNotSetData() local 165 Intent intent = in onReceive_onRefresh_setsRefreshEvent() local 188 Intent intent = in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData() local 207 Intent intent = in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData() local 230 Intent intent = in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData() local 253 Intent intent = in onReceive_onRefresh_withPrivateSpaceFeatureDisabled_setsNullData() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockGenericTest.java | 179 Intent intent = new Intent().putExtra( in updatePreferencesOrFinish_passwordTypeSetPin_shouldStartChooseLockPassword() local 192 Intent intent = new Intent().putExtra( in updatePreferencesOrFinish_passwordTypeSetPinNotFbe_shouldNotStartChooseLock() local 205 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local 221 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local 237 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local 253 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local 341 Intent intent = new Intent().putExtra( in securedScreenLock_notChangingConfig_notWaitForConfirmation_onStopFinishSelf() local 355 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD) in onPreferenceTreeClick_fingerprintPassesMinComplexityInfoOntoNextActivity() local 376 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD) in onPreferenceTreeClick_facePassesMinComplexityInfoOntoNextActivity() local 397 Intent intent = in onSetNewPassword_withTitleAndDescription_displaysPassedTitleAndDescription() local [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 93 final Intent intent = new Intent(context, ConversationActivity.class); in getConversationActivityIntent() local 139 final Intent intent = new Intent(context, PermissionCheckActivity.class); in launchPermissionCheckActivity() local 152 final Intent intent = getConversationListActivityIntent(context); in launchConversationListActivity() local 168 final Intent intent = getConversationActivityIntent(context, conversationId, draft, in launchConversationActivity() local 176 final Intent intent = getConversationActivityIntent(context, conversationId, null, in launchConversationActivityNewTask() local 198 final Intent intent = getConversationActivityIntent(context, null, draft, in launchCreateNewConversationActivity() local 210 final Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); in launchAddContactActivity() local 220 final Intent intent = new Intent(context, SettingsActivity.class); in launchSettingsActivity() local 226 final Intent intent = new Intent(context, ArchivedConversationListActivity.class); in launchArchivedConversationsActivity() local 232 final Intent intent = new Intent(context, BlockedParticipantsActivity.class); in launchBlockedParticipantsActivity() local [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 233 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Single() local 250 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_ArchivedFile() local 260 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Multiple() local 273 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_overShareLimit() local 289 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_VirtualFiles() local 303 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_RegularAndVirtualFiles() local 322 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_OmitsPartialFiles() local 439 Intent intent = LauncherActivity.createLaunchIntent(mActivity); in testInitLocation_LaunchToStackLocation() local 474 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWithoutRootId() local 484 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWrongAuthority_ShowDefault() local [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | ActivityUtils.java | 50 Activity activity, Intent intent, int requestCode) { in startActivityForResultSafely() 68 public static boolean isLaunchedFromSettingsRelated(Intent intent) { in isLaunchedFromSettingsRelated() 78 public static boolean isLaunchedFromSettingsTrampoline(Intent intent) { in isLaunchedFromSettingsTrampoline() 87 private static boolean isLaunchedFromSettings(Intent intent) { in isLaunchedFromSettings() 92 private static boolean isLaunchedFromSettingsHome(Intent intent) { in isLaunchedFromSettingsHome() 101 public static boolean isLaunchedFromSettingsSearch(Intent intent) { in isLaunchedFromSettingsSearch() 121 public static boolean isWallpaperOnlyMode(Intent intent) { in isWallpaperOnlyMode() 130 public static boolean isLaunchedFromLauncher(Intent intent) { in isLaunchedFromLauncher()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiverTest.java | 118 Intent intent = new Intent(); in onReceive_withActionDeviceSelected_callsStartTransfer() local 141 Intent intent = new Intent(); in onReceive_withActionIncomingFileConfirm_startsIncomingFileConfirmActivity() local 155 Intent intent = new Intent(); in onReceive_withActionAccept_updatesContents() local 175 Intent intent = new Intent(); in onReceive_withActionDecline_updatesContents() local 198 Intent intent = new Intent(); in onReceive_withActionOutboundTransfer_startsTransferHistoryActivity() local 220 Intent intent = new Intent(); in onReceive_withActionInboundTransfer_startsTransferHistoryActivity() local 258 Intent intent = new Intent(); in onReceive_withActionHide_contentUpdate() local 278 Intent intent = new Intent(); in onReceive_withActionCompleteHide_makeAllVisibilityHidden() local 297 Intent intent = new Intent(); in onReceive_withActionHideCompletedInboundTransfer_makesInboundVisibilityHidden() local 316 Intent intent = new Intent(); in onReceive_withActionHideCompletedOutboundTransfer_makesOutboundVisibilityHidden() local [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/ |
D | MimeFilterUtilsTest.java | 35 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testRequiresUnsupportedFilters_imagesType() local 44 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testRequiresUnsupportedFilters_videosType() local 53 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testRequiresUnsupportedFilters_allType() local 62 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testRequiresUnsupportedFilters_extraMimeTypeImagesVideos() local 72 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testRequiresUnsupportedFilters_extraMimeTypeAllFiles() local 83 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testRequiresUnsupportedFilters_multipleFilters() local 111 Intent intent = new Intent(); in testGetMimeTypeFilter_setType() local 136 Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testGetMimeTypeFilter_extraMimeType_pickImages() local 147 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testGetMimeTypeFilter_extraMimeType_getContent() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | RequestManageCredentialsTest.java | 78 final Intent intent = new Intent(Credentials.ACTION_MANAGE_CREDENTIALS + "_bad"); in onCreate_intentActionNotManageCredentials_finishActivity() local 94 final Intent intent = new Intent(Credentials.ACTION_MANAGE_CREDENTIALS); in onCreate_noAuthenticationPolicy_finishActivity() local 109 final Intent intent = new Intent(Credentials.ACTION_MANAGE_CREDENTIALS); in onCreate_invalidAuthenticationPolicy_finishActivity() local 126 final Intent intent = new Intent(Credentials.ACTION_MANAGE_CREDENTIALS); in onCreate_runOnManagedProfile_finishActivity() local 143 final Intent intent = new Intent(Credentials.ACTION_MANAGE_CREDENTIALS); in onCreate_runOnManagedDevice_finishActivity() local 159 final Intent intent = new Intent(Credentials.ACTION_MANAGE_CREDENTIALS); in onCreate_authenticationPolicyProvided_startActivity() local 177 private void setupActivityWithAction(Intent intent) throws Exception { in setupActivityWithAction()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/ |
D | BiometricNavigationUtilsTest.java | 154 final Intent intent = mBiometricNavigationUtils.getBiometricSettingsIntent( in getBiometricSettingsIntent_quietMode_returnsQuiteModeDialogIntent() local 164 final Intent intent = mBiometricNavigationUtils.getBiometricSettingsIntent( in getBiometricSettingsIntent_noQuietMode_emptyExtras_returnsSettingsIntent() local 174 final Intent intent = mBiometricNavigationUtils.getBiometricSettingsIntent( in getBiometricSettingsIntent_noQuietMode_withExtras_returnsSettingsIntent() local 186 final Intent intent = mBiometricNavigationUtils.getBiometricSettingsIntent( in getBiometricSettingsIntent_whenDisabledByAdmin_quietMode_returnsBlockedIntent() local 198 final Intent intent = mBiometricNavigationUtils.getBiometricSettingsIntent( in getBiometricSettingsIntent_whenDisabledByAdmin_emptyExtras_returnsBlockedIntent() local 210 final Intent intent = mBiometricNavigationUtils.getBiometricSettingsIntent( in getBiometricSettingsIntent_whenDisabledByAdmin_withExtras_returnsBlockedIntent() local 226 Intent intent = intentCaptor.getValue(); in assertQuietModeDialogLaunchRequested() local 230 private void assertQuietModeDialogIntent(Intent intent) { in assertQuietModeDialogIntent() 237 private void assertBlockedByAdminDialogIntent(Intent intent) { in assertBlockedByAdminDialogIntent() 248 Intent intent = intentCaptor.getValue(); in assertSettingsPageLaunchRequested() local [all …]
|
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 108 public void onReceive(Context context, Intent intent) { in onReceive() 142 private static void insertStepsRecords(Context context, Intent intent) { in insertStepsRecords() 149 private static void insertWeightRecords(Context context, Intent intent) { in insertWeightRecords() 156 private static void insertExerciseRecord(Context context, Intent intent) { in insertExerciseRecord() 164 private static void insertPlannedExerciseRecord(Context context, Intent intent) { in insertPlannedExerciseRecord() 174 private void readStepsRecordsUsingFilters(Context context, Intent intent) { in readStepsRecordsUsingFilters() 188 private void readStepsRecordsUsingIds(Context context, Intent intent) { in readStepsRecordsUsingIds() 202 private void aggregateStepsCount(Context context, Intent intent) { in aggregateStepsCount() 223 private void getChangeLogToken(Context context, Intent intent) { in getChangeLogToken() 244 private void getChangeLogs(Context context, Intent intent) { in getChangeLogs() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | IntentAsserts.java | 39 public static void assertHasAction(Intent intent, String expected) { in assertHasAction() 43 public static void assertTargetsComponent(Intent intent, Class<?> expected) { in assertTargetsComponent() 47 public static void assertHasExtra(Intent intent, String key) { in assertHasExtra() 51 public static Intent assertHasExtraIntent(Intent intent) { in assertHasExtraIntent() 57 public static Uri assertHasExtraUri(Intent intent, String key) { in assertHasExtraUri() 64 public static List<Parcelable> assertHasExtraList(Intent intent, String key) { in assertHasExtraList() 70 public static List<Parcelable> assertHasExtraList(Intent intent, String key, int size) { in assertHasExtraList() 76 public static void assertHasData(Intent intent, Uri expected) { in assertHasData()
|
/packages/apps/CertInstaller/robotests/src/com/android/certinstaller/ |
D | CertInstallerRoboTest.java | 48 Intent intent = new Intent(mContext, CertInstaller.class); in testNameNotNullPass() local 57 Intent intent = new Intent(mContext, CertInstaller.class); in testReferrerNotNullPass() local 71 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageEqualWifiPass() local 89 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageNotNullPass() local 105 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageNullPass() local 115 Intent intent = new Intent(mContext, CertInstaller.class); in testIntentGetsMultipleKeysPass() local 126 Intent intent = new Intent(mContext, CertInstaller.class); in testIntentNullPass() local 137 private CredentialHelper startActivityAndGetCredentialHelper(Intent intent) { in startActivityAndGetCredentialHelper()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/ |
D | FormatActivityFormatReceiverTest.java | 57 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_successResumed() local 73 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_successNotResumed() local 89 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_failure() local 106 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_wrongDisk() local 122 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PUBLIC); in testFormatAsPublic_success() local 137 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PUBLIC); in testFormatAsPublic_wrongDisk() local
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImplicitIntentsUtil.java | 66 public static void startActivityInAppIfPossible(Context context, Intent intent) { in startActivityInAppIfPossible() 79 public static void startActivityInApp(Context context, Intent intent) { in startActivityInApp() 88 public static void startActivityOutsideApp(Context context, Intent intent) { in startActivityOutsideApp() 105 final Intent intent = ImplicitIntentsUtil.composeQuickContactIntent( in startQuickContact() local 126 final Intent intent = new Intent(context, QuickContactActivity.class); in composeQuickContactIntent() local 141 final Intent intent = new Intent(Settings.ACTION_SYNC_SETTINGS); in getIntentForAddingAccount() local 152 final Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT); in getIntentForAddingGoogleAccount() local 160 final Intent intent = composeQuickContactIntent(context, contactUri, in getIntentForQuickContactLauncherShortcut() local 185 private static Intent getIntentInAppIfExists(Context context, Intent intent) { in getIntentInAppIfExists()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelTest.java | 278 Intent intent = new Intent(MediaStore.ACTION_USER_SELECT_IMAGES_FOR_APP); in test_getRemainingPreGrantedItems_correctItemsLoaded() local 317 Intent intent = new Intent(MediaStore.ACTION_USER_SELECT_IMAGES_FOR_APP); in test_deselectPreGrantedItem_correctRevokeMapMaintained() local 361 Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in test_initialisePreSelectionItems_correctItemsLoaded() local 433 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails() local 667 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testParseValuesFromPickImagesIntent_noMimeType_defaultFalse() local 676 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testParseValuesFromGetContentIntent_noMimeType_defaultFalse() local 686 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testParseValuesFromIntent_validMimeType() local 696 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testParseValuesFromPickImagesIntent_validExtraMimeType() local 706 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testParseValuesFromPickImagesIntent_invalidExtraMimeType() local 719 final Intent intent = new Intent(MediaStore.ACTION_PICK_IMAGES); in testParseValuesFromPickImagesIntent_localOnlyTrue() local [all …]
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/actions/ |
D | InputSetupActionUtilsTest.java | 39 Intent intent = new Intent("com.android.tv.action.LAUNCH_INPUT_SETUP"); in hasInputSetupAction_launchInputSetup() local 45 Intent intent = new Intent("com.google.android.tv.action.LAUNCH_INPUT_SETUP"); in hasInputSetupAction_googleLaunchInputSetup() local 51 Intent intent = new Intent("com.example.action.LAUNCH_INPUT_SETUP"); in hasInputSetupAction_bad() local 57 Intent intent = new Intent(); in getExtraActivityAfter_null() local 63 Intent intent = new Intent(); in getExtraActivityAfter_activityAfter() local 71 Intent intent = new Intent(); in getExtraActivityAfter_googleActivityAfter() local 79 Intent intent = new Intent(); in getExtraSetupIntent_null() local 85 Intent intent = new Intent(); in getExtraSetupIntent_setupIntent() local 93 Intent intent = new Intent(); in getExtraSetupIntent_googleSetupIntent() local
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | HvacPanelOverlayViewMediatorTest.java | 73 Intent intent = new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); in closeSystemDialogsIntent_hvacPanelIsExpanded_togglesHvacPanel() local 75 mHvacPanelOverlayViewMediator.mBroadcastReceiver.onReceive(getContext(), intent); in closeSystemDialogsIntent_hvacPanelIsExpanded_togglesHvacPanel() local 83 Intent intent = new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); in closeSystemDialogsIntent_hvacPanelIsNotExpanded_doesNotToggleHvacPanel() local 85 mHvacPanelOverlayViewMediator.mBroadcastReceiver.onReceive(getContext(), intent); in closeSystemDialogsIntent_hvacPanelIsNotExpanded_doesNotToggleHvacPanel() local 93 Intent intent = new Intent(); in notCloseSystemDialogsIntent_hvacPanelIsExpanded_doesNotToggleHvacPanel() local 95 mHvacPanelOverlayViewMediator.mBroadcastReceiver.onReceive(getContext(), intent); in notCloseSystemDialogsIntent_hvacPanelIsExpanded_doesNotToggleHvacPanel() local
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sdkprovider/ |
D | SdkSandboxActivityRegistryTest.java | 120 Intent intent = buildSandboxActivityIntent(token); in testUnregisterSdkSandboxActivityHandler() local 159 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation() local 178 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreationMultipleTimeSucceed() local 192 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation_CallsStatsd() local 225 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation_MultipleTimes_CallsStatsd() local 250 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation_MultipleTimes_CallsStatsdForTotalLatencyOnce() local 272 Intent intent = new Intent(); in testNotifyOnActivityCreation_ExtraParamsMissing_CallsStatsd() local 314 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation_NotRegisteredHandler_CallsStatsd() local 377 Intent intent = buildSandboxActivityIntent(token); in testGetActivityContextInfo() local 390 final Intent intent = buildSandboxActivityIntent(new Binder()); in testGetActivityContextInfoIsNullForNonRegisteredHandlers() local [all …]
|