Home
last modified time | relevance | path

Searched refs:utils (Results 1 – 25 of 99) sorted by relevance

1234

/development/vndk/tools/header-checker/src/repr/symbol/
Dversion_script_parser.cpp44 api_level_(utils::FUTURE_API_LEVEL), stream_(nullptr), line_no_(0) {} in VersionScriptParser()
67 std::vector<std::string_view> tags = utils::Split(comment_line, " \t"); in ParseSymbolTags()
98 if (utils::StartsWith(tag, "introduced=")) { in ParseSymbolTags()
99 llvm::Optional<utils::ApiLevel> intro = utils::ParseApiLevel( in ParseSymbolTags()
112 if (utils::StartsWith(tag, introduced_arch_tag_)) { in ParseSymbolTags()
113 llvm::Optional<utils::ApiLevel> intro = utils::ParseApiLevel( in ParseSymbolTags()
153 return api_level_ == utils::FUTURE_API_LEVEL; in IsSymbolExported()
173 std::string symbol(utils::Trim(line.substr(0, pos))); in ParseSymbolLine()
181 if (utils::IsGlobPattern(symbol)) { in ParseSymbolLine()
189 if (utils::IsGlobPattern(symbol)) { in ParseSymbolLine()
[all …]
Dversion_script_parser.h48 utils::ApiLevel introduced_;
73 void SetApiLevel(utils::ApiLevel api_level) { in SetApiLevel()
117 utils::ApiLevel api_level_;
Dexported_symbol_set.cpp30 return utils::StartsWith(name, "_Z"); in IsCppSymbol()
78 std::unique_ptr<char, utils::FreeDeleter> demangled_name_c_str( in HasSymbol()
/development/vndk/snapshot/
Dupdate.py30 import utils
35 ANDROID_BUILD_TOP = utils.get_android_build_top()
36 PREBUILTS_VNDK_DIR = utils.join_realpath(ANDROID_BUILD_TOP, 'prebuilts/vndk')
43 utils.check_call(['repo', 'start', branch_name, '.'])
80 utils.fetch_artifact(branch, build, artifact_pattern)
85 utils.fetch_artifact(branch, build, manifest_pattern,
86 utils.MANIFEST_FILE_NAME)
96 utils.check_call(['unzip', '-qn', artifact, '-d', install_dir])
102 common_notices_dir = utils.NOTICE_FILES_DIR_PATH
106 for arch in utils.get_snapshot_archs(install_dir):
[all …]
Dcheck_gpl_license.py27 import utils
36 MANIFEST_XML = utils.MANIFEST_FILE_NAME
37 MODULE_PATHS_TXT = utils.MODULE_PATHS_FILE_NAME
59 utils.NOTICE_FILES_DIR_PATH)
74 for file in utils.find(self._install_dir, [self.MODULE_PATHS_TXT]):
112 path = utils.join_realpath(self._android_build_top, git_project_path)
123 output = utils.check_output(cmd).strip()
153 parent_revision = utils.check_output(cmd).strip()
175 utils.check_call(cmd)
283 ANDROID_BUILD_TOP = utils.get_android_build_top()
[all …]
Dgen_buildfiles.py25 import utils
80 self._snapshot_archs = utils.get_snapshot_archs(install_dir)
81 self._root_bpfile = os.path.join(install_dir, utils.ROOT_BP_PATH)
82 self._common_bpfile = os.path.join(install_dir, utils.COMMON_BP_PATH)
98 os.path.join(self._install_dir, utils.CONFIG_DIR_PATH_PATTERN,
115 for txt_path in utils.find(self._install_dir, [txt_filename]):
116 arch = utils.snapshot_arch_from_path(txt_path)
125 os.path.join(self._install_dir, utils.NOTICE_FILES_DIR_PATH,
173 utils.BINDER32) if is_binder32 else ''
197 variant_subpath = os.path.join(arch, utils.BINDER32)
[all …]
/development/vndk/tools/header-checker/
DAndroid.bp155 "src/utils/api_level.cpp",
156 "src/utils/command_line_utils.cpp",
157 "src/utils/config_file.cpp",
158 "src/utils/collect_exported_headers.cpp",
159 "src/utils/string_utils.cpp",
190 "src/utils/api_level_test.cpp",
191 "src/utils/collect_exported_headers_test.cpp",
192 "src/utils/config_file_test.cpp",
193 "src/utils/string_utils_test.cpp",
/development/gsi/gsi_util/gsi_util/commands/
Dflash_gsi.py17 from gsi_util.utils import cmd_utils
18 from gsi_util.utils import fastboot_utils
19 from gsi_util.utils import file_utils
/development/vndk/tools/header-checker/src/diff/
Dabi_diff.cpp190 utils::AddToMap(&old_exportables_map, old_exportables, in CollectDynsymExportables()
193 utils::AddToMap(&new_exportables_map, new_exportables, in CollectDynsymExportables()
197 utils::AddToMap(&old_elf_symbol_map, old_elf_symbols, in CollectDynsymExportables()
200 utils::AddToMap(&new_elf_symbol_map, new_elf_symbols, in CollectDynsymExportables()
250 utils::FindRemovedElements(old_symbols, new_symbols); in CollectElfSymbols()
253 utils::FindRemovedElements(new_symbols, old_symbols); in CollectElfSymbols()
287 utils::FindRemovedElements(old_elements_map, new_elements_map); in PopulateRemovedElements()
308 utils::FindCommonElements(old_elements_map, new_elements_map); in PopulateCommonElements()
Dheader_abi_diff.cpp33 using header_checker::utils::ConfigFile;
34 using header_checker::utils::ConfigParser;
35 using header_checker::utils::ParseBool;
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailFilterFactory.java19 import static com.example.android.voicemail.common.utils.DbQueryUtils.concatenateClausesWithAnd;
20 import static com.example.android.voicemail.common.utils.DbQueryUtils.concatenateClausesWithOr;
21 import static com.example.android.voicemail.common.utils.DbQueryUtils.getEqualityClause;
/development/vndk/tools/header-checker/src/dumper/
Dheader_checker.cpp44 using header_checker::utils::CollectAllExportedHeaders;
45 using header_checker::utils::GetCwd;
46 using header_checker::utils::HideIrrelevantCommandLineOptions;
47 using header_checker::utils::NormalizePath;
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPackageNamePicker.java18 import com.android.dumpviewer.utils.Exec;
19 import com.android.dumpviewer.utils.Utils;
/development/vndk/tools/header-checker/src/repr/
Dabi_diff_helpers.cpp166 utils::AddToMap(&old_fields_map, old_fields, in CompareEnumFields()
170 utils::AddToMap(&new_fields_map, new_fields, in CompareEnumFields()
175 utils::FindRemovedElements(old_fields_map, new_fields_map); in CompareEnumFields()
178 utils::FindRemovedElements(new_fields_map, old_fields_map); in CompareEnumFields()
186 utils::FindCommonElements(old_fields_map, new_fields_map); in CompareEnumFields()
328 utils::AddToMap( in CompareRecordFields()
332 utils::AddToMap( in CompareRecordFields()
336 utils::AddToMap( in CompareRecordFields()
340 utils::AddToMap( in CompareRecordFields()
349 utils::FindRemovedElements(old_fields_map, new_fields_map); in CompareRecordFields()
[all …]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java17 package com.example.android.mediabrowserservice.utils;
29 import static com.example.android.mediabrowserservice.utils.MediaIDHelper.MEDIA_ID_MUSICS_BY_GENRE;
30 import static com.example.android.mediabrowserservice.utils.MediaIDHelper.MEDIA_ID_MUSICS_BY_SEARCH;
/development/tools/repo_diff/service/repodiff/controllers/
Dreporter.go64 utils.TimestampToDate(
65 utils.TimestampSeconds(),
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go99 utils.TimestampToDataStudioDatetime(firstSeen),
176 utils.TimestampToDataStudioDatetime(e.RepoTimestamp(diffRows[0].DBInsertTimestamp)),
246 d.Date = utils.TimestampToDate(e.RepoTimestamp(d.DBInsertTimestamp))
265 c.Date = utils.TimestampToDate(timestamp)
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java37 import com.example.android.mediabrowserservice.utils.CarHelper;
38 import com.example.android.mediabrowserservice.utils.LogHelper;
39 import com.example.android.mediabrowserservice.utils.MediaIDHelper;
40 import com.example.android.mediabrowserservice.utils.QueueHelper;
47 import static com.example.android.mediabrowserservice.utils.MediaIDHelper.MEDIA_ID_MUSICS_BY_GENRE;
48 import static com.example.android.mediabrowserservice.utils.MediaIDHelper.MEDIA_ID_ROOT;
49 …import static com.example.android.mediabrowserservice.utils.MediaIDHelper.createBrowseCategoryMedi…
DAlbumArtCache.java23 import com.example.android.mediabrowserservice.utils.BitmapHelper;
24 import com.example.android.mediabrowserservice.utils.LogHelper;
/development/tools/repo_diff/service/repodiff/repositories/
Dproject_test.go72 dateNow := utils.TimestampToDate(utils.TimestampSeconds())
Dcommit_test.go56 dateNow := utils.TimestampToDate(utils.TimestampSeconds())
/development/gsi/gsi_util/gsi_util/mounters/
Dimage_mounter.py27 from gsi_util.utils import debugfs
28 from gsi_util.utils import image_utils
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp42 using header_checker::utils::CollectAllExportedHeaders;
43 using header_checker::utils::GetCwd;
44 using header_checker::utils::HideIrrelevantCommandLineOptions;
419 llvm::Optional<utils::ApiLevel> api_level = utils::ParseApiLevel(api_); in ReadExportedSymbolsFromVersionScript()
/development/vndk/tools/header-checker/src/utils/
Dcommand_line_utils.h22 namespace utils {
Dstl_utils.h20 namespace utils {

1234