Home
last modified time | relevance | path

Searched refs:uidStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_rights_manager.c56 uint8_t(*uidStr)[256]; in drm_writeToUidTxt() local
98 uidStr = malloc((idMax + 1) * 256); in drm_writeToUidTxt()
100 uidStr = malloc(idMax * 256); in drm_writeToUidTxt()
103 if (!drm_getString(uidStr[i], 256, handle)) { in drm_writeToUidTxt()
105 free(uidStr); in drm_writeToUidTxt()
110 strcpy((char *)uidStr[*id - 1], (char *)Uid); in drm_writeToUidTxt()
111 uidStr[*id - 1][length] = '\n'; in drm_writeToUidTxt()
112 uidStr[*id - 1][length + 1] = '\0'; in drm_writeToUidTxt()
125 free(uidStr); in drm_writeToUidTxt()
130 free(uidStr); in drm_writeToUidTxt()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java1326 String uidStr = parser.getAttributeValue(null, "uid"); in readPermissionsFromXml() local
1327 if (uidStr == null) { in readPermissionsFromXml()
1333 int uid = Process.getUidForName(uidStr); in readPermissionsFromXml()
1336 + uidStr + "\" at " in readPermissionsFromXml()