Home
last modified time | relevance | path

Searched refs:StorageManager (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java34 import android.os.storage.StorageManager;
88 private StorageManager mStorageManager;
112 mStorageManager = context.getSystemService(StorageManager.class); in onCreate()
327 private final StorageManager mStorageManager;
333 mStorageManager = mContext.getSystemService(StorageManager.class); in MountTask()
363 private final StorageManager mStorageManager;
369 mStorageManager = mContext.getSystemService(StorageManager.class); in UnmountTask()
416 final StorageManager sm = context.getSystemService(StorageManager.class); in onCreateDialog()
487 final StorageManager sm = context.getSystemService(StorageManager.class); in onCreateDialog()
519 final StorageManager storageManager = mContext.getSystemService(StorageManager.class); in SummaryProvider()
[all …]
DStorageDashboardFragment.java28 import android.os.storage.StorageManager;
85 StorageManager sm = activity.getSystemService(StorageManager.class); in onCreate()
175 StorageManager sm = context.getSystemService(StorageManager.class); in getPreferenceControllers()
228 final StorageManager sm = context.getSystemService(StorageManager.class);
366 StorageManager sm = context.getSystemService(StorageManager.class); in onCreateLoader()
DStorageProfileFragment.java25 import android.os.storage.StorageManager;
67 final StorageManager sm = context.getSystemService(StorageManager.class); in onCreate()
103 final StorageManager sm = context.getSystemService(StorageManager.class); in getPreferenceControllers()
DPrivateVolumeForget.java26 import android.os.storage.StorageManager;
54 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView()
106 final StorageManager storage = context.getSystemService(StorageManager.class); in onCreateDialog()
DStorageUnmountReceiver.java22 import android.os.storage.StorageManager;
33 final StorageManager storage = context.getSystemService(StorageManager.class); in onReceive()
DPrivateVolumeUnmount.java21 import android.os.storage.StorageManager;
48 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView()
DPrivateVolumeFormat.java22 import android.os.storage.StorageManager;
48 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView()
DStorageWizardMigrateConfirm.java23 import android.os.storage.StorageManager;
84 StorageManager sm = (StorageManager) getSystemService(STORAGE_SERVICE); in onNavigateNext()
DMigrateEstimateTask.java30 import android.os.storage.StorageManager;
70 final StorageManager storage = mContext.getSystemService(StorageManager.class); in doInBackground()
DStorageVolumePreference.java23 import android.os.storage.StorageManager;
44 private final StorageManager mStorageManager;
54 mStorageManager = context.getSystemService(StorageManager.class); in StorageVolumePreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java27 import android.os.storage.StorageManager;
134 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate()
157 getActivity().getSystemService(StorageManager.class) in onStart()
164 getActivity().getSystemService(StorageManager.class) in onStop()
229 final StorageManager storageManager = in checkForUnmount()
230 getContext().getSystemService(StorageManager.class); in checkForUnmount()
285 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate()
339 getContext().getSystemService(StorageManager.class).getVolumes(); in checkForRemount()
DSettingsStorageService.java24 import android.os.storage.StorageManager;
115 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPublic()
141 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPrivate()
167 private VolumeInfo findVolume(StorageManager storageManager, String diskId) { in findVolume()
182 final StorageManager storageManager = getSystemService(StorageManager.class); in unmount()
DMigrateStorageActivity.java25 import android.os.storage.StorageManager;
89 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate()
141 final StorageManager storageManager = getSystemService(StorageManager.class); in onChoose()
155 StorageManager sm = (StorageManager) getSystemService(STORAGE_SERVICE); in startMigrationInternal()
263 final StorageManager storageManager = in onCreateActions()
264 getContext().getSystemService(StorageManager.class); in onCreateActions()
DUnmountActivity.java27 import android.os.storage.StorageManager;
74 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate()
120 getSystemService(StorageManager.class).findVolumeById(mUnmountVolumeId); in onResume()
DMissingStorageFragment.java20 import android.os.storage.StorageManager;
37 private StorageManager mStorageManager;
46 mStorageManager = getContext().getSystemService(StorageManager.class); in onCreate()
DFormatAsPublicStepFragment.java22 import android.os.storage.StorageManager;
57 final StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate()
DMoveAppStepFragment.java23 import android.os.storage.StorageManager;
46 private StorageManager mStorageManager;
70 mStorageManager = getActivity().getSystemService(StorageManager.class); in onCreate()
DDiskReceiver.java27 import android.os.storage.StorageManager;
45 private StorageManager mStorageManager;
65 mStorageManager = context.getSystemService(StorageManager.class); in onReceive()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java39 import android.os.storage.StorageManager;
255 int passwordType = StorageManager.CRYPT_TYPE_PASSWORD; in handleBadAttempt()
263 if (passwordType == StorageManager.CRYPT_TYPE_PIN) { in handleBadAttempt()
265 } else if (passwordType == StorageManager.CRYPT_TYPE_PATTERN) { in handleBadAttempt()
295 if (state == StorageManager.ENCRYPTION_STATE_NONE) { in doInBackground()
299 return state == StorageManager.ENCRYPTION_STATE_OK; in doInBackground()
312 mCorrupt = state == StorageManager.ENCRYPTION_STATE_ERROR_CORRUPT; in onPostExecute()
477 int passwordType = StorageManager.CRYPT_TYPE_PASSWORD; in setupUi()
487 owner_info = service.getField(StorageManager.OWNER_INFO_KEY); in setupUi()
488 … pattern_visible = !("0".equals(service.getField(StorageManager.PATTERN_VISIBLE_KEY))); in setupUi()
[all …]
DSettingsDumpService.java25 import android.os.storage.StorageManager;
126 StorageManager manager = getSystemService(StorageManager.class); in dumpStorage()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettingsTest.java35 import android.os.storage.StorageManager;
63 Intent intent = new Intent(StorageManager.ACTION_MANAGE_STORAGE); in nullAppHasNoGaugeTitle()
64 intent.putExtra(StorageManager.EXTRA_REQUESTED_BYTES, 100L); in nullAppHasNoGaugeTitle()
75 Intent intent = new Intent(StorageManager.ACTION_MANAGE_STORAGE); in realAppHasGaugeTitle()
76 intent.putExtra(StorageManager.EXTRA_REQUESTED_BYTES, 100L); in realAppHasGaugeTitle()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java33 import android.os.storage.StorageManager;
56 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes); in addStorageDevicesLocked()
93 private StorageManager mStorageManager;
112 mStorageManager = this.getSystemService(StorageManager.class); in onCreate()
127 mVolumes = StorageManager.getVolumeList(user.getIdentifier(), 0); in onStartCommand()
155 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes); in onStartCommand()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppStoragePreference.java22 import android.os.storage.StorageManager;
33 private final StorageManager mStorageManager;
38 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in AppStoragePreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetFragment.java23 import android.os.storage.StorageManager;
53 private StorageManager mStorageManager;
69 mStorageManager = getContext().getSystemService(StorageManager.class); in onCreate()
230 private void refresh(Context context, StorageManager storageManager, in refresh()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java37 import android.os.storage.StorageManager;
269 final StorageManager storage = getContext().getSystemService(StorageManager.class); in refreshUi()
318 final StorageManager storage = context.getSystemService(StorageManager.class); in initMoveDialog()

123