connglli / blog-notes

My personal notes ✍️
MIT License
32 stars 2 forks source link

UserHandle: userId, appId, and uid #110

Open connglli opened 4 years ago

connglli commented 4 years ago
That's how uids by ls -l /data/user/<userId>/ are shown ``` generic_x86:/ # ls -l /data/user/0/ total 832 drwx------ 4 system system 4096 2020-09-10 16:47 android drwx------ 4 u0_a1 u0_a1 4096 2020-09-10 16:47 com.android.backupconfirm drwx------ 4 u0_a34 u0_a34 4096 2020-09-22 21:38 com.android.bips drwx------ 4 u0_a35 u0_a35 4096 2020-09-10 16:47 com.android.bookmarkprovider drwx------ 6 u0_a50 u0_a50 4096 2020-09-10 17:08 com.android.calculator2 drwx------ 4 u0_a3 u0_a3 4096 2020-09-10 16:47 com.android.calllogbackup drwx------ 5 u0_a37 u0_a37 4096 2020-09-22 21:38 com.android.camera2 drwx------ 4 u0_a40 u0_a40 4096 2020-09-10 16:47 com.android.captiveportallogin drwx------ 4 u0_a4 u0_a4 4096 2020-09-10 16:47 com.android.carrierconfig drwx------ 4 u0_a9 u0_a9 4096 2020-09-10 16:47 com.android.cellbroadcastreceiver drwx------ 4 u0_a39 u0_a39 4096 2020-09-10 16:47 com.android.certinstaller drwx------ 12 u0_a52 u0_a52 4096 2020-09-22 21:38 com.android.chrome drwx------ 4 u0_a41 u0_a41 4096 2020-09-10 16:47 com.android.companiondevicemanager drwx------ 5 u0_a13 u0_a13 4096 2020-09-10 16:47 com.android.contacts drwx------ 4 u0_a43 u0_a43 4096 2020-09-10 16:47 com.android.cts.ctsshim drwx------ 4 u0_a6 u0_a6 4096 2020-09-22 21:38 com.android.cts.priv.ctsshim ```

References