Home
last modified time | relevance | path

Searched refs:FormatActivity (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DFormatActivityFormatReceiverTest.java41 private FormatActivity mActivity;
45 mActivity = spy(buildActivity(FormatActivity.class).get()); in setUp()
63 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_successResumed()
79 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_successNotResumed()
95 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_failure()
112 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_wrongDisk()
128 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPublic_success()
143 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPublic_wrongDisk()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFormatActivity.java43 public class FormatActivity extends Activity class
75 final Intent i = new Intent(context, FormatActivity.class); in getFormatAsPublicIntent()
82 final Intent i = new Intent(context, FormatActivity.class); in getFormatAsPrivateIntent()
181 private final FormatActivity mActivity;
183 FormatReceiver(FormatActivity activity) { in FormatReceiver()
DStorageFragment.java172 FormatActivity.getFormatAsPublicIntent(getContext(), mVolumeInfo.getDiskId())); in refresh()
176 FormatActivity.getFormatAsPrivateIntent(getContext(), mVolumeInfo.getDiskId())); in refresh()
DNewStorageActivity.java206 startActivity(FormatActivity.getFormatAsPublicIntent(getActivity(), mDiskId)); in onGuidedActionClicked()
212 startActivity(FormatActivity.getFormatAsPrivateIntent(getActivity(), mDiskId)); in onGuidedActionClicked()