Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 195) sorted by relevance

12345678

/build/soong/cmd/extract_apks/bundle_proto/
Dconfig.pb.go105 func (m *BundleConfig) Reset() { *m = BundleConfig{} }
106 func (m *BundleConfig) String() string { return proto.CompactTextString(m) }
112 func (m *BundleConfig) XXX_Unmarshal(b []byte) error {
113 return xxx_messageInfo_BundleConfig.Unmarshal(m, b)
115 func (m *BundleConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
116 return xxx_messageInfo_BundleConfig.Marshal(b, m, deterministic)
118 func (m *BundleConfig) XXX_Merge(src proto.Message) {
119 xxx_messageInfo_BundleConfig.Merge(m, src)
121 func (m *BundleConfig) XXX_Size() int {
122 return xxx_messageInfo_BundleConfig.Size(m)
[all …]
Dtargeting.pb.go201 func (m *VariantTargeting) Reset() { *m = VariantTargeting{} }
202 func (m *VariantTargeting) String() string { return proto.CompactTextString(m) }
208 func (m *VariantTargeting) XXX_Unmarshal(b []byte) error {
209 return xxx_messageInfo_VariantTargeting.Unmarshal(m, b)
211 func (m *VariantTargeting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
212 return xxx_messageInfo_VariantTargeting.Marshal(b, m, deterministic)
214 func (m *VariantTargeting) XXX_Merge(src proto.Message) {
215 xxx_messageInfo_VariantTargeting.Merge(m, src)
217 func (m *VariantTargeting) XXX_Size() int {
218 return xxx_messageInfo_VariantTargeting.Size(m)
[all …]
Dcommands.pb.go106 func (m *BuildApksResult) Reset() { *m = BuildApksResult{} }
107 func (m *BuildApksResult) String() string { return proto.CompactTextString(m) }
113 func (m *BuildApksResult) XXX_Unmarshal(b []byte) error {
114 return xxx_messageInfo_BuildApksResult.Unmarshal(m, b)
116 func (m *BuildApksResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
117 return xxx_messageInfo_BuildApksResult.Marshal(b, m, deterministic)
119 func (m *BuildApksResult) XXX_Merge(src proto.Message) {
120 xxx_messageInfo_BuildApksResult.Merge(m, src)
122 func (m *BuildApksResult) XXX_Size() int {
123 return xxx_messageInfo_BuildApksResult.Size(m)
[all …]
/build/soong/ui/metrics/metrics_proto/
Dmetrics.pb.go207 func (m *MetricsBase) Reset() { *m = MetricsBase{} }
208 func (m *MetricsBase) String() string { return proto.CompactTextString(m) }
214 func (m *MetricsBase) XXX_Unmarshal(b []byte) error {
215 return xxx_messageInfo_MetricsBase.Unmarshal(m, b)
217 func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
218 return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic)
220 func (m *MetricsBase) XXX_Merge(src proto.Message) {
221 xxx_messageInfo_MetricsBase.Merge(m, src)
223 func (m *MetricsBase) XXX_Size() int {
224 return xxx_messageInfo_MetricsBase.Size(m)
[all …]
/build/soong/ui/status/ninja_frontend/
Dfrontend.pb.go81 func (m *Status) Reset() { *m = Status{} }
82 func (m *Status) String() string { return proto.CompactTextString(m) }
88 func (m *Status) XXX_Unmarshal(b []byte) error {
89 return xxx_messageInfo_Status.Unmarshal(m, b)
91 func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
92 return xxx_messageInfo_Status.Marshal(b, m, deterministic)
94 func (m *Status) XXX_Merge(src proto.Message) {
95 xxx_messageInfo_Status.Merge(m, src)
97 func (m *Status) XXX_Size() int {
98 return xxx_messageInfo_Status.Size(m)
[all …]
/build/soong/ui/status/build_error_proto/
Dbuild_error.pb.go34 func (m *BuildError) Reset() { *m = BuildError{} }
35 func (m *BuildError) String() string { return proto.CompactTextString(m) }
41 func (m *BuildError) XXX_Unmarshal(b []byte) error {
42 return xxx_messageInfo_BuildError.Unmarshal(m, b)
44 func (m *BuildError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
45 return xxx_messageInfo_BuildError.Marshal(b, m, deterministic)
47 func (m *BuildError) XXX_Merge(src proto.Message) {
48 xxx_messageInfo_BuildError.Merge(m, src)
50 func (m *BuildError) XXX_Size() int {
51 return xxx_messageInfo_BuildError.Size(m)
[all …]
/build/soong/ui/metrics/upload_proto/
Dupload.pb.go42 func (m *Upload) Reset() { *m = Upload{} }
43 func (m *Upload) String() string { return proto.CompactTextString(m) }
49 func (m *Upload) XXX_Unmarshal(b []byte) error {
50 return xxx_messageInfo_Upload.Unmarshal(m, b)
52 func (m *Upload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
53 return xxx_messageInfo_Upload.Marshal(b, m, deterministic)
55 func (m *Upload) XXX_Merge(src proto.Message) {
56 xxx_messageInfo_Upload.Merge(m, src)
58 func (m *Upload) XXX_Size() int {
59 return xxx_messageInfo_Upload.Size(m)
[all …]
/build/soong/ui/status/build_progress_proto/
Dbuild_progress.pb.go43 func (m *BuildProgress) Reset() { *m = BuildProgress{} }
44 func (m *BuildProgress) String() string { return proto.CompactTextString(m) }
50 func (m *BuildProgress) XXX_Unmarshal(b []byte) error {
51 return xxx_messageInfo_BuildProgress.Unmarshal(m, b)
53 func (m *BuildProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
54 return xxx_messageInfo_BuildProgress.Marshal(b, m, deterministic)
56 func (m *BuildProgress) XXX_Merge(src proto.Message) {
57 xxx_messageInfo_BuildProgress.Merge(m, src)
59 func (m *BuildProgress) XXX_Size() int {
60 return xxx_messageInfo_BuildProgress.Size(m)
[all …]
/build/soong/apex/
Dkey.go63 func (m *apexKey) installable() bool {
67 func (m *apexKey) GenerateAndroidBuildActions(ctx android.ModuleContext) {
71 if android.SrcIsModule(String(m.properties.Public_key)) != "" {
72 m.public_key_file = android.PathForModuleSrc(ctx, String(m.properties.Public_key))
74 m.public_key_file = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Public_key))
76 if !android.ExistentPathForSource(ctx, m.public_key_file.String()).Valid() {
77 m.public_key_file = android.PathForModuleSrc(ctx, String(m.properties.Public_key))
81 if android.SrcIsModule(String(m.properties.Private_key)) != "" {
82 m.private_key_file = android.PathForModuleSrc(ctx, String(m.properties.Private_key))
84 m.private_key_file = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Private_key))
[all …]
/build/soong/android/
Dmodule.go111 OtherModuleName(m blueprint.Module) string
112 OtherModuleDir(m blueprint.Module) string
113 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{})
114 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag
118 OtherModuleType(m blueprint.Module) string
646 func initAndroidModuleBase(m Module) {
647 m.base().module = m
650 func InitAndroidModule(m Module) {
651 initAndroidModuleBase(m)
652 base := m.base()
[all …]
Dapex.go168 func (m *ApexModuleBase) apexModuleBase() *ApexModuleBase {
169 return m
172 func (m *ApexModuleBase) ApexAvailable() []string {
173 return m.ApexProperties.Apex_available
176 func (m *ApexModuleBase) TestFor() []string {
181 func (m *ApexModuleBase) BuildForApex(apex ApexInfo) {
182 m.apexVariationsLock.Lock()
183 defer m.apexVariationsLock.Unlock()
184 for _, v := range m.apexVariations {
189 m.apexVariations = append(m.apexVariations, apex)
[all …]
/build/soong/ui/metrics/
Dmetrics.go43 m := &Metrics{
47 return m
50 func (m *Metrics) SetTimeMetrics(perf soong_metrics_proto.PerfInfo) {
53 m.metrics.KatiRuns = append(m.metrics.KatiRuns, &perf)
56 m.metrics.SoongRuns = append(m.metrics.SoongRuns, &perf)
59 m.metrics.NinjaRuns = append(m.metrics.NinjaRuns, &perf)
62 m.metrics.Total = &perf
68 func (m *Metrics) SetMetadataMetrics(metadata map[string]string) {
72 m.metrics.BuildId = proto.String(v)
75 m.metrics.PlatformVersionCodename = proto.String(v)
[all …]
/build/soong/sysprop/
Dsysprop_library.go78 if m, ok := dep.(*syspropLibrary); ok {
79 checkApiFileTimeStamp = m.checkApiFileTimeStamp
184 func (m *syspropLibrary) Name() string {
185 return m.BaseModuleName() + "_sysprop_library"
188 func (m *syspropLibrary) Owner() string {
189 return m.properties.Property_owner
192 func (m *syspropLibrary) CcModuleName() string {
193 return "lib" + m.BaseModuleName()
196 func (m *syspropLibrary) JavaPublicStubName() string {
197 if proptools.Bool(m.properties.Public_stub) {
[all …]
/build/soong/finder/fs/
Dfs.go204 func (m mockInode) ModTime() time.Time {
205 return m.modTime
208 func (m mockInode) Sys() interface{} {
209 return m.sys
232 func (m *MockFs) resolve(path string, followLastLink bool) (result string, err error) {
234 path = filepath.Join(m.workDir, path)
238 return m.followLinks(path, followLastLink, 10)
242 func (m *MockFs) followLinks(path string, followLastLink bool, count int) (canonicalPath string, er…
253 parentPath, err = m.followLinks(parentPath, true, count)
258 parentNode, err := m.getDir(parentPath, false)
[all …]
/build/blueprint/
Dmodule_ctx.go251 OtherModuleName(m Module) string
255 OtherModuleDir(m Module) string
260 OtherModuleSubDir(m Module) string
264 OtherModuleType(m Module) string
268 OtherModuleErrorf(m Module, fmt string, args ...interface{})
273 OtherModuleDependencyTag(m Module) DependencyTag
455 func (m *baseModuleContext) OtherModuleName(logicModule Module) string {
456 module := m.context.moduleInfo[logicModule]
460 func (m *baseModuleContext) OtherModuleDir(logicModule Module) string {
461 module := m.context.moduleInfo[logicModule]
[all …]
/build/soong/cc/
Dndk_headers.go126 func (m *headerModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
127 if String(m.properties.License) == "" {
131 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
133 srcFiles := android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs)
135 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From),
136 String(m.properties.To))
144 m.installPaths = append(m.installPaths, installPath)
147 if len(m.installPaths) == 0 {
148 ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs)
210 func (m *versionedHeaderModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
[all …]
Dvndk.go289 func processLlndkLibrary(mctx android.BottomUpMutatorContext, m *Module) {
290 lib := m.linker.(*llndkStubDecorator)
291 name := m.BaseModuleName()
292 filename := m.BaseModuleName() + ".so"
302 mctx.AddFarVariationDependencies(m.Target().Variations(), llndkImplDep, name)
306 func processVndkLibrary(mctx android.BottomUpMutatorContext, m *Module) {
307 name := m.BaseModuleName()
308 filename, err := getVndkFileName(m)
313 if m.HasStubsVariants() && name != "libz" {
327 m.Properties.MustUseVendorVariant = true
[all …]
Dndk_sysroot.go102 if m, ok := module.(android.Module); ok && !m.Enabled() {
106 if m, ok := module.(*headerModule); ok {
107 if ctx.Config().ExcludeDraftNdkApis() && m.properties.Draft {
111 installPaths = append(installPaths, m.installPaths...)
112 licensePaths = append(licensePaths, m.licensePath)
115 if m, ok := module.(*versionedHeaderModule); ok {
116 if ctx.Config().ExcludeDraftNdkApis() && m.properties.Draft {
120 installPaths = append(installPaths, m.installPaths...)
121 licensePaths = append(licensePaths, m.licensePath)
124 if m, ok := module.(*preprocessedHeadersModule); ok {
[all …]
Dvendor_snapshot.go161 m := ctx.Module().(*Module)
162 p.androidMkVendorSuffix = vendorSuffixModules(ctx.Config())[m.BaseModuleName()]
337 m := ctx.Module().(*Module)
338 p.androidMkVendorSuffix = vendorSuffixModules(ctx.Config())[m.BaseModuleName()]
436 m := ctx.Module().(*Module)
437 p.androidMkVendorSuffix = vendorSuffixModules(ctx.Config())[m.BaseModuleName()]
533 func isVendorSnapshotModule(m *Module, moduleDir string) bool {
534 if !m.Enabled() || m.Properties.HideFromMake {
538 if isVendorProprietaryPath(moduleDir) && !m.IsVndk() {
541 if m.Target().Os.Class != android.Device {
[all …]
/build/soong/cmd/extract_apks/
Dmain.go99 func (m abiTargetingMatcher) matches(config TargetConfig) bool {
100 if m.AbiTargeting == nil {
108 for _, v := range m.GetValue() {
119 for _, a := range m.GetAlternatives() {
134 func (m apkDescriptionMatcher) matches(config TargetConfig) bool {
135 return m.ApkDescription == nil || (apkTargetingMatcher{m.Targeting}).matches(config)
142 func (m apkTargetingMatcher) matches(config TargetConfig) bool {
143 return m.ApkTargeting == nil ||
144 (abiTargetingMatcher{m.AbiTargeting}.matches(config) &&
145 languageTargetingMatcher{m.LanguageTargeting}.matches(config) &&
[all …]
/build/blueprint/pathtools/
Dfs.go247 func (m *mockFs) followSymlinks(name string) string {
250 dir = m.followSymlinks(dir)
259 to, exists := m.symlinks[name]
272 func (m *mockFs) Open(name string) (ReaderAtSeekerCloser, error) {
274 name = m.followSymlinks(name)
275 if f, ok := m.files[name]; ok {
292 func (m *mockFs) Exists(name string) (bool, bool, error) {
294 name = m.followSymlinks(name)
295 if _, ok := m.files[name]; ok {
298 if _, ok := m.dirs[name]; ok {
[all …]
/build/make/core/tasks/
Dvendor_module_check.mk69 $(foreach m, $(filter-out $(_vendor_exception_modules), $(product_MODULES)), \
70 $(if $(filter-out FAKE, $(ALL_MODULES.$(m).CLASS)),\
71 $(if $(filter vendor/%, $(ALL_MODULES.$(m).PATH)),\
72 $(if $(filter-out $(_vendor_exception_path_prefix), $(ALL_MODULES.$(m).PATH)),\
73 $(m)))))
96 $(foreach m, $(_vendor_check_modules), \
97 $(if $(filter $(_vendor_owner_allowed_list), $(ALL_MODULES.$(m).OWNER)),,\
98 $(error Error: vendor module "$(m)" in $(ALL_MODULES.$(m).PATH) with unknown owner \
100 $(if $(ALL_MODULES.$(m).INSTALLED),\
101 …owner_info += $(patsubst $(PRODUCT_OUT)/%,%,$(ALL_MODULES.$(m).INSTALLED)):$(ALL_MODULES.$(m).OWNE…
[all …]
Dplatform_availability_check.mk23 $(strip $(foreach m,$(product_MODULES),\
24 $(if $(filter-out FAKE,$(ALL_MODULES.$(m).CLASS)),\
25 $(if $(ALL_MODULES.$(m).INSTALLED),\
26 $(if $(filter true,$(ALL_MODULES.$(m).NOT_AVAILABLE_FOR_PLATFORM)),\
27 $(m))))))
29 _violators_with_path := $(foreach m,$(sort $(_modules_not_available_for_platform)),\
30 $(m):$(word 1,$(ALL_MODULES.$(m).PATH))\
/build/make/tools/
Dfilter-product-graph.py9 m = reg.match(line)
10 if m:
11 return (func,m)
26 def dependency(m): argument
27 deps.append((m.group(1), m.group(2)))
28 def info(m): argument
29 infos.append((m.group(1), m.group(2)))
40 func,m = choose_regex(REGS, line)
42 func(m)
/build/soong/third_party/zip/
Dstruct.go241 func msdosModeToFileMode(m uint32) (mode os.FileMode) {
242 if m&msdosDir != 0 {
247 if m&msdosReadOnly != 0 {
254 var m uint32
257 m = s_IFREG
259 m = s_IFDIR
261 m = s_IFLNK
263 m = s_IFIFO
265 m = s_IFSOCK
268 m = s_IFCHR
[all …]

12345678