question: public static void formatUid ( PrintWriter pw , int uid ) { if ( uid < Process . FIRST_APPLICATION_UID ) { pw . print ( uid ) ; } else { pw . print ( 'u' ) ; pw . print ( getUserId ( uid ) ) ; final int appId = getAppId ( uid ) ; if ( appId >= FIRST_ISOLATED_UID && appId <= LAST_ISOLATED_UID ) { pw . print ( 'i' ) ; pw . print ( appId - FIRST_ISOLATED_UID ) ; } else if ( appId >= Process . FIRST_APPLICATION_UID ) { pw . print ( 'a' ) ; pw . print ( appId - Process . FIRST_APPLICATION_UID ) ; } else { pw . print ( 's' ) ; pw . print ( appId ) ; } } }
target:  Generate a text representation of the vuid, breaking out its individual components -- user, app, isolated, etc.