Searched refs:sContext (Results 1 – 4 of 4) sorted by relevance
46 private static Context sContext; field in LauncherAppState66 return sContext; in getContext()70 if (sContext != null) { in setApplicationContext()71 … Log.w(Launcher.TAG, "setApplicationContext called twice! old=" + sContext + " new=" + context); in setApplicationContext()73 sContext = context.getApplicationContext(); in setApplicationContext()77 if (sContext == null) { in LauncherAppState()84 TestingUtils.startTrackingMemory(sContext); in LauncherAppState()87 mInvariantDeviceProfile = new InvariantDeviceProfile(sContext); in LauncherAppState()88 mIconCache = new IconCache(sContext, mInvariantDeviceProfile); in LauncherAppState()89 mWidgetCache = new WidgetPreviewLoader(sContext, mIconCache); in LauncherAppState()[all …]
34 private static Context sContext; field in DialerApplication38 sContext = this; in onCreate()51 return sContext; in getContext()56 sContext = context; in setContextForTest()
52 private static Context sContext; field in ApnDatabase149 sContext = context; in initializeAppContext()153 super(sContext, APN_DATABASE_NAME, null, DB_VERSION); in ApnDatabase()167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); in doesDatabaseExist()336 final Resources r = sContext.getResources(); in loadApnTable()
61 static Context sContext = null; field in MapTestData63 sContext = context; in init()82 ContentResolver resolver = sContext.getContentResolver(); in execute()