/frameworks/base/startop/view_compiler/ |
D | dex_layout_compiler.h | 73 DexViewBuilder(dex::MethodBuilder* method); 82 dex::LiveRegister AcquireRegister(); 83 dex::Value GetCurrentView() const; 84 dex::Value GetCurrentLayoutParams() const; 85 dex::Value GetParentView() const; 89 void BuildGetLayoutInflater(dex::Value dest); 90 void BuildGetResources(dex::Value dest); 91 void BuildGetLayoutResource(dex::Value dest, dex::Value resources, dex::Value resid); 92 void BuildLayoutResourceToAttributeSet(dex::Value dest, dex::Value layout_resource); 94 void BuildTryCreateView(dex::Value dest, dex::Value parent, dex::Value classname); [all …]
|
D | dex_builder.cc | 23 namespace dex { namespace 28 using ::dex::kAccPublic; 42 constexpr ::dex::Opcode InvokeToInvokeRange(::dex::Opcode opcode) { in InvokeToInvokeRange() 44 case ::dex::Opcode::OP_INVOKE_VIRTUAL: in InvokeToInvokeRange() 45 return ::dex::Opcode::OP_INVOKE_VIRTUAL_RANGE; in InvokeToInvokeRange() 46 case ::dex::Opcode::OP_INVOKE_DIRECT: in InvokeToInvokeRange() 47 return ::dex::Opcode::OP_INVOKE_DIRECT_RANGE; in InvokeToInvokeRange() 48 case ::dex::Opcode::OP_INVOKE_STATIC: in InvokeToInvokeRange() 49 return ::dex::Opcode::OP_INVOKE_STATIC_RANGE; in InvokeToInvokeRange() 50 case ::dex::Opcode::OP_INVOKE_INTERFACE: in InvokeToInvokeRange() [all …]
|
D | dex_builder.h | 34 namespace dex { 49 class TrackingAllocator : public ::dex::Writer::Allocator { 95 ir::Proto* Encode(DexBuilder* dex) const; 333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl); 369 void EncodeReturn(const Instruction& instruction, ::dex::Opcode opcode); 372 void EncodeInvoke(const Instruction& instruction, ::dex::Opcode opcode); 373 void EncodeBranch(::dex::Opcode op, const Instruction& instruction); 382 inline uint8_t ToBits(::dex::Opcode opcode) { in ToBits() 383 static_assert(sizeof(uint8_t) == sizeof(::dex::Opcode)); in ToBits() 387 inline void Encode10x(::dex::Opcode opcode) { in Encode10x() [all …]
|
D | apk_layout_compiler.cc | 98 dex::DexBuilder dex_file; in CompileApkAssetsLayouts() 99 dex::ClassBuilder compiled_view{ in CompileApkAssetsLayouts() 101 std::vector<dex::MethodBuilder> methods; in CompileApkAssetsLayouts() 130 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.View"), in CompileApkAssetsLayouts() 131 dex::TypeDescriptor::FromClassname("android.content.Context"), in CompileApkAssetsLayouts() 132 dex::TypeDescriptor::Int()})); in CompileApkAssetsLayouts()
|
D | main.cc | 40 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");
|
D | dex_layout_compiler.cc | 25 using dex::Instruction; 26 using dex::LiveRegister; 27 using dex::Prototype; 28 using dex::TypeDescriptor; 29 using dex::Value; 45 DexViewBuilder::DexViewBuilder(dex::MethodBuilder* method) in DexViewBuilder() 89 void DexViewBuilder::BuildLayoutResourceToAttributeSet(dex::Value dest, in BuildLayoutResourceToAttributeSet() 90 dex::Value layout_resource) { in BuildLayoutResourceToAttributeSet()
|
/frameworks/base/core/tests/coretests/apks/install_bad_dex/ |
D | Android.bp | 17 // Inject bad classes.dex file. 26 "classes.dex", 29 cmd: "$(location soong_zip) -o $(genDir)/classes.dex.zip -j -f $(location classes.dex) && " + 30 "$(location merge_zips) -ignore-duplicates $(out) $(genDir)/classes.dex.zip " +
|
D | classes.dex | 1 This is a bad dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/ |
D | Android.mk | 40 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex 76 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList2)
|
/frameworks/base/startop/view_compiler/dex_builder_test/ |
D | Android.bp | 29 cmd: "$(location :viewcompiler) $(in) --dex --out $(out) --package android.startop.test", 32 "layout1.dex", 39 cmd: "$(location :viewcompiler) $(in) --dex --out $(out) --package android.startop.test", 42 "layout2.dex", 47 name: "dex-builder-test",
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v2/ |
D | Android.mk | 39 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/ |
D | Android.mk | 35 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v3/ |
D | Android.mk | 39 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v1/ |
D | Android.mk | 39 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/ |
D | Android.mk | 40 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 85 using namespace dex; 226 std::pair<dex::u1*, size_t> maybeTransform(const char* name, size_t classDataLen, in maybeTransform() 227 const unsigned char* classData, dex::Writer::Allocator* allocator) { in maybeTransform() 230 dex::Reader reader(classData, classDataLen); in maybeTransform() 232 dex::u4 index = reader.FindClassIndex(classNameToDescriptor(name).c_str()); in maybeTransform() 245 dex::Writer writer(ir); in maybeTransform() 246 dex::u1* newClassData = writer.CreateImage(allocator, &new_size); in maybeTransform() 274 class JvmtiAllocator: public dex::Writer::Allocator { in transformHook() 294 std::pair<dex::u1*, size_t> result = maybeTransform(name, classDataLen, classData, in transformHook() 510 class NewDeleteAllocator: public dex::Writer::Allocator { in locktest_main() [all …]
|
/frameworks/base/core/java/android/content/pm/dex/ |
D | IArtManager.aidl | 17 package android.content.pm.dex; 19 import android.content.pm.dex.ISnapshotRuntimeProfileCallback;
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests/ |
D | Android.mk | 41 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/ |
D | DynamicCodeLogger.java | 17 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; 37 import com.android.server.pm.dex.PackageDynamicCodeLoading.DynamicCodeFile; 38 import com.android.server.pm.dex.PackageDynamicCodeLoading.PackageDynamicCode;
|
D | ArtManagerService.java | 17 package com.android.server.pm.dex; 28 import android.content.pm.dex.ArtManager; 29 import android.content.pm.dex.ArtManager.ProfileType; 30 import android.content.pm.dex.ArtManagerInternal; 31 import android.content.pm.dex.DexMetadataHelper; 32 import android.content.pm.dex.ISnapshotRuntimeProfileCallback; 33 import android.content.pm.dex.PackageOptimizationInfo; 84 public class ArtManagerService extends android.content.pm.dex.IArtManager.Stub {
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/ |
D | Android.mk | 67 LOCAL_JACK_FLAGS := -D jack.dex.output.policy=minimal-multidex -D jack.dex.output.multidex.legacy=t…
|
/frameworks/base/packages/SystemUI/tests/ |
D | Android.mk | 21 LOCAL_JACK_FLAGS := --multi-dex native 22 LOCAL_DX_FLAGS := --multi-dex
|
/frameworks/multidex/library/ |
D | README | 6 Note that multidexing will allow to go over the dex index limit. 9 most applications requiring multidexing because of the dex index
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 51 import android.content.pm.dex.ArtManager; 52 import android.content.pm.dex.DexMetadataHelper; 68 import com.android.server.pm.dex.ArtManagerService; 69 import com.android.server.pm.dex.ArtStatsLogUtils; 70 import com.android.server.pm.dex.ArtStatsLogUtils.ArtStatsLogger; 71 import com.android.server.pm.dex.DexManager; 72 import com.android.server.pm.dex.DexoptOptions; 73 import com.android.server.pm.dex.DexoptUtils; 74 import com.android.server.pm.dex.PackageDexUsage; 591 String dex = e.getKey(); in dumpDexoptState() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDynamicCodeLoadingTests.java | 17 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;
|