OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sContext
(Results
1 - 17
of
17
) sorted by null
/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/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);
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppState.java
54
private static Context
sContext
;
72
return
sContext
;
76
if (
sContext
!= null) {
77
Log.w(Launcher.TAG, "setApplicationContext called twice! old=" +
sContext
+ " new=" + context);
79
sContext
= context.getApplicationContext();
83
if (
sContext
== null) {
89
if (
sContext
.getResources().getBoolean(R.bool.debug_memory_enabled)) {
90
MemoryTracker.startTrackingMe(
sContext
, "L");
94
mIsScreenLarge = isScreenLarge(
sContext
.getResources());
95
mScreenDensity =
sContext
.getResources().getDisplayMetrics().density
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneFactory.java
68
static private Context
sContext
;
83
sContext
= context;
209
phone = new CDMALTEPhone(
sContext
, sCommandsInterfaces[phoneId],
217
Phone phone = new GSMPhone(
sContext
, sCommandsInterfaces[phoneId],
269
phone = new CDMALTEPhone(
sContext
, sCommandsInterface, sPhoneNotifier);
275
phone = new CDMAPhone(
sContext
, sCommandsInterface, sPhoneNotifier);
297
return SipPhoneFactory.makePhone(sipUri,
sContext
, sPhoneNotifier);
320
MccTable.updateMccMncConfiguration(
sContext
, defaultMccMnc, false);
328
sContext
.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
358
subId = Settings.Global.getInt(
sContext
.getContentResolver()
[
all
...]
SubInfoRecordUpdater.java
81
private static Context
sContext
= null;
92
sContext
= context;
95
sContext
.registerReceiver(sReceiver, intentFilter);
128
sTelephonyMgr = TelephonyManager.from(
sContext
);
136
ContentResolver contentResolver =
sContext
.getContentResolver();
315
ContentResolver contentResolver =
sContext
.getContentResolver();
507
sContext
.unregisterReceiver(sReceiver);
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/
JniInterface.java
43
private static Activity
sContext
= null;
151
sContext
= context;
177
SharedPreferences prefs =
sContext
.getPreferences(Activity.MODE_PRIVATE);
217
AlertDialog.Builder pinPrompt = new AlertDialog.Builder(
sContext
);
218
pinPrompt.setTitle(
sContext
.getString(R.string.title_authenticate));
219
pinPrompt.setMessage(
sContext
.getString(R.string.pin_message_android));
222
final View pinEntry =
sContext
.getLayoutInflater().inflate(R.layout.pin_dialog, null);
290
sContext
.getPreferences(Activity.MODE_PRIVATE).edit().
445
Chromoting app = (Chromoting)
sContext
;
/external/chromium_org/content/public/android/java/src/org/chromium/content/app/
ChildProcessService.java
60
private static AtomicReference<Context>
sContext
= new AtomicReference<Context>(null);
115
return
sContext
.get();
121
if (
sContext
.get() != null) {
124
sContext
.set(this);
174
ContentMain.initApplicationContext(
sContext
.get().getApplicationContext());
175
nativeInitChildProcess(
sContext
.get().getApplicationContext(),
/packages/apps/OMA-DM/engine/javaplugin/api/com/android/omadm/plugin/impl/
DmtPluginManager.java
50
private static Context
sContext
;
88
List<ResolveInfo> intentServices =
sContext
.getPackageManager()
92
logd("getPackageName is: " +
sContext
.getPackageName());
95
if(resolveInfo.serviceInfo.packageName.equals(
sContext
.getPackageName())) {
111
sContext
.bindService(intent, mConnector,Context.BIND_AUTO_CREATE);
141
sContext
= appContext;
602
sContext
.unbindService(mConnector);
611
if (
sContext
== null) {
629
sContext
.unbindService(mConnector);
633
if (DBG) logd("context = " +
sContext
.toString())
[
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
;
494
sContext
= context;
770
if (sQueryProfileIntent != null &&
sContext
!= null) {
774
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);
Completed in 727 milliseconds