/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkSignerTest.java | 144 new ApkSigner.Builder(rsa2048SignerConfig)); in generateGoldenFiles() 148 new ApkSigner.Builder(rsa2048SignerConfig)); in generateGoldenFiles() 152 new ApkSigner.Builder(rsa2048SignerConfig)); in generateGoldenFiles() 157 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() 165 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() 173 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() 182 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() 189 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() 196 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() 204 new ApkSigner.Builder(rsa2048SignerConfig) in generateGoldenFiles() [all …]
|
D | SigningCertificateLineageTest.java | 215 SignerCapabilities newCapabilities = new SignerCapabilities.Builder().build(); in testCapabilitiesAreNotUpdatedWithDefaultValues() 229 SigningCertificateLineage lineage = new SigningCertificateLineage.Builder(oldSigner, in testFirstRotationWitNonDefaultCapabilitiesForSigners() 476 return new SignerCapabilities.Builder() in buildSignerCapabilities() 531 return new SigningCertificateLineage.Builder(oldSignerConfig, newSignerConfig).build(); in createLineageWithSignersFromResources() 583 return new SignerConfig.Builder(privateKey, cert).build(); in getSignerConfigFromResources() 593 return new DefaultApkSignerEngine.SignerConfig.Builder(resourcePrefix, privateKey, in getApkSignerEngineSignerConfigFromResources()
|
/tools/platform-compat/java/android/processor/compat/changeid/ |
D | Change.java | 66 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/ |
D | LoopSummaryTest.java | 27 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()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkSigner.java | 293 new DefaultApkSignerEngine.SignerConfig.Builder( in sign() 300 DefaultApkSignerEngine.Builder signerEngineBuilder = in sign() 301 new DefaultApkSignerEngine.Builder(engineSignerConfigs, minSdkVersion) in sign() 316 new DefaultApkSignerEngine.SignerConfig.Builder( in sign() 1022 public static class Builder { class in ApkSigner.SignerConfig 1037 public Builder( in Builder() method in ApkSigner.SignerConfig.Builder 1055 public Builder( in Builder() method in ApkSigner.SignerConfig.Builder 1092 public static class Builder { class in ApkSigner 1142 public Builder(List<SignerConfig> signerConfigs) { in Builder() method in ApkSigner.Builder 1162 public Builder(ApkSignerEngine signerEngine) { in Builder() method in ApkSigner.Builder [all …]
|
D | SigningCertificateLineage.java | 345 SignerCapabilities signerCapabilities = new SignerCapabilities.Builder().build(); in spawnDescendant() 583 return new SignerCapabilities.Builder(flags).build(); in getSignerCapabilities() 607 SignerCapabilities newCapabilities = new SignerCapabilities.Builder( in updateSignerCapabilities() 814 public static class Builder { class in SigningCertificateLineage.SignerCapabilities 822 public Builder() { in Builder() method in SigningCertificateLineage.SignerCapabilities.Builder 830 public Builder(int flags) { in Builder() method in SigningCertificateLineage.SignerCapabilities.Builder 844 public Builder setInstalledData(boolean enabled) { in setInstalledData() 861 public Builder setSharedUid(boolean enabled) { in setSharedUid() 880 public Builder setPermission(boolean enabled) { in setPermission() 900 public Builder setRollback(boolean enabled) { in setRollback() [all …]
|
D | DefaultApkSignerEngine.java | 1080 new V3SchemeSigner.Builder(beforeCentralDir, zipCentralDirectory, eocd, in outputZipSectionsInternal() 1089 V3SchemeSigner.Builder builder = new V3SchemeSigner.Builder(beforeCentralDir, in outputZipSectionsInternal() 1666 public static class Builder { class in DefaultApkSignerEngine.SignerConfig 1681 public Builder(String name, PrivateKey privateKey, List<X509Certificate> certificates) { in Builder() method in DefaultApkSignerEngine.SignerConfig.Builder 1696 public Builder(String name, PrivateKey privateKey, List<X509Certificate> certificates, in Builder() method in DefaultApkSignerEngine.SignerConfig.Builder 1719 public static class Builder { class in DefaultApkSignerEngine 1756 public Builder(List<SignerConfig> signerConfigs, int minSdkVersion) { in Builder() method in DefaultApkSignerEngine.Builder 1831 public Builder setStampSignerConfig(SignerConfig stampSignerConfig) { in setStampSignerConfig() 1840 public Builder setSourceStampSigningCertificateLineage( in setSourceStampSigningCertificateLineage() 1851 public Builder setV1SigningEnabled(boolean enabled) { in setV1SigningEnabled() [all …]
|
D | SourceStampVerifier.java | 819 public static class Builder { class in SourceStampVerifier 830 public Builder(File apk) { in Builder() method in SourceStampVerifier.Builder 842 public Builder(DataSource apk) { in Builder() method in SourceStampVerifier.Builder 860 public SourceStampVerifier.Builder setMinCheckedPlatformVersion(int minSdkVersion) { in setMinCheckedPlatformVersion() 876 public SourceStampVerifier.Builder setMaxCheckedPlatformVersion(int maxSdkVersion) { in setMaxCheckedPlatformVersion()
|
/tools/dexter/slicer/ |
D | dex_ir_builder.cc | 30 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()
|
D | instrumentation.cc | 73 ir::Builder builder(code_ir->dex_ir); in BoxValue() 123 ir::Builder builder(code_ir->dex_ir); in Apply() 224 ir::Builder builder(code_ir->dex_ir); in InjectArrayParamsHook() 363 ir::Builder builder(code_ir->dex_ir); in Apply() 525 ir::Builder builder(code_ir->dex_ir); in Apply() 765 ir::Builder builder(dex_ir_); in InstrumentMethod()
|
/tools/platform-compat/javatest/android/processor/compat/changeid/ |
D | XmlWriterTest.java | 47 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/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | MetricSummary.java | 167 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()
|
D | LoopSummary.java | 225 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()
|
/tools/carrier_settings/java/ |
D | CarrierProtoUtils.java | 81 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);
|
D | CarrierConfigConverterV2.java | 241 CarrierId.Builder id = parseCarrierId(element); in convert() 306 CarrierList.Builder builder = CarrierList.newBuilder(); in convert() 315 CarrierConfig.Builder ccb = toCarrierConfigBuilder(configs); in convert() 341 CarrierSettings.Builder cs = CarrierSettings.newBuilder().setCanonicalName(cname); in convert() 366 MultiCarrierSettings.Builder mcs = MultiCarrierSettings.newBuilder().setVersion(version); in convert() 395 com.android.providers.telephony.CarrierIdProto.CarrierList.Builder aospCarrierList = in loadAospCarrierList() 428 CarrierId.Builder carrierId = CarrierId.newBuilder().setMccMnc(mccmnc); in carrierAttributeToCarrierId() 475 ImmutableList.Builder<Element> result = new ImmutableList.Builder<>(); in getElementsByTagName() 488 final CarrierConfig.Builder result = in.toBuilder().clearConfig(); in sortConfig() 535 private static CarrierConfig.Builder toCarrierConfigBuilder( in toCarrierConfigBuilder() [all …]
|
D | GenDeviceSettings.java | 86 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/dexter/slicer/export/slicer/ |
D | dex_ir_builder.h | 47 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/internal/apk/v3/ |
D | V3SchemeVerifier.java | 138 return new V3SchemeVerifier.Builder(apk, zipSections, minSdkVersion, maxSdkVersion) in verify() 259 new V3SchemeVerifier.Builder(apkSignatureSchemeV3Block) in parseSigners() 610 public static class Builder { class in V3SchemeVerifier 628 public Builder(DataSource apk, ApkUtils.ZipSections zipSections, int minSdkVersion, in Builder() method in V3SchemeVerifier.Builder 644 public Builder(ByteBuffer apkSignatureSchemeV3Block) { in Builder() method in V3SchemeVerifier.Builder 651 public Builder setRunnablesExecutor(RunnablesExecutor executor) { in setRunnablesExecutor() 663 public Builder setBlockId(int blockId) { in setBlockId() 676 public Builder setRotationMinSdkVersion(int rotationMinSdkVersion) { in setRotationMinSdkVersion() 688 public Builder setResult(ApkSigningBlockUtils.Result result) { in setResult() 699 public Builder setContentDigestsToVerify( in setContentDigestsToVerify() [all …]
|
D | V3SchemeSigner.java | 166 return new V3SchemeSigner.Builder(beforeCentralDir, centralDir, eocd, signerConfigs) in generateApkSignatureSchemeV3Block() 421 public static class Builder { class in V3SchemeSigner 437 public Builder(DataSource beforeCentralDir, DataSource centralDir, DataSource eocd, in Builder() method in V3SchemeSigner.Builder 448 public Builder setRunnablesExecutor(RunnablesExecutor executor) { in setRunnablesExecutor() 460 public Builder setBlockId(int blockId) { in setBlockId() 472 public Builder setRotationMinSdkVersion(int rotationMinSdkVersion) { in setRotationMinSdkVersion() 492 public Builder setRotationTargetsDevRelease(boolean enabled) { in setRotationTargetsDevRelease()
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | Class2NonSdkList.java | 28 import com.google.common.collect.ImmutableMap.Builder; 196 Builder<String, AnnotationHandler> builder = ImmutableMap.builder(); in createAnnotationHandlers() 228 private static Builder<String, AnnotationHandler> addRepeatedAnnotationHandlers( in addRepeatedAnnotationHandlers() 229 Builder<String, AnnotationHandler> builder, in addRepeatedAnnotationHandlers()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 364 ApkSigner.Builder apkSignerBuilder = in sign() 365 new ApkSigner.Builder(signerConfigs) in sign() 448 new ApkSigner.SignerConfig.Builder( in getSignerConfig() 544 ApkVerifier.Builder apkVerifierBuilder = new ApkVerifier.Builder(inputApk); in verify() 807 new SigningCertificateLineage.SignerConfig.Builder( in rotate() 815 new SigningCertificateLineage.SignerConfig.Builder( in rotate() 835 new SigningCertificateLineage.Builder(oldSignerConfig, newSignerConfig) in rotate() 905 new SigningCertificateLineage.SignerConfig.Builder( in lineage()
|
/tools/dexter/dexter/ |
D | experimental.cc | 57 ir::Builder builder(dex_ir); in StressWrapInvoke() 147 ir::Builder builder(dex_ir); in StressEntryHook() 206 ir::Builder builder(dex_ir); in StressExitHook() 343 ir::Builder builder(dex_ir); in CodeCoverage() 445 ir::Builder builder(dex_ir); in StressFindMethod()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | SigningExtension.java | 141 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/platform-compat/java/android/compat/testing/ |
D | SharedLibraryInfo.java | 54 ImmutableList.Builder<String> paths = ImmutableList.builder(); in readFromLine() 63 ImmutableList.Builder<SharedLibraryInfo> libraries = ImmutableList.builder(); in getSharedLibraryInfos()
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | AttestationTest.java | 129 KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder(keystoreAlias, in testEcAttestation() 261 return new ImmutableSet.Builder<String>() in retrieveUnexpectedExtensionOids()
|