Home
last modified time | relevance | path

Searched refs:getApplication (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java157 if (getApplication() == null) { in setupService()
165 getApplication(), in setupService()
312 public Application getApplication() { in getApplication() method in ServiceTestCase
DApplicationTestCase.java76 public T getApplication() { in getApplication() method in ApplicationTestCase
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIService.java31 ((SystemUIApplication) getApplication()).startServicesIfNeeded(); in onCreate()
41 SystemUI[] services = ((SystemUIApplication) getApplication()).getServices(); in dump()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewDelegateFactory.java69 Application getApplication(); in getApplication() method
156 public Application getApplication() { in getApplication() method in WebViewDelegateFactory.ProxyDelegate
157 return delegate.getApplication(); in getApplication()
317 public Application getApplication() { in getApplication() method in WebViewDelegateFactory.Api21CompatibilityDelegate
DWebViewChromiumFactoryProvider.java140 mWebViewPrefs = mWebViewDelegate.getApplication().getSharedPreferences( in initialize()
147 String dataDir = PathUtils.getDataDirectory(mWebViewDelegate.getApplication()); in initialize()
251 setUpResources(mWebViewDelegate.getApplication()); in startChromiumLocked()
253 AwBrowserProcess.start(mWebViewDelegate.getApplication()); in startChromiumLocked()
421 ContentMain.initApplicationContext(mWebViewDelegate.getApplication()); in getCookieManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java44 ((SystemUIApplication) getApplication()).startServicesIfNeeded(); in onCreate()
46 ((SystemUIApplication) getApplication()).getComponent(KeyguardViewMediator.class); in onCreate()
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIActivity.java29 mView = new GLJNIView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestActivity.java30 mView = new TestView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaActivity.java33 mView = new GL2JavaView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIActivity.java33 mView = new GL2JNIView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyActivity.java33 mView = new TestLatencyView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateActivity.java33 mView = new TestFramerateView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfActivity.java34 mView = new GLPerfView(getApplication()); in onCreate()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestActivity.java47 mView = new TestView(getApplication()); in onCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java303 private static SmsApplicationData getApplication(Context context, boolean updateIfNeeded, in getApplication() method in SmsApplication
647 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultSmsApplication()
670 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultMmsApplication()
694 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultRespondViaMessageApplication()
720 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultSendToApplication()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java145 public Application getApplication() { in getApplication() method in WebViewDelegate
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DStorageBrowser.java95 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
DCameraBrowser.java99 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
DObjectBrowser.java111 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
DObjectViewer.java97 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
/frameworks/base/core/java/android/app/
DService.java307 public final Application getApplication() { in getApplication() method in Service
DActivity.java820 public final Application getApplication() { in getApplication() method in Activity
937 getApplication().dispatchActivityCreated(this, savedInstanceState); in onCreate()
1171 getApplication().dispatchActivityStarted(this); in onStart()
1220 getApplication().dispatchActivityResumed(this); in onResume()
1371 getApplication().dispatchActivitySaveInstanceState(this, outState); in onSaveInstanceState()
1468 getApplication().dispatchActivityPaused(this); in onPause()
1572 getApplication().dispatchActivityStopped(this); in onStop()
1638 getApplication().dispatchActivityDestroyed(this); in onDestroy()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java134 registerApplication(activity.getApplication()); in NfcActivityState()
137 unregisterApplication(activity.getApplication()); in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java123 if (getApplication() instanceof SystemUIApplication) { in onCreate()
124 final SystemUIApplication app = (SystemUIApplication) getApplication(); in onCreate()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java141 LoadedApk loadedApk = getApplication().mLoadedApk; in setWebViewProxy()

12