Class of android.os · Environment.java · Android's reference
public class Environment
The device's storage folders, in the app's folder on the host (snx.android.Main.dataRoot).
public static final String MEDIA_MOUNTED = "mounted" sourcepublic static final String MEDIA_REMOVED = "removed" sourcepublic static final String MEDIA_UNKNOWN = "unknown" sourcepublic static String DIRECTORY_MUSIC sourcepublic static String DIRECTORY_PICTURES sourcepublic static String DIRECTORY_MOVIES sourcepublic static String DIRECTORY_DOWNLOADS sourcepublic static String DIRECTORY_DCIM sourcepublic static String DIRECTORY_DOCUMENTS sourcepublic static File getRootDirectory() sourcepublic static File getDataDirectory() sourcepublic static File getDownloadCacheDirectory() sourcepublic static File getExternalStorageDirectory() sourcepublic static File getExternalStoragePublicDirectory(String type) sourcepublic static String getExternalStorageState() sourcepublic static String getExternalStorageState(File path) sourcepublic static String getStorageState(File path) deprecated sourcepublic static boolean isExternalStorageRemovable() sourcepublic static boolean isExternalStorageEmulated() sourcepublic static boolean isExternalStorageManager() source"All files access", which an app that asks for MANAGE_EXTERNAL_STORAGE has, as each permission it asks for here
public static boolean isExternalStorageManager(File path) sourcepublic static boolean isExternalStorageLegacy() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.