Home
last modified time | relevance | path

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

/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DAlarmService.java27 static Context sContext; field in AlarmService
32 sContext = this; in onCreate()
49 sContext = null; in onDestroy()
DWakeUpController.java49 (PowerManager) AlarmService.sContext.getSystemService(Context.POWER_SERVICE); in getWakeLock()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneFactory.java77 static private Context sContext; field in PhoneFactory
100 sContext = context; in makeDefaultPhone()
216 sSubscriptionMonitor = new SubscriptionMonitor(tr, sContext, sc, numPhones); in makeDefaultPhone()
219 sContext, sc, Looper.myLooper(), tr, sCommandsInterfaces, in makeDefaultPhone()
229 sContext, i, sPhones[i].mDcTracker); in makeDefaultPhone()
284 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier); in makeSipPhone()
313 value = Settings.Global.getInt(sContext.getContentResolver(), in isSMSPromptEnabled()
329 return ImsPhoneFactory.makePhone(sContext, phoneNotifier, defaultPhone); in makeImsPhone()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java51 private static Context sContext; field in RotationHelper
63 sContext = context; in init()
100 int newRotation = ((WindowManager) sContext.getSystemService( in updateOrientation()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java40 private static Context sContext; field in NtpTrustedTime
75 sContext = context; in getInstance()
91 mCM = (ConnectivityManager) sContext.getSystemService(Context.CONNECTIVITY_SERVICE); in forceRefresh()