android新用户会创建的目录

新建一个用户主要会创建和加密如下目录

system:
ce:
/data/system/users/${userid}
/data/misc/user/${userid}
/data/system_ce/${userid}
/data/misc_ce/${userid}
/data/media/${userid}

UserDataPath:
0用户:
/data/data/
非0用户:
/data/user/${userid}


de:
/data/misc/profiles/cur/${userid}
/data/system_de/${userid}
/data/user_de/${userid}


package:
ce:
/data/data/${packagename}
/data/user/${userid}/${packagename}

de:
/data/user_de/${userid}
/data/user_de/${userid}/${packagename}

下面是android系统常用的一些目录

/
* Return the system directory for a user. This is for use by system
* services to store files relating to the user. This directory will be
* automatically deleted when the user is removed.
/
目录:/data/system/users/${userid}

/
* Returns the config directory for a user. This is for use by system
* services to store files relating to the user which should be readable by
* any app running as that user.
/
目录:/data/misc/user/${userid}

音乐目录
/Music/Podcasts
/Music/Ringtones
/Music/Alarms
/Music/Notifications

图片
/Pictures/

电影
/Movies/

下载
/Download/

/**
 * The traditional location for pictures and videos when mounting the
 * device as a camera.  Note that this is primarily a convention for the
 * top-level public directory, as this convention makes no sense elsewhere.
*/
DCIM (digital camera in memory)

猜你喜欢

转载自blog.csdn.net/CHALLENG_EVERYTHING/article/details/84769097