Home
last modified time | relevance | path

Searched refs:StorageManagerUpsellDialog (Results 1 – 3 of 3) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DStorageManagerUpsellDialogTest.java36 @Mock private StorageManagerUpsellDialog.Clock mClock;
42 StorageManagerUpsellDialog fragment = StorageManagerUpsellDialog.newInstance(0); in testNoThanksMaximumShownTimes()
45 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90))) in testNoThanksMaximumShownTimes()
51 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 2))) in testNoThanksMaximumShownTimes()
57 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 3))) in testNoThanksMaximumShownTimes()
63 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 4))) in testNoThanksMaximumShownTimes()
69 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 5))) in testNoThanksMaximumShownTimes()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DConfirmDeletionDialog.java86 if (StorageManagerUpsellDialog.shouldShow( in onClick()
88 StorageManagerUpsellDialog upsellDialog = in onClick()
89 StorageManagerUpsellDialog.newInstance(mFreeableBytes); in onClick()
90 upsellDialog.show(getFragmentManager(), StorageManagerUpsellDialog.TAG); in onClick()
DStorageManagerUpsellDialog.java38 public class StorageManagerUpsellDialog extends DialogFragment class
58 public static StorageManagerUpsellDialog newInstance(long freedBytes) { in newInstance()
59 StorageManagerUpsellDialog dialog = new StorageManagerUpsellDialog(); in newInstance()