Home
last modified time | relevance | path

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

12

/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java164 if (getApplication() == null) { in setupService()
168 mService, getContext(), mServiceClass.getName(), getApplication()); in setupService()
313 public Application getApplication() { in getApplication() method in ServiceTestCase
DApplicationTestCase.java82 public T getApplication() { in getApplication() method in ApplicationTestCase
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUISecondaryUserService.java31 ((SystemUIApplication) getApplication()).startSecondaryUserServicesIfNeeded(); in onCreate()
42 ((SystemUIApplication) getApplication()).getServices(), fd, pw, args); in dump()
DSystemUIService.java40 ((SystemUIApplication) getApplication()).startServicesIfNeeded(); in onCreate()
75 dumpServices(((SystemUIApplication) getApplication()).getServices(), fd, pw, args); in dump()
/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_jni/src/com/android/gl2jni/
DGL2JNIActivity.java33 mView = new GL2JNIView(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/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/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java48 ((SystemUIApplication) getApplication()).startServicesIfNeeded(); in onCreate()
50 ((SystemUIApplication) getApplication()).getComponent(KeyguardViewMediator.class); in onCreate()
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java281 getActivity().getApplication().registerActivityLifecycleCallbacks(this); in CallbackProxy()
319 getActivity().getApplication().unregisterActivityLifecycleCallbacks(this); in onActivityDestroyed()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java469 private static SmsApplicationData getApplication(Context context, boolean updateIfNeeded, in getApplication() method in SmsApplication
914 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultSmsApplicationAsUser()
938 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultMmsApplication()
963 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultRespondViaMessageApplication()
989 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultSendToApplication()
1014 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultExternalTelephonyProviderChangedApplication()
1039 SmsApplicationData smsApplicationData = getApplication(context, updateIfNeeded, in getDefaultSimFullApplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java112 Application appCandidate = service.getApplication(); in getHost()
118 Application appCandidate = service.getApplication(); in getBiometricUnlockController()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestActivity.java47 mView = new TestView(getApplication()); in onCreate()
/frameworks/base/core/java/android/app/
DActivity.java972 public final Application getApplication() { in getApplication() method in Activity
1195 getApplication().dispatchActivityPreCreated(this, savedInstanceState); in dispatchActivityPreCreated()
1206 getApplication().dispatchActivityCreated(this, savedInstanceState); in dispatchActivityCreated()
1224 getApplication().dispatchActivityPostCreated(this, savedInstanceState); in dispatchActivityPostCreated()
1228 getApplication().dispatchActivityPreStarted(this); in dispatchActivityPreStarted()
1238 getApplication().dispatchActivityStarted(this); in dispatchActivityStarted()
1255 getApplication().dispatchActivityPostStarted(this); in dispatchActivityPostStarted()
1259 getApplication().dispatchActivityPreResumed(this); in dispatchActivityPreResumed()
1269 getApplication().dispatchActivityResumed(this); in dispatchActivityResumed()
1285 getApplication().dispatchActivityPostResumed(this); in dispatchActivityPostResumed()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCompatibilityWalFlags.java96 Application app = activityThread == null ? null : activityThread.getApplication(); in initIfNeeded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java196 public UiccCardApplication getApplication(int family) { in getApplication() method in UiccCard
199 return mUiccProfile.getApplication(family); in getApplication()
/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()
/frameworks/base/core/java/android/content/
DAutofillOptions.java94 final String packageName = at.getApplication().getPackageName(); in forWhitelistingItself()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java197 public Application getApplication() { in getApplication() method in WebViewDelegate
/frameworks/base/core/java/android/view/contentcapture/
DDataRemovalRequest.java59 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataRemovalRequest()

12