Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 49) sorted by relevance

12

/art/odrefresh/
Dodrefresh_main.cc130 int InitializeConfig(int argc, char** argv, OdrConfig* config) { in InitializeConfig() argument
131 config->SetApexInfoListFile("/apex/apex-info-list.xml"); in InitializeConfig()
132 config->SetArtBinDir(art::GetArtBinDir()); in InitializeConfig()
133 config->SetBootClasspath(GetEnvironmentVariableOrDie("BOOTCLASSPATH")); in InitializeConfig()
134 config->SetDex2oatBootclasspath(GetEnvironmentVariableOrDie("DEX2OATBOOTCLASSPATH")); in InitializeConfig()
135 config->SetSystemServerClasspath(GetEnvironmentVariableOrDie("SYSTEMSERVERCLASSPATH")); in InitializeConfig()
136 config->SetStandaloneSystemServerJars( in InitializeConfig()
138 config->SetIsa(art::kRuntimeISA); in InitializeConfig()
146 config->SetCompilationOsMode(true); in InitializeConfig()
149 config->SetArtifactDirectory(GetApexDataDalvikCacheDirectory(art::InstructionSet::kNone)); in InitializeConfig()
[all …]
/art/tools/golem/
Dbuild-target.sh25 local config
53 echo >&2 " $config"
158 config="" # --machine-type=$config
184 config="${1##--machine-type=}"
185 if ! contains_element "$config" "${ALL_CONFIGS[@]}"; then
186 log_usage_error "Invalid --machine-type value '$config'"
222 if [[ -z $config ]]; then
227 tarball="${tarball:-$config.tar.gz}"
237 case "$config" in
295 if [[ $config == linux-arm* ]]; then
[all …]
/art/test/906-iterate-heap/
Diterate_heap.cc55 IterationConfig* config = reinterpret_cast<IterationConfig*>(user_data); in HeapIterationCallback() local
56 return config->Handle(class_tag, size, tag_ptr, length); in HeapIterationCallback()
59 static bool Run(JNIEnv* env, jint heap_filter, jclass klass_filter, IterationConfig* config) { in Run() argument
67 config); in Run()
102 CountIterationConfig config(0, stop_after); in Java_art_Test906_iterateThroughHeapCount() local
103 Run(env, heap_filter, klass_filter, &config); in Java_art_Test906_iterateThroughHeapCount()
105 if (config.counter > config.stop_after) { in Java_art_Test906_iterateThroughHeapCount()
109 return config.counter; in Java_art_Test906_iterateThroughHeapCount()
138 DataIterationConfig config; in Java_art_Test906_iterateThroughHeapData() local
139 if (!Run(env, heap_filter, klass_filter, &config)) { in Java_art_Test906_iterateThroughHeapData()
[all …]
/art/tools/ahat/src/main/com/android/ahat/
DHeapTable.java54 TableConfig<T> config, AhatSnapshot snapshot, List<T> elements) { in render() argument
58 if (hasNonZeroEntry(heap, config, elements)) { in render()
63 List<ValueConfig<T>> values = config.getValueConfigs(); in render()
78 doc.table(DocString.text(config.getHeapsDescription()), subcols, cols); in render()
89 long size = config.getSize(elem, heap); in render()
90 long basesize = config.getSize(base, heap.getBaseline()); in render()
117 long size = config.getSize(elem, heap); in render()
120 long basesize = config.getSize(elem.getBaseline(), heap.getBaseline()); in render()
150 TableConfig<T> config, List<T> elements) { in hasNonZeroEntry() argument
154 if (config.getSize(element, heap) > 0 || in hasNonZeroEntry()
[all …]
/art/build/
DSoongConfig.bp1 // Set up Soong config variables.
2 // https://android.googlesource.com/platform/build/soong/+/master/README.md#soong-config-variables
Dmakevars.go71 …clang_path := filepath.Join(config.ClangDefaultBase, ctx.Config().PrebuiltOS(), config.ClangDefaul…
Dart.go175 …clang_path := filepath.Join(config.ClangDefaultBase, ctx.Config().PrebuiltOS(), config.ClangDefaul…
268 func testMap(config android.Config) map[string][]string {
269 return config.Once(testMapKey, func() interface{} {
295 func testcasesContent(config android.Config) map[string]string {
296 return config.Once(testcasesContentKey, func() interface{} {
/art/runtime/metrics/
Dreporter_test.cc37 MockMetricsReporter(const ReportingConfig& config, Runtime* runtime) in MockMetricsReporter() argument
38 : MetricsReporter(config, runtime), art_metrics_(std::make_unique<ArtMetrics>()) {} in MockMetricsReporter()
111 ReportingConfig config; in SetupReporter() local
114 config.reporting_mods = reporting_mods; in SetupReporter()
115 config.period_spec = ReportingPeriodSpec::Parse(period_spec, &error); in SetupReporter()
116 ASSERT_TRUE(config.period_spec.has_value()); in SetupReporter()
119 reporter_.reset(new MockMetricsReporter(std::move(config), Runtime::Current())); in SetupReporter()
Dreporter.h100 static std::unique_ptr<MetricsReporter> Create(const ReportingConfig& config, Runtime* runtime);
129 void ReloadConfig(const ReportingConfig& config);
142 MetricsReporter(const ReportingConfig& config, Runtime* runtime);
Dreporter.cc38 const ReportingConfig& config, Runtime* runtime) { in Create() argument
40 return std::unique_ptr<MetricsReporter>{new MetricsReporter{std::move(config), runtime}}; in Create()
43 MetricsReporter::MetricsReporter(const ReportingConfig& config, Runtime* runtime) in MetricsReporter() argument
44 : config_{config}, in MetricsReporter()
51 void MetricsReporter::ReloadConfig(const ReportingConfig& config) { in ReloadConfig() argument
54 config_ = config; in ReloadConfig()
/art/tools/luci/config/generated/
Dluci-logdog.cfg5 # https://config.luci.app/schemas/projects:luci-logdog.cfg
Dproject.cfg5 # https://config.luci.app/schemas/projects:project.cfg
Drealms.cfg5 # https://config.luci.app/schemas/projects:realms.cfg
/art/libnativeloader/
Dpublic_libraries.cpp327 Result<std::map<std::string, std::string>> config = ParseApexLibrariesConfig(file_content, tag); in InitApexLibraries() local
328 if (!config.ok()) { in InitApexLibraries()
329 LOG_ALWAYS_FATAL("%s: %s", kApexLibrariesConfigFile, config.error().message().c_str()); in InitApexLibraries()
333 [&config]() { in InitApexLibraries()
335 lib_list.reserve(config->size()); in InitApexLibraries()
336 for (std::pair<std::string, std::string> elem : *config) { in InitApexLibraries()
342 return *config; in InitApexLibraries()
/art/libartservice/service/java/com/android/server/art/
DBackgroundDexoptJob.java79 @NonNull Config config) { in BackgroundDexoptJob() argument
80 this(new Injector(context, artManagerLocal, config)); in BackgroundDexoptJob()
299 @NonNull Config config) { in Injector() argument
302 mConfig = config; in Injector()
DSecondaryDexopter.java43 public SecondaryDexopter(@NonNull Context context, @NonNull Config config, in SecondaryDexopter() argument
46 this(new Injector(context, config), pkgState, pkg, params, cancellationSignal); in SecondaryDexopter()
DDexoptHelper.java74 public DexoptHelper(@NonNull Context context, @NonNull Config config) { in DexoptHelper() argument
75 this(new Injector(context, config)); in DexoptHelper()
327 Injector(@NonNull Context context, @NonNull Config config) { in Injector() argument
329 mConfig = config; in Injector()
DPrimaryDexopter.java60 public PrimaryDexopter(@NonNull Context context, @NonNull Config config, in PrimaryDexopter() argument
63 this(new Injector(context, config), pkgState, pkg, params, cancellationSignal); in PrimaryDexopter()
DDexMetadataHelper.java98 @Nullable DexMetadataPath dmPath, @NonNull DexMetadataConfig config) {} in DexMetadataInfo() argument
DDexopter.java137 if (!dmInfo.config().getEnableEmbeddedProfile()) { in dexopt()
145 dexInfo, dmInfo.config().getEnableEmbeddedProfile()); in dexopt()
151 dexInfo, dmInfo.config().getEnableEmbeddedProfile()); in dexopt()
761 public Injector(@NonNull Context context, @NonNull Config config) { in Injector() argument
763 mConfig = config; in Injector()
/art/tools/compiler-explorer/
Dcompiler-explorer.md48 cp art/tools/compiler-explorer/config/* $COMPILER_EXPLORER_DIR/compiler-explorer/etc/config
49 # Replace {{compilersDir}} in the config files with the actual path.
50 find $COMPILER_EXPLORER_DIR/compiler-explorer/etc/config -type f -name '*local*' | \
/art/tools/luci/config/
DREADME.md17 https://luci-config.appspot.com/#/projects/art .
/art/libartservice/service/proto/
Ddex_metadata_config.proto22 // The definition of `config.pb` in a dm file.
/art/libnativebridge/
DREADME.md19 a separate linker, which typically uses a different linker config than the host
/art/test/913-heaps/
Dheaps.cc111 IterationConfig* config = reinterpret_cast<IterationConfig*>(user_data); in HeapReferenceCallback() local
112 return config->Handle(reference_kind, in HeapReferenceCallback()
127 IterationConfig* config) { in Run() argument
136 config); in Run()
552 PrintIterationConfig config(stop_after, follow_set); in Java_art_Test913_followReferences() local
553 if (!Run(env, heap_filter, klass_filter, initial_object, &config)) { in Java_art_Test913_followReferences()
557 std::vector<std::string> lines = config.GetLines(); in Java_art_Test913_followReferences()

12