Java Code Examples for android.os.Environment#getDataSystemDeDirectory()

The following examples show how to use android.os.Environment#getDataSystemDeDirectory() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
public AtomicFile getFile(String filename) {
    return new AtomicFile(new File(Environment.getDataSystemDeDirectory(), filename));
Example 2
protected File getSyntheticPasswordDirectoryForUser(int userId) {
    return new File(Environment.getDataSystemDeDirectory(userId) ,SYNTHETIC_PASSWORD_DIRECTORY);
Example 3
protected File getDataSystemDeDirectory(int userId) {
    return Environment.getDataSystemDeDirectory(userId);
Example 4
private File getRingtoneCacheDir(int userId) {
    final File cacheDir = new File(Environment.getDataSystemDeDirectory(userId), "ringtones");
    return cacheDir;