Home
last modified time | relevance | path

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

12

/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliPositionManager.java67 Collection<SmaliClass> classes = ApplicationManager.getApplication().runReadAction( in getSourcePosition()
112 return ApplicationManager.getApplication().runReadAction(new Computable<String>() { in getClassFromPosition()
126 …PsiFile containingFile = ApplicationManager.getApplication().runReadAction(new Computable<PsiFile>…
138 ApplicationManager.getApplication().runReadAction(new Runnable() {
171 ApplicationManager.getApplication().runReadAction(isSmaliFile);
DSmaliCodeFragmentFactory.java253 … registerNumber += ApplicationManager.getApplication().runReadAction(new Computable<Integer>() {
352 return ApplicationManager.getApplication().runReadAction(new Computable<Integer>() {
372 return ApplicationManager.getApplication().runReadAction(new Computable<Integer>() {
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
DSmaliClassReferenceSearcher.java58 String smaliType = ApplicationManager.getApplication().runReadAction( in processQuery()
76 SearchScope querySearchScope = ApplicationManager.getApplication().runReadAction( in processQuery()
85 ApplicationManager.getApplication().runReadAction(new Runnable() { in processQuery()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DContextWrapperTest.java115 assertThat(activity.getApplication(), sameInstance(activity.getApplication())); in shouldReturnSameApplicationEveryTime()
117 assertThat(activity.getApplication(), sameInstance(new Activity().getApplication())); in shouldReturnSameApplicationEveryTime()
DApplicationTest.java50 assertThat(new Activity().getApplication(), sameInstance(Robolectric.application)); in shouldBeAContext()
51 …assertThat(new Activity().getApplication().getApplicationContext(), sameInstance((Context) Robolec… in shouldBeAContext()
/external/libmojo/base/android/java/src/org/chromium/base/
DMemoryPressureListener.java105 activity.getApplication().onLowMemory(); in simulateLowMemoryPressureSignal()
113 activity.getApplication().onTrimMemory(level); in simulateTrimMemoryPressureSignal()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DFacadeManager.java89 String packageName = mService.getApplication().getPackageName(); in getAndroidFacadeResources()
95 String packageName = mService.getApplication().getPackageName(); in getAndroidFacadeResources()
DCameraFacade.java153 ((BaseApplication) mService.getApplication()).getTaskExecutor(); in setPreviewDisplay()
/external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/
DDemoActivity.java25 ((DemoApplication) getApplication()).component().inject(this); in onCreate()
/external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/ui/
DHomeActivity.java30 ((DemoApplication) getApplication()).component().inject(this); in onCreate()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassModifierListTest.java112 ApplicationManager.getApplication().runWriteAction(new Runnable() { in testAddClassAccessFlag()
129 ApplicationManager.getApplication().runWriteAction(new Runnable() { in testRemoveClassAccessFlag()
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/
DHomeActivity.java32 .applicationComponent(((DemoApplication) getApplication()).component()) in component()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowService.java27 public final Application getApplication() { in getApplication() method in ShadowService
DShadowActivity.java62 public final Application getApplication() { in getApplication() method in ShadowActivity
69 return getApplication(); in getApplicationContext()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptPicker.java54 mConfiguration = ((BaseApplication) getApplication()).getInterpreterConfiguration(); in onCreate()
DScriptingLayerService.java97 mInterpreterConfiguration = ((BaseApplication) getApplication()).getInterpreterConfiguration(); in onCreate()
272 ((BaseApplication) getApplication()).getInterpreterConfiguration();
DInterpreterPicker.java60 mConfiguration = ((BaseApplication) getApplication()).getInterpreterConfiguration(); in onCreate()
DTriggerService.java92 mTriggerRepository = ((BaseApplication) getApplication()).getTriggerRepository(); in onCreate()
DTriggerManager.java82 mTriggerRepository = ((BaseApplication) getApplication()).getTriggerRepository(); in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DHelpActivity.java56 + Version.getVersion(getApplication())); in onCreate()
/external/jmdns/src/javax/jmdns/impl/
DServiceInfoImpl.java216 this._application = info.getApplication(); in ServiceInfoImpl()
379 String application = this.getApplication(); in getType()
429 String application = this.getApplication(); in getQualifiedName()
704 public String getApplication() { in getApplication() method in ServiceInfoImpl
741 map.put(Fields.Application, this.getApplication()); in getQualifiedNameMap()
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/
DFutureActivity.java54 FutureActivityTaskExecutor taskQueue = ((BaseApplication) getApplication()).getTaskExecutor(); in onCreate()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DITNProxy.java50 Application application = ApplicationManager.getApplication(); in createParameters()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java93 mApplication = (ViewerApplication) getApplication(); in onCreate()
/external/jmdns/src/javax/jmdns/
DServiceInfo.java697 public abstract String getApplication(); in getApplication() method in ServiceInfo

12