Searched refs:sContext (Results 1 – 3 of 3) sorted by relevance
40 private static Context sContext; field in JniUtil43 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 …]
49 static private Context sContext; field in PhoneFactory68 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()
57 private static Context sContext; field in TelephonyManager62 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()