/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/services/tests/PackageManagerServiceTests/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/services/core/java/com/android/server/pm/ |
D | OWNERS | 14 # dex 15 per-file AbstractStatsBase.java = file:dex/OWNERS 16 per-file BackgroundDexOptService.java = file:dex/OWNERS 17 per-file CompilerStats.java = file:dex/OWNERS 18 per-file DexOptHelper.java = file:dex/OWNERS 19 per-file DynamicCodeLoggingService.java = file:dex/OWNERS 20 per-file Installer.java = file:dex/OWNERS 21 per-file InstructionSets.java = file:dex/OWNERS 22 per-file OtaDexoptService.java = file:dex/OWNERS 23 per-file OtaDexoptShellCommand.java = file:dex/OWNERS [all …]
|
D | PackageManagerServiceTestParams.java | 33 import com.android.server.pm.dex.ArtManagerService; 34 import com.android.server.pm.dex.DexManager; 35 import com.android.server.pm.dex.ViewCompiler;
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/ |
D | Android.bp | 19 // The application with a minimal main dex 34 // --debug triggers the old --minimal-main-dex behavior 39 // --main-dex-rules. 60 // --release disables the old --minimal-main-dex behavior 65 // --main-dex-rules.
|
/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/java/android/content/pm/dex/ |
D | IArtManager.aidl | 17 package android.content.pm.dex; 19 import android.content.pm.dex.ISnapshotRuntimeProfileCallback;
|
/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/tests/hosttests/test-apps/MultiDexLegacyAndException/ |
D | Android.bp | 19 // The application with a minimal main dex 37 // --debug triggers the old --minimal-main-dex behavior 42 // --main-dex-rules.
|
/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; 39 import com.android.server.pm.dex.PackageDynamicCodeLoading.DynamicCodeFile; 40 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/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/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/ |
D | Android.bp | 30 // --debug triggers the old --minimal-main-dex behavior 35 // --main-dex-rules.
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v2/ |
D | Android.bp | 33 // --debug triggers the old --minimal-main-dex behavior 38 // --main-dex-rules.
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v3/ |
D | Android.bp | 33 // --debug triggers the old --minimal-main-dex behavior 38 // --main-dex-rules.
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v1/ |
D | Android.bp | 33 // --debug triggers the old --minimal-main-dex behavior 38 // --main-dex-rules.
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/ |
D | Android.bp | 19 // The tests with only one dex 39 // The tests with a minimal main dex
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/ |
D | Android.bp | 39 cmd: "touch $(genDir)/classes2.dex &&" + 40 " $(location soong_zip) -o $(genDir)/corrupted.zip -j -f $(genDir)/classes2.dex &&" +
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | OWNERS | 1 include /services/core/java/com/android/server/pm/dex/OWNERS
|