Home
last modified time | relevance | path

Searched refs:application (Results 1 – 25 of 1340) sorted by relevance

12345678910>>...54

/external/r8/src/test/java/com/android/tools/r8/smali/
DSmaliDisassembleTest.java28 DexApplication application = in roundTripRawSmali() local
34 assertEquals(smali, application.smali(new InternalOptions())); in roundTripRawSmali()
42 DexApplication application = singleMethodApplication( in simpleSmokeTest() local
75 assertEquals(expected, application.smali(new InternalOptions())); in simpleSmokeTest()
82 DexApplication application = singleMethodApplication( in sparseSwitchTest() local
131 assertEquals(expected, application.smali(new InternalOptions())); in sparseSwitchTest()
138 DexApplication application = singleMethodApplication( in packedSwitchTest() local
187 assertEquals(expected, application.smali(new InternalOptions())); in packedSwitchTest()
194 DexApplication application = singleMethodApplication( in fillArrayDataTest8Bit() local
230 assertEquals(expected, application.smali(new InternalOptions())); in fillArrayDataTest8Bit()
[all …]
DSmaliTestBase.java296 public final DexApplication application; field in SmaliTestBase.TestApplication
304 DexApplication application, in TestApplication() argument
309 this(application, method, code, null, valueNumberGenerator, options); in TestApplication()
313 DexApplication application, in TestApplication() argument
319 this.application = application; in TestApplication()
345 AppInfo appInfo = new AppInfo(application); in run()
346 IRConverter converter = new IRConverter(application, appInfo, options); in run()
348 return runArt(application, options); in run()
386 protected DexApplication processApplication(DexApplication application, InternalOptions options) { in processApplication() argument
389 return r8.optimize(application, new AppInfoWithSubtyping(application)); in processApplication()
[all …]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/
D__init__.py73 getbaseclasses(application)
83 getbaseclasses(application)
88 getbaseclasses(application)
90 getbaseclasses(application)
91 getbaseclasses(application)
95 getbaseclasses(application)
104 'capp' : application,
114 'capp' : application,
119 'capp' : application,
121 'capp' : application,
[all …]
DSystem_Events_Suite.py36 class application(aetools.ComponentItem): class
66 applications = application
67 application._superclassnames = []
73 application._privpropdict = {
78 application._privelemdict = {
96 'capp' : application,
/external/skia/experimental/SimpleiOSApp/iPhone/
DAppDelegate_iPhone.m19 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)laun…
21 // Override point for customization after application launch.
29 - (void)applicationWillResignActive:(UIApplication *)application {
31application is about to move from active to inactive state. This can occur for certain types of te…
37 - (void)applicationDidEnterBackground:(UIApplication *)application {
39 … user data, invalidate timers, and store enough application state information to restore your appl…
40 …If your application supports background execution, called instead of applicationWillTerminate: whe…
45 - (void)applicationWillEnterForeground:(UIApplication *)application {
52 - (void)applicationDidBecomeActive:(UIApplication *)application {
54 …tasks that were paused (or not yet started) while the application was inactive. If the application
[all …]
/external/r8/src/main/java/com/android/tools/r8/graph/
DJarClassFileReader.java54 private final JarApplicationReader application; field in JarClassFileReader
58 JarApplicationReader application, Consumer<DexClass> classConsumer) { in JarClassFileReader() argument
59 this.application = application; in JarClassFileReader()
66 file, classKind, reader.b, application, classConsumer), SKIP_FRAMES); in read()
76 JarApplicationReader application) { in createAnnotationVisitor() argument
79 return new CreateAnnotationVisitor(application, (names, values) -> in createAnnotationVisitor()
81 createEncodedAnnotation(desc, names, values, application)))); in createAnnotationVisitor()
85 List<DexString> names, List<DexValue> values, JarApplicationReader application) { in createEncodedAnnotation() argument
92 return new DexEncodedAnnotation(application.getTypeFromDescriptor(desc), elements); in createEncodedAnnotation()
98 private final JarApplicationReader application; field in JarClassFileReader.CreateDexClassVisitor
[all …]
DJarCode.java41 private final JarApplicationReader application; field in JarCode
43 public JarCode(DexMethod method, ReparseContext context, JarApplicationReader application) { in JarCode() argument
46 this.application = application; in JarCode()
84 JarSourceCode source = new JarSourceCode(clazz, node, application); in buildIR()
92 JarSourceCode source = new JarSourceCode(clazz, node, application); in buildIR()
101 node.instructions.accept(new JarRegisterEffectsVisitor(clazz, registry, application)); in registerReachableDefinitions()
123 new ClassReader(context.classCache).accept(new SecondVisitor(context, application), in triggerDelayedParsingIfNeccessary()
135 private final JarApplicationReader application; field in JarCode.SecondVisitor
137 public SecondVisitor(ReparseContext context, JarApplicationReader application) { in SecondVisitor() argument
140 this.application = application; in SecondVisitor()
[all …]
DProgramClassVisitor.java29 final DexApplication application; field in ProgramClassVisitor
32 protected ProgramClassVisitor(DexApplication application) { in ProgramClassVisitor() argument
33 this.application = application; in ProgramClassVisitor()
40 DexClass clazz = application.programDefinitionFor(type); in accept()
72 for (DexProgramClass clazz : application.classes()) { in run()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DApplicationTest.java45 Robolectric.application = new Application(); in setUp()
50 assertThat(new Activity().getApplication(), sameInstance(Robolectric.application)); in shouldBeAContext()
51 …ivity().getApplication().getApplicationContext(), sameInstance((Context) Robolectric.application)); in shouldBeAContext()
93 Object systemService = Robolectric.application.getSystemService(name); in checkSystemService()
95 assertThat(systemService, sameInstance(Robolectric.application.getSystemService(name))); in checkSystemService()
100 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithPackageName.xm… in packageManager_shouldKnowPackageName() local
101 …assertEquals("com.wacka.wa", application.getPackageManager().getPackageInfo("com.wacka.wa", 0).pac… in packageManager_shouldKnowPackageName()
106 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithAppName.xml"))… in packageManager_shouldKnowApplicationName() local
108application.getPackageManager().getApplicationInfo("com.xtremelabs.robolectric", 0).name); in packageManager_shouldKnowApplicationName()
116 …Robolectric.shadowOf(Robolectric.application).setComponentNameAndServiceForBindService(expectedCom… in bindServiceShouldCallOnServiceConnectedWhenNotPaused()
[all …]
DPendingIntentTest.java38 …PendingIntent pendingIntent = PendingIntent.getBroadcast(Robolectric.application, 99, intent, 100); in getBroadcast__shouldCreateIntentForBroadcast()
44 assertThat(Robolectric.application, equalTo(shadow.getSavedContext())); in getBroadcast__shouldCreateIntentForBroadcast()
50 … PendingIntent pendingIntent = PendingIntent.getActivity(Robolectric.application, 99, intent, 100); in getActivity__shouldCreateIntentForBroadcast()
56 assertThat(Robolectric.application, equalTo(shadow.getSavedContext())); in getActivity__shouldCreateIntentForBroadcast()
62 … PendingIntent pendingIntent = PendingIntent.getService(Robolectric.application, 99, intent, 100); in getService__shouldCreateIntentForBroadcast()
68 assertThat(Robolectric.application, equalTo(shadow.getSavedContext())); in getService__shouldCreateIntentForBroadcast()
89 PendingIntent pi1 = PendingIntent.getActivity(Robolectric.application, 99, in testEquals()
92 PendingIntent pi3 = PendingIntent.getService(Robolectric.application, 99, in testEquals()
106 .getBroadcast(Robolectric.application, 99, null, 100)); in parcelIo_shouldGetBackBroadcastIntentWrittenToParcelWithNullIntent()
112 .getBroadcast(Robolectric.application, 99, new Intent(), 100)); in parcelIo_shouldGetBackBroadcastIntentWrittenToParcel()
[all …]
DShadowAutoCompleteTextViewTest.java24 new AutoCompleteTextView(Robolectric.application); in shouldStoreAdapter()
25 ArrayAdapter<Object> adapter = new ArrayAdapter<Object>(Robolectric.application, 0); in shouldStoreAdapter()
35 new AutoCompleteTextView(Robolectric.application); in shouldHaveDefaultThresholdOfTwo()
43 new AutoCompleteTextView(Robolectric.application); in shouldStoreThreshold()
53 new AutoCompleteTextView(Robolectric.application); in shouldNotStoreThresholdLessThanOne()
63 new AutoCompleteTextView(Robolectric.application); in shouldStoreOnItemClickListener()
75 new ReplaceableAutoCompleteTextView(Robolectric.application); in shouldReplaceTextAndUpdateSelection()
/external/r8/src/main/java/com/android/tools/r8/
DR8.java76 DexApplication application, in writeApplication() argument
84 return new ApplicationWriter(application, appInfo, options, namingLens, proguardSeedsData) in writeApplication()
91 public DexApplication optimize(DexApplication application, AppInfoWithSubtyping appInfo) in optimize() argument
93 return optimize(application, appInfo, GraphLense.getIdentityLense(), in optimize()
97 public DexApplication optimize(DexApplication application, AppInfoWithSubtyping appInfo, in optimize() argument
105 timing, application, appInfo, options, printer, graphLense); in optimize()
106 application = converter.optimize(executorService); in optimize()
111 if (!options.skipDebugInfoOpt && (application.getProguardMap() != null)) { in optimize()
115 new DebugStripper(application.getProguardMap(), options, appInfo.dexItemFactory); in optimize()
116 application.classes().forEach(stripper::processClass); in optimize()
[all …]
/external/deqp/framework/platform/ios/
DtcuIOSAppDelegate.m33 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)laun…
35 DE_UNREF(application && launchOptions);
61 - (void)applicationWillResignActive:(UIApplication *)application
63 DE_UNREF(application);
67 - (void)applicationDidEnterBackground:(UIApplication *)application
69 DE_UNREF(application);
72 - (void)applicationWillEnterForeground:(UIApplication *)application
74 DE_UNREF(application);
77 - (void)applicationDidBecomeActive:(UIApplication *)application
79 DE_UNREF(application);
[all …]
/external/skia/experimental/SimpleiOSApp/iPad/
DAppDelegate_iPad.m19 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)laun…
21 // Override point for customization after application launch.
29 - (void)applicationWillResignActive:(UIApplication *)application {
31application is about to move from active to inactive state. This can occur for certain types of te…
37 - (void)applicationDidBecomeActive:(UIApplication *)application {
39 Restart any tasks that were paused (or not yet started) while the application was inactive.
44 - (void)applicationWillTerminate:(UIApplication *)application {
46 Called when the application is about to terminate.
54 - (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
/external/nanohttpd/core/src/main/resources/META-INF/nanohttpd/
Ddefault-mimetypes.properties21 swf=application/x-shockwave-flash
22 js=application/javascript
23 pdf=application/pdf
24 doc=application/msword
25 ogg=application/x-ogg
26 zip=application/octet-stream
27 exe=application/octet-stream
28 class=application/octet-stream
29 m3u8=application/vnd.apple.mpegurl
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/
DDemoApplicationModule.java32 private final Application application; field in DemoApplicationModule
34 public DemoApplicationModule(Application application) { in DemoApplicationModule() argument
35 this.application = application; in DemoApplicationModule()
41 @Provides @Singleton Application application() { in application() method in DemoApplicationModule
42 return application; in application()
46 return (LocationManager) application.getSystemService(LOCATION_SERVICE); in provideLocationManager()
/external/r8/src/main/java/com/android/tools/r8/dex/
DApplicationWriter.java43 public final DexApplication application; field in ApplicationWriter
107 DexApplication application, in ApplicationWriter() argument
112 assert application != null; in ApplicationWriter()
113 this.application = application; in ApplicationWriter()
123 application.timing.begin("DexApplication.write"); in write()
125 application.dexItemFactory.sort(namingLens); in write()
127 application.classes().forEach((clazz) -> clazz.addDependencies(sortAnnotations)); in write()
137 && application.mainDexList.isEmpty()) { in write()
189 application.timing.end(); in write()
196 vfile.computeMapping(application), application, appInfo, options, namingLens); in writeDexFile()
[all …]
/external/r8/src/test/java/com/android/tools/r8/graph/
DTargetLookupTest.java62 DexApplication application = buildApplication(builder); in lookupDirect() local
63 AppInfo appInfo = new AppInfo(application); in lookupDirect()
65 getMethod(application, DEFAULT_CLASS_NAME, "int", "x", ImmutableList.of()); in lookupDirect()
70 assertEquals("OK", runArt(application, new InternalOptions())); in lookupDirect()
121 DexApplication application = buildApplication(builder); in lookupDirectSuper() local
122 AppInfo appInfo = new AppInfo(application); in lookupDirectSuper()
125 getMethod(application, "TestSuper", "int", "x", ImmutableList.of()).method; in lookupDirectSuper()
127 getMethod(application, "Test", "int", "y", ImmutableList.of()).method; in lookupDirectSuper()
134 application.dexItemFactory.createMethod(classTest, methodXProto, methodXName); in lookupDirectSuper()
146 assertEquals("OK", runArt(application, new InternalOptions())); in lookupDirectSuper()
/external/r8/src/test/java/com/android/tools/r8/ir/
DInlineTest.java74 DexApplication application = buildApplication(builder, options); in codeForMethodReplaceTest() local
78 DexEncodedMethod method = getMethod(application, signature); in codeForMethodReplaceTest()
81 DexEncodedMethod methodA = getMethod(application, signatureA); in codeForMethodReplaceTest()
84 DexEncodedMethod methodB = getMethod(application, signatureB); in codeForMethodReplaceTest()
87 return new SmaliTestBase.TestApplication(application, method, code, in codeForMethodReplaceTest()
157 DexApplication application = buildApplication(builder, options); in codeForMethodReplaceReturnVoidTest() local
161 DexEncodedMethod method = getMethod(application, signature); in codeForMethodReplaceReturnVoidTest()
164 DexEncodedMethod methodA = getMethod(application, signatureA); in codeForMethodReplaceReturnVoidTest()
167 return new TestApplication(application, method, code, in codeForMethodReplaceReturnVoidTest()
237 DexApplication application = buildApplication(builder, options); in codeForMultipleMethodReplaceTest() local
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DApplicationResolver.java24 Application application; in resolveApplication() local
26 application = newApplicationInstance(packageName, applicationName); in resolveApplication()
28 application = new Application(); in resolveApplication()
31 ShadowApplication shadowApplication = shadowOf(application); in resolveApplication()
35 shadowApplication.setPackageManager(new RobolectricPackageManager(application, config)); in resolveApplication()
38 return application; in resolveApplication()
69 Application application; in newApplicationInstance() local
73 application = applicationClass.newInstance(); in newApplicationInstance()
77 return application; in newApplicationInstance()
/external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/
DAndroidModule.java32 private final DemoApplication application; field in AndroidModule
34 public AndroidModule(DemoApplication application) { in AndroidModule() argument
35 this.application = application; in AndroidModule()
43 return application; in provideApplicationContext()
47 return (LocationManager) application.getSystemService(LOCATION_SERVICE); in provideLocationManager()
/external/r8/src/main/java/com/android/tools/r8/jar/
DJarRegisterEffectsVisitor.java23 private final JarApplicationReader application; field in JarRegisterEffectsVisitor
26 JarApplicationReader application) { in JarRegisterEffectsVisitor() argument
30 this.application = application; in JarRegisterEffectsVisitor()
35 DexType type = application.getTypeFromName(name); in visitTypeInsn()
45 registry.registerTypeReference(application.getTypeFromDescriptor(desc)); in visitMultiANewArrayInsn()
51 registry.registerTypeReference(application.getType((Type) cst)); in visitLdcInsn()
57 DexType ownerType = application.getTypeFromName(owner); in visitMethodInsn()
58 DexMethod method = application.getMethod(ownerType, name, desc); in visitMethodInsn()
83 DexField field = application.getField(owner, name, desc); in visitFieldInsn()
109 registry.registerTypeReference(application.getType((Type) arg)); in visitInvokeDynamicInsn()
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Terminal/
D__init__.py52 getbaseclasses(application)
56 getbaseclasses(application)
70 'capp' : application,
74 'capp' : application,
92 _elemdict = application._elemdict
93 _propdict = application._propdict
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DApplicationResolverTest.java37 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithPackageName.xm… in shouldAssignThePackageNameFromTheManifest() local
38 assertEquals("com.wacka.wa", application.getPackageName()); in shouldAssignThePackageNameFromTheManifest()
43 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithAppName.xml"))… in shouldAssignTheApplicationNameFromTheManifest() local
44 … assertEquals("com.xtremelabs.robolectric.TestApplication", application.getApplicationInfo().name); in shouldAssignTheApplicationNameFromTheManifest()
49 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithReceivers.xml"… in shouldRegisterReceiversFromTheManifest() local
50 List<ShadowApplication.Wrapper> receivers = shadowOf(application).getRegisteredReceivers(); in shouldRegisterReceiversFromTheManifest()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DTreePruner.java22 private DexApplication application; field in TreePruner
27 DexApplication application, AppInfoWithLiveness appInfo, InternalOptions options) { in TreePruner() argument
28 this.application = application; in TreePruner()
34 application.timing.begin("Pruning application..."); in run()
43 result = removeUnused(application).build(); in run()
45 application.timing.end(); in run()
50 private DexApplication.Builder removeUnused(DexApplication application) { in removeUnused() argument
51 return new DexApplication.Builder(application) in removeUnused()
52 .replaceProgramClasses(getNewProgramClasses(application.classes())); in removeUnused()
131 : methods[i].toMethodThatLogsError(application.dexItemFactory)); in reachableMethods()

12345678910>>...54