Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java46 private static Context sContext; field in LauncherAppState
66 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 …]
/packages/apps/Dialer/src/com/android/dialer/
DDialerApplication.java34 private static Context sContext; field in DialerApplication
38 sContext = this; in onCreate()
51 return sContext; in getContext()
56 sContext = context; in setContextForTest()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnDatabase.java52 private static Context sContext; field in ApnDatabase
149 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()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMapTestData.java61 static Context sContext = null; field in MapTestData
63 sContext = context; in init()
82 ContentResolver resolver = sContext.getContentResolver(); in execute()