Home
last modified time | relevance | path

Searched refs:dex (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/startop/view_compiler/
Ddex_layout_compiler.cc45 DexViewBuilder::DexViewBuilder(dex::MethodBuilder* method) in DexViewBuilder()
47 context_{dex::Value::Parameter(0)},
48 resid_{dex::Value::Parameter(1)},
54 dex::TypeDescriptor::FromClassname("android.content.res.XmlResourceParser"), "next",
55 dex::Prototype{dex::TypeDescriptor::Int()})},
57 dex::TypeDescriptor::FromClassname("android.view.LayoutInflater"), "tryCreateView",
58 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.View"),
59 dex::TypeDescriptor::FromClassname("android.view.View"),
60 dex::TypeDescriptor::FromClassname("java.lang.String"),
61 dex::TypeDescriptor::FromClassname("android.content.Context"),
[all …]
Ddex_layout_compiler.h73 DexViewBuilder(dex::MethodBuilder* method);
82 dex::Value AcquireRegister();
84 dex::Value GetCurrentView() const;
85 dex::Value GetCurrentLayoutParams() const;
86 dex::Value GetParentView() const;
89 dex::MethodBuilder* method_;
92 dex::Value const context_;
93 dex::Value const resid_;
94 const dex::Value inflater_;
95 const dex::Value xml_;
[all …]
Dapk_layout_compiler.cc98 dex::DexBuilder dex_file; in CompileApkAssetsLayouts()
99 dex::ClassBuilder compiled_view{ in CompileApkAssetsLayouts()
101 std::vector<dex::MethodBuilder> methods; in CompileApkAssetsLayouts()
128 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.View"), in CompileApkAssetsLayouts()
129 dex::TypeDescriptor::FromClassname("android.content.Context"), in CompileApkAssetsLayouts()
130 dex::TypeDescriptor::Int()})); in CompileApkAssetsLayouts()
Dmain.cc40 using startop::dex::ClassBuilder;
41 using startop::dex::DexBuilder;
42 using startop::dex::MethodBuilder;
43 using startop::dex::Prototype;
44 using startop::dex::TypeDescriptor;
51 DEFINE_bool(dex, false, "Generate a DEX file instead of Java");
Ddex_builder.cc25 namespace dex { namespace
30 using ::dex::kAccPublic;
177 ::dex::Writer writer(dex_file_); in CreateImage()
179 ::dex::u1* image = writer.CreateImage(&allocator_, &image_size); in CreateImage()
189 uint8_t* string_data_start = ::dex::WriteULeb128(buffer.get(), string.size()); in GetOrAddString()
200 ::dex::u4 const new_index = dex_file_->strings_indexes.AllocateIndex(); in GetOrAddString()
232 ir::Proto* Prototype::Encode(DexBuilder* dex) const { in Encode()
233 auto* proto = dex->Alloc<ir::Proto>(); in Encode()
234 proto->shorty = dex->GetOrAddString(Shorty()); in Encode()
235 proto->return_type = dex->GetOrAddType(return_type_.descriptor()); in Encode()
[all …]
DAndroid.bp104 "simple.dex",
105 "trivial.dex",
/frameworks/base/core/tests/coretests/apks/install_bad_dex/
DAndroid.bp8 // Inject bad classes.dex file.
17 "classes.dex",
20 cmd: "$(location soong_zip) -o $(genDir)/classes.dex.zip -j -f $(location classes.dex) && " +
21 "$(location merge_zips) -ignore-duplicates $(out) $(genDir)/classes.dex.zip " +
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/
DAndroid.mk35 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
66 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList2)
/frameworks/base/startop/view_compiler/dex_builder_test/
DAndroid.bp20 cmd: "$(location :viewcompiler) $(in) --dex --out $(out) --package android.startop.test",
23 "layout1.dex",
30 cmd: "$(location :viewcompiler) $(in) --dex --out $(out) --package android.startop.test",
33 "layout2.dex",
38 name: "dex-builder-test",
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v2/
DAndroid.mk34 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v3/
DAndroid.mk34 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/
DAndroid.mk32 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v1/
DAndroid.mk34 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/
DAndroid.mk37 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
/frameworks/base/packages/SettingsLib/tests/integ/
DAndroid.mk25 LOCAL_JACK_FLAGS := --multi-dex native
41 LOCAL_JACK_FLAGS := --multi-dex native
42 LOCAL_DX_FLAGS := --multi-dex
/frameworks/base/core/java/android/content/pm/dex/
DIArtManager.aidl17 package android.content.pm.dex;
19 import android.content.pm.dex.ISnapshotRuntimeProfileCallback;
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests/
DAndroid.mk38 LOCAL_JACK_FLAGS := -D jack.dex.output.policy=minimal-multidex -D jack.dex.output.multidex.legacy=t…
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDynamicCodeLogger.java17 package com.android.server.pm.dex;
19 import static com.android.server.pm.dex.PackageDynamicCodeLoading.FILE_TYPE_DEX;
20 import static com.android.server.pm.dex.PackageDynamicCodeLoading.FILE_TYPE_NATIVE;
38 import com.android.server.pm.dex.PackageDynamicCodeLoading.DynamicCodeFile;
39 import com.android.server.pm.dex.PackageDynamicCodeLoading.PackageDynamicCode;
DArtManagerService.java17 package com.android.server.pm.dex;
29 import android.content.pm.dex.ArtManager;
30 import android.content.pm.dex.ArtManager.ProfileType;
31 import android.content.pm.dex.ArtManagerInternal;
32 import android.content.pm.dex.DexMetadataHelper;
33 import android.content.pm.dex.ISnapshotRuntimeProfileCallback;
34 import android.content.pm.dex.PackageOptimizationInfo;
78 public class ArtManagerService extends android.content.pm.dex.IArtManager.Stub {
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/
DAndroid.mk61 LOCAL_JACK_FLAGS := -D jack.dex.output.policy=minimal-multidex -D jack.dex.output.multidex.legacy=t…
/frameworks/base/packages/SystemUI/tests/
DAndroid.mk21 LOCAL_JACK_FLAGS := --multi-dex native
22 LOCAL_DX_FLAGS := --multi-dex
/frameworks/multidex/library/
DREADME6 Note that multidexing will allow to go over the dex index limit.
9 most applications requiring multidexing because of the dex index
/frameworks/opt/net/wifi/tests/wifitests/
DAndroid.mk48 LOCAL_DX_FLAGS := --multi-dex
49 LOCAL_JACK_FLAGS := --multi-dex native
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java46 import android.content.pm.dex.ArtManager;
47 import android.content.pm.dex.DexMetadataHelper;
62 import com.android.server.pm.dex.ArtManagerService;
63 import com.android.server.pm.dex.DexManager;
64 import com.android.server.pm.dex.DexoptOptions;
65 import com.android.server.pm.dex.DexoptUtils;
66 import com.android.server.pm.dex.PackageDexUsage;
485 String dex = e.getKey(); in dumpDexoptState() local
487 pw.println(dex); in dumpDexoptState()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDynamicCodeLoadingTests.java17 package com.android.server.pm.dex;
19 import static com.android.server.pm.dex.PackageDynamicCodeLoading.MAX_FILES_PER_OWNER;
20 import static com.android.server.pm.dex.PackageDynamicCodeLoading.escape;
21 import static com.android.server.pm.dex.PackageDynamicCodeLoading.unescape;
36 import com.android.server.pm.dex.PackageDynamicCodeLoading.DynamicCodeFile;
37 import com.android.server.pm.dex.PackageDynamicCodeLoading.PackageDynamicCode;

1234