Home
last modified time | relevance | path

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

12

/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java143 new ApkSigner.Builder(rsa2048SignerConfig)); in generateGoldenFiles()
147 new ApkSigner.Builder(rsa2048SignerConfig)); in generateGoldenFiles()
151 new ApkSigner.Builder(rsa2048SignerConfig)); in generateGoldenFiles()
156 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
164 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
172 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
181 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
188 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
195 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
203 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles()
[all …]
DSigningCertificateLineageTest.java215 SignerCapabilities newCapabilities = new SignerCapabilities.Builder().build(); in testCapabilitiesAreNotUpdatedWithDefaultValues()
229 SigningCertificateLineage lineage = new SigningCertificateLineage.Builder(oldSigner, in testFirstRotationWitNonDefaultCapabilitiesForSigners()
461 return new SignerCapabilities.Builder() in buildSignerCapabilities()
516 return new SigningCertificateLineage.Builder(oldSignerConfig, newSignerConfig).build(); in createLineageWithSignersFromResources()
555 return new SignerConfig.Builder(privateKey, cert).build(); in getSignerConfigFromResources()
565 return new DefaultApkSignerEngine.SignerConfig.Builder(resourcePrefix, privateKey, in getApkSignerEngineSignerConfigFromResources()
/tools/platform-compat/java/android/processor/compat/changeid/
DChange.java66 public static class Builder { class in Change
80 Builder() { in Builder() method in Change.Builder
83 public Builder id(long id) { in id()
88 public Builder name(String name) { in name()
93 public Builder disabled() { in disabled()
98 public Builder loggingOnly() { in loggingOnly()
103 public Builder enabledAfter(int sdkVersion) { in enabledAfter()
108 public Builder enabledSince(int sdkVersion) { in enabledSince()
113 public Builder description(String description) { in description()
118 public Builder overridable() { in overridable()
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DLoopSummaryTest.java27 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testBasicLoop()
46 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testSimpleLoop()
67 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testLargeDataSetLoop()
88 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testTargetPercentile()
98 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testTargetPercentileOne()
106 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testTargetPercentileZero()
114 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 500_000_000); in testJankRate()
127 LoopSummary.Builder builder = new LoopSummary.Builder(TEST_REQUIREMENTS, 1); in testParseRunMetrics()
DMetricSummaryTest.java49 MetricSummary.Builder builder = new MetricSummary.Builder(TEST_REQUIREMENTS, 500_000_000); in testConversion()
/tools/platform-compat/javatest/android/processor/compat/changeid/
DXmlWriterTest.java47 Change c = new Change.Builder() in testOneChange()
65 Change c = new Change.Builder() in testSomeChanges()
70 Change disabled = new Change.Builder() in testSomeChanges()
75 Change sdkRestricted = new Change.Builder() in testSomeChanges()
80 Change both = new Change.Builder() in testSomeChanges()
86 Change loggingOnly = new Change.Builder() in testSomeChanges()
91 Change overridable = new Change.Builder() in testSomeChanges()
/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/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java324 SignerCapabilities signerCapabilities = new SignerCapabilities.Builder().build(); in spawnDescendant()
562 return new SignerCapabilities.Builder(flags).build(); in getSignerCapabilities()
586 SignerCapabilities newCapabilities = new SignerCapabilities.Builder( in updateSignerCapabilities()
793 public static class Builder { class in SigningCertificateLineage.SignerCapabilities
801 public Builder() { in Builder() method in SigningCertificateLineage.SignerCapabilities.Builder
809 public Builder(int flags) { in Builder() method in SigningCertificateLineage.SignerCapabilities.Builder
823 public Builder setInstalledData(boolean enabled) { in setInstalledData()
840 public Builder setSharedUid(boolean enabled) { in setSharedUid()
859 public Builder setPermission(boolean enabled) { in setPermission()
879 public Builder setRollback(boolean enabled) { in setRollback()
[all …]
DApkSigner.java284 new DefaultApkSignerEngine.SignerConfig.Builder( in sign()
291 DefaultApkSignerEngine.Builder signerEngineBuilder = in sign()
292 new DefaultApkSignerEngine.Builder(engineSignerConfigs, minSdkVersion) in sign()
305 new DefaultApkSignerEngine.SignerConfig.Builder( in sign()
1011 public static class Builder { class in ApkSigner.SignerConfig
1026 public Builder( in Builder() method in ApkSigner.SignerConfig.Builder
1044 public Builder( in Builder() method in ApkSigner.SignerConfig.Builder
1081 public static class Builder { class in ApkSigner
1129 public Builder(List<SignerConfig> signerConfigs) { in Builder() method in ApkSigner.Builder
1149 public Builder(ApkSignerEngine signerEngine) { in Builder() method in ApkSigner.Builder
[all …]
DSourceStampVerifier.java808 public static class Builder { class in SourceStampVerifier
819 public Builder(File apk) { in Builder() method in SourceStampVerifier.Builder
831 public Builder(DataSource apk) { in Builder() method in SourceStampVerifier.Builder
849 public SourceStampVerifier.Builder setMinCheckedPlatformVersion(int minSdkVersion) { in setMinCheckedPlatformVersion()
865 public SourceStampVerifier.Builder setMaxCheckedPlatformVersion(int maxSdkVersion) { in setMaxCheckedPlatformVersion()
/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.cc69 ir::Builder builder(code_ir->dex_ir); in BoxValue()
119 ir::Builder builder(code_ir->dex_ir); in Apply()
215 ir::Builder builder(code_ir->dex_ir); in InjectArrayParamsHook()
354 ir::Builder builder(code_ir->dex_ir); in Apply()
513 ir::Builder builder(code_ir->dex_ir); in Apply()
753 ir::Builder builder(dex_ir_); in InstrumentMethod()
/tools/carrier_settings/java/
DCarrierProtoUtils.java81 public static CarrierConfig mergeCarrierConfig(CarrierConfig base, CarrierConfig.Builder patch) {
85 CarrierConfig.Builder baseBuilder = base.toBuilder();
138 public static CarrierSettings.Builder applyDeviceOverlayToCarrierSettings(
139 MultiCarrierSettings allOverlay, CarrierSettings.Builder base) {
144 public static CarrierSettings.Builder applyDeviceOverlayToCarrierSettings(
157 CarrierSettings.Builder resultBuilder = base.toBuilder();
179 MultiCarrierSettings.Builder resultBuilder = base.toBuilder().clearSetting();
184 CarrierSettings.Builder merged = applyDeviceOverlayToCarrierSettings(overlay, cs);
DGenDeviceSettings.java86 MultiCarrierSettings.Builder builder = MultiCarrierSettings.newBuilder(); in generate()
110 MultiCarrierSettings.Builder othersSetting = null; in generate()
112 MultiCarrierSettings.Builder builder = MultiCarrierSettings.newBuilder(); in generate()
136 CarrierSettings.Builder carrierSetting = null; in generate()
138 CarrierSettings.Builder builder = CarrierSettings.newBuilder(); in generate()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DMetricSummary.java167 public static class Builder { class in MetricSummary
173 private Map<TimeType, List<LoopSummary.Builder>> summaries = new LinkedHashMap<>();
175 public Builder(@Nullable CertificationRequirements requirements, long vSyncPeriodNs) { in Builder() method in MetricSummary.Builder
183 private LoopSummary.Builder getLatestSummary(TimeType type) { in getLatestSummary()
185 List<LoopSummary.Builder> list = summaries.get(type); in getLatestSummary()
194 LoopSummary.Builder summary = getLatestSummary(type); in addFrameTime()
201 summaries.get(type).add(new LoopSummary.Builder(mRequirements, mVSyncPeriodNs)); in beginLoop()
211 for (Map.Entry<TimeType, List<LoopSummary.Builder>> entry : summaries.entrySet()) { in build()
215 .map(LoopSummary.Builder::build) in build()
DLoopSummary.java225 static class Builder { class in LoopSummary
233 public Builder(@Nullable CertificationRequirements requirements, long VSyncPeriodNs) { in Builder() method in LoopSummary.Builder
315 private static Metric.Builder getNsMetric(long value) { in getNsMetric()
323 private static Metric.Builder getNsMetric(double value) { in getNsMetric()
DGameQualificationFpsCollector.java200 MetricSummary.Builder summary, in processTimestampsSlice()
266 MetricSummary.Builder summaryBuilder = in doEnd()
267 new MetricSummary.Builder(mCertificationRequirements, mVSyncPeriod); in doEnd()
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java28 import com.google.common.collect.ImmutableMap.Builder;
192 Builder<String, AnnotationHandler> builder = ImmutableMap.builder(); in createAnnotationHandlers()
224 private static Builder<String, AnnotationHandler> addRepeatedAnnotationHandlers( in addRepeatedAnnotationHandlers()
225 Builder<String, AnnotationHandler> builder, in addRepeatedAnnotationHandlers()
/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()
342 ir::Builder builder(dex_ir); in CodeCoverage()
444 ir::Builder builder(dex_ir); in StressFindMethod()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java129 KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder(keystoreAlias, in testEcAttestation()
261 return new ImmutableSet.Builder<String>() in retrieveUnexpectedExtensionOids()
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtradefed-test-framework.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DCpuModelFragment.kt24 val schedulingProcessBuilder = SchedulingProcessFragment.Builder()
DSchedulingSliceFragment.kt28 class Builder { class
/tools/metalava/src/main/java/com/android/resources/
DResourceType.java144 ImmutableMap.Builder<String, ResourceType> tagNames = ImmutableMap.builder();
148 ImmutableMap.Builder<String, ResourceType> classNames = ImmutableMap.builder();

12