/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestMessages.java | 20 import android.app.Activity; 431 private static void sendBroadcast(Activity activity, int serialNumber, int category, in sendBroadcast() 437 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in sendBroadcast() 440 public static void testSendMessage7bit(Activity activity, int serialNumber, in testSendMessage7bit() 445 public static void testSendMessage7bitUmts(Activity activity, int serialNumber, in testSendMessage7bitUmts() 450 public static void testSendMessage7bitNoPadding(Activity activity, int serialNumber, in testSendMessage7bitNoPadding() 455 public static void testSendMessage7bitNoPaddingUmts(Activity activity, int serialNumber, in testSendMessage7bitNoPaddingUmts() 460 public static void testSendMessage7bitMultipageGsm(Activity activity, int serialNumber, in testSendMessage7bitMultipageGsm() 469 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitMultipageGsm() 472 public static void testSendMessage7bitMultipageUmts(Activity activity, int serialNumber, in testSendMessage7bitMultipageUmts() [all …]
|
D | SendGsmCmasMessages.java | 20 import android.app.Activity; 59 private static void sendBroadcast(Activity activity, SmsCbMessage cbMessage) { in sendBroadcast() 65 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in sendBroadcast() 69 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasPresAlert() 87 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasExtremeAlert() 106 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasSevereAlert() 125 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasAmberAlert() 144 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasMonthlyTest() 163 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasExerciseTest() 182 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendPublicSafetyMessagesAlert() [all …]
|
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 | 18 import android.app.Activity; 81 public void onActivityCreated(Activity activity, Bundle bundle) { in onActivityCreated() 88 public void onActivityStarted(Activity activity) { in onActivityStarted() 95 public void onActivityResumed(Activity activity) { in onActivityResumed() 99 public void onActivityPaused(Activity activity) { in onActivityPaused() 103 public void onActivityStopped(Activity activity) { in onActivityStopped() 107 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) { in onActivitySaveInstanceState() 111 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/core/ |
D | CarUiInstaller.java | 18 import android.app.Activity; 43 public void onActivityCreated(Activity activity, Bundle savedInstanceState) { in onCreate() 48 public void onActivityStarted(Activity activity) { in onCreate() 52 public void onActivityResumed(Activity activity) { in onCreate() 56 public void onActivityPaused(Activity activity) { in onCreate() 60 public void onActivityStopped(Activity activity) { in onCreate() 64 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in onCreate() 68 public void onActivityDestroyed(Activity activity) { in onCreate()
|
D | BaseLayoutController.java | 20 import android.app.Activity; 50 private static Map<Activity, BaseLayoutController> sBaseLayoutMap = new HashMap<>(); 59 /* package */ static BaseLayoutController getBaseLayout(Activity activity) { in getBaseLayout() 66 private BaseLayoutController(Activity activity) { in BaseLayoutController() 75 /* package */ static void build(Activity activity) { in build() 82 /* package */ static void destroy(Activity activity) { in destroy() 106 private void installBaseLayout(Activity activity) { in installBaseLayout() 145 private boolean getThemeBoolean(Activity activity, int attr) { in getThemeBoolean() 174 private final Activity mActivity; 191 InsetsUpdater(Activity activity, View baseLayout, View contentView) { in InsetsUpdater()
|
D | CarUi.java | 18 import android.app.Activity; 38 public static ToolbarController getToolbar(Activity activity) { in getToolbar() 55 public static ToolbarController requireToolbar(Activity activity) { in requireToolbar() 74 public static Insets getInsets(Activity activity) { in getInsets() 93 public static Insets requireInsets(Activity activity) { in requireInsets()
|
/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/TV/src/com/android/tv/dvr/ui/ |
D | DvrUiHelper.java | 20 import android.app.Activity; 100 Activity activity, String inputId, Runnable recordingRequestRunnable) { in checkStorageStatusAndShowErrorMessage() 122 Activity activity, Program program, boolean addCurrentProgramToSeries) { in showScheduleDialog() 134 public static void showChannelRecordDurationOptions(Activity activity, Channel channel) { in showChannelRecordDurationOptions() 144 public static void showScheduleConflictDialog(Activity activity, Program program) { in showScheduleConflictDialog() 185 Activity activity, Runnable recordingRequestRunnable) { in showDvrNoFreeSpaceErrorDialog() 203 private static void showDvrMissingStorageErrorDialog(Activity activity) { in showDvrMissingStorageErrorDialog() 208 public static void showDvrSmallSizedStorageErrorDialog(Activity activity) { in showDvrSmallSizedStorageErrorDialog() 214 Activity activity, in showStopRecordingDialog() 227 public static void showAlreadyScheduleDialog(Activity activity, Program program) { in showAlreadyScheduleDialog() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | TileSizeCalculator.java | 18 import android.app.Activity; 70 public static int getNumCategoryColumns(@NonNull Activity activity) { in getNumCategoryColumns() 79 public static int getNumIndividualColumns(@NonNull Activity activity) { in getNumIndividualColumns() 84 private static int getNumCategoryColumns(Activity activity, int windowWidthPx) { in getNumCategoryColumns() 88 private static int getNumIndividualColumns(Activity activity, int windowWidthPx) { in getNumIndividualColumns() 114 public static Point getCategoryTileSize(@NonNull Activity activity) { in getCategoryTileSize() 125 public static Point getIndividualTileSize(@NonNull Activity activity) { in getIndividualTileSize() 186 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/TV/tests/robotests/src/com/android/tv/ |
D | SetupPassthroughActivityTest.java | 23 import android.app.Activity; 212 activity.onActivityResult(0, Activity.RESULT_CANCELED, null); in onActivityResult_canceled() 214 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_CANCELED); in onActivityResult_canceled() 223 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, null); in onActivityResult_ok() 231 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_ok() 248 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_ok() 256 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_3rdPartyEpg_ok() 269 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_notWhiteListed() 277 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_3rdPartyEpg_notWhiteListed() 295 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_disabled() [all …]
|
/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()
|
/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/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()
|