Lines Matching refs:access
74 const xmlChar* access) { in accessToInt() argument
75 if (!value || !property || !uid || !access) { in accessToInt()
80 if (xmlStrcmp(access, (const xmlChar *)"r") == 0) { in accessToInt()
83 else if (xmlStrcmp(access, (const xmlChar *)"w") == 0) { in accessToInt()
86 else if ((xmlStrcmp(access, (const xmlChar *)"rw") == 0) in accessToInt()
87 || (xmlStrcmp(access, (const xmlChar *)"wr") == 0)) { in accessToInt()
91 ALOGE("Unknown access tag %s for UID %s in PROPERTY %s\n",access, uid, in accessToInt()
102 int32_t access) { in updateOrCreate() argument
116 (*uidAccessMap)[uid] = access; in updateOrCreate()
122 (*uidAccessMap)[uid] = access; in updateOrCreate()
137 xmlChar* access = NULL; in populate() local
182 xmlFree(access); in populate()
189 access = xmlGetProp(child, (const xmlChar *)"access"); in populate()
199 } else if (access == NULL) { in populate()
212 access); in populate()
233 xmlFree(access); in populate()
294 int32_t access; in dump() local
302 access = (*uid_access_map)[uid]; in dump()
303 switch(access) { in dump()
337 int32_t access = (*uidAccessMap)[uid]; in testAccess() local
341 if ((access == VEHICLE_PROP_ACCESS_WRITE) in testAccess()
342 || (access == VEHICLE_PROP_ACCESS_READ_WRITE)) { in testAccess()
348 if ((access == VEHICLE_PROP_ACCESS_READ) in testAccess()
349 || (access == VEHICLE_PROP_ACCESS_READ_WRITE)) { in testAccess()