/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppState.java | 60 private static Context sContext; 78 return sContext; 82 if (sContext != null) { 83 Log.w(Launcher.TAG, "setApplicationContext called twice! old=" + sContext + " new=" + context); 85 sContext = context.getApplicationContext(); 89 if (sContext == null) { 95 if (sContext.getResources().getBoolean(R.bool.debug_memory_enabled)) { 96 MemoryTracker.startTrackingMe(sContext, "L"); 100 mIsScreenLarge = isScreenLarge(sContext.getResources()); 101 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/base/tests/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);
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
RenderScriptSingleton.java | 34 private static Context sContext; 47 if (context.equals(sContext)) { 49 } else if (sContext != null) { 52 ", before clearing previous "+ sContext); 58 sContext = context; 69 if (sContext != null) { 75 sContext = null;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 74 static private Context sContext; 89 sContext = context; 197 phone = new CDMALTEPhone(sContext, sCommandsInterfaces[phoneId], 205 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId], 257 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier); 280 MccTable.updateMccMncConfiguration(sContext, defaultMccMnc, false); 288 sContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); 317 subId = Settings.Global.getInt(sContext.getContentResolver(), 331 value = Settings.Global.getInt(sContext.getContentResolver(), 345 Settings.Global.putInt(sContext.getContentResolver() [all...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/ |
JniInterface.java | 45 private static Activity sContext = null; 156 sContext = context; 182 SharedPreferences prefs = sContext.getPreferences(Activity.MODE_PRIVATE); 241 AlertDialog.Builder pinPrompt = new AlertDialog.Builder(sContext); 242 pinPrompt.setTitle(sContext.getString(R.string.title_authenticate)); 243 pinPrompt.setMessage(sContext.getString(R.string.pin_message_android)); 246 final View pinEntry = sContext.getLayoutInflater().inflate(R.layout.pin_dialog, null); 266 String message = sContext.getString(R.string.error_network_error); 267 Toast.makeText(sContext, message, Toast.LENGTH_LONG).show(); 321 sContext.getPreferences(Activity.MODE_PRIVATE).edit() [all...] |
/frameworks/base/core/java/android/util/ |
NtpTrustedTime.java | 39 private static Context sContext; 74 sContext = context; 90 mCM = (ConnectivityManager) sContext.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/device/moto/shamu/sepolicy/ |
mpdecision.te | 27 # <12>[ 39.917299] type=1400 audit(1409704476.019:90): avc: denied { write } for pid=328 comm="mpdecision" name="scaling_min_freq" dev="sysfs" ino=13165 scontext=u:r:mpdecision:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
|
/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/chromium_org/content/public/android/java/src/org/chromium/content/app/ |
ChildProcessService.java | 62 private static AtomicReference<Context> sContext = new AtomicReference<Context>(null); 117 return sContext.get(); 123 if (sContext.get() != null) { 126 sContext.set(this); 202 ContentMain.initApplicationContext(sContext.get().getApplicationContext()); 203 nativeInitChildProcess(sContext.get().getApplicationContext(),
|
/docs/source.android.com/src/devices/tech/security/selinux/ |
validate.jd | 57 scontext=u:r:shell:s0 tcontext=u:r:netd:s0 tclass=unix_stream_socket 66 <li> The <code>scontext (u:r:shell:s0)</code> tells you what context initiated the action. In 79 comm="rmt_storage" name="mem" dev="tmpfs" ino=6004 scontext=u:r:rmt:s0 88 <li><em>Actor</em> - The <code>scontext</code> (source context) entry represents the actor, in this case the<code> rmt_storage</code> daemon.
|
/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/intel/common/utils/ituxd/src/com/intel/thermal/ |
ThermalManager.java | 45 private static Context sContext; 497 sContext = context; 773 if (sQueryProfileIntent != null && sContext != null) { 777 sContext.sendStickyBroadcastAsUser(sQueryProfileIntent, UserHandle.ALL);
|
/hardware/ti/omap4-aah/security/tf_daemon/ |
delegation_client.c | [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
delegation_client.c | [all...] |
/hardware/ti/omap4-aah/security/tee_client_api/ |
tee_client_api_linux_driver.c | 363 TEEC_Context* sContext, 368 VAR_NOT_USED(sContext); 370 TRACE_INFO("TEEC_GetTimeLimit(0x%X, %u ms)", sContext, nTimeout);
|
/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);
|