Home
last modified time | relevance | path

Searched refs:Builder (Results 1 – 23 of 23) sorted by relevance

/tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/
DBuildModuleCommand.java58 public static Builder builder() { in builder()
59 return new AutoValue_BuildModuleCommand.Builder(); in builder()
63 @AutoValue.Builder
64 public abstract static class Builder { class in BuildModuleCommand
65 abstract Builder setOutputPath(Path outputPath); in setOutputPath()
67 abstract Builder setManifestPath(Path manifestPath); in setManifestPath()
69 abstract Builder setManifestDirPath(Path manifestDirPath); in setManifestDirPath()
71 abstract Builder setDexPath(Path dexPath); in setDexPath()
73 abstract Builder setDexDirPath(Path dexDirPath); in setDexDirPath()
75 abstract Builder setResourcesDirPath(Path resourcesDirPath); in setResourcesDirPath()
[all …]
DBundleModule.java50 public static class Builder { class in BundleModule
55 public Builder(String name, AppBundle parent) { in Builder() method in BundleModule.Builder
61 public Builder addZipEntry(ZipEntry entry) { in addZipEntry()
/tools/dexter/slicer/export/slicer/
Ddex_ir_builder.h47 class Builder {
49 explicit Builder(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Builder() function
52 Builder(const Builder&) = delete;
53 Builder& operator=(const Builder&) = delete;
/tools/dexter/slicer/
Ddex_ir_builder.cc30 EncodedMethod* Builder::FindMethod(const MethodId& method_id) const { in FindMethod()
52 Proto* Builder::FindPrototype(const char* signature) const { in FindPrototype()
56 String* Builder::FindAsciiString(const char* cstr) const { in FindAsciiString()
60 String* Builder::GetAsciiString(const char* cstr) { in GetAsciiString()
94 Type* Builder::GetType(String* descriptor) { in GetType()
116 TypeList* Builder::GetTypeList(const std::vector<Type*>& types) { in GetTypeList()
146 Proto* Builder::GetProto(Type* return_type, TypeList* param_types) { in GetProto()
178 FieldDecl* Builder::GetFieldDecl(String* name, Type* type, Type* parent) { in GetFieldDecl()
204 MethodDecl* Builder::GetMethodDecl(String* name, Proto* proto, Type* parent) { in GetMethodDecl()
Dinstrumentation.cc23 ir::Builder builder(code_ir->dex_ir); in Apply()
76 ir::Builder builder(code_ir->dex_ir); in Apply()
162 ir::Builder builder(code_ir->dex_ir); in Apply()
425 ir::Builder builder(dex_ir_); in InstrumentMethod()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java193 SignerCapabilities signerCapabilities = new SignerCapabilities.Builder().build(); in spawnDescendant()
524 public static class Builder { class in SigningCertificateLineage.SignerCapabilities
530 public Builder() { in Builder() method in SigningCertificateLineage.SignerCapabilities.Builder
544 public Builder setInstalledData(boolean enabled) { in setInstalledData()
560 public Builder setSharedUid(boolean enabled) { in setSharedUid()
578 public Builder setPermission(boolean enabled) { in setPermission()
597 public Builder setRollback(boolean enabled) { in setRollback()
611 public Builder setAuth(boolean enabled) { in setAuth()
664 public static class Builder { class in SigningCertificateLineage.SignerConfig
675 public Builder( in Builder() method in SigningCertificateLineage.SignerConfig.Builder
[all …]
DApkSigner.java259 new DefaultApkSignerEngine.SignerConfig.Builder( in sign()
265 DefaultApkSignerEngine.Builder signerEngineBuilder = in sign()
266 new DefaultApkSignerEngine.Builder(engineSignerConfigs, minSdkVersion) in sign()
795 public static class Builder { class in ApkSigner.SignerConfig
809 public Builder( in Builder() method in ApkSigner.SignerConfig.Builder
846 public static class Builder { class in ApkSigner
886 public Builder(List<SignerConfig> signerConfigs) { in Builder() method in ApkSigner.Builder
906 public Builder(ApkSignerEngine signerEngine) { in Builder() method in ApkSigner.Builder
919 public Builder setInputApk(File inputApk) { in setInputApk()
933 public Builder setInputApk(DataSource inputApk) { in setInputApk()
[all …]
DApkVerifier.java1808 public static class Builder { class in ApkVerifier
1818 public Builder(File apk) { in Builder() method in ApkVerifier.Builder
1829 public Builder(DataSource apk) { in Builder() method in ApkVerifier.Builder
1852 public Builder setMinCheckedPlatformVersion(int minSdkVersion) { in setMinCheckedPlatformVersion()
1868 public Builder setMaxCheckedPlatformVersion(int maxSdkVersion) { in setMaxCheckedPlatformVersion()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DProcessMaxMemoryCollector.java58 private Map<ITestDevice, Map<String, NumericValues.Builder>> mPssMemoryPerProcess;
59 private Map<ITestDevice, Map<String, NumericValues.Builder>> mUssMemoryPerProcess;
133 for (Entry<String, NumericValues.Builder> values : in onEnd()
135 Metric.Builder metric = Metric.newBuilder(); in onEnd()
145 for (Entry<String, NumericValues.Builder> values : in onEnd()
147 Metric.Builder metric = Metric.newBuilder(); in onEnd()
160 Metric.Builder metric = Metric.newBuilder(); in onEnd()
167 Metric.Builder metric = Metric.newBuilder(); in onEnd()
DTemperatureCollector.java74 private Map<ITestDevice, DoubleValues.Builder> mValues;
128 DoubleValues.Builder values = mValues.get(device); in onEnd()
130 Metric.Builder metric = Metric.newBuilder(); in onEnd()
139 Metric.Builder metric = Metric.newBuilder(); in onEnd()
147 Metric.Builder metric = Metric.newBuilder(); in onEnd()
DDeviceMetricData.java53 public void addMetric(String key, Metric.Builder metric) { in addMetric()
74 public void addMetricForDevice(ITestDevice device, String key, Metric.Builder metric) { in addMetricForDevice()
/tools/tradefederation/core/src/com/android/tradefed/util/proto/
DTfMetricProtoUtil.java24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric.Builder;
107 Builder metricBuilder = Metric.newBuilder().setType(DataType.RAW).setMeasurements(measure); in createSingleValue()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DGetLastCommandResultOp.java103 ImmutableMap.Builder<String, String> mapBuilder = in unpackResponseFromJson()
104 new ImmutableMap.Builder<String, String>(); in unpackResponseFromJson()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java141 new DefaultApkSignerEngine.SignerConfig.Builder( in SigningExtension()
144 new DefaultApkSignerEngine.Builder(ImmutableList.of(signerConfig), minSdkVersion) in SigningExtension()
199 new ApkVerifier.Builder(new ZFileDataSource(zFile)) in isCurrentSignatureAsRequested()
/tools/dexter/dexter/
Dexperimental.cc56 ir::Builder builder(dex_ir); in StressWrapInvoke()
146 ir::Builder builder(dex_ir); in StressEntryHook()
205 ir::Builder builder(dex_ir); in StressExitHook()
336 ir::Builder builder(dex_ir); in CodeCoverage()
438 ir::Builder builder(dex_ir); in StressFindMethod()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DExecCommandTracker.java73 new ImmutableMap.Builder<String, String>() in getCommandResult()
/tools/tradefederation/core/src/com/android/tradefed/result/
DFileMetadataCollector.java38 private FileMetadata.Builder mMetadataBuilder;
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java300 new ApkSigner.SignerConfig.Builder( in sign()
317 ApkSigner.Builder apkSignerBuilder = in sign()
318 new ApkSigner.Builder(signerConfigs) in sign()
421 ApkVerifier.Builder apkVerifierBuilder = new ApkVerifier.Builder(inputApk); in verify()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DFrameworkPerfTest.java63 new ImmutableMap.Builder<String, String>()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java62 new ImmutableMultimap.Builder<String, String>()
74 new ImmutableMap.Builder<String, String>()
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java882 ApkVerifier.Builder builder = in verify()
883 new ApkVerifier.Builder(DataSources.asDataSource(ByteBuffer.wrap(apkBytes))); in verify()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageTestBaseTest.java170 private ImmutableList.Builder<ByteString> mCapturedMeasurements =
171 new ImmutableList.Builder<>();
/tools/metalava/
DREADME.md142 …KitKat in documentation for Method android.print.PrinterCapabilitiesInfo.Builder.setColorModes(int…