/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() 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()
|
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 | 8 // 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/ |
D | Android.mk | 35 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/ |
D | Android.bp | 20 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_v3/ |
D | Android.mk | 34 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/ |
D | Android.mk | 32 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v1/ |
D | Android.mk | 34 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v2/ |
D | Android.mk | 34 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(mainDexList) --minimal-main-dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/ |
D | Android.mk | 37 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 | 38 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; 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/ |
D | Android.mk | 61 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/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 46 import android.content.pm.dex.ArtManager; 47 import android.content.pm.dex.DexMetadataHelper; 60 import com.android.server.pm.dex.ArtManagerService; 61 import com.android.server.pm.dex.DexManager; 62 import com.android.server.pm.dex.DexoptOptions; 63 import com.android.server.pm.dex.DexoptUtils; 64 import com.android.server.pm.dex.PackageDexUsage; 480 String dex = e.getKey(); in dumpDexoptState() local 482 pw.println(dex); in dumpDexoptState()
|
/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/opt/net/wifi/tests/wifitests/ |
D | Android.mk | 48 LOCAL_DX_FLAGS := --multi-dex 49 LOCAL_JACK_FLAGS := --multi-dex native
|
/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;
|