/external/libsepol/src/ |
context.c | 83 * allocated string of the correct size. Set `*scontext' 93 char *scontext = NULL; local 109 scontext = malloc(scontext_len); 110 if (!scontext) 112 scontext[scontext_len - 1] = '\0'; 117 ptr = scontext; 130 *result = scontext; 136 free(scontext); 149 context_struct_t *scontext = NULL; local 160 scontext = (context_struct_t *) malloc(sizeof(context_struct_t)) [all...] |
genusers.c | 177 char *scontext, *r, *s; local 200 scontext = malloc(p - q); 201 if (!scontext) { 207 r = scontext; 215 r = scontext; 220 ERR(NULL, "invalid level %s (%s:%u)", scontext, 222 free(scontext); 226 free(scontext); 246 scontext = malloc(p - q); 247 if (!scontext) { [all...] |
mls.h | 45 char **scontext); 50 char **scontext, context_struct_t * context); 59 context_struct_t * scontext,
|
services.c | 120 * only. For these rules, scontext is the context before the transition, 125 static int constraint_expr_eval(context_struct_t * scontext, 159 val1 = scontext->user; 163 val1 = scontext->type; 167 val1 = scontext->role; 194 l1 = &(scontext->range.level[0]); 198 l1 = &(scontext->range.level[0]); 202 l1 = &(scontext->range.level[1]); 206 l1 = &(scontext->range.level[1]); 210 l1 = &(scontext->range.level[0]) 479 context_struct_t *scontext = 0, *tcontext = 0; local 603 context_struct_t *scontext = 0, *tcontext = 0, newcontext; local [all...] |
mls.c | 164 * the MLS fields of `context' into the string `*scontext'. 165 * Update `*scontext' to point to the end of the MLS fields. 168 const context_struct_t * context, char **scontext) 178 scontextp = *scontext; 250 *scontext = scontextp; 322 * the string `*scontext'. Update `*scontext' to 330 char oldc, char **scontext, context_struct_t * context) 347 scontextp = p = *scontext; 442 *scontext = ++p [all...] |
/frameworks/base/core/java/android/webkit/ |
JniUtil.java | 40 private static Context sContext; 43 if (sContext == null) { 49 if (sContext != null) { 53 sContext = context.getApplicationContext(); 57 return sContext; 68 sDatabaseDirectory = sContext.getDatabasePath("dummy").getParent(); 82 File cacheDir = sContext.getCacheDir(); 100 return sContext.getPackageName(); 121 InputStream is = sContext.getContentResolver().openInputStream(uri); 162 return sContext.getContentResolver().openInputStream(uri) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneFactory.java | 49 static private Context sContext; 68 sContext = context; 220 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier); 226 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier); 236 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier); 247 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier);
|
/external/libsepol/include/sepol/policydb/ |
services.h | 92 * allocated string of the correct size. Set `*scontext' 97 sepol_security_context_t * scontext, /* OUT */ 102 * has the string representation specified by `scontext'. 104 extern int sepol_context_to_sid(const sepol_security_context_t scontext, /* IN */
|
/external/checkpolicy/ |
checkpolicy.c | 125 sepol_security_context_t scontext; local 129 rc = sepol_sid_to_context(sid, &scontext, &scontext_len); 133 printf("sid %d -> scontext %s\n", sid, scontext); 134 free(scontext); 381 sepol_security_context_t scontext; local 733 &scontext, &scontext_len); 736 printf("\nscontext %s\n", scontext); 737 free(scontext); 750 printf("scontext? ") [all...] |
/frameworks/base/telephony/java/android/telephony/ |
TelephonyManager.java | 57 private static Context sContext; 62 if (sContext == null) { 65 sContext = appContext; 67 sContext = context; [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
delegation_client.c | [all...] |
/hardware/ti/omap4xxx/security/tee_client_api/ |
tee_client_api_linux_driver.c | 355 TEEC_Context* sContext, 360 VAR_NOT_USED(sContext); 362 TRACE_INFO("TEEC_GetTimeLimit(0x%X, %u ms)", sContext, nTimeout);
|
/external/libselinux/src/ |
avc.c | 643 log_append(avc_audit_buf, "scontext=%s tcontext=%s",
|