/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestMessages.java | 20 import android.app.Activity; 432 private static void sendBroadcast(Activity activity, int serialNumber, int category, in sendBroadcast() 438 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in sendBroadcast() 441 public static void testSendMessage7bit(Activity activity, int serialNumber, in testSendMessage7bit() 446 public static void testSendMessage7bitUmts(Activity activity, int serialNumber, in testSendMessage7bitUmts() 451 public static void testSendMessage7bitNoPadding(Activity activity, int serialNumber, in testSendMessage7bitNoPadding() 456 public static void testSendMessage7bitNoPaddingUmts(Activity activity, int serialNumber, in testSendMessage7bitNoPaddingUmts() 461 public static void testSendMessage7bitMultipageGsm(Activity activity, int serialNumber, in testSendMessage7bitMultipageGsm() 470 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitMultipageGsm() 473 public static void testSendMessage7bitMultipageUmts(Activity activity, int serialNumber, in testSendMessage7bitMultipageUmts() [all …]
|
D | SendGsmCmasMessages.java | 20 import android.app.Activity; 58 private static void sendBroadcast(Activity activity, SmsCbMessage cbMessage) { in sendBroadcast() 64 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in sendBroadcast() 67 public static void testSendCmasPresAlert(Activity activity, int serialNumber) { in testSendCmasPresAlert() 77 public static void testSendCmasExtremeAlert(Activity activity, int serialNumber) { in testSendCmasExtremeAlert() 87 public static void testSendCmasSevereAlert(Activity activity, int serialNumber) { in testSendCmasSevereAlert() 97 public static void testSendCmasAmberAlert(Activity activity, int serialNumber) { in testSendCmasAmberAlert() 107 public static void testSendCmasMonthlyTest(Activity activity, int serialNumber) { in testSendCmasMonthlyTest() 117 public static void testSendPublicSafetyMessagesAlert(Activity activity, int serialNumber) { in testSendPublicSafetyMessagesAlert() 127 public static void testSendStateLocalTestAlert(Activity activity, int serialNumber) { in testSendStateLocalTestAlert()
|
D | SendCdmaCmasMessages.java | 20 import android.app.Activity; 54 private static void sendBroadcast(Activity activity, SmsCbMessage cbMessage) { in sendBroadcast() 60 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in sendBroadcast() 63 public static void testSendCmasPresAlert(Activity activity, int serialNumber) { in testSendCmasPresAlert() 73 public static void testSendCmasExtremeAlert(Activity activity, int serialNumber) { in testSendCmasExtremeAlert() 83 public static void testSendCmasSevereAlert(Activity activity, int serialNumber) { in testSendCmasSevereAlert() 93 public static void testSendCmasAmberAlert(Activity activity, int serialNumber) { in testSendCmasAmberAlert() 103 public static void testSendCmasMonthlyTest(Activity activity, int serialNumber) { in testSendCmasMonthlyTest()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | Snackbars.java | 19 import android.app.Activity; 37 public static final void showDocumentsClipped(Activity activity, int docCount) { in showDocumentsClipped() 43 public static final void showMove(Activity activity, int docCount) { in showMove() 48 public static final void showCopy(Activity activity, int docCount) { in showCopy() 53 public static final void showCompress(Activity activity, int docCount) { in showCompress() 58 public static final void showExtract(Activity activity, int docCount) { in showExtract() 63 public static final void showDelete(Activity activity, int docCount) { in showDelete() 68 public static final void showOperationRejected(Activity activity) { in showOperationRejected() 72 public static final void showOperationFailed(Activity activity) { in showOperationFailed() 76 public static final void showRenameFailed(Activity activity) { in showRenameFailed() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
D | TestInstrumentationRunner.java | 19 import android.app.Activity; 47 Class<? extends Activity> newActivity) { in registerReplacedActivity() 57 public Activity newActivity(ClassLoader cl, String className, Intent intent) in newActivity() 73 public void onActivityCreated(Activity activity, Bundle bundle) { in newApplication() 82 public void onActivityStarted(Activity activity) {} in newApplication() 85 public void onActivityResumed(Activity activity) {} in newApplication() 88 public void onActivityPaused(Activity activity) {} in newApplication() 91 public void onActivityStopped(Activity activity) {} in newApplication() 94 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) {} in newApplication() 97 public void onActivityDestroyed(Activity activity) {} in newApplication() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | MenuHelper.java | 19 import android.app.Activity; 80 private static void startCameraActivity(Activity activity, Intent intent, in startCameraActivity() 99 public static void gotoMode(int mode, Activity activity) { in gotoMode() 121 public static void gotoVideoMode(Activity activity, boolean resetEffect) { in gotoVideoMode() 127 public static void gotoCameraMode(Activity activity) { in gotoCameraMode() 132 public static void gotoVideoMode(Activity activity, Intent intent) { in gotoVideoMode() 136 public static void gotoCameraMode(Activity activity, Intent intent) { in gotoCameraMode() 140 public static void gotoCameraImageGallery(Activity activity) { in gotoCameraImageGallery() 144 public static void gotoCameraVideoGallery(Activity activity) { in gotoCameraVideoGallery() 148 private static void gotoGallery(Activity activity, int windowTitleId, in gotoGallery()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | LauncherActivityRule.java | 23 import android.app.Activity; 96 public void onActivityCreated(Activity activity, Bundle bundle) { 103 public void onActivityStarted(Activity activity) { } 106 public void onActivityResumed(Activity activity) { } 109 public void onActivityPaused(Activity activity) { } 112 public void onActivityStopped(Activity activity) { } 115 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) { } 118 public void onActivityDestroyed(Activity activity) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrUiHelper.java | 20 import android.app.Activity; 98 Activity activity, String inputId, Runnable recordingRequestRunnable) { in checkStorageStatusAndShowErrorMessage() 120 Activity activity, Program program, boolean addCurrentProgramToSeries) { in showScheduleDialog() 132 public static void showChannelRecordDurationOptions(Activity activity, Channel channel) { in showChannelRecordDurationOptions() 142 public static void showScheduleConflictDialog(Activity activity, Program program) { in showScheduleConflictDialog() 183 Activity activity, Runnable recordingRequestRunnable) { in showDvrNoFreeSpaceErrorDialog() 201 private static void showDvrMissingStorageErrorDialog(Activity activity) { in showDvrMissingStorageErrorDialog() 206 public static void showDvrSmallSizedStorageErrorDialog(Activity activity) { in showDvrSmallSizedStorageErrorDialog() 212 Activity activity, in showStopRecordingDialog() 225 public static void showAlreadyScheduleDialog(Activity activity, Program program) { in showAlreadyScheduleDialog() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MenuHelper.java | 21 import android.app.Activity; 219 private static void setLatLngDetails(final View d, Activity context, in setLatLngDetails() 262 final Activity activity) { in onShowMapClicked() 315 Activity activity) { in showExifInformation() 368 final Activity activity) { in onDetailsClicked() 488 final Activity activity) { in onCropClicked() 507 final Activity activity) { in onSetAsClicked() 524 final Activity activity) { in onImageShareClicked() 553 final Activity activity) { in onViewPlayClicked() 567 final Activity activity, final Runnable onDelete) { in onDeleteClicked() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | TileSizeCalculator.java | 18 import android.app.Activity; 68 public static int getNumCategoryColumns(Activity activity) { in getNumCategoryColumns() 77 public static int getNumIndividualColumns(Activity activity) { in getNumIndividualColumns() 82 private static int getNumCategoryColumns(Activity activity, int windowWidthPx) { in getNumCategoryColumns() 86 private static int getNumIndividualColumns(Activity activity, int windowWidthPx) { in getNumIndividualColumns() 112 public static Point getCategoryTileSize(Activity activity) { in getCategoryTileSize() 123 public static Point getIndividualTileSize(Activity activity) { in getIndividualTileSize() 184 private static int getActivityWindowWidthPx(Activity activity) { in getActivityWindowWidthPx()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LastAccessedStorage.java | 19 import android.app.Activity; 43 Activity activity, ProvidersAccess providers, State state); in getLastAccessed() 45 void setLastAccessed(Activity activity, DocumentStack stack); in setLastAccessed() 47 void setLastAccessedToExternalApp(Activity activity); in setLastAccessedToExternalApp() 61 Activity activity, ProvidersAccess providers, State state) { in getLastAccessed() 79 public void setLastAccessed(Activity activity, DocumentStack stack) { in setLastAccessed() 85 public void setLastAccessedToExternalApp(Activity activity) { in setLastAccessedToExternalApp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockSettingsHelperTest.java | 12 import android.app.Activity; 40 final Activity activity = Robolectric.setupActivity(Activity.class); in testLaunchConfirmationActivityWithExternalAndChallenge() 75 final Activity activity = Robolectric.setupActivity(Activity.class); in testLaunchConfirmationActivityInternalAndChallenge() 111 Activity activity = Robolectric.buildActivity(Activity.class, intent).get(); in testLaunchConfirmationActivity_internal_shouldPropagateTheme() 122 private ChooseLockSettingsHelper getChooseLockSettingsHelper(Activity activity) { in getChooseLockSettingsHelper()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/password/ |
D | ChooseLockGenericTest.java | 26 import android.app.Activity; 98 final Activity activity = getCurrentActivity(); in testConfirmLockPasswordShown_deviceWithPassword() 117 final Activity activity = getCurrentActivity(); in testConfirmLockPasswordShown_deviceWithPassword_phishingAttack() 136 private Activity getCurrentActivity() throws Throwable { in getCurrentActivity() 138 final Activity[] activity = new Activity[1]; in getCurrentActivity() 140 Collection<Activity> activities = ActivityLifecycleMonitorRegistry.getInstance() in getCurrentActivity() 235 private boolean isSecureWindow(Activity activity) { in isSecureWindow()
|
D | SetupChooseLockGenericTest.java | 26 import android.app.Activity; 83 final Activity activity = getCurrentActivity(); in clickSkipFigerprintPreference_deviceNotProvisioned_shouldBeAbleToProceed() 87 private Activity getCurrentActivity() throws Throwable { in getCurrentActivity() 89 final Activity[] activity = new Activity[1]; in getCurrentActivity() 91 Collection<Activity> activities = ActivityLifecycleMonitorRegistry.getInstance() in getCurrentActivity()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | CameraTest.java | 21 import android.app.Activity; 62 ArrayList<WeakReference<Activity>> refs = in checkActivityLeak() 63 new ArrayList<WeakReference<Activity>>(); in checkActivityLeak() 65 Activity activity = getInstrumentation().startActivitySync(intent); in checkActivityLeak() 66 refs.add(new WeakReference<Activity>(activity)); in checkActivityLeak() 75 for (WeakReference<Activity> c: refs) { in checkActivityLeak()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | CameraTest.java | 23 import android.app.Activity; 67 ArrayList<WeakReference<Activity>> refs = in checkActivityLeak() 68 new ArrayList<WeakReference<Activity>>(); in checkActivityLeak() 70 Activity activity = getInstrumentation().startActivitySync(intent); in checkActivityLeak() 71 refs.add(new WeakReference<Activity>(activity)); in checkActivityLeak() 80 for (WeakReference<Activity> c: refs) { in checkActivityLeak()
|
D | ImageCaptureIntentTest.java | 22 import android.app.Activity; 64 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput() 88 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput() 117 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testRetake() 133 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testCancel() 145 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testSnapshotCancel()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionarySettingsFragment.java | 21 import android.app.Activity; 99 final Activity activity = getActivity(); in onActivityCreated() 138 final Activity activity = getActivity(); in onResume() 163 final Activity activity = getActivity(); in onPause() 191 final Activity activity = getActivity(); in wordListDownloadFinished() 233 final Activity activity = getActivity(); in refreshInterface() 256 … private static Preference createErrorMessage(final Activity activity, final int messageResource) { in createErrorMessage() 292 final Activity activity = getActivity(); in createInstalledDictSettingsCollection() 380 final Activity activity = getActivity(); in startRefresh() 416 final Activity activity = getActivity(); in stopLoadingAnimation()
|
/packages/apps/Settings/src/com/android/settings/overlay/ |
D | SurveyFeatureProvider.java | 18 import android.app.Activity; 37 void downloadSurvey(Activity activity, String surveyId, @Nullable String data); in downloadSurvey() 46 boolean showSurveyIfAvailable(Activity activity, String surveyId); in showSurveyIfAvailable() 78 BroadcastReceiver createAndRegisterReceiver(Activity activity); in createAndRegisterReceiver() 85 static void unregisterReceiver(Activity activity, BroadcastReceiver receiver) { in unregisterReceiver()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/overlay/ |
D | SurveyFeatureProvider.java | 18 import android.app.Activity; 37 void downloadSurvey(Activity activity, String surveyId, @Nullable String data); in downloadSurvey() 46 boolean showSurveyIfAvailable(Activity activity, String surveyId); in showSurveyIfAvailable() 78 BroadcastReceiver createAndRegisterReceiver(Activity activity); in createAndRegisterReceiver() 85 static void unregisterReceiver(Activity activity, BroadcastReceiver receiver) { in unregisterReceiver()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ChangeDefaultSmsAppHelper.java | 19 import android.app.Activity; 53 final Activity activity, final Fragment fragment) { in warnOfMissingActionConditions() 83 final Activity activity) { in promptToChangeDefaultSmsApp() 106 private final Activity mActivity; 109 public ChangeSmsAppSettingRunnable(final Activity activity, final Fragment fragment) { in ChangeSmsAppSettingRunnable() 141 if (resultCode == Activity.RESULT_OK) { in handleChangeDefaultSmsResult()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 3 import android.app.Activity; 74 public void setCurrentWallpaper(Activity containerActivity, WallpaperInfo wallpaper, in setCurrentWallpaper() 128 public void setCurrentLiveWallpaper(Activity activity, LiveWallpaperInfo wallpaper, in setCurrentLiveWallpaper() 162 private void onWallpaperApplied(WallpaperInfo wallpaper, Activity containerActivity) { in onWallpaperApplied() 175 private void onWallpaperApplyError(Throwable throwable, Activity containerActivity) { in onWallpaperApplyError() 247 private void saveAndLockScreenOrientation(Activity activity) { in saveAndLockScreenOrientation() 252 private void restoreScreenOrientation(Activity activity) { in restoreScreenOrientation()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | AccountSelectionUtil.java | 19 import android.app.Activity; 57 final private Activity mActivity; 63 public AccountSelectedListener(Activity activity, List<AccountWithDataSet> accountList, in AccountSelectedListener() 74 public AccountSelectedListener(Activity activity, List<AccountWithDataSet> accountList, in AccountSelectedListener() 91 public static Dialog getSelectAccountDialog(Activity activity, int resId, in getSelectAccountDialog() 157 public static void doImport(Activity activity, int resId, AccountWithDataSet account, in doImport() 180 public static void doImportFromVcfFile(Activity activity, AccountWithDataSet account) { in doImportFromVcfFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 19 import android.app.Activity; 222 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); in onConfigurationChanged() 242 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); in onPause() 266 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); in onResume() 286 Activity activity = mActivity; in initializeViews() 317 Activity activity = mActivity; in initializeFooterViews() 349 Activity activity = mActivity; in showToast() 358 Activity activity = mActivity; in showToastForLocalAlbum() 373 Activity activity = mActivity; in refreshCacheStorageInfo()
|
/packages/apps/TV/src/com/android/tv/ |
D | LauncherActivity.java | 19 import android.app.Activity; 35 public class LauncherActivity extends Activity { 48 public static void startActivitySafe(Activity baseActivity, Intent intentToLaunch) { in startActivitySafe() 77 setResult(Activity.RESULT_OK); in onCreate() 83 setResult(Activity.RESULT_CANCELED, intent); in onCreate()
|