Searched refs:StorageManagerUpsellDialog (Results 1 – 3 of 3) sorted by relevance
36 @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()
86 if (StorageManagerUpsellDialog.shouldShow( in onClick()88 StorageManagerUpsellDialog upsellDialog = in onClick()89 StorageManagerUpsellDialog.newInstance(mFreeableBytes); in onClick()90 upsellDialog.show(getFragmentManager(), StorageManagerUpsellDialog.TAG); in onClick()
38 public class StorageManagerUpsellDialog extends DialogFragment class58 public static StorageManagerUpsellDialog newInstance(long freedBytes) { in newInstance()59 StorageManagerUpsellDialog dialog = new StorageManagerUpsellDialog(); in newInstance()