Home
last modified time | relevance | path

Searched refs:DeviceConfig (Results 1 – 25 of 28) sorted by relevance

12

/build/soong/cc/
Dgenrule.go59 if ctx.DeviceConfig().VndkVersion() == "" {
63 if ctx.DeviceConfig().ProductVndkVersion() != "" && ctx.ProductSpecific() {
85 recoverySnapshotVersion := ctx.DeviceConfig().RecoverySnapshotVersion()
95 if ctx.DeviceConfig().VndkVersion() == "" {
101 vndkVersion := ctx.DeviceConfig().VndkVersion()
107 variants = append(variants, VendorVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
113 if ctx.DeviceConfig().ProductVndkVersion() == "" {
118 variants = append(variants, ProductVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
119 if vndkVersion := ctx.DeviceConfig().ProductVndkVersion(); vndkVersion != "current" {
Dsnapshot_prebuilt.go51 isProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool argument
62 isUsingSnapshot(cfg android.DeviceConfig) bool argument
66 targetSnapshotVersion(cfg android.DeviceConfig) string argument
71 excludeFromDirectedSnapshot(cfg android.DeviceConfig, name string) bool argument
76 imageVariantName(cfg android.DeviceConfig) string argument
125 return ctx.DeviceConfig().VndkVersion() == "current"
153 func (vendorSnapshotImage) isProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool {
166 func (vendorSnapshotImage) isUsingSnapshot(cfg android.DeviceConfig) bool {
171 func (vendorSnapshotImage) targetSnapshotVersion(cfg android.DeviceConfig) string {
176 func (vendorSnapshotImage) excludeFromDirectedSnapshot(cfg android.DeviceConfig, name string) bool {
[all …]
Dsnapshot_utils.go104 if ctx.DeviceConfig().VndkVersion() != "current" &&
105 ctx.DeviceConfig().RecoverySnapshotVersion() != "current" {
108 if _, ok := isVndkSnapshotAware(ctx.DeviceConfig(), m, apexInfo); ok {
113 …if isSnapshotAware(ctx.DeviceConfig(), m, image.isProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfi…
Dvendor_snapshot.go96 func isVendorProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool { argument
103 func isRecoveryProprietaryPath(dir string, deviceConfig android.DeviceConfig) bool { argument
110 if isVendorProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()) {
131 if isRecoveryProprietaryPath(ctx.ModuleDir(), ctx.DeviceConfig()) {
150 func isSnapshotAware(cfg android.DeviceConfig, m LinkableInterface, inProprietaryPath bool, apexInf… argument
303 snapshotArchDir := filepath.Join(snapshotDir, ctx.DeviceConfig().DeviceArch())
464 inProprietaryPath := c.image.isProprietaryPath(moduleDir, ctx.DeviceConfig())
476 if !isSnapshotAware(ctx.DeviceConfig(), m, inProprietaryPath, apexInfo, c.image) {
485 if c.image.excludeFromDirectedSnapshot(ctx.DeviceConfig(), m.BaseModuleName()) {
Dvndk_prebuilt.go136 if !p.matchesWithDevice(ctx.DeviceConfig()) {
165 vndkVersion := ctx.DeviceConfig().VndkVersion()
187 func (p *vndkPrebuiltLibraryDecorator) matchesWithDevice(config android.DeviceConfig) bool {
244 if ctx.DeviceConfig().VndkVersion() == "" {
Dcoverage.go81 clangCoverage := ctx.DeviceConfig().ClangCoverageEnabled()
82 gcovCoverage := ctx.DeviceConfig().GcovCoverageEnabled()
174 if !ctx.DeviceConfig().NativeCoverageEnabled() {
193 needCoverageBuild = ctx.DeviceConfig().NativeCoverageEnabledForPath(ctx.ModuleDir())
Dpgo.go46 func getPgoProfileProjects(config android.DeviceConfig) []string { argument
108 for _, profileProject := range getPgoProfileProjects(ctx.DeviceConfig()) {
261 if ctx.DeviceConfig().ClangCoverageEnabled() {
318 } else if ctx.DeviceConfig().SamplingPGO() {
Dkernel_headers.go28 f.reexportSystemDirs(android.PathsForSource(ctx, ctx.DeviceConfig().DeviceKernelHeaderDirs())...)
Dimage.go427 platformVndkVersion := mctx.DeviceConfig().PlatformVndkVersion()
428 boardVndkVersion := mctx.DeviceConfig().VndkVersion()
429 productVndkVersion := mctx.DeviceConfig().ProductVndkVersion()
430 recoverySnapshotVersion := mctx.DeviceConfig().RecoverySnapshotVersion()
697 vndkVersion := ctx.DeviceConfig().VndkVersion()
Dmakevars.go99 ctx.Strict("BOARD_VNDK_VERSION", ctx.DeviceConfig().VndkVersion())
100 ctx.Strict("RECOVERY_SNAPSHOT_VERSION", ctx.DeviceConfig().RecoverySnapshotVersion())
Dccdeps.go195 if ctx.DeviceConfig().DeviceArch() != ccModule.ModuleBase.Arch().ArchType.Name {
/build/soong/apex/
Dvndk.go49 func (a *apexBundle) vndkVersion(config android.DeviceConfig) string { argument
68 vndkVersion := ab.vndkVersion(mctx.DeviceConfig())
79 vndkVersion = mctx.DeviceConfig().PlatformVndkVersion()
81 if vndkVersion == mctx.DeviceConfig().PlatformVndkVersion() {
124 if !ctx.Config().Android64() || ctx.DeviceConfig().DeviceSecondaryArch() != "" {
Dkey.go142 partition: m.PartitionTag(ctx.DeviceConfig()),
154 partition: m.PartitionTag(ctx.DeviceConfig()),
166 partition: m.PartitionTag(ctx.DeviceConfig()),
Dapex.go633 deviceConfig := ctx.DeviceConfig()
665 config := ctx.DeviceConfig()
1249 return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled()
1290 certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(moduleName)
/build/soong/android/
Dsingleton.go24 DeviceConfig() DeviceConfig methodSpec
138 func (s *singletonContextAdaptor) DeviceConfig() DeviceConfig { func
139 return DeviceConfig{s.Config().deviceConfig}
Dsdk_version.go131 currentSdkVersion := ctx.DeviceConfig().CurrentApiLevelForVendorModules()
270 allowedVersions := ctx.DeviceConfig().PlatformSystemSdkVersions()
272 systemSdkVersions := ctx.DeviceConfig().SystemSdkVersions()
Dmakevars.go42 DeviceConfig() DeviceConfig methodSpec
408 func (c *makeVarsContext) DeviceConfig() DeviceConfig { func
409 return DeviceConfig{c.Config().deviceConfig}
Dpaths.go1374 arches := ctx.DeviceConfig().Arches()
1393 binderBitness := ctx.DeviceConfig().BinderBitness()
1690 if ctx.DeviceConfig().BoardUsesRecoveryAsBoot() {
1703 if ctx.DeviceConfig().BoardMoveRecoveryResourcesToVendorBoot() {
1721 partition = ctx.DeviceConfig().VendorPath()
1723 partition = ctx.DeviceConfig().OdmPath()
1725 partition = ctx.DeviceConfig().ProductPath()
1727 partition = ctx.DeviceConfig().SystemExtPath()
Dapex.go922 …x.Config().IsEnvTrue("EMMA_INSTRUMENT") || ctx.DeviceConfig().NativeCoverageEnabled() || ctx.Devic…
/build/make/tools/fs_config/
Dfs_config.go45 if ret := ctx.DeviceConfig().TargetFSConfigGen(); len(ret) != 0 {
/build/soong/rust/
Dcoverage.go50 if !ctx.DeviceConfig().NativeCoverageEnabled() {
Dimage.go195 vndkVersion := ctx.DeviceConfig().VndkVersion()
/build/soong/java/
Dapp_set.go142 "partition": as.PartitionTag(ctx.DeviceConfig()),
Drro.go114 …manifestPackageName, overridden := ctx.DeviceConfig().OverrideManifestPackageNameFor(ctx.ModuleNam…
Dapp.go412 …manifestPackageName, overridden := ctx.DeviceConfig().OverrideManifestPackageNameFor(ctx.ModuleNam…
621 a.installApkName = ctx.DeviceConfig().OverridePackageNameFor(a.Name())
629 …a.installDir = android.PathForModuleInstall(ctx, a.installApkName, ctx.DeviceConfig().DeviceArch())
863 certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(ctx.ModuleName())
893 return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled()
969 …manifestPackageName, overridden := ctx.DeviceConfig().OverrideManifestPackageNameFor(*a.appTestPro…

12