HomeSort by relevance Sort by last modified time
    Searched full:scontext (Results 1 - 19 of 19) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppState.java 44 private static Context sContext;
62 return sContext;
66 if (sContext != null) {
67 Log.w(Launcher.TAG, "setApplicationContext called twice! old=" + sContext + " new=" + context);
69 sContext = context.getApplicationContext();
73 if (sContext == null) {
79 if (sContext.getResources().getBoolean(R.bool.debug_memory_enabled)) {
80 MemoryTracker.startTrackingMe(sContext, "L");
84 mIsScreenLarge = isScreenLarge(sContext.getResources());
85 mScreenDensity = sContext.getResources().getDisplayMetrics().density
    [all...]
  /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 187 char *scontext, *r, *s; local
210 scontext = malloc(p - q);
211 if (!scontext) {
217 r = scontext;
225 r = scontext;
230 ERR(NULL, "invalid level %s (%s:%u)", scontext,
232 free(scontext);
236 free(scontext);
256 scontext = malloc(p - q);
257 if (!scontext) {
    [all...]
mls.h 45 char **scontext);
50 char **scontext, context_struct_t * context);
59 context_struct_t * scontext,
services.c 371 * only. For these rules, scontext is the context before the transition,
380 static int constraint_expr_eval_reason(context_struct_t *scontext,
485 val1 = scontext->user;
491 val1 = scontext->type;
497 val1 = scontext->role;
526 l1 = &(scontext->range.level[0]);
532 l1 = &(scontext->range.level[0]);
538 l1 = &(scontext->range.level[1]);
544 l1 = &(scontext->range.level[1]);
550 l1 = &(scontext->range.level[0])
992 context_struct_t *scontext = 0, *tcontext = 0; local
1028 context_struct_t *scontext = 0, *tcontext = 0; local
1228 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/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
AlarmService.java 27 static Context sContext;
32 sContext = this;
49 sContext = null;
WakeUpController.java 49 (PowerManager) AlarmService.sContext.getSystemService(Context.POWER_SERVICE);
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/
JniInterface.java 38 private static Activity sContext = null;
52 sContext = context;
97 SharedPreferences prefs = sContext.getPreferences(Activity.MODE_PRIVATE);
147 sProgressIndicator = ProgressDialog.show(sContext, sContext.
148 getString(R.string.progress_title), sContext.getResources().
160 sContext.getResources().getStringArray(R.array.protoc_states)[state]);
174 Toast.makeText(sContext, sContext.getResources().
180 Toast.makeText(sContext, sContext.getResources().getStringArray
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneFactory.java 51 static private Context sContext;
67 sContext = context;
175 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier);
181 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier);
191 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier);
202 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/app/
ChildProcessService.java 56 private static AtomicReference<Context> sContext = new AtomicReference<Context>(null);
99 return sContext.get();
105 if (sContext.get() != null) {
108 sContext.set(this);
141 ContentMain.initApplicationContext(sContext.get().getApplicationContext());
142 nativeInitChildProcess(sContext.get().getApplicationContext(),
  /external/libsepol/include/sepol/policydb/
services.h 124 * allocated string of the correct size. Set `*scontext'
129 sepol_security_context_t * scontext, /* OUT */
134 * has the string representation specified by `scontext'.
136 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...]
  /external/chromium_org/third_party/sqlite/src/src/
delete.c 237 AuthContext sContext; /* Authorization context */
248 memset(&sContext, 0, sizeof(sContext));
308 sqlite3AuthContextPush(pParse, &sContext, pTab->zName);
444 sqlite3AuthContextPop(&sContext);
update.c 111 AuthContext sContext; /* The authorization context */
132 memset(&sContext, 0, sizeof(sContext));
291 sqlite3AuthContextPush(pParse, &sContext, pTab->zName);
555 sqlite3AuthContextPop(&sContext);
vdbe.c     [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",

Completed in 485 milliseconds