Home
last modified time | relevance | path

Searched refs:sContext (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/webkit/
DJniUtil.java40 private static Context sContext; field in JniUtil
43 if (sContext == null) { in checkInitialized()
49 if (sContext != null) { in setContext()
53 sContext = context.getApplicationContext(); in setContext()
57 return sContext; in getContext()
68 sDatabaseDirectory = sContext.getDatabasePath("dummy").getParent(); in getDatabaseDirectory()
82 File cacheDir = sContext.getCacheDir(); in getCacheDirectory()
100 return sContext.getPackageName(); in getPackageName()
121 InputStream is = sContext.getContentResolver().openInputStream(uri); in contentUrlSize()
162 return sContext.getContentResolver().openInputStream(uri); in contentUrlStream()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneFactory.java49 static private Context sContext; field in PhoneFactory
68 sContext = context; in makeDefaultPhone()
220 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier); in getCdmaPhone()
226 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier); in getCdmaPhone()
236 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier); in getGsmPhone()
247 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier); in makeSipPhone()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java57 private static Context sContext; field in TelephonyManager
62 if (sContext == null) { in TelephonyManager()
65 sContext = appContext; in TelephonyManager()
67 sContext = context; in TelephonyManager()
1045 String pkgForDebug = sContext != null ? sContext.getPackageName() : "<unknown>"; in listen()
1123 if (sContext == null) return true; in isVoiceCapable()
1124 return sContext.getResources().getBoolean( in isVoiceCapable()
1140 if (sContext == null) return true; in isSmsCapable()
1141 return sContext.getResources().getBoolean( in isSmsCapable()