SYMBOL INDEX (4622 symbols across 431 files) FILE: backported_fixes/src/java/com/android/build/backportedfixes/CombineBackportedFixes.java class CombineBackportedFixes (line 33) | public final class CombineBackportedFixes { method main (line 45) | public static void main(String... argv) throws Exception { method CombineBackportedFixes (line 51) | CombineBackportedFixes() { method run (line 54) | private void run() throws Exception { method writeBackportedFixes (line 61) | static void writeBackportedFixes(BackportedFixes fixes, OutputStream out) FILE: backported_fixes/src/java/com/android/build/backportedfixes/WriteBackportedFixesPropFile.java class WriteBackportedFixesPropFile (line 42) | public final class WriteBackportedFixesPropFile { method main (line 55) | public static void main(String... argv) throws Exception { method WriteBackportedFixesPropFile (line 61) | WriteBackportedFixesPropFile() { method run (line 64) | private void run() throws Exception { method writeFixesAsAliasBitSet (line 71) | static void writeFixesAsAliasBitSet(BackportedFixes fixes, Writer out) { FILE: backported_fixes/src/java/com/android/build/backportedfixes/common/Parser.java class Parser (line 39) | public final class Parser { method getFileInputStreams (line 42) | public static ImmutableList getFileInputStreams(List<... method getBitSetArray (line 52) | public static long[] getBitSetArray(int[] aliases) { method parseBackportedFixFiles (line 63) | public static BackportedFixes parseBackportedFixFiles(List fixFi... method fixCollector (line 77) | private static Collector fixCollect... method tunelFileInputStream (line 85) | private static FileInputStream tunelFileInputStream(File file) throws ... method tunnelParse (line 93) | private static BackportedFix tunnelParse(InputStream s) throws TunnelE... class TunnelException (line 103) | private static class TunnelException extends RuntimeException { method TunnelException (line 104) | TunnelException(Exception cause) { method rethrow (line 108) | RuntimeException rethrow(Class exceptionCla... method rethrow (line 116) | public RuntimeException... method exception (line 129) | private static ClassCastException exception( method Parser (line 138) | private Parser() { FILE: backported_fixes/tests/java/com/android/build/backportedfixes/CombineBackportedFixesTest.java class CombineBackportedFixesTest (line 27) | public class CombineBackportedFixesTest { method writeBackportedFixes_default (line 30) | @Test FILE: backported_fixes/tests/java/com/android/build/backportedfixes/WriteBackportedFixesPropFileTest.java class WriteBackportedFixesPropFileTest (line 27) | public class WriteBackportedFixesPropFileTest { method writeFixesAsAliasBitSet_default (line 30) | @Test method writeFixesAsAliasBitSet_some (line 44) | @Test FILE: backported_fixes/tests/java/com/android/build/backportedfixes/common/ParserTest.java class ParserTest (line 36) | public class ParserTest { method getFileInputStreams (line 41) | @Test method getBitSetArray_empty (line 49) | @Test method getBitSetArray_2_3_64 (line 55) | @Test method parseBackportedFixFiles_empty (line 61) | @Test method parseBackportedFixFiles_oneBlank (line 68) | @Test method parseBackportedFixFiles_two (line 78) | @Test method tempFile (line 97) | private File tempFile(BackportedFix fix) throws IOException { FILE: ci/build_context.py class BuildContext (line 20) | class BuildContext: method __init__ (line 22) | def __init__(self, build_context_dict: dict[str, any]): method build_target_used (line 32) | def build_target_used(self, target: str) -> bool: class TestInfo (line 35) | class TestInfo: method __init__ (line 46) | def __init__(self, test_info_dict: dict[str, any]): method build_target_used (line 62) | def build_target_used(self, target: str) -> bool: FILE: ci/build_test_suites.py class Error (line 41) | class Error(Exception): method __init__ (line 43) | def __init__(self, message): class BuildFailureError (line 47) | class BuildFailureError(Error): method __init__ (line 49) | def __init__(self, return_code): class BuildPlanner (line 54) | class BuildPlanner: method __init__ (line 62) | def __init__( method create_build_plan (line 72) | def create_build_plan(self): method _collect_preliminary_build_targets (line 114) | def _collect_preliminary_build_targets(self, enable_discovery: bool): method _legacy_collect_preliminary_build_targets (line 158) | def _legacy_collect_preliminary_build_targets(self): method _unused_target_exclusion_enabled (line 169) | def _unused_target_exclusion_enabled(self, target: str) -> bool: method _get_test_discovery_zip_regexes (line 175) | def _get_test_discovery_zip_regexes(self) -> set[str]: method _build_tf_command (line 185) | def _build_tf_command(self, test_info) -> list[str]: class BuildPlan (line 205) | class BuildPlan: function build_test_suites (line 210) | def build_test_suites(argv: list[str]) -> int: function parse_args (line 244) | def parse_args(argv: list[str]) -> argparse.Namespace: function check_required_env (line 264) | def check_required_env(): function load_build_context (line 279) | def load_build_context(): function empty_build_context (line 292) | def empty_build_context(): function execute_build_plan (line 296) | def execute_build_plan(build_plan: BuildPlan): function get_top (line 318) | def get_top() -> pathlib.Path: function run_command (line 322) | def run_command(args: list[str], stdout=None): function get_metrics_agent (line 326) | def get_metrics_agent(): function main (line 330) | def main(argv): FILE: ci/build_test_suites_local_test.py class BuildTestSuitesLocalTest (line 27) | class BuildTestSuitesLocalTest(ci_test_lib.TestCase): method setUp (line 29) | def setUp(self): method build_subprocess_args (line 35) | def build_subprocess_args(self, build_args: list[str]): method run_build (line 49) | def run_build(self, build_args: list[str]) -> subprocess.CompletedProc... method assert_children_alive (line 60) | def assert_children_alive(self, children: list[int]): method assert_children_dead (line 64) | def assert_children_dead(self, children: list[int]): method test_fails_for_invalid_arg (line 68) | def test_fails_for_invalid_arg(self): method test_builds_successfully (line 76) | def test_builds_successfully(self): method test_can_interrupt_build (line 79) | def test_can_interrupt_build(self): method test_can_kill_build_process_group (line 95) | def test_can_kill_build_process_group(self): function query_child_pids (line 112) | def query_child_pids(parent_pid: int) -> set[int]: FILE: ci/build_test_suites_test.py class BuildTestSuitesTest (line 44) | class BuildTestSuitesTest(fake_filesystem_unittest.TestCase): method setUp (line 46) | def setUp(self): method test_missing_target_release_env_var_raises (line 63) | def test_missing_target_release_env_var_raises(self): method test_missing_target_product_env_var_raises (line 69) | def test_missing_target_product_env_var_raises(self): method test_missing_top_env_var_raises (line 75) | def test_missing_top_env_var_raises(self): method test_missing_dist_dir_env_var_raises (line 81) | def test_missing_dist_dir_env_var_raises(self): method test_invalid_arg_raises (line 87) | def test_invalid_arg_raises(self): method test_build_failure_returns (line 93) | def test_build_failure_returns(self): method test_incorrectly_formatted_build_context_raises (line 101) | def test_incorrectly_formatted_build_context_raises(self): method test_build_success_returns (line 109) | def test_build_success_returns(self): method assert_raises_word (line 113) | def assert_raises_word(self, cls, word): method _setup_working_build_env (line 116) | def _setup_working_build_env(self): class RunCommandIntegrationTest (line 139) | class RunCommandIntegrationTest(ci_test_lib.TestCase): method setUp (line 141) | def setUp(self): method tearDown (line 159) | def tearDown(self): method test_raises_on_nonzero_exit (line 162) | def test_raises_on_nonzero_exit(self): method test_streams_stdout (line 173) | def test_streams_stdout(self): method test_propagates_interruptions (line 200) | def test_propagates_interruptions(self): method start_process (line 228) | def start_process(self, *args, **kwargs) -> multiprocessing.Process: method assert_process_eventually_dies (line 234) | def assert_process_eventually_dies(self, pid: int): method assert_file_eventually_contains (line 240) | def assert_file_eventually_contains(self, file: pathlib.Path, substrin... method _terminate_managed_processes (line 244) | def _terminate_managed_processes(self): class BuildPlannerTest (line 255) | class BuildPlannerTest(unittest.TestCase): class TestOptimizedBuildTarget (line 257) | class TestOptimizedBuildTarget(optimized_targets.OptimizedBuildTarget): method __init__ (line 259) | def __init__( method get_build_targets_impl (line 266) | def get_build_targets_impl(self): method get_package_outputs_commands_impl (line 269) | def get_package_outputs_commands_impl(self): method get_enabled_flag (line 272) | def get_enabled_flag(self): method setUp (line 275) | def setUp(self): method test_build_optimization_off_builds_everything (line 281) | def test_build_optimization_off_builds_everything(self): method test_build_optimization_off_doesnt_package (line 292) | def test_build_optimization_off_doesnt_package(self): method test_build_optimization_on_optimizes_target (line 304) | def test_build_optimization_on_optimizes_target(self): method test_build_optimization_on_packages_target (line 319) | def test_build_optimization_on_packages_target(self): method test_individual_build_optimization_off_doesnt_optimize (line 336) | def test_individual_build_optimization_off_doesnt_optimize(self): method test_individual_build_optimization_off_doesnt_package (line 346) | def test_individual_build_optimization_off_doesnt_package(self): method test_target_output_used_target_built (line 359) | def test_target_output_used_target_built(self): method test_target_regex_used_target_built (line 373) | def test_target_regex_used_target_built(self): method test_target_output_not_used_target_not_built (line 392) | def test_target_output_not_used_target_not_built(self): method test_target_regex_matching_not_too_broad (line 408) | def test_target_regex_matching_not_too_broad(self): method create_build_planner (line 427) | def create_build_planner( method create_build_context (line 451) | def create_build_context( method create_args (line 466) | def create_args( method create_target_optimizations (line 473) | def create_target_optimizations( method get_target_flag (line 489) | def get_target_flag(self, target: str): method get_optimized_target_name (line 492) | def get_optimized_target_name(self, target: str): method get_test_context (line 495) | def get_test_context(self, target: str): method run_packaging_commands (line 514) | def run_packaging_commands(self, build_plan: build_test_suites.BuildPl... function wait_until (line 521) | def wait_until( function read_file_contents (line 539) | def read_file_contents(file: pathlib.Path) -> str: function read_eventual_file_contents (line 544) | def read_eventual_file_contents(file: pathlib.Path) -> str: FILE: ci/buildbot.py function OutDir (line 32) | def OutDir(): function DistDir (line 38) | def DistDir(): FILE: ci/ci_test_lib.py function process_alive (line 30) | def process_alive(pid): class TemporaryProcessSession (line 41) | class TemporaryProcessSession: method __init__ (line 43) | def __init__(self, test_case: TestCase): method create (line 47) | def create(self, args, kwargs): method cleanup (line 52) | def cleanup(self): class TestTemporaryDirectory (line 59) | class TestTemporaryDirectory: method __init__ (line 61) | def __init__(self, delete: bool, ): method create (line 65) | def create(cls, test_case: TestCase, delete: bool = True): method get_dir (line 71) | def get_dir(self): method cleanup (line 74) | def cleanup(self): function main (line 80) | def main(): FILE: ci/metrics_agent.py class MetricsAgent (line 24) | class MetricsAgent: method __init__ (line 29) | def __init__(self): method instance (line 35) | def instance(cls): method _init_proto (line 44) | def _init_proto(self): method analysis_start (line 48) | def analysis_start(self): method analysis_end (line 51) | def analysis_end(self): method packaging_start (line 56) | def packaging_start(self): method packaging_end (line 59) | def packaging_end(self): method report_optimized_target (line 64) | def report_optimized_target(self, name: str): method report_unoptimized_target (line 70) | def report_unoptimized_target(self, name: str, optimization_rationale:... method target_packaging_start (line 77) | def target_packaging_start(self, name: str): method target_packaging_end (line 82) | def target_packaging_end(self, name: str): method add_target_artifact (line 88) | def add_target_artifact( method end_reporting (line 105) | def end_reporting(self): FILE: ci/optimized_targets.py class OptimizedBuildTarget (line 29) | class OptimizedBuildTarget(ABC): method __init__ (line 40) | def __init__( method get_build_targets (line 50) | def get_build_targets(self) -> set[str]: method get_package_outputs_commands (line 59) | def get_package_outputs_commands(self) -> list[list[str]]: method get_package_outputs_commands_impl (line 66) | def get_package_outputs_commands_impl(self) -> list[list[str]]: method get_enabled_flag (line 72) | def get_enabled_flag(self): method get_build_targets_impl (line 77) | def get_build_targets_impl(self) -> set[str]: method _generate_zip_options_for_items (line 82) | def _generate_zip_options_for_items( method _query_soong_vars (line 118) | def _query_soong_vars( method _base_zip_command (line 154) | def _base_zip_command( class NullOptimizer (line 165) | class NullOptimizer(OptimizedBuildTarget): method __init__ (line 172) | def __init__(self, target): method get_build_targets (line 175) | def get_build_targets(self): method get_package_outputs_commands (line 178) | def get_package_outputs_commands(self): class ChangeInfo (line 182) | class ChangeInfo: method __init__ (line 184) | def __init__(self, change_info_file_path): method find_changed_files (line 194) | def find_changed_files(self) -> set[str]: class GeneralTestsOptimizer (line 207) | class GeneralTestsOptimizer(OptimizedBuildTarget): method get_build_targets_impl (line 225) | def get_build_targets_impl(self) -> set[str]: method get_package_outputs_commands_impl (line 267) | def get_package_outputs_commands_impl(self): method _collect_config_files (line 363) | def _collect_config_files( method _get_zip_test_configs_zips_commands (line 374) | def _get_zip_test_configs_zips_commands( method get_enabled_flag (line 473) | def get_enabled_flag(self): method get_optimized_targets (line 477) | def get_optimized_targets(cls) -> dict[str, OptimizedBuildTarget]: FILE: ci/optimized_targets_test.py class GeneralTestsOptimizerTest (line 31) | class GeneralTestsOptimizerTest(fake_filesystem_unittest.TestCase): method setUp (line 33) | def setUp(self): method _setup_working_build_env (line 46) | def _setup_working_build_env(self): method _write_soong_ui_file (line 69) | def _write_soong_ui_file(self): method _write_change_info_file (line 83) | def _write_change_info_file(self): method _write_test_mapping_file (line 98) | def _write_test_mapping_file(self): method test_general_tests_optimized (line 110) | def test_general_tests_optimized(self): method test_no_change_info_no_optimization (line 122) | def test_no_change_info_no_optimization(self): method test_mapping_groups_unused_module_not_built (line 131) | def test_mapping_groups_unused_module_not_built(self): method test_general_tests_used_by_non_test_mapping_test_no_optimization (line 154) | def test_general_tests_used_by_non_test_mapping_test_no_optimization(s... method test_malformed_change_info_raises (line 168) | def test_malformed_change_info_raises(self): method test_malformed_test_mapping_raises (line 177) | def test_malformed_test_mapping_raises(self): method test_packaging_outputs_success (line 187) | def test_packaging_outputs_success(self, subprocess_run): method test_get_soong_dumpvars_fails_raises (line 198) | def test_get_soong_dumpvars_fails_raises(self, subprocess_run): method test_get_soong_dumpvars_bad_output_raises (line 209) | def test_get_soong_dumpvars_bad_output_raises(self, subprocess_run): method _create_general_tests_optimizer (line 223) | def _create_general_tests_optimizer(self, build_context: BuildContext ... method _create_build_context (line 230) | def _create_build_context( method _create_test_context (line 246) | def _create_test_context(self): method _get_soong_vars_output (line 271) | def _get_soong_vars_output( method _set_up_build_outputs (line 286) | def _set_up_build_outputs(self, targets: list[str]): method _verify_soong_zip_commands (line 298) | def _verify_soong_zip_commands(self, commands: list[str], targets: lis... FILE: ci/test_discovery_agent.py class TestDiscoveryAgent (line 22) | class TestDiscoveryAgent: method __init__ (line 35) | def __init__( method discover_test_zip_regexes (line 45) | def discover_test_zip_regexes(self) -> list[str]: method discover_test_modules (line 92) | def discover_test_modules(self) -> list[str]: method create_classpath (line 101) | def create_classpath(self, directory): class TestDiscoveryError (line 115) | class TestDiscoveryError(Exception): method __init__ (line 118) | def __init__(self, message): FILE: ci/test_mapping_module_retriever.py function FilterComments (line 44) | def FilterComments(test_mapping_file: str) -> str: function GetTestMappings (line 57) | def GetTestMappings(paths: set[str], function FindAffectedModules (line 130) | def FindAffectedModules( function MatchesFilePatterns (line 180) | def MatchesFilePatterns( FILE: core/dex_preopt_config_merger.py function main (line 37) | def main(): FILE: tools/aconfig/aconfig/build.rs function read_files_to_map_using_env (line 19) | fn read_files_to_map_using_env() -> Result { function main (line 79) | fn main() { FILE: tools/aconfig/aconfig/src/codegen/cpp.rs function generate_cpp_code (line 29) | pub fn generate_cpp_code( function generate_file (line 78) | pub fn generate_file(file: &FileSpec, context: &Context) -> Result { type Context (line 94) | pub struct Context<'a> { type ClassElement (line 108) | pub struct ClassElement { function create_class_element (line 121) | fn create_class_element( constant EXPORTED_PROD_HEADER_EXPECTED (line 175) | const EXPORTED_PROD_HEADER_EXPECTED: &str = r#" constant EXPORTED_TEST_HEADER_EXPECTED (line 285) | const EXPORTED_TEST_HEADER_EXPECTED: &str = r#" constant EXPORTED_FORCE_READ_ONLY_HEADER_EXPECTED (line 451) | const EXPORTED_FORCE_READ_ONLY_HEADER_EXPECTED: &str = r#" constant PROD_SOURCE_FILE_EXPECTED (line 533) | const PROD_SOURCE_FILE_EXPECTED: &str = r#" constant TEST_SOURCE_FILE_EXPECTED (line 751) | const TEST_SOURCE_FILE_EXPECTED: &str = r#" constant FORCE_READ_ONLY_SOURCE_FILE_EXPECTED (line 1093) | const FORCE_READ_ONLY_SOURCE_FILE_EXPECTED: &str = r#" constant READ_ONLY_EXPORTED_PROD_HEADER_EXPECTED (line 1156) | const READ_ONLY_EXPORTED_PROD_HEADER_EXPECTED: &str = r#" constant READ_ONLY_PROD_SOURCE_FILE_EXPECTED (line 1225) | const READ_ONLY_PROD_SOURCE_FILE_EXPECTED: &str = r#" function test_generate_cpp_code (line 1272) | fn test_generate_cpp_code( function test_generate_cpp_code_for_prod (line 1319) | fn test_generate_cpp_code_for_prod() { function test_generate_cpp_code_for_test (line 1330) | fn test_generate_cpp_code_for_test() { function test_generate_cpp_code_for_force_read_only (line 1341) | fn test_generate_cpp_code_for_force_read_only() { function test_generate_cpp_code_for_read_only_prod (line 1352) | fn test_generate_cpp_code_for_read_only_prod() { FILE: tools/aconfig/aconfig/src/codegen/java.rs type JavaCodegenConfig (line 31) | pub struct JavaCodegenConfig { function generate_java_code (line 41) | pub fn generate_java_code( function gen_flags_by_namespace (line 123) | fn gen_flags_by_namespace(flags: &[FlagElement]) -> Vec { type Context (line 145) | struct Context { type NamespaceFlags (line 162) | struct NamespaceFlags { type FlagElement (line 168) | struct FlagElement { function create_flag_element (line 183) | fn create_flag_element( function format_java_method_name (line 237) | fn format_java_method_name(flag_name: &str) -> String { function format_property_name (line 258) | fn format_property_name(property_name: &str) -> String { function add_feature_flags_impl_template (line 263) | fn add_feature_flags_impl_template( constant EXPECTED_FEATUREFLAGS_COMMON_CONTENT (line 323) | const EXPECTED_FEATUREFLAGS_COMMON_CONTENT: &str = r#" constant EXPECTED_FLAG_COMMON_CONTENT (line 364) | const EXPECTED_FLAG_COMMON_CONTENT: &str = r#" constant EXPECTED_CUSTOMFEATUREFLAGS_CONTENT (line 441) | const EXPECTED_CUSTOMFEATUREFLAGS_CONTENT: &str = r#" constant EXPECTED_FAKEFEATUREFLAGSIMPL_CONTENT (line 561) | const EXPECTED_FAKEFEATUREFLAGSIMPL_CONTENT: &str = r#" function test_generate_java_code_production (line 614) | fn test_generate_java_code_production() { function test_generate_java_code_exported (line 774) | fn test_generate_java_code_exported() { function test_generate_java_code_new_exported (line 997) | fn test_generate_java_code_new_exported() { function test_generate_java_code_new_exported_with_sdk_check (line 1209) | fn test_generate_java_code_new_exported_with_sdk_check() { function test_generate_java_code_flags_with_sdk_check (line 1435) | fn test_generate_java_code_flags_with_sdk_check() { function test_generate_java_code_test (line 1483) | fn test_generate_java_code_test() { function test_generate_java_code_force_read_only (line 1611) | fn test_generate_java_code_force_read_only() { function test_generate_java_code_exported_flags (line 1897) | fn test_generate_java_code_exported_flags() { function test_format_java_method_name (line 2000) | fn test_format_java_method_name() { function test_format_property_name (line 2024) | fn test_format_property_name() { FILE: tools/aconfig/aconfig/src/codegen/mod.rs function create_device_config_ident (line 25) | pub fn create_device_config_ident(package: &str, flag_name: &str) -> Res... type CodegenMode (line 32) | pub enum CodegenMode { method fmt (line 40) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { function test_create_device_config_ident (line 54) | fn test_create_device_config_ident() { FILE: tools/aconfig/aconfig/src/codegen/rust.rs function generate_rust_code (line 29) | pub fn generate_rust_code( type TemplateContext (line 70) | struct TemplateContext { type TemplateParsedFlag (line 81) | struct TemplateParsedFlag { method new (line 93) | fn new(package: &str, flag_offsets: HashMap, pf: &ProtoPa... constant PROD_EXPECTED (line 129) | const PROD_EXPECTED: &str = r#" constant TEST_EXPECTED (line 420) | const TEST_EXPECTED: &str = r#" constant FORCE_READ_ONLY_EXPECTED (line 838) | const FORCE_READ_ONLY_EXPECTED: &str = r#" function test_generate_rust_code (line 922) | fn test_generate_rust_code(mode: CodegenMode, expected: &str) { function test_generate_rust_code_for_prod (line 944) | fn test_generate_rust_code_for_prod() { function test_generate_rust_code_for_test (line 949) | fn test_generate_rust_code_for_test() { function test_generate_rust_code_for_force_read_only (line 954) | fn test_generate_rust_code_for_force_read_only() { FILE: tools/aconfig/aconfig/src/commands.rs type Input (line 39) | pub struct Input { method try_parse_flags (line 45) | fn try_parse_flags(&mut self) -> Result { method error_context (line 54) | fn error_context(&self) -> String { type OutputFile (line 59) | pub struct OutputFile { constant DEFAULT_FLAG_STATE (line 64) | pub const DEFAULT_FLAG_STATE: ProtoFlagState = ProtoFlagState::DISABLED; constant DEFAULT_FLAG_PERMISSION (line 65) | pub const DEFAULT_FLAG_PERMISSION: ProtoFlagPermission = ProtoFlagPermis... function parse_flags (line 67) | pub fn parse_flags( function create_java_lib (line 208) | pub fn create_java_lib( function create_cpp_lib (line 238) | pub fn create_cpp_lib(mut input: Input, codegen_mode: CodegenMode) -> Re... function create_rust_lib (line 254) | pub fn create_rust_lib(mut input: Input, codegen_mode: CodegenMode) -> R... function create_storage (line 285) | pub fn create_storage( function create_device_config_defaults (line 296) | pub fn create_device_config_defaults(mut input: Input) -> Result> { function create_device_config_sysprops (line 318) | pub fn create_device_config_sysprops(mut input: Input) -> Result> { function dump_parsed_flags (line 339) | pub fn dump_parsed_flags( function find_unique_package (line 363) | fn find_unique_package(parsed_flags: &[ProtoParsedFlag]) -> Option<&str> { function modify_parsed_flags_based_on_mode (line 371) | pub fn modify_parsed_flags_based_on_mode( function assign_flag_ids (line 411) | pub fn assign_flag_ids<'a, I>(package: &str, parsed_flags_iter: I) -> Re... function compute_flags_fingerprint (line 438) | pub fn compute_flags_fingerprint(flag_names: &mut Vec) -> u64 { function extract_flag_names (line 451) | fn extract_flag_names(flags: ProtoParsedFlags) -> Result> { function should_include_flag (line 467) | pub fn should_include_flag(pf: &ProtoParsedFlag) -> bool { function test_offset_fingerprint (line 485) | fn test_offset_fingerprint() { function test_offset_fingerprint_matches_from_package (line 496) | fn test_offset_fingerprint_matches_from_package() { function test_offset_fingerprint_different_packages_does_not_match (line 518) | fn test_offset_fingerprint_different_packages_does_not_match() { function test_parse_flags (line 533) | fn test_parse_flags() { function test_parse_flags_setting_default (line 583) | fn test_parse_flags_setting_default() { function test_parse_flags_package_mismatch_between_declaration_and_command_line (line 615) | fn test_parse_flags_package_mismatch_between_declaration_and_command_lin... function test_parse_flags_container_mismatch_between_declaration_and_command_line (line 647) | fn test_parse_flags_container_mismatch_between_declaration_and_command_l... function test_parse_flags_no_allow_read_write_default_error (line 678) | fn test_parse_flags_no_allow_read_write_default_error() { function test_parse_flags_no_allow_read_write_value_error (line 708) | fn test_parse_flags_no_allow_read_write_value_error() { function test_parse_flags_no_allow_read_write_success (line 750) | fn test_parse_flags_no_allow_read_write_success() { function test_parse_flags_override_fixed_read_only (line 794) | fn test_parse_flags_override_fixed_read_only() { function test_parse_flags_metadata (line 837) | fn test_parse_flags_metadata() { function test_create_device_config_defaults (line 873) | fn test_create_device_config_defaults() { function test_create_device_config_sysprops (line 881) | fn test_create_device_config_sysprops() { function test_dump (line 889) | fn test_dump() { function test_dump_multiple_filters (line 903) | fn test_dump_multiple_filters() { function test_dump_textproto_format_dedup (line 927) | fn test_dump_textproto_format_dedup() { function parse_test_flags_as_input (line 942) | fn parse_test_flags_as_input() -> Input { function test_modify_parsed_flags_based_on_mode_prod (line 951) | fn test_modify_parsed_flags_based_on_mode_prod() { function test_modify_parsed_flags_based_on_mode_exported (line 963) | fn test_modify_parsed_flags_based_on_mode_exported() { function test_assign_flag_ids (line 983) | fn test_assign_flag_ids() { function test_modify_parsed_flags_based_on_mode_force_read_only (line 1001) | fn test_modify_parsed_flags_based_on_mode_force_read_only() { FILE: tools/aconfig/aconfig/src/dump.rs type DumpFormat (line 25) | pub enum DumpFormat { type Error (line 32) | type Error = anyhow::Error; method try_from (line 34) | fn try_from(value: &str) -> std::result::Result { function dump_parsed_flags (line 45) | pub fn dump_parsed_flags(parsed_flags_iter: I, format: DumpFormat) ->... function dump_custom_format (line 71) | fn dump_custom_format(flag: &ProtoParsedFlag, format: &str, output: &mut... type DumpPredicate (line 117) | pub type DumpPredicate = dyn Fn(&ProtoParsedFlag) -> bool; function create_filter_predicate (line 119) | pub fn create_filter_predicate(filter: &str) -> Result Result ProtoParsedFlag { function test_dumpformat_from_str (line 209) | fn test_dumpformat_from_str() { function test_dump_parsed_flags_protobuf_format (line 220) | fn test_dump_parsed_flags_protobuf_format() { function test_dump_parsed_flags_textproto_format (line 234) | fn test_dump_parsed_flags_textproto_format() { function test_dump_parsed_flags_custom_format (line 243) | fn test_dump_parsed_flags_custom_format() { function test_dump_custom_format (line 265) | fn test_dump_custom_format() { function test_create_filter_predicate (line 299) | fn test_create_filter_predicate() { FILE: tools/aconfig/aconfig/src/main.rs constant HELP_DUMP_CACHE (line 44) | const HELP_DUMP_CACHE: &str = r#" constant HELP_DUMP_FORMAT (line 48) | const HELP_DUMP_FORMAT: &str = r#" constant HELP_DUMP_FILTER (line 86) | const HELP_DUMP_FILTER: &str = r#" constant HELP_DUMP_DEDUP (line 121) | const HELP_DUMP_DEDUP: &str = r#" function cli (line 126) | fn cli() -> Command { function get_required_arg (line 293) | fn get_required_arg<'a, T>(matches: &'a ArgMatches, arg_name: &str) -> R... function get_optional_arg (line 302) | fn get_optional_arg<'a, T>(matches: &'a ArgMatches, arg_name: &str) -> O... function open_zero_or_more_files (line 309) | fn open_zero_or_more_files(matches: &ArgMatches, arg_name: &str) -> Resu... function open_single_file (line 318) | fn open_single_file(matches: &ArgMatches, arg_name: &str) -> Result Result<()> { function load_finalized_flags (line 352) | fn load_finalized_flags() -> Result { function main (line 358) | fn main() -> Result<()> { FILE: tools/aconfig/aconfig/src/storage/flag_info.rs function new_header (line 23) | fn new_header(container: &str, num_flags: u32, version: u32) -> FlagInfo... function create_flag_info (line 34) | pub fn create_flag_info( function create_test_flag_info_list_from_source (line 84) | pub fn create_test_flag_info_list_from_source() -> Result { function test_list_contents (line 92) | fn test_list_contents() { FILE: tools/aconfig/aconfig/src/storage/flag_table.rs function new_header (line 25) | fn new_header(container: &str, num_flags: u32, version: u32) -> FlagTabl... type FlagTableNodeWrapper (line 40) | struct FlagTableNodeWrapper { method new (line 46) | fn new( method create_nodes (line 64) | fn create_nodes(package: &FlagPackage, num_buckets: u32) -> Result Result { function test_table_contents (line 161) | fn test_table_contents() { FILE: tools/aconfig/aconfig/src/storage/flag_value.rs function new_header (line 23) | fn new_header(container: &str, num_flags: u32, version: u32) -> FlagValu... function create_flag_value (line 34) | pub fn create_flag_value( function create_test_flag_value_list_from_source (line 80) | pub fn create_test_flag_value_list_from_source() -> Result { function test_list_contents (line 88) | fn test_list_contents() { FILE: tools/aconfig/aconfig/src/storage/mod.rs type FlagPackage (line 34) | pub struct FlagPackage<'a> { function new (line 46) | fn new(package_name: &'a str, package_id: u32) -> Self { function insert (line 57) | fn insert(&mut self, pf: &'a ProtoParsedFlag) { function group_flags_by_package (line 64) | pub fn group_flags_by_package<'a, I>(parsed_flags_vec_iter: I, version: ... function generate_storage_file (line 109) | pub fn generate_storage_file<'a, I>( function parse_all_test_flags (line 147) | pub fn parse_all_test_flags() -> Vec { function test_flag_package (line 195) | fn test_flag_package() { function test_flag_package_with_fingerprint (line 238) | fn test_flag_package_with_fingerprint() { FILE: tools/aconfig/aconfig/src/storage/package_table.rs function new_header (line 25) | fn new_header(container: &str, num_packages: u32, version: u32) -> Packa... type PackageTableNodeWrapper (line 40) | struct PackageTableNodeWrapper { method new (line 46) | fn new(package: &FlagPackage, num_buckets: u32) -> Self { function create_package_table (line 59) | pub fn create_package_table( function create_test_package_table_from_source (line 120) | pub fn create_test_package_table_from_source(version: u32) -> Result ProtoParsedFlags { function parse_test_flags (line 275) | pub fn parse_test_flags() -> ProtoParsedFlags { function parse_second_package_flags (line 300) | pub fn parse_second_package_flags() -> ProtoParsedFlags { function first_significant_code_diff (line 319) | pub fn first_significant_code_diff(a: &str, b: &str) -> Option { function assert_no_significant_code_diff (line 338) | pub fn assert_no_significant_code_diff(expected: &str, actual: &str) { function test_first_significant_code_diff (line 361) | fn test_first_significant_code_diff() { FILE: tools/aconfig/aconfig/tests/AconfigHostTest.java class AconfigHostTest (line 15) | @RunWith(JUnit4.class) method testThrowsExceptionIfFlagNotSet (line 17) | @Test method testSetFlagInFakeFeatureFlagsImpl (line 24) | @Test method testSetFlagWithRandomName (line 40) | @Test method testResetFlagsInFakeFeatureFlagsImpl (line 47) | @Test method testFlagsSetFeatureFlags (line 60) | @Test method testFlagsUnsetFeatureFlags (line 70) | @Test method testFeatureFlagsImplNotImpl (line 82) | @Test FILE: tools/aconfig/aconfig/tests/AconfigTest.java class AconfigTest (line 26) | @RunWith(JUnit4.class) method testDisabledReadOnlyFlag (line 28) | @Test method testEnabledReadOnlyFlag (line 34) | @Test method testEnabledFixedReadOnlyFlag (line 40) | @Test method testDisabledReadWriteFlag (line 46) | @Test method testEnabledReadWriteFlag (line 52) | @Test method testFakeFeatureFlagsImplImpled (line 58) | @Test method testExportedFlag (line 65) | @Test method testForceReadOnly (line 71) | @Test FILE: tools/aconfig/aconfig/tests/aconfig_exported_mode_test.cpp function TEST (line 22) | TEST(AconfigTest, TestDisabledRwExportedFlag) { function TEST (line 28) | TEST(AconfigTest, TestEnabledFixedRoExportedFlag) { function TEST (line 35) | TEST(AconfigTest, TestEnabledRoExportedFlag) { function main (line 42) | int main(int argc, char** argv) { FILE: tools/aconfig/aconfig/tests/aconfig_exported_mode_test.rs function test_flags (line 3) | fn test_flags() { FILE: tools/aconfig/aconfig/tests/aconfig_force_read_only_mode_test.cpp function TEST (line 22) | TEST(AconfigTest, TestDisabledReadOnlyFlag) { function TEST (line 28) | TEST(AconfigTest, TestEnabledReadOnlyFlag) { function TEST (line 34) | TEST(AconfigTest, TestDisabledReadWriteFlag) { function TEST (line 40) | TEST(AconfigTest, TestEnabledReadWriteFlag) { function TEST (line 46) | TEST(AconfigTest, TestEnabledFixedReadOnlyFlag) { function main (line 52) | int main(int argc, char** argv) { FILE: tools/aconfig/aconfig/tests/aconfig_force_read_only_mode_test.rs function test_flags (line 3) | fn test_flags() { FILE: tools/aconfig/aconfig/tests/aconfig_prod_mode_test.rs function test_flags (line 3) | fn test_flags() { FILE: tools/aconfig/aconfig/tests/aconfig_test.cpp function TEST (line 22) | TEST(AconfigTest, TestDisabledReadOnlyFlag) { function TEST (line 28) | TEST(AconfigTest, TestEnabledReadOnlyFlag) { function TEST (line 34) | TEST(AconfigTest, TestDisabledReadWriteFlag) { function TEST (line 40) | TEST(AconfigTest, TestEnabledReadWriteFlag) { function TEST (line 46) | TEST(AconfigTest, TestEnabledFixedReadOnlyFlag) { function main (line 52) | int main(int argc, char** argv) { FILE: tools/aconfig/aconfig/tests/aconfig_test_mode_test.rs function test_flags (line 3) | fn test_flags() { FILE: tools/aconfig/aconfig/tests/aconfig_test_test_variant.cpp class AconfigTest (line 22) | class AconfigTest : public ::testing::Test { method SetUp (line 24) | void SetUp() override { function TEST_F (line 29) | TEST_F(AconfigTest, TestDisabledReadOnlyFlag) { function TEST_F (line 35) | TEST_F(AconfigTest, TestEnabledReadOnlyFlag) { function TEST_F (line 41) | TEST_F(AconfigTest, TestDisabledReadWriteFlag) { function TEST_F (line 47) | TEST_F(AconfigTest, TestEnabledReadWriteFlag) { function TEST_F (line 53) | TEST_F(AconfigTest, TestEnabledFixedReadOnlyFlag) { function TEST_F (line 59) | TEST_F(AconfigTest, OverrideFlagValue) { function TEST_F (line 65) | TEST_F(AconfigTest, ResetFlagValue) { function main (line 77) | int main(int argc, char** argv) { FILE: tools/aconfig/aconfig_device_paths/src/DeviceProtosTemplate.java class DeviceProtos (line 31) | public class DeviceProtos { method loadAndParseFlagProtos (line 49) | public static List loadAndParseFlagProtos() throws IOExce... method parsedFlagsProtoPaths (line 68) | public static List parsedFlagsProtoPaths() { FILE: tools/aconfig/aconfig_device_paths/src/DeviceProtosTestUtilTemplate.java class DeviceProtosTestUtil (line 29) | public class DeviceProtosTestUtil { method loadAndParseFlagProtos (line 47) | public static List loadAndParseFlagProtos() throws IOExce... method parsedFlagsProtoPaths (line 67) | public static List parsedFlagsProtoPaths() { FILE: tools/aconfig/aconfig_device_paths/src/HostDeviceProtosTemplate.java class HostDeviceProtos (line 30) | public class HostDeviceProtos { type AdbCommandExecutor (line 34) | public static interface AdbCommandExecutor { method executeAdbCommand (line 36) | String executeAdbCommand(String command); method parsedFlagsProtoPaths (line 56) | public static List parsedFlagsProtoPaths(AdbCommandExecutor ad... FILE: tools/aconfig/aconfig_device_paths/src/lib.rs function read_partition_paths (line 24) | fn read_partition_paths() -> Vec { function parsed_flags_proto_paths (line 35) | pub fn parsed_flags_proto_paths() -> Result> { function test_read_partition_paths (line 64) | fn test_read_partition_paths() { FILE: tools/aconfig/aconfig_device_paths/test/src/DeviceProtosTestUtilTest.java class DeviceProtosTestUtilTest (line 31) | @RunWith(JUnit4.class) method testDeviceProtos_loadAndParseFlagProtos (line 36) | @Test FILE: tools/aconfig/aconfig_flags/src/lib.rs function enable_only_new_storage (line 34) | pub fn enable_only_new_storage() -> bool { function enable_aconfigd_from_mainline (line 39) | pub fn enable_aconfigd_from_mainline() -> bool { function invoke_updatable_aflags (line 44) | pub fn invoke_updatable_aflags() -> bool { function enable_only_new_storage (line 53) | pub fn enable_only_new_storage() -> bool { function enable_aconfigd_from_mainline (line 59) | pub fn enable_aconfigd_from_mainline() -> bool { function invoke_updatable_aflags (line 65) | pub fn invoke_updatable_aflags() -> bool { FILE: tools/aconfig/aconfig_protos/build.rs function main (line 3) | fn main() { FILE: tools/aconfig/aconfig_protos/src/lib.rs constant ACONFIG_PROTO_PATH (line 73) | const ACONFIG_PROTO_PATH: &str = "//build/make/tools/aconfig/aconfig_pro... function is_valid_name_ident (line 76) | pub fn is_valid_name_ident(s: &str) -> bool { function is_valid_package_ident (line 92) | pub fn is_valid_package_ident(s: &str) -> bool { function is_valid_container_ident (line 100) | pub fn is_valid_container_ident(s: &str) -> bool { function try_from_text_proto (line 104) | fn try_from_text_proto(s: &str) -> Result function verify_fields (line 127) | pub fn verify_fields(pdf: &ProtoFlagDeclaration) -> Result<()> { function try_from_text_proto (line 155) | pub fn try_from_text_proto(s: &str) -> Result { function verify_fields (line 162) | pub fn verify_fields(pdf: &ProtoFlagDeclarations) -> Result<()> { function verify_fields (line 189) | pub fn verify_fields(fv: &ProtoFlagValue) -> Result<()> { function try_from_text_proto (line 214) | pub fn try_from_text_proto(s: &str) -> Result { function verify_fields (line 221) | pub fn verify_fields(pfv: &ProtoFlagValues) -> Result<()> { function parse_from_str (line 235) | pub fn parse_from_str(permission: &str) -> Result { function to_string (line 244) | pub fn to_string(permission: &ProtoFlagPermission) -> &str { function verify_fields (line 258) | pub fn verify_fields(tp: &ProtoTracepoint) -> Result<()> { function verify_fields (line 273) | pub fn verify_fields(pf: &ProtoParsedFlag) -> Result<()> { function path_to_declaration (line 329) | pub fn path_to_declaration(pf: &ProtoParsedFlag) -> &str { function try_from_binary_proto (line 342) | pub fn try_from_binary_proto(bytes: &[u8]) -> Result { function verify_fields (line 349) | pub fn verify_fields(pf: &ProtoParsedFlags) -> Result<()> { function merge (line 377) | pub fn merge(parsed_flags: Vec, dedup: bool) -> Result... function sort_parsed_flags (line 394) | pub fn sort_parsed_flags(pf: &mut ProtoParsedFlags) { function create_sorting_key (line 398) | fn create_sorting_key(pf: &ProtoParsedFlag) -> String { type ParsedFlagExt (line 404) | pub trait ParsedFlagExt { method fully_qualified_name (line 406) | fn fully_qualified_name(&self) -> String; method fully_qualified_name (line 410) | fn fully_qualified_name(&self) -> String { function test_flag_declarations_try_from_text_proto (line 420) | fn test_flag_declarations_try_from_text_proto() { function test_flag_values_try_from_text_proto (line 607) | fn test_flag_values_try_from_text_proto() { function try_from_binary_proto_from_text_proto (line 692) | fn try_from_binary_proto_from_text_proto(text_proto: &str) -> Result> list_flags( function list_flags_with_info (line 33) | Result> list_flags_with_info( FILE: tools/aconfig/aconfig_storage_file/build.rs function main (line 3) | fn main() { FILE: tools/aconfig/aconfig_storage_file/include/aconfig_storage/aconfig_storage_file.hpp type aconfig_storage (line 7) | namespace aconfig_storage { type FlagValueSummary (line 10) | struct FlagValueSummary { type FlagValueAndInfoSummary (line 27) | struct FlagValueAndInfoSummary { FILE: tools/aconfig/aconfig_storage_file/src/flag_info.rs type FlagInfoHeader (line 28) | pub struct FlagInfoHeader { method fmt (line 39) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 59) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 73) | pub fn from_bytes(bytes: &[u8]) -> Result { type FlagInfoBit (line 94) | pub enum FlagInfoBit { type FlagInfoNode (line 102) | pub struct FlagInfoNode { method fmt (line 108) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 122) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 129) | pub fn from_bytes(bytes: &[u8]) -> Result { method create (line 136) | pub fn create(is_flag_rw: bool) -> Self { type FlagInfoList (line 143) | pub struct FlagInfoList { method fmt (line 150) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 163) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 172) | pub fn from_bytes(bytes: &[u8]) -> Result { function test_serialization (line 203) | fn test_serialization() { function test_version_number (line 229) | fn test_version_number() { function test_file_type_check (line 239) | fn test_file_type_check() { FILE: tools/aconfig/aconfig_storage_file/src/flag_table.rs type FlagTableHeader (line 31) | pub struct FlagTableHeader { method fmt (line 43) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 63) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 78) | pub fn from_bytes(bytes: &[u8]) -> Result { type FlagTableNode (line 100) | pub struct FlagTableNode { method fmt (line 111) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 123) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 136) | pub fn from_bytes(bytes: &[u8]) -> Result { method find_bucket_index (line 152) | pub fn find_bucket_index(package_id: u32, flag_name: &str, num_buckets... type FlagTable (line 159) | pub struct FlagTable { method fmt (line 167) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 183) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 193) | pub fn from_bytes(bytes: &[u8]) -> Result { function test_serialization (line 229) | fn test_serialization() { function test_version_number (line 255) | fn test_version_number() { function test_file_type_check (line 265) | fn test_file_type_check() { FILE: tools/aconfig/aconfig_storage_file/src/flag_value.rs type FlagValueHeader (line 28) | pub struct FlagValueHeader { method fmt (line 39) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 59) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 73) | pub fn from_bytes(bytes: &[u8]) -> Result { type FlagValueList (line 94) | pub struct FlagValueList { method fmt (line 101) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 112) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 121) | pub fn from_bytes(bytes: &[u8]) -> Result { function test_serialization (line 141) | fn test_serialization() { function test_version_number (line 161) | fn test_version_number() { function test_file_type_check (line 171) | fn test_file_type_check() { FILE: tools/aconfig/aconfig_storage_file/src/lib.rs constant MAX_SUPPORTED_FILE_VERSION (line 62) | pub const MAX_SUPPORTED_FILE_VERSION: u32 = 2; constant DEFAULT_FILE_VERSION (line 66) | pub const DEFAULT_FILE_VERSION: u32 = 1; constant HASH_PRIMES (line 69) | pub(crate) const HASH_PRIMES: [u32; 29] = [ type StorageFileType (line 77) | pub enum StorageFileType { type Error (line 85) | type Error = anyhow::Error; method try_from (line 87) | fn try_from(value: &str) -> std::result::Result { type Error (line 101) | type Error = anyhow::Error; method try_from (line 103) | fn try_from(value: u8) -> Result { type StoredFlagType (line 117) | pub enum StoredFlagType { type Error (line 124) | type Error = AconfigStorageError; method try_from (line 126) | fn try_from(value: u16) -> Result { type FlagValueType (line 139) | pub enum FlagValueType { type Error (line 144) | type Error = AconfigStorageError; method try_from (line 146) | fn try_from(value: StoredFlagType) -> Result { type Error (line 156) | type Error = AconfigStorageError; method try_from (line 158) | fn try_from(value: u16) -> Result { type AconfigStorageError (line 169) | pub enum AconfigStorageError { function get_table_size (line 212) | pub fn get_table_size(entries: u32) -> Result { function get_bucket_index (line 221) | pub(crate) fn get_bucket_index(val: &[u8], num_buckets: u32) -> u32 { function read_u8_from_bytes (line 230) | pub fn read_u8_from_bytes(buf: &[u8], head: &mut usize) -> Result Result Result Result Result, AconfigSto... type FlagValueSummary (line 307) | pub struct FlagValueSummary { function list_flags (line 315) | pub fn list_flags( type FlagValueAndInfoSummary (line 351) | pub struct FlagValueAndInfoSummary { function list_flags_with_info (line 362) | pub fn list_flags_with_info( type FlagValueSummaryCXX (line 410) | pub struct FlagValueSummaryCXX { type FlagValueAndInfoSummaryCXX (line 418) | pub struct FlagValueAndInfoSummaryCXX { type ListFlagValueResultCXX (line 429) | pub struct ListFlagValueResultCXX { type ListFlagValueAndInfoResultCXX (line 436) | pub struct ListFlagValueAndInfoResultCXX { function list_flags_cxx (line 444) | pub fn list_flags_cxx( function list_flags_with_info_cxx (line 450) | pub fn list_flags_with_info_cxx( function new (line 461) | pub(crate) fn new(summary: FlagValueSummary) -> Self { function new (line 473) | pub(crate) fn new(summary: FlagValueAndInfoSummary) -> Self { function list_flags_cxx (line 487) | pub fn list_flags_cxx( function list_flags_with_info_cxx (line 507) | pub fn list_flags_with_info_cxx( function test_list_flag (line 537) | fn test_list_flag() { function test_list_flag_with_info (line 610) | fn test_list_flag_with_info() { FILE: tools/aconfig/aconfig_storage_file/src/main.rs function cli (line 46) | fn cli() -> Command { function print_storage_file (line 96) | fn print_storage_file( function to_print_format (line 123) | fn to_print_format(file_contents: T, as_json: bool) -> String function main (line 134) | fn main() -> Result<(), AconfigStorageError> { FILE: tools/aconfig/aconfig_storage_file/src/package_table.rs type PackageTableHeader (line 31) | pub struct PackageTableHeader { method fmt (line 43) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 63) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 78) | pub fn from_bytes(bytes: &[u8]) -> Result { type PackageTableNode (line 100) | pub struct PackageTableNode { method fmt (line 112) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 128) | pub fn into_bytes(&self, version: u32) -> Vec { method into_bytes_v1 (line 137) | fn into_bytes_v1(&self) -> Vec { method into_bytes_v2 (line 148) | fn into_bytes_v2(&self) -> Vec { method from_bytes (line 161) | pub fn from_bytes(bytes: &[u8], version: u32) -> Result Result { method from_bytes_v2 (line 190) | fn from_bytes_v2(bytes: &[u8]) -> Result { method find_bucket_index (line 208) | pub fn find_bucket_index(package: &str, num_buckets: u32) -> u32 { type PackageTable (line 215) | pub struct PackageTable { method fmt (line 223) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method into_bytes (line 238) | pub fn into_bytes(&self) -> Vec { method from_bytes (line 252) | pub fn from_bytes(bytes: &[u8]) -> Result { function test_serialization (line 290) | fn test_serialization() { function test_version_number (line 317) | fn test_version_number() { function test_round_trip_default (line 325) | fn test_round_trip_default() { function test_round_trip_max (line 335) | fn test_round_trip_max() { function test_file_type_check (line 346) | fn test_file_type_check() { FILE: tools/aconfig/aconfig_storage_file/src/protos.rs function try_from_binary_proto (line 60) | pub fn try_from_binary_proto(bytes: &[u8]) -> Result { function verify_fields (line 66) | pub fn verify_fields(storage_files: &ProtoStorageFiles) -> Result<()> { function get_binary_proto_from_text_proto (line 87) | pub fn get_binary_proto_from_text_proto(text_proto: &str) -> Result Result SipHasher13 { method new_with_keys (line 124) | pub fn new_with_keys(key0: u64, key1: u64) -> SipHasher13 { method c_rounds (line 138) | fn c_rounds(state: &mut State) { method d_rounds (line 143) | fn d_rounds(state: &mut State) { method reset (line 150) | fn reset(&mut self) { method short_write (line 165) | fn short_write(&mut self, msg: &[u8]) { type State (line 40) | struct State { function u8to64_le (line 95) | unsafe fn u8to64_le(buf: &[u8], start: usize, len: usize) -> u64 { method write_usize (line 198) | fn write_usize(&mut self, i: usize) { method write_u8 (line 208) | fn write_u8(&mut self, i: u8) { method write (line 213) | fn write(&mut self, msg: &[u8]) { method finish (line 259) | fn finish(&self) -> u64 { function test_sip_hash13_string_hash (line 284) | fn test_sip_hash13_string_hash() { function test_sip_hash13_write (line 296) | fn test_sip_hash13_write() { function test_sip_hash13_write_short (line 322) | fn test_sip_hash13_write_short() { FILE: tools/aconfig/aconfig_storage_file/src/test_utils.rs function create_test_package_table (line 27) | pub fn create_test_package_table(version: u32) -> PackageTable { method new_expected (line 89) | fn new_expected( function create_test_flag_table (line 106) | pub fn create_test_flag_table(version: u32) -> FlagTable { function create_test_flag_value_list (line 148) | pub fn create_test_flag_value_list(version: u32) -> FlagValueList { function create_test_flag_info_list (line 161) | pub fn create_test_flag_info_list(version: u32) -> FlagInfoList { function write_bytes_to_temp_file (line 175) | pub fn write_bytes_to_temp_file(bytes: &[u8]) -> Result getPackageList() { method getHeader (line 83) | public Header getHeader() { class Header (line 87) | public static class Header { method fromBytes (line 97) | private static Header fromBytes(ByteBufferReader reader) { method getVersion (line 114) | public int getVersion() { method getContainer (line 118) | public String getContainer() { method getFileType (line 122) | public FileType getFileType() { method getFileSize (line 126) | public int getFileSize() { method getNumPackages (line 130) | public int getNumPackages() { method getBucketOffset (line 134) | public int getBucketOffset() { method getNodeOffset (line 138) | public int getNodeOffset() { class Node (line 143) | public static class Node { method fromBytes (line 152) | private static Node fromBytes(ByteBufferReader reader, int version) { method fromBytesV1 (line 164) | private static Node fromBytesV1(ByteBufferReader reader) { method fromBytesV2 (line 174) | private static Node fromBytesV2(ByteBufferReader reader) { method hashCode (line 186) | @Override method equals (line 191) | @Override method getPackageName (line 208) | public String getPackageName() { method getPackageId (line 212) | public int getPackageId() { method getPackageFingerprint (line 216) | public long getPackageFingerprint() { method getBooleanStartIndex (line 220) | public int getBooleanStartIndex() { method getNextOffset (line 224) | public int getNextOffset() { method hasPackageFingerprint (line 228) | public boolean hasPackageFingerprint() { FILE: tools/aconfig/aconfig_storage_file/srcs/android/aconfig/storage/SipHasher13.java class SipHasher13 (line 19) | public class SipHasher13 { class State (line 20) | static class State { method State (line 26) | public State(long k0, long k1) { method compress (line 33) | public void compress(long m) { method finish (line 39) | public long finish() { method cRounds (line 45) | private void cRounds() { method dRounds (line 62) | private void dRounds() { method hash (line 82) | public static long hash(byte[] data) { method loadLe (line 108) | private static long loadLe(byte[] data, int offset, int size) { FILE: tools/aconfig/aconfig_storage_file/srcs/android/aconfig/storage/StorageFileProvider.java class StorageFileProvider (line 35) | public class StorageFileProvider { method getDefaultProvider (line 49) | public static StorageFileProvider getDefaultProvider() { method StorageFileProvider (line 54) | public StorageFileProvider(String mapPath, String bootPath) { method listContainers (line 60) | public List listContainers(String[] excludes) { method getPackageTable (line 86) | public PackageTable getPackageTable(String container) { method getFlagTable (line 93) | public FlagTable getFlagTable(String container) { method getFlagValueList (line 99) | public FlagValueList getFlagValueList(String container) { method mapStorageFile (line 105) | private static MappedByteBuffer mapStorageFile(Path file, FileType typ... method quietlyDispose (line 120) | private static void quietlyDispose(Closeable closable) { FILE: tools/aconfig/aconfig_storage_file/srcs/android/aconfig/storage/TableUtils.java class TableUtils (line 19) | public class TableUtils { method getTableSize (line 54) | public static int getTableSize(int numEntries) { method getBucketIndex (line 62) | public static int getBucketIndex(byte[] val, int numBuckets) { class StorageFilesBundle (line 67) | public static class StorageFilesBundle { method StorageFilesBundle (line 72) | public StorageFilesBundle (PackageTable pTable, FlagTable fTable, Fl... FILE: tools/aconfig/aconfig_storage_file/tests/srcs/ByteBufferReaderTest.java class ByteBufferReaderTest (line 31) | @RunWith(JUnit4.class) method testReadByte (line 34) | @Test method testReadShort (line 44) | @Test method testReadInt (line 55) | @Test method testReadString (line 66) | @Test FILE: tools/aconfig/aconfig_storage_file/tests/srcs/FlagTableTest.java class FlagTableTest (line 32) | @RunWith(JUnit4.class) method testFlagTable_rightHeader (line 35) | @Test method testFlagTable_rightNode (line 48) | @Test method testFlagTable_multithreadsRead (line 107) | @Test FILE: tools/aconfig/aconfig_storage_file/tests/srcs/FlagValueListTest.java class FlagValueListTest (line 34) | @RunWith(JUnit4.class) method testFlagValueList_rightHeader (line 37) | @Test method testFlagValueList_rightNode (line 50) | @Test method testFlagValueList_getValue (line 63) | @Test method testFlagValueList_multithreadsRead (line 81) | @Test FILE: tools/aconfig/aconfig_storage_file/tests/srcs/PackageTableTest.java class PackageTableTest (line 35) | @RunWith(JUnit4.class) method testPackageTable_rightHeader (line 38) | @Test method testPackageTable_rightHeader_v2 (line 52) | @Test method testPackageTable_rightNode (line 66) | @Test method testPackageTable_rightNode_v2 (line 96) | @Test method testPackageTable_getPackageList (line 130) | @Test method testPackageTable_multithreadsRead (line 148) | @Test FILE: tools/aconfig/aconfig_storage_file/tests/srcs/SipHasher13Test.java class SipHasher13Test (line 28) | @RunWith(JUnit4.class) method testSipHash_hashString (line 30) | @Test FILE: tools/aconfig/aconfig_storage_file/tests/srcs/StorageFileProviderTest.java class StorageFileProviderTest (line 35) | @RunWith(JUnit4.class) method testlistContainers (line 38) | @Test method testLoadFiles (line 55) | @Test FILE: tools/aconfig/aconfig_storage_file/tests/srcs/TestDataUtils.java class TestDataUtils (line 23) | public final class TestDataUtils { method getTestPackageMapByteBuffer (line 31) | public static ByteBuffer getTestPackageMapByteBuffer(int version) thro... method getTestFlagMapByteBuffer (line 35) | public static ByteBuffer getTestFlagMapByteBuffer(int version) throws ... method getTestFlagValByteBuffer (line 39) | public static ByteBuffer getTestFlagValByteBuffer(int version) throws ... method getTestFlagInfoByteBuffer (line 43) | public static ByteBuffer getTestFlagInfoByteBuffer(int version) throws... method readFile (line 47) | private static ByteBuffer readFile(String fileName) throws Exception { FILE: tools/aconfig/aconfig_storage_file/tests/storage_file_test.cpp function verify_value (line 27) | void verify_value(const FlagValueSummary& flag, const std::string& packa... function verify_value_info (line 36) | void verify_value_info(const FlagValueAndInfoSummary& flag, function get_flag_list_result (line 51) | Result> get_flag_list_result( function get_flag_list_result_with_info (line 61) | Result> get_flag_list_result_with_i... function TEST (line 73) | TEST(AconfigStorageFileTest, test_list_flag) { function TEST (line 98) | TEST(AconfigStorageFileTest, test_list_flag_v2) { function TEST (line 122) | TEST(AconfigStorageFileTest, test_list_flag_with_info) { function TEST (line 154) | TEST(AconfigStorageFileTest, test_list_flag_with_info_v2) { FILE: tools/aconfig/aconfig_storage_read_api/aconfig_storage_read_api.cpp type aconfig_storage (line 12) | namespace aconfig_storage { function find_storage_file (line 23) | static Result find_storage_file( type private_internal_api (line 43) | namespace private_internal_api { function get_mapped_file_impl (line 46) | Result get_mapped_file_impl( function map_storage_file (line 62) | Result map_storage_file(std::string const& file) { function map_to_flag_value_type (line 93) | Result map_to_flag_value_type( function get_mapped_file (line 108) | Result get_mapped_file( function get_storage_file_version (line 116) | Result get_storage_file_version( function get_package_read_context (line 130) | Result get_package_read_context( function get_flag_read_context (line 150) | Result get_flag_read_context( function get_boolean_flag_value (line 171) | Result get_boolean_flag_value( function get_flag_attribute (line 187) | Result get_flag_attribute( FILE: tools/aconfig/aconfig_storage_read_api/build.rs function main (line 1) | fn main() { FILE: tools/aconfig/aconfig_storage_read_api/include/aconfig_storage/aconfig_storage_read_api.hpp type aconfig_storage (line 7) | namespace aconfig_storage { type StorageFileType (line 11) | enum StorageFileType { type StoredFlagType (line 20) | enum StoredFlagType { type FlagValueType (line 28) | enum FlagValueType { type FlagInfoBit (line 34) | enum FlagInfoBit { type MappedStorageFile (line 41) | struct MappedStorageFile { type PackageReadContext (line 48) | struct PackageReadContext { type FlagReadContext (line 55) | struct FlagReadContext { class Result (line 63) | class Result { method Result (line 66) | Result() method Result (line 72) | Result(T const& value) method ok (line 78) | bool ok() { method T (line 82) | T& operator*() { method T (line 87) | T* operator->() { type private_internal_api (line 103) | namespace private_internal_api { FILE: tools/aconfig/aconfig_storage_read_api/src/flag_info_query.rs function find_flag_attribute (line 26) | pub fn find_flag_attribute( function test_is_flag_sticky (line 64) | fn test_is_flag_sticky() { function test_is_flag_readwrite (line 75) | fn test_is_flag_readwrite() { function test_flag_has_override (line 90) | fn test_flag_has_override() { function test_boolean_out_of_range (line 101) | fn test_boolean_out_of_range() { function test_higher_version_storage_file (line 113) | fn test_higher_version_storage_file() { FILE: tools/aconfig/aconfig_storage_read_api/src/flag_table_query.rs type FlagReadContext (line 28) | pub struct FlagReadContext { function find_flag_read_context (line 34) | pub fn find_flag_read_context( function test_flag_query (line 81) | fn test_flag_query() { function test_not_existed_flag_query (line 103) | fn test_not_existed_flag_query() { function test_higher_version_storage_file (line 113) | fn test_higher_version_storage_file() { FILE: tools/aconfig/aconfig_storage_read_api/src/flag_value_query.rs function find_boolean_flag_value (line 26) | pub fn find_boolean_flag_value(buf: &[u8], flag_index: u32) -> Result Result Result VersionNumberQue... function get_package_read_context_cxx (line 217) | pub fn get_package_read_context_cxx( function get_flag_read_context_cxx (line 222) | pub fn get_flag_read_context_cxx( function get_boolean_flag_value_cxx (line 228) | pub fn get_boolean_flag_value_cxx(file: &[u8], offset: u32) -> BooleanFl... function get_flag_attribute_cxx (line 230) | pub fn get_flag_attribute_cxx( function new (line 240) | pub(crate) fn new( function new (line 273) | pub(crate) fn new(offset_result: Result, Aconfig... function new (line 304) | pub(crate) fn new(value_result: Result) -> Se... function new (line 320) | pub(crate) fn new(info_result: Result) -> Self { function new (line 337) | pub(crate) fn new(version_result: Result) -> S... function get_package_read_context_cxx (line 354) | pub fn get_package_read_context_cxx(file: &[u8], package: &str) -> ffi::... function get_flag_read_context_cxx (line 359) | pub fn get_flag_read_context_cxx( function get_boolean_flag_value_cxx (line 368) | pub fn get_boolean_flag_value_cxx(file: &[u8], offset: u32) -> ffi::Bool... function get_flag_attribute_cxx (line 373) | pub fn get_flag_attribute_cxx( function get_storage_file_version_cxx (line 387) | pub fn get_storage_file_version_cxx(file_path: &str) -> ffi::VersionNumb... function create_test_storage_files (line 399) | fn create_test_storage_files() -> String { function test_package_context_query (line 426) | fn test_package_context_query() { function test_flag_context_query (line 459) | fn test_flag_context_query() { function test_flag_value_query (line 484) | fn test_flag_value_query() { function test_flag_info_query (line 497) | fn test_flag_info_query() { function test_storage_version_query (line 513) | fn test_storage_version_query() { FILE: tools/aconfig/aconfig_storage_read_api/src/mapped_file.rs function map_file (line 31) | pub unsafe fn map_file(file_path: &str) -> Result String { function test_mapped_file_contents (line 109) | fn test_mapped_file_contents() { FILE: tools/aconfig/aconfig_storage_read_api/src/package_table_query.rs type PackageReadContext (line 28) | pub struct PackageReadContext { function find_package_read_context (line 35) | pub fn find_package_read_context( function test_package_query (line 83) | fn test_package_query() { function test_package_query_v2 (line 110) | fn test_package_query_v2() { function test_not_existed_package_query (line 146) | fn test_not_existed_package_query() { function test_higher_version_storage_file (line 162) | fn test_higher_version_storage_file() { FILE: tools/aconfig/aconfig_storage_read_api/srcs/android/aconfig/storage/AconfigStorageReadAPI.java class AconfigStorageReadAPI (line 28) | public class AconfigStorageReadAPI { type StorageFileType (line 34) | public enum StorageFileType { method mapStorageFile (line 42) | public static MappedByteBuffer mapStorageFile(String file) throws IOEx... method getMappedFile (line 49) | public static MappedByteBuffer getMappedFile(String container, Storage... method getPackageReadContextImpl (line 69) | @FastNative method getPackageReadContext (line 77) | public static PackageReadContext getPackageReadContext( method getFlagReadContextImpl (line 90) | @FastNative method getFlagReadContext (line 100) | public static FlagReadContext getFlagReadContext( method getBooleanFlagValue (line 112) | @FastNative method hash (line 116) | @FastNative FILE: tools/aconfig/aconfig_storage_read_api/srcs/android/aconfig/storage/FlagReadContext.java class FlagReadContext (line 18) | public class FlagReadContext { method FlagReadContext (line 22) | public FlagReadContext(int flagType, type StoredFlagType (line 29) | public enum StoredFlagType { method fromInteger (line 34) | public static StoredFlagType fromInteger(int x) { FILE: tools/aconfig/aconfig_storage_read_api/srcs/android/aconfig/storage/PackageReadContext.java class PackageReadContext (line 18) | public class PackageReadContext { method PackageReadContext (line 22) | public PackageReadContext(int packageId, FILE: tools/aconfig/aconfig_storage_read_api/srcs/android/os/flagging/PlatformAconfigPackage.java class PlatformAconfigPackage (line 49) | public class PlatformAconfigPackage { method PlatformAconfigPackage (line 60) | private PlatformAconfigPackage() {} method load (line 107) | @UnsupportedAppUsage method getBooleanFlagValue (line 144) | @UnsupportedAppUsage method mapStorageFile (line 154) | private static MappedByteBuffer mapStorageFile(String file) { method quietlyDispose (line 169) | private static void quietlyDispose(Closeable closable) { FILE: tools/aconfig/aconfig_storage_read_api/srcs/android/os/flagging/PlatformAconfigPackageInternal.java class PlatformAconfigPackageInternal (line 41) | public class PlatformAconfigPackageInternal { method PlatformAconfigPackageInternal (line 46) | private PlatformAconfigPackageInternal( method load (line 64) | @UnsupportedAppUsage method getBooleanFlagValue (line 97) | @UnsupportedAppUsage FILE: tools/aconfig/aconfig_storage_read_api/srcs/lib.rs function get_package_read_context_java (line 16) | fn get_package_read_context_java( function Java_android_aconfig_storage_AconfigStorageReadAPI_getPackageReadContextImpl (line 36) | pub extern "system" fn Java_android_aconfig_storage_AconfigStorageReadAP... function get_flag_read_context_java (line 72) | fn get_flag_read_context_java( function Java_android_aconfig_storage_AconfigStorageReadAPI_getFlagReadContextImpl (line 93) | pub extern "system" fn Java_android_aconfig_storage_AconfigStorageReadAP... function get_boolean_flag_value_java (line 130) | fn get_boolean_flag_value_java( function Java_android_aconfig_storage_AconfigStorageReadAPI_getBooleanFlagValue (line 147) | pub extern "system" fn Java_android_aconfig_storage_AconfigStorageReadAP... function Java_android_aconfig_storage_AconfigStorageReadAPI_hash (line 167) | pub extern "system" fn Java_android_aconfig_storage_AconfigStorageReadAP... function siphasher13_hash (line 181) | fn siphasher13_hash(env: &mut JNIEnv, package_name: JString) -> Result copy_file(std::string const& src_file, method SetUp (line 47) | void SetUp() override { method TearDown (line 65) | void TearDown() override { function TEST_F (line 81) | TEST_F(AconfigStorageTest, test_storage_version_query) { function TEST_F (line 97) | TEST_F(AconfigStorageTest, test_none_exist_storage_file_mapping) { function TEST_F (line 107) | TEST_F(AconfigStorageTest, test_package_context_query) { function TEST_F (line 136) | TEST_F(AconfigStorageTest, test_none_existent_package_context_query) { function TEST_F (line 149) | TEST_F(AconfigStorageTest, test_flag_context_query) { function TEST_F (line 175) | TEST_F(AconfigStorageTest, test_none_existent_flag_context_query) { function TEST_F (line 191) | TEST_F(AconfigStorageTest, test_boolean_flag_value_query) { function TEST_F (line 207) | TEST_F(AconfigStorageTest, test_invalid_boolean_flag_value_query) { function TEST_F (line 220) | TEST_F(AconfigStorageTest, test_boolean_flag_info_query) { function TEST_F (line 239) | TEST_F(AconfigStorageTest, test_invalid_boolean_flag_info_query) { FILE: tools/aconfig/aconfig_storage_read_api/tests/storage_read_api_test.rs function create_test_storage_files (line 12) | fn create_test_storage_files(version: u32) -> String { function test_unavailable_storage (line 38) | fn test_unavailable_storage() { function test_package_context_query (line 55) | fn test_package_context_query() { function test_package_context_query_with_fingerprint (line 89) | fn test_package_context_query_with_fingerprint() { function test_none_exist_package_context_query (line 132) | fn test_none_exist_package_context_query() { function test_flag_context_query (line 147) | fn test_flag_context_query() { function test_none_exist_flag_context_query (line 173) | fn test_none_exist_flag_context_query() { function test_boolean_flag_value_query (line 189) | fn test_boolean_flag_value_query() { function test_invalid_boolean_flag_value_query (line 203) | fn test_invalid_boolean_flag_value_query() { function test_flag_info_query (line 217) | fn test_flag_info_query() { function test_invalid_boolean_flag_info_query (line 234) | fn test_invalid_boolean_flag_info_query() { function test_storage_version_query_v1 (line 248) | fn test_storage_version_query_v1() { function test_storage_version_query_v2 (line 256) | fn test_storage_version_query_v2() { FILE: tools/aconfig/aconfig_storage_write_api/aconfig_storage_write_api.cpp type aconfig_storage (line 14) | namespace aconfig_storage { function map_mutable_storage_file (line 17) | android::base::Result map_mutable_storage_... function set_boolean_flag_value (line 49) | android::base::Result set_boolean_flag_value( function set_flag_has_server_override (line 66) | android::base::Result set_flag_has_server_override( function set_flag_has_local_override (line 85) | android::base::Result set_flag_has_local_override( FILE: tools/aconfig/aconfig_storage_write_api/build.rs function main (line 1) | fn main() { FILE: tools/aconfig/aconfig_storage_write_api/include/aconfig_storage/aconfig_storage_write_api.hpp type aconfig_storage (line 10) | namespace aconfig_storage { type MutableMappedStorageFile (line 13) | struct MutableMappedStorageFile : MappedStorageFile {} FILE: tools/aconfig/aconfig_storage_write_api/src/flag_info_update.rs function get_flag_info_offset (line 25) | fn get_flag_info_offset( function get_flag_attribute_and_offset (line 53) | fn get_flag_attribute_and_offset( function update_flag_has_server_override (line 65) | pub fn update_flag_has_server_override( function update_flag_has_local_override (line 80) | pub fn update_flag_has_local_override( function test_update_flag_has_server_override (line 102) | fn test_update_flag_has_server_override() { function test_update_flag_has_local_override (line 117) | fn test_update_flag_has_local_override() { FILE: tools/aconfig/aconfig_storage_write_api/src/flag_value_update.rs function update_boolean_flag_value (line 23) | pub fn update_boolean_flag_value( function test_boolean_flag_value_update (line 56) | fn test_boolean_flag_value_update() { function test_boolean_out_of_range (line 74) | fn test_boolean_out_of_range() { function test_higher_version_storage_file (line 85) | fn test_higher_version_storage_file() { FILE: tools/aconfig/aconfig_storage_write_api/src/lib.rs function map_mutable_storage_file (line 42) | pub unsafe fn map_mutable_storage_file(file_path: &str) -> Result bool { function test_set_boolean_flag_value (line 253) | fn test_set_boolean_flag_value() { function get_flag_attribute_at_offset (line 274) | fn get_flag_attribute_at_offset(file: &str, value_type: FlagValueType, o... function test_set_flag_has_server_override (line 282) | fn test_set_flag_has_server_override() { function test_set_flag_has_local_override (line 305) | fn test_set_flag_has_local_override() { FILE: tools/aconfig/aconfig_storage_write_api/src/mapped_file.rs function map_file (line 31) | pub(crate) unsafe fn map_file(file_path: &str) -> Result R... FILE: tools/aconfig/aconfig_storage_write_api/tests/storage_write_api_test.cpp class AconfigStorageTest (line 36) | class AconfigStorageTest : public ::testing::Test { method copy_to_rw_temp_file (line 38) | Result copy_to_rw_temp_file(std::string const& source_fil... method SetUp (line 54) | void SetUp() override { method TearDown (line 60) | void TearDown() override { function TEST_F (line 70) | TEST_F(AconfigStorageTest, test_non_writable_storage_file_mapping) { function TEST_F (line 79) | TEST_F(AconfigStorageTest, test_boolean_flag_value_update) { function TEST_F (line 111) | TEST_F(AconfigStorageTest, test_invalid_boolean_flag_value_update) { function TEST_F (line 122) | TEST_F(AconfigStorageTest, test_flag_has_server_override_update) { function TEST_F (line 175) | TEST_F(AconfigStorageTest, test_flag_has_local_override_update) { FILE: tools/aconfig/aconfig_storage_write_api/tests/storage_write_api_test.rs function copy_to_temp_rw_file (line 16) | fn copy_to_temp_rw_file(source_file: &str) -> NamedTempFile { function get_boolean_flag_value_at_offset (line 23) | fn get_boolean_flag_value_at_offset(file: &str, offset: u32) -> bool { function get_flag_attribute_at_offset (line 31) | fn get_flag_attribute_at_offset(file: &str, value_type: FlagValueType, o... function test_boolean_flag_value_update (line 40) | fn test_boolean_flag_value_update() { function test_set_flag_has_server_override (line 61) | fn test_set_flag_has_server_override() { function test_set_flag_has_local_override (line 83) | fn test_set_flag_has_local_override() { FILE: tools/aconfig/aflags/src/aconfig_storage_source.rs type AconfigStorageSource (line 18) | pub struct AconfigStorageSource {} type AconfigdSocket (line 23) | enum AconfigdSocket { method name (line 29) | pub fn name(&self) -> &str { function load_flag_to_container (line 37) | fn load_flag_to_container() -> Result> { function convert (line 41) | fn convert(msg: ProtoFlagQueryReturnMessage, containers: &HashMap Result Result> { method override_flag (line 164) | fn override_flag(_namespace: &str, _qualified_name: &str, _value: &str) ... FILE: tools/aconfig/aflags/src/device_config_source.rs type DeviceConfigSource (line 26) | pub struct DeviceConfigSource {} function parse_device_config (line 28) | fn parse_device_config(raw: &str) -> Result> { function read_device_config_output (line 42) | fn read_device_config_output(command: &[&str]) -> Result { function read_device_config_flags (line 61) | fn read_device_config_flags() -> Result> { function parse_staged_flags (line 73) | fn parse_staged_flags(raw: &str) -> Result> { function read_staged_flags (line 90) | fn read_staged_flags() -> Result> { function reconcile (line 95) | fn reconcile( method list_flags (line 121) | fn list_flags() -> Result> { method override_flag (line 130) | fn override_flag(namespace: &str, qualified_name: &str, value: &str) -> ... function test_parse_device_config (line 140) | fn test_parse_device_config() { FILE: tools/aconfig/aflags/src/load_protos.rs function infer_container (line 11) | fn infer_container(path: &Path) -> String { function convert_parsed_flag (line 22) | fn convert_parsed_flag(path: &Path, flag: &ProtoParsedFlag) -> Flag { function load (line 49) | pub(crate) fn load() -> Result> { function list_containers (line 67) | pub(crate) fn list_containers() -> Result> { FILE: tools/aconfig/aflags/src/main.rs type FlagPermission (line 34) | enum FlagPermission { method fmt (line 40) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ValuePickedFrom (line 53) | enum ValuePickedFrom { method fmt (line 60) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FlagValue (line 74) | enum FlagValue { type Error (line 80) | type Error = anyhow::Error; method try_from (line 82) | fn try_from(value: &str) -> std::result::Result { method fmt (line 92) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Flag (line 105) | struct Flag { method qualified_name (line 117) | fn qualified_name(&self) -> String { method display_staged_value (line 121) | fn display_staged_value(&self) -> String { type FlagSource (line 130) | trait FlagSource { method list_flags (line 131) | fn list_flags() -> Result>; method override_flag (line 132) | fn override_flag(namespace: &str, qualified_name: &str, value: &str) -... type FlagSourceType (line 135) | enum FlagSourceType { constant ABOUT_TEXT (line 140) | const ABOUT_TEXT: &str = "Tool for reading and writing flags. type Cli (line 162) | struct Cli { type Command (line 168) | enum Command { type PaddingInfo (line 192) | struct PaddingInfo { type Filter (line 200) | struct Filter { method apply (line 205) | fn apply(&self, flags: &[Flag]) -> Vec { function format_flag_row (line 217) | fn format_flag_row(flag: &Flag, info: &PaddingInfo) -> String { function set_flag (line 240) | fn set_flag(qualified_name: &str, value: &str) -> Result<()> { function list (line 254) | fn list(source_type: FlagSourceType, container: Option) -> Resul... function display_which_backing (line 296) | fn display_which_backing() -> String { function invoke_updatable_aflags (line 304) | fn invoke_updatable_aflags() { function main (line 329) | fn main() -> Result<()> { function test_filter_container (line 366) | fn test_filter_container() { function test_filter_no_container (line 404) | fn test_filter_no_container() { FILE: tools/aconfig/convert_finalized_flags/src/lib.rs constant SDK_INT_MULTIPLIER (line 29) | const SDK_INT_MULTIPLIER: u32 = 100_000; type FinalizedFlag (line 33) | pub struct FinalizedFlag { type ApiLevel (line 42) | pub struct ApiLevel(pub i32); constant EXTENDED_FLAGS_35_APILEVEL (line 45) | pub const EXTENDED_FLAGS_35_APILEVEL: ApiLevel = ApiLevel(35); type FinalizedFlagMap (line 49) | pub struct FinalizedFlagMap(HashMap>); method new (line 53) | pub fn new() -> Self { method is_empty (line 58) | pub fn is_empty(&self) -> bool { method get_finalized_level (line 63) | pub fn get_finalized_level(&self, flag: &FinalizedFlag) -> Option bool { function parse_full_version (line 87) | fn parse_full_version(version: String) -> Result { constant EXTENDED_FLAGS_LIST_35 (line 104) | const EXTENDED_FLAGS_LIST_35: &str = "extended_flags_list_35.txt"; function str_to_api_level (line 108) | fn str_to_api_level(numeric_string: &str) -> Result { function read_files_to_map_using_path (line 121) | pub fn read_files_to_map_using_path(flag_files: Vec) -> Result Resul... function build_finalized_flag (line 178) | fn build_finalized_flag(qualified_flag_name: &String) -> Result Vec { function add_flags_to_file (line 207) | fn add_flags_to_file(flag_file: &mut File, flags: &[FinalizedFlag]) { function test_read_flags_one_file (line 214) | fn test_read_flags_one_file() { function test_read_flags_two_files (line 238) | fn test_read_flags_two_files() { function test_read_flags_full_numbers (line 275) | fn test_read_flags_full_numbers() { function test_read_flags_fractions_round_up (line 308) | fn test_read_flags_fractions_round_up() { function test_read_flags_non_numeric (line 343) | fn test_read_flags_non_numeric() { function test_read_flags_wrong_file_err (line 378) | fn test_read_flags_wrong_file_err() { function test_flags_map_insert_if_new (line 409) | fn test_flags_map_insert_if_new() { function test_flags_map_get_level (line 427) | fn test_flags_map_get_level() { function test_read_flag_from_extended_file (line 441) | fn test_read_flag_from_extended_file() { function test_read_flag_from_wrong_extended_file_err (line 463) | fn test_read_flag_from_wrong_extended_file_err() { function test_parse_full_version_correct_input_major_dot_minor (line 486) | fn test_parse_full_version_correct_input_major_dot_minor() { function test_parse_full_version_correct_input_omit_dot_minor (line 494) | fn test_parse_full_version_correct_input_omit_dot_minor() { function test_parse_full_version_incorrect_input_empty_string (line 502) | fn test_parse_full_version_incorrect_input_empty_string() { function test_parse_full_version_incorrect_input_no_numbers_in_string (line 509) | fn test_parse_full_version_incorrect_input_no_numbers_in_string() { function test_parse_full_version_incorrect_input_unexpected_patch_version (line 516) | fn test_parse_full_version_incorrect_input_unexpected_patch_version() { function test_parse_full_version_incorrect_input_leading_dot_missing_major_version (line 523) | fn test_parse_full_version_incorrect_input_leading_dot_missing_major_ver... function test_parse_full_version_incorrect_input_trailing_dot_missing_minor_version (line 530) | fn test_parse_full_version_incorrect_input_trailing_dot_missing_minor_ve... function test_parse_full_version_incorrect_input_negative_major_version (line 537) | fn test_parse_full_version_incorrect_input_negative_major_version() { function test_parse_full_version_incorrect_input_negative_minor_version (line 544) | fn test_parse_full_version_incorrect_input_negative_minor_version() { function test_parse_full_version_incorrect_input_major_version_too_large (line 551) | fn test_parse_full_version_incorrect_input_major_version_too_large() { function test_parse_full_version_incorrect_input_minor_version_too_large (line 558) | fn test_parse_full_version_incorrect_input_minor_version_too_large() { FILE: tools/aconfig/convert_finalized_flags/src/main.rs constant ABOUT_TEXT (line 30) | const ABOUT_TEXT: &str = "Tool for processing finalized-flags.txt files. type Cli (line 46) | struct Cli { function main (line 55) | fn main() -> Result<()> { FILE: tools/aconfig/exported_flag_check/src/main.rs constant ABOUT (line 29) | const ABOUT: &str = "CCheck Exported Flags type Cli (line 49) | struct Cli { function main (line 60) | fn main() -> Result<()> { function test (line 98) | fn test() { FILE: tools/aconfig/exported_flag_check/src/utils.rs type FlagId (line 25) | pub(crate) type FlagId = String; function extract_flagged_api_flags (line 29) | pub(crate) fn extract_flagged_api_flags(mut reader: R) -> Resul... function read_finalized_flags (line 39) | pub(crate) fn read_finalized_flags(reader: R) -> Result( function get_allow_flag_list (line 63) | fn get_allow_flag_list() -> Result> { function get_allow_package_list (line 69) | fn get_allow_package_list() -> Result> { function check_all_exported_flags (line 77) | pub(crate) fn check_all_exported_flags( function test_extract_flagged_api_flags (line 112) | fn test_extract_flagged_api_flags() { function test_read_finalized_flags (line 125) | fn test_read_finalized_flags() { function test_disabled_or_read_write_flags_are_ignored (line 138) | fn test_disabled_or_read_write_flags_are_ignored() { FILE: tools/aconfig/fake_device_config/src/android/os/Build.java class Build (line 19) | public class Build { class VERSION (line 20) | public static class VERSION { method placeholder (line 22) | private static int placeholder() { FILE: tools/aconfig/fake_device_config/src/android/os/flagging/AconfigPackage.java class AconfigPackage (line 22) | public class AconfigPackage { method load (line 23) | public static AconfigPackage load(String packageName) { method getBooleanFlagValue (line 27) | public boolean getBooleanFlagValue(String flagName, boolean defaultVal... FILE: tools/aconfig/fake_device_config/src/android/os/flagging/AconfigPackageInternal.java class AconfigPackageInternal (line 22) | public class AconfigPackageInternal { method load (line 24) | public static AconfigPackageInternal load(String packageName, long pac... method getBooleanFlagValue (line 28) | public boolean getBooleanFlagValue(int index) { FILE: tools/aconfig/fake_device_config/src/android/os/flagging/PlatformAconfigPackage.java class PlatformAconfigPackage (line 24) | public class PlatformAconfigPackage { method load (line 33) | public static PlatformAconfigPackage load(String packageName) { method getBooleanFlagValue (line 37) | public boolean getBooleanFlagValue(String flagName, boolean defaultVal... FILE: tools/aconfig/fake_device_config/src/android/os/flagging/PlatformAconfigPackageInternal.java class PlatformAconfigPackageInternal (line 22) | public class PlatformAconfigPackageInternal { method load (line 24) | public static PlatformAconfigPackageInternal load(String packageName, ... method getBooleanFlagValue (line 28) | public boolean getBooleanFlagValue(int index) { FILE: tools/aconfig/fake_device_config/src/android/util/Log.java class Log (line 3) | public final class Log { method i (line 4) | public static int i(String tag, String msg) { method w (line 8) | public static int w(String tag, String msg) { method e (line 12) | public static int e(String tag, String msg) { method e (line 16) | public static int e(String tag, String msg, Throwable tr) { FILE: tools/aconfig/overrideflags/overrideflags.py function _parse_packages (line 50) | def _parse_packages(file: pathlib.Path) -> set[str]: function _create_android_bp (line 64) | def _create_android_bp(packages: set[str], file_name: str) -> str: function _write_android_bp (line 82) | def _write_android_bp(new_android_bp: str, out: pathlib.Path) -> None: function main (line 101) | def main(args): FILE: tools/acp/acp.c function process (line 41) | int process(int argc, char* const argv[], unsigned int options) function main (line 171) | int main(int argc, char* const argv[]) FILE: tools/atree/atree.cpp function usage (line 59) | int usage() function add_variable (line 65) | static bool function debug_printf (line 80) | static void function string (line 94) | static string function main (line 113) | int FILE: tools/atree/files.cpp function is_comment_line (line 13) | static bool function string (line 22) | static string function is_whitespace_line (line 33) | static bool function is_exclude_line (line 45) | static bool function split_line (line 61) | void function add_file (line 113) | static void function string (line 127) | static string function read_list_file (line 177) | int function locate (line 330) | int function stat_out (line 363) | void function string (line 382) | string function add_more (line 392) | static void function matches_excludes (line 411) | static bool function list_dir (line 423) | static int function list_dir (line 463) | int FILE: tools/atree/files.h type FileOpType (line 11) | enum FileOpType { type FileRecord (line 17) | struct FileRecord FILE: tools/atree/fs.cpp function is_dir (line 20) | static bool function remove_file (line 29) | static int function remove_recursively (line 41) | int function mkdir_recursively (line 101) | int function copy_file (line 135) | int function strip_file (line 145) | int FILE: tools/auto_gen_test_config.py function main (line 40) | def main(argv): FILE: tools/auto_gen_test_config_test.py class AutoGenTestConfigUnittests (line 188) | class AutoGenTestConfigUnittests(unittest.TestCase): method setUp (line 191) | def setUp(self): method tearDown (line 207) | def tearDown(self): method testInvalidManifest (line 211) | def testInvalidManifest(self): method testCreateJUnitTestConfig (line 226) | def testCreateJUnitTestConfig(self): method testCreateInstrumentationTestConfig (line 240) | def testCreateInstrumentationTestConfig(self): method testCreateJUnitTestConfigWithXMLTree (line 255) | def testCreateJUnitTestConfigWithXMLTree(self): method testCreateInstrumentationTestConfigWithXMLTree (line 269) | def testCreateInstrumentationTestConfigWithXMLTree(self): FILE: tools/build-runfiles.cc type FileType (line 66) | enum FileType { type FileInfo (line 72) | struct FileInfo { class RunfilesCreator (line 87) | class RunfilesCreator { method RunfilesCreator (line 89) | explicit RunfilesCreator(const std::string &output_base) method ReadManifest (line 99) | void ReadManifest(const std::string &manifest_file, bool allow_relative, method CreateRunfiles (line 173) | void CreateRunfiles() { method SetupOutputBase (line 191) | void SetupOutputBase() { method ScanTreeAndPrune (line 204) | void ScanTreeAndPrune(const std::string &path) { method CreateFiles (line 250) | void CreateFiles() { method FileType (line 281) | FileType DentryToFileType(const std::string &path, struct dirent *ent) { method LStatOrDie (line 306) | void LStatOrDie(const std::string &path, struct stat *st) { method StatOrDie (line 312) | void StatOrDie(const std::string &path, struct stat *st) { method ReadLinkOrDie (line 318) | void ReadLinkOrDie(const std::string &path, std::string *output) { method EnsureDirReadAndWritePerms (line 328) | void EnsureDirReadAndWritePerms(const std::string &path) { method DelTree (line 340) | bool DelTree(const std::string &path, FileType file_type) { function main (line 382) | int main(int argc, char **argv) { FILE: tools/canoninja/canoninja.go function Generate (line 17) | func Generate(path string, buffer []byte, sink io.Writer) error { function getLine (line 94) | func getLine(b []byte) []byte { function getBuildRuleName (line 102) | func getBuildRuleName(line []byte) []byte { function ruleName (line 118) | func ruleName(lineAfterRule []byte) []byte { FILE: tools/canoninja/canoninja_test.go function TestGenerate (line 8) | func TestGenerate(t *testing.T) { FILE: tools/canoninja/cmd/canoninja.go function main (line 16) | func main() { FILE: tools/check_elf_file.py function _get_os_name (line 74) | def _get_os_name(): function _get_build_top (line 83) | def _get_build_top(): function _select_latest_llvm_version (line 95) | def _select_latest_llvm_version(versions): function _get_latest_llvm_version (line 112) | def _get_latest_llvm_version(llvm_dir): function _get_llvm_dir (line 117) | def _get_llvm_dir(): function _get_llvm_readobj (line 143) | def _get_llvm_readobj(): class ELFError (line 150) | class ELFError(ValueError): class ELFInvalidMagicError (line 155) | class ELFInvalidMagicError(ELFError): method __init__ (line 157) | def __init__(self): class ELFParser (line 161) | class ELFParser(object): method _read_elf_header (line 165) | def _read_elf_header(cls, elf_file_path): method open (line 176) | def open(cls, elf_file_path, llvm_readobj): method _find_prefix (line 188) | def _find_prefix(cls, pattern, lines_it): method _read_llvm_readobj (line 197) | def _read_llvm_readobj(cls, elf_file_path, header, llvm_readobj): method _parse_llvm_readobj (line 207) | def _parse_llvm_readobj(cls, elf_file_path, header, lines): method _parse_program_headers (line 225) | def _parse_program_headers(cls, lines_it): method _parse_dynamic_table (line 274) | def _parse_dynamic_table(cls, elf_file_path, lines_it): method _parse_symbol_name (line 311) | def _parse_symbol_name(name_with_version): method _parse_dynamic_symbols (line 328) | def _parse_dynamic_symbols(cls, lines_it): method _parse_dynamic_symbols_internal (line 348) | def _parse_dynamic_symbols_internal(cls, lines_it): class Checker (line 375) | class Checker(object): method __init__ (line 378) | def __init__(self, llvm_readobj): method _error (line 394) | def _error(self, *args): method _note (line 399) | def _note(self, *args): method _load_elf_file (line 404) | def _load_elf_file(self, path, skip_bad_elf_magic): method load_file_under_test (line 422) | def load_file_under_test(self, path, skip_bad_elf_magic, method load_shared_libs (line 433) | def load_shared_libs(self, shared_lib_paths): method check_dt_soname (line 439) | def check_dt_soname(self, soname): method check_dt_needed (line 447) | def check_dt_needed(self, system_shared_lib_names): method check_max_page_size (line 486) | def check_max_page_size(self, max_page_size): method _find_symbol (line 511) | def _find_symbol(lib, name, version): method _find_symbol_from_libs (line 524) | def _find_symbol_from_libs(cls, libs, name, version): method check_symbols (line 533) | def check_symbols(self): function _parse_args (line 563) | def _parse_args(): function main (line 599) | def main(): FILE: tools/compare_builds.py class DiffType (line 171) | class DiffType(object): method __init__ (line 172) | def __init__(self, code, message): function main (line 183) | def main(): function AssertAtTop (line 315) | def AssertAtTop(): function RequireEnvVar (line 323) | def RequireEnvVar(name): function RunSoong (line 332) | def RunSoong(out_dir, args, capture_output): function GetBuildVar (line 345) | def GetBuildVar(out_dir, name): function RequireBuildVar (line 354) | def RequireBuildVar(out_dir, name): function Clean (line 364) | def Clean(directory): function RunBuild (line 372) | def RunBuild(work_dir, out_dir, target, hide_build_output): function DiffFileList (line 387) | def DiffFileList(first_files, second_files): function FindOutFilesTouchedAfter (line 442) | def FindOutFilesTouchedAfter(files, timestamp): function GetFileTimestamp (line 452) | def GetFileTimestamp(filename): function SortByTimestamp (line 458) | def SortByTimestamp(items, key=lambda item: item): function FindSourceFilesTouchedAfter (line 468) | def FindSourceFilesTouchedAfter(timestamp): function FindFilesAndDirectories (line 483) | def FindFilesAndDirectories(directory): function CreateEmptyFile (line 492) | def CreateEmptyFile(filename): function TouchFile (line 502) | def TouchFile(filename): function DiffFiles (line 506) | def DiffFiles(first_filename, second_filename): class FileIterator (line 541) | class FileIterator(object): method __init__ (line 551) | def __init__(self, base_dir): method __iter__ (line 554) | def __iter__(self): method ShouldIncludeFile (line 557) | def ShouldIncludeFile(self, root, path): class _Iterator (line 560) | class _Iterator(object): method __init__ (line 561) | def __init__(self, parent, base_dir): method __iter__ (line 568) | def __iter__(self): method __next__ (line 571) | def __next__(self): class OutFiles (line 588) | class OutFiles(FileIterator): method __init__ (line 592) | def __init__(self, out_dir): method ShouldIncludeFile (line 596) | def ShouldIncludeFile(self, root, relative): class ProductFiles (line 611) | class ProductFiles(FileIterator): method __init__ (line 614) | def __init__(self, product_out, subdirs): method ShouldIncludeFile (line 618) | def ShouldIncludeFile(self, root, relative): class TouchedFile (line 625) | class TouchedFile(object): method __init__ (line 627) | def __init__(self, filename, timestamp): function RemoveItemsFromList (line 632) | def RemoveItemsFromList(haystack, needles): class Printer (line 640) | class Printer(object): method __init__ (line 641) | def __init__(self): method PrintList (line 644) | def PrintList(self, title, items, fmt="%s"): FILE: tools/compliance/cmd/checkmetadata/checkmetadata.go function main (line 36) | func main() { function checkProjectMetadata (line 133) | func checkProjectMetadata(stdout, stderr io.Writer, rootFS fs.FS, projec... FILE: tools/compliance/cmd/checkmetadata/checkmetadata_test.go function TestMain (line 27) | func TestMain(m *testing.M) { function Test (line 37) | func Test(t *testing.T) { FILE: tools/compliance/cmd/checkshare/checkshare.go type byError (line 39) | type byError method Len (line 41) | func (l byError) Len() int { return len(l) } method Swap (line 42) | func (l byError) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 43) | func (l byError) Less(i, j int) bool { return l[i].Error() < l[j].Erro... function main (line 45) | func main() { function checkShare (line 149) | func checkShare(stdout, stderr io.Writer, rootFS fs.FS, files ...string)... FILE: tools/compliance/cmd/checkshare/checkshare_test.go function TestMain (line 27) | func TestMain(m *testing.M) { type outcome (line 37) | type outcome struct method String (line 43) | func (o *outcome) String() string { type outcomeList (line 47) | type outcomeList method String (line 49) | func (ol outcomeList) String() string { function Test (line 57) | func Test(t *testing.T) { FILE: tools/compliance/cmd/dumpgraph/dumpgraph.go type context (line 37) | type context struct method strip (line 43) | func (ctx context) strip(installPath string) string { function newMultiString (line 57) | func newMultiString(flags *flag.FlagSet, name, usage string) *multiString { type multiString (line 64) | type multiString method String (line 66) | func (ms *multiString) String() string { return strings.Join(*ms, ... method Set (line 67) | func (ms *multiString) Set(s string) error { *ms = append(*ms, s); ret... function main (line 69) | func main() { function dumpGraph (line 173) | func dumpGraph(ctx *context, stdout, stderr io.Writer, rootFS fs.FS, fil... FILE: tools/compliance/cmd/dumpgraph/dumpgraph_test.go function TestMain (line 27) | func TestMain(m *testing.M) { function Test_plaintext (line 37) | func Test_plaintext(t *testing.T) { type testContext (line 521) | type testContext struct type matcher (line 526) | type matcher interface type targetMatcher (line 531) | type targetMatcher struct method matchString (line 536) | func (tm *targetMatcher) matchString(ctx *testContext) string { method typeString (line 545) | func (tm *targetMatcher) typeString() string { type edgeMatcher (line 549) | type edgeMatcher struct method matchString (line 555) | func (em *edgeMatcher) matchString(ctx *testContext) string { method typeString (line 559) | func (tm *edgeMatcher) typeString() string { type getMatcher (line 563) | type getMatcher function matchTarget (line 565) | func matchTarget(target string, conditions ...string) getMatcher { function matchEdge (line 573) | func matchEdge(target, dep string, annotations ...string) getMatcher { function Test_graphviz (line 585) | func Test_graphviz(t *testing.T) { FILE: tools/compliance/cmd/dumpresolutions/dumpresolutions.go type context (line 37) | type context struct method strip (line 44) | func (ctx context) strip(installPath string) string { function newMultiString (line 58) | func newMultiString(flags *flag.FlagSet, name, usage string) *multiString { type multiString (line 65) | type multiString method String (line 67) | func (ms *multiString) String() string { return strings.Join(*ms, ... method Set (line 68) | func (ms *multiString) Set(s string) error { *ms = append(*ms, s); ret... function main (line 70) | func main() { function dumpResolutions (line 186) | func dumpResolutions(ctx *context, stdout, stderr io.Writer, rootFS fs.F... FILE: tools/compliance/cmd/dumpresolutions/dumpresolutions_test.go function TestMain (line 27) | func TestMain(m *testing.M) { function Test_plaintext (line 37) | func Test_plaintext(t *testing.T) { type testContext (line 930) | type testContext struct type matcher (line 935) | type matcher interface type targetMatcher (line 940) | type targetMatcher struct method matchString (line 957) | func (tm *targetMatcher) matchString(ctx *testContext, lg *compliance.... method typeString (line 967) | func (tm *targetMatcher) typeString() string { function newTestCondition (line 946) | func newTestCondition(lg *compliance.LicenseGraph, conditionName ...stri... type resolutionMatcher (line 971) | type resolutionMatcher struct method matchString (line 977) | func (rm *resolutionMatcher) matchString(ctx *testContext, lg *complia... method typeString (line 983) | func (rm *resolutionMatcher) typeString() string { type getMatcher (line 987) | type getMatcher function matchTarget (line 989) | func matchTarget(target string, conditions ...string) getMatcher { function matchResolution (line 997) | func matchResolution(appliesTo, actsOn string, conditions ...string) get... function Test_graphviz (line 1011) | func Test_graphviz(t *testing.T) { FILE: tools/compliance/cmd/htmlnotice/htmlnotice.go type context (line 41) | type context struct method strip (line 52) | func (ctx context) strip(installPath string) string { function newMultiString (line 69) | func newMultiString(flags *flag.FlagSet, name, usage string) *multiString { type multiString (line 76) | type multiString method String (line 78) | func (ms *multiString) String() string { return strings.Join(*ms, ... method Set (line 79) | func (ms *multiString) Set(s string) error { *ms = append(*ms, s); ret... function main (line 81) | func main() { function htmlNotice (line 199) | func htmlNotice(ctx *context, files ...string) error { FILE: tools/compliance/cmd/htmlnotice/htmlnotice_test.go function TestMain (line 45) | func TestMain(m *testing.M) { function Test (line 55) | func Test(t *testing.T) { function checkTitle (line 884) | func checkTitle(line string) string { type matcher (line 892) | type matcher interface type pageTitle (line 897) | type pageTitle struct method isMatch (line 901) | func (m pageTitle) isMatch(line string) bool { method String (line 909) | func (m pageTitle) String() string { type toc (line 913) | type toc struct method isMatch (line 915) | func (m toc) isMatch(line string) bool { method String (line 919) | func (m toc) String() string { type target (line 923) | type target struct method isMatch (line 927) | func (m target) isMatch(line string) bool { method String (line 935) | func (m target) String() string { type uses (line 939) | type uses struct method isMatch (line 943) | func (m uses) isMatch(line string) bool { method String (line 951) | func (m uses) String() string { type hr (line 955) | type hr struct method isMatch (line 957) | func (m hr) isMatch(line string) bool { method String (line 961) | func (m hr) String() string { type library (line 965) | type library struct method isMatch (line 969) | func (m library) isMatch(line string) bool { method String (line 977) | func (m library) String() string { type usedBy (line 981) | type usedBy struct method isMatch (line 985) | func (m usedBy) isMatch(line string) bool { method String (line 993) | func (m usedBy) String() string { function matchesText (line 997) | func matchesText(line, text string) bool { function expectedText (line 1005) | func expectedText(text string) string { type firstParty (line 1009) | type firstParty struct method isMatch (line 1011) | func (m firstParty) isMatch(line string) bool { method String (line 1015) | func (m firstParty) String() string { type notice (line 1019) | type notice struct method isMatch (line 1021) | func (m notice) isMatch(line string) bool { method String (line 1025) | func (m notice) String() string { type reciprocal (line 1029) | type reciprocal struct method isMatch (line 1031) | func (m reciprocal) isMatch(line string) bool { method String (line 1035) | func (m reciprocal) String() string { type restricted (line 1039) | type restricted struct method isMatch (line 1041) | func (m restricted) isMatch(line string) bool { method String (line 1045) | func (m restricted) String() string { type proprietary (line 1049) | type proprietary struct method isMatch (line 1051) | func (m proprietary) isMatch(line string) bool { method String (line 1055) | func (m proprietary) String() string { type matcherList (line 1059) | type matcherList method String (line 1061) | func (l matcherList) String() string { FILE: tools/compliance/cmd/listshare/listshare.go function main (line 37) | func main() { function listShare (line 131) | func listShare(stdout, stderr io.Writer, rootFS fs.FS, files ...string) ... FILE: tools/compliance/cmd/listshare/listshare_test.go function TestMain (line 27) | func TestMain(m *testing.M) { function Test (line 37) | func Test(t *testing.T) { FILE: tools/compliance/cmd/rtrace/rtrace.go type context (line 38) | type context struct method strip (line 43) | func (ctx context) strip(installPath string) string { function newMultiString (line 57) | func newMultiString(flags *flag.FlagSet, name, usage string) *multiString { type multiString (line 64) | type multiString method String (line 66) | func (ms *multiString) String() string { return strings.Join(*ms, ... method Set (line 67) | func (ms *multiString) Set(s string) error { *ms = append(*ms, s); ret... function main (line 69) | func main() { function traceRestricted (line 183) | func traceRestricted(ctx *context, stdout, stderr io.Writer, rootFS fs.F... FILE: tools/compliance/cmd/rtrace/rtrace_test.go function TestMain (line 27) | func TestMain(m *testing.M) { function Test_plaintext (line 37) | func Test_plaintext(t *testing.T) { FILE: tools/compliance/cmd/shippedlibs/shippedlibs.go type context (line 36) | type context struct function main (line 42) | func main() { function shippedLibs (line 138) | func shippedLibs(ctx *context, files ...string) error { FILE: tools/compliance/cmd/shippedlibs/shippedlibs_test.go function TestMain (line 28) | func TestMain(m *testing.M) { function Test (line 38) | func Test(t *testing.T) { FILE: tools/compliance/cmd/textnotice/textnotice.go type context (line 40) | type context struct method strip (line 50) | func (ctx context) strip(installPath string) string { function newMultiString (line 67) | func newMultiString(flags *flag.FlagSet, name, usage string) *multiString { type multiString (line 74) | type multiString method String (line 76) | func (ms *multiString) String() string { return strings.Join(*ms, ... method Set (line 77) | func (ms *multiString) Set(s string) error { *ms = append(*ms, s); ret... function main (line 79) | func main() { function textNotice (line 195) | func textNotice(ctx *context, files ...string) error { FILE: tools/compliance/cmd/textnotice/textnotice_test.go function TestMain (line 34) | func TestMain(m *testing.M) { function Test (line 44) | func Test(t *testing.T) { type matcher (line 741) | type matcher interface type hr (line 746) | type hr struct method isMatch (line 748) | func (m hr) isMatch(line string) bool { method String (line 752) | func (m hr) String() string { type library (line 756) | type library struct method isMatch (line 760) | func (m library) isMatch(line string) bool { method String (line 764) | func (m library) String() string { type usedBy (line 768) | type usedBy struct method isMatch (line 772) | func (m usedBy) isMatch(line string) bool { method String (line 776) | func (m usedBy) String() string { type firstParty (line 780) | type firstParty struct method isMatch (line 782) | func (m firstParty) isMatch(line string) bool { method String (line 786) | func (m firstParty) String() string { type notice (line 790) | type notice struct method isMatch (line 792) | func (m notice) isMatch(line string) bool { method String (line 796) | func (m notice) String() string { type reciprocal (line 800) | type reciprocal struct method isMatch (line 802) | func (m reciprocal) isMatch(line string) bool { method String (line 806) | func (m reciprocal) String() string { type restricted (line 810) | type restricted struct method isMatch (line 812) | func (m restricted) isMatch(line string) bool { method String (line 816) | func (m restricted) String() string { type proprietary (line 820) | type proprietary struct method isMatch (line 822) | func (m proprietary) isMatch(line string) bool { method String (line 826) | func (m proprietary) String() string { type matcherList (line 830) | type matcherList method String (line 832) | func (l matcherList) String() string { FILE: tools/compliance/cmd/xmlnotice/xmlnotice.go type context (line 41) | type context struct method strip (line 51) | func (ctx context) strip(installPath string) string { function newMultiString (line 68) | func newMultiString(flags *flag.FlagSet, name, usage string) *multiString { type multiString (line 75) | type multiString method String (line 77) | func (ms *multiString) String() string { return strings.Join(*ms, ... method Set (line 78) | func (ms *multiString) Set(s string) error { *ms = append(*ms, s); ret... function main (line 80) | func main() { function xmlNotice (line 197) | func xmlNotice(ctx *context, files ...string) error { FILE: tools/compliance/cmd/xmlnotice/xmlnotice_test.go function TestMain (line 36) | func TestMain(m *testing.M) { function Test (line 46) | func Test(t *testing.T) { function escape (line 660) | func escape(s string) string { type matcher (line 666) | type matcher interface type target (line 671) | type target struct method isMatch (line 676) | func (m target) isMatch(line string) bool { method String (line 684) | func (m target) String() string { function matchesText (line 688) | func matchesText(line, text string) bool { function expectedText (line 696) | func expectedText(text string) string { type firstParty (line 700) | type firstParty struct method isMatch (line 702) | func (m firstParty) isMatch(line string) bool { method String (line 706) | func (m firstParty) String() string { type notice (line 710) | type notice struct method isMatch (line 712) | func (m notice) isMatch(line string) bool { method String (line 716) | func (m notice) String() string { type reciprocal (line 720) | type reciprocal struct method isMatch (line 722) | func (m reciprocal) isMatch(line string) bool { method String (line 726) | func (m reciprocal) String() string { type restricted (line 730) | type restricted struct method isMatch (line 732) | func (m restricted) isMatch(line string) bool { method String (line 736) | func (m restricted) String() string { type proprietary (line 740) | type proprietary struct method isMatch (line 742) | func (m proprietary) isMatch(line string) bool { method String (line 746) | func (m proprietary) String() string { type matcherList (line 750) | type matcherList method String (line 752) | func (l matcherList) String() string { FILE: tools/compliance/condition.go type LicenseCondition (line 23) | type LicenseCondition method Name (line 74) | func (lc LicenseCondition) Name() string { constant LicenseConditionMask (line 26) | LicenseConditionMask = LicenseCondition(0x1ff) constant UnencumberedCondition (line 31) | UnencumberedCondition = LicenseCondition(0x0001) constant PermissiveCondition (line 34) | PermissiveCondition = LicenseCondition(0x0002) constant NoticeCondition (line 37) | NoticeCondition = LicenseCondition(0x0004) constant ReciprocalCondition (line 40) | ReciprocalCondition = LicenseCondition(0x0008) constant RestrictedCondition (line 43) | RestrictedCondition = LicenseCondition(0x0010) constant WeaklyRestrictedCondition (line 46) | WeaklyRestrictedCondition = LicenseCondition(0x0020) constant ProprietaryCondition (line 49) | ProprietaryCondition = LicenseCondition(0x0040) constant ByExceptionOnlyCondition (line 52) | ByExceptionOnlyCondition = LicenseCondition(0x0080) constant NotAllowedCondition (line 55) | NotAllowedCondition = LicenseCondition(0x0100) FILE: tools/compliance/condition_test.go function TestConditionSetHas (line 21) | func TestConditionSetHas(t *testing.T) { function TestConditionName (line 43) | func TestConditionName(t *testing.T) { function TestConditionName_InvalidCondition (line 52) | func TestConditionName_InvalidCondition(t *testing.T) { FILE: tools/compliance/conditionset.go type LicenseConditionSet (line 23) | type LicenseConditionSet method Plus (line 40) | func (cs LicenseConditionSet) Plus(conditions ...LicenseCondition) Lic... method Union (line 50) | func (cs LicenseConditionSet) Union(other ...LicenseConditionSet) Lice... method MatchingAny (line 59) | func (cs LicenseConditionSet) MatchingAny(conditions ...LicenseConditi... method MatchingAnySet (line 69) | func (cs LicenseConditionSet) MatchingAnySet(other ...LicenseCondition... method HasAny (line 78) | func (cs LicenseConditionSet) HasAny(conditions ...LicenseCondition) b... method MatchesAnySet (line 89) | func (cs LicenseConditionSet) MatchesAnySet(other ...LicenseConditionS... method HasAll (line 99) | func (cs LicenseConditionSet) HasAll(conditions ...LicenseCondition) b... method MatchesEverySet (line 110) | func (cs LicenseConditionSet) MatchesEverySet(other ...LicenseConditio... method Intersection (line 121) | func (cs LicenseConditionSet) Intersection(other ...LicenseConditionSe... method Minus (line 130) | func (cs LicenseConditionSet) Minus(conditions ...LicenseCondition) Li... method Difference (line 140) | func (cs LicenseConditionSet) Difference(other ...LicenseConditionSet)... method Len (line 149) | func (cs LicenseConditionSet) Len() int { method AsList (line 160) | func (cs LicenseConditionSet) AsList() []LicenseCondition { method Names (line 171) | func (cs LicenseConditionSet) Names() []string { method IsEmpty (line 182) | func (cs LicenseConditionSet) IsEmpty() bool { method String (line 187) | func (cs LicenseConditionSet) String() string { constant AllLicenseConditions (line 26) | AllLicenseConditions = LicenseConditionSet(LicenseConditionMask) function NewLicenseConditionSet (line 30) | func NewLicenseConditionSet(conditions ...LicenseCondition) LicenseCondi... FILE: tools/compliance/conditionset_test.go function TestConditionSet (line 22) | func TestConditionSet(t *testing.T) { FILE: tools/compliance/graph.go type LicenseGraph (line 40) | type LicenseGraph struct method Edges (line 76) | func (lg *LicenseGraph) Edges() TargetEdgeList { method Targets (line 83) | func (lg *LicenseGraph) Targets() TargetNodeList { method TargetNames (line 92) | func (lg *LicenseGraph) TargetNames() []string { function newLicenseGraph (line 103) | func newLicenseGraph() *LicenseGraph { type TargetEdge (line 117) | type TargetEdge struct method Target (line 128) | func (e *TargetEdge) Target() *TargetNode { method Dependency (line 135) | func (e *TargetEdge) Dependency() *TargetNode { method Annotations (line 145) | func (e *TargetEdge) Annotations() TargetEdgeAnnotations { method IsRuntimeDependency (line 151) | func (e *TargetEdge) IsRuntimeDependency() bool { method IsDerivation (line 157) | func (e *TargetEdge) IsDerivation() bool { method IsBuildTool (line 163) | func (e *TargetEdge) IsBuildTool() bool { method String (line 168) | func (e *TargetEdge) String() string { type TargetEdgeList (line 173) | type TargetEdgeList method Len (line 176) | func (l TargetEdgeList) Len() int { return len(l) } method Swap (line 179) | func (l TargetEdgeList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 182) | func (l TargetEdgeList) Less(i, j int) bool { type TargetEdgePathSegment (line 197) | type TargetEdgePathSegment struct method Target (line 205) | func (s TargetEdgePathSegment) Target() *TargetNode { method Dependency (line 212) | func (s TargetEdgePathSegment) Dependency() *TargetNode { method Edge (line 217) | func (s TargetEdgePathSegment) Edge() *TargetEdge { method Annotations (line 227) | func (s TargetEdgePathSegment) Annotations() TargetEdgeAnnotations { method Context (line 233) | func (s TargetEdgePathSegment) Context() interface{} { method String (line 238) | func (s TargetEdgePathSegment) String() string { type TargetEdgePath (line 244) | type TargetEdgePath method Push (line 254) | func (p *TargetEdgePath) Push(edge *TargetEdge, ctx interface{}) { method Pop (line 266) | func (p *TargetEdgePath) Pop() { method Clear (line 274) | func (p *TargetEdgePath) Clear() { method Copy (line 279) | func (p *TargetEdgePath) Copy() *TargetEdgePath { method String (line 288) | func (p *TargetEdgePath) String() string { function NewTargetEdgePath (line 247) | func NewTargetEdgePath(cap int) *TargetEdgePath { type TargetNode (line 313) | type TargetNode method Name (line 317) | func (tn *TargetNode) Name() string { method Dependencies (line 322) | func (tn *TargetNode) Dependencies() TargetEdgeList { method PackageName (line 329) | func (tn *TargetNode) PackageName() string { method ModuleName (line 334) | func (tn *TargetNode) ModuleName() string { method Projects (line 343) | func (tn *TargetNode) Projects() []string { method LicenseConditions (line 352) | func (tn *TargetNode) LicenseConditions() LicenseConditionSet { method LicenseTexts (line 358) | func (tn *TargetNode) LicenseTexts() []string { method IsContainer (line 364) | func (tn *TargetNode) IsContainer() bool { method Built (line 369) | func (tn *TargetNode) Built() []string { method Installed (line 375) | func (tn *TargetNode) Installed() []string { method TargetFiles (line 381) | func (tn *TargetNode) TargetFiles() []string { method InstallMap (line 388) | func (tn *TargetNode) InstallMap() []InstallMap { method Sources (line 399) | func (tn *TargetNode) Sources() []string { type InstallMap (line 405) | type InstallMap struct type TargetEdgeAnnotations (line 419) | type TargetEdgeAnnotations struct method HasAnnotation (line 429) | func (ea TargetEdgeAnnotations) HasAnnotation(ann string) bool { method Compare (line 438) | func (ea TargetEdgeAnnotations) Compare(other TargetEdgeAnnotations) i... method AsList (line 462) | func (ea TargetEdgeAnnotations) AsList() []string { function newEdgeAnnotations (line 424) | func newEdgeAnnotations() TargetEdgeAnnotations { type TargetNodeSet (line 471) | type TargetNodeSet method Contains (line 474) | func (ts TargetNodeSet) Contains(target *TargetNode) bool { method Names (line 480) | func (ts TargetNodeSet) Names() []string { method String (line 489) | func (ts TargetNodeSet) String() string { type TargetNodeList (line 494) | type TargetNodeList method Len (line 497) | func (l TargetNodeList) Len() int { return len(l) } method Swap (line 500) | func (l TargetNodeList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 503) | func (l TargetNodeList) Less(i, j int) bool { method String (line 508) | func (l TargetNodeList) String() string { method Names (line 521) | func (l TargetNodeList) Names() []string { FILE: tools/compliance/noticeindex.go type NoticeIndex (line 37) | type NoticeIndex struct method Hashes (line 201) | func (ni *NoticeIndex) Hashes() chan hash { method InputFiles (line 233) | func (ni *NoticeIndex) InputFiles() []string { method HashLibs (line 246) | func (ni *NoticeIndex) HashLibs(h hash) []string { method HashLibInstalls (line 257) | func (ni *NoticeIndex) HashLibInstalls(h hash, libName string) []string { method InstallPaths (line 267) | func (ni *NoticeIndex) InstallPaths() chan string { method InstallHashes (line 284) | func (ni *NoticeIndex) InstallHashes(installPath string) []hash { method InstallHashLibs (line 297) | func (ni *NoticeIndex) InstallHashLibs(installPath string, h hash) []s... method Libraries (line 307) | func (ni *NoticeIndex) Libraries() chan string { method HashText (line 324) | func (ni *NoticeIndex) HashText(h hash) []byte { method getLibName (line 329) | func (ni *NoticeIndex) getLibName(noticeFor *TargetNode, h hash) (stri... method checkMetadata (line 441) | func (ni *NoticeIndex) checkMetadata(noticeFor *TargetNode) (string, e... method checkMetadataForLicenseText (line 456) | func (ni *NoticeIndex) checkMetadataForLicenseText(noticeFor *TargetNo... method addText (line 488) | func (ni *NoticeIndex) addText(file string) error { function IndexLicenseTexts (line 68) | func IndexLicenseTexts(rootFS fs.FS, lg *LicenseGraph, rs ResolutionSet)... function getInstallPaths (line 513) | func getInstallPaths(attachesTo *TargetNode, path TargetEdgePath) []stri... type hash (line 597) | type hash struct method String (line 602) | func (h hash) String() string { type hashList (line 607) | type hashList struct method Len (line 615) | func (l hashList) Len() int { return len(*l.hashes) } method Swap (line 619) | func (l hashList) Swap(i, j int) { (*l.hashes)[i], (*l.hashes)[j] = (*... method Less (line 623) | func (l hashList) Less(i, j int) bool { FILE: tools/compliance/policy_policy.go type safePathPrefixesType (line 87) | type safePathPrefixesType struct type safePrebuiltPrefixesType (line 92) | type safePrebuiltPrefixesType struct function init (line 104) | func init() { function LicenseConditionSetFromNames (line 117) | func LicenseConditionSetFromNames(names ...string) LicenseConditionSet { function depConditionsPropagatingToTarget (line 175) | func depConditionsPropagatingToTarget(lg *LicenseGraph, e *TargetEdge, d... function targetConditionsPropagatingToDep (line 199) | func targetConditionsPropagatingToDep(lg *LicenseGraph, e *TargetEdge, t... function conditionsAttachingAcrossEdge (line 230) | func conditionsAttachingAcrossEdge(lg *LicenseGraph, e *TargetEdge, univ... function edgeIsDynamicLink (line 245) | func edgeIsDynamicLink(e *TargetEdge) bool { function edgeIsDerivation (line 251) | func edgeIsDerivation(e *TargetEdge) bool { FILE: tools/compliance/policy_policy_test.go function TestPolicy_edgeConditions (line 27) | func TestPolicy_edgeConditions(t *testing.T) { FILE: tools/compliance/policy_resolve.go type TraceConditions (line 25) | type TraceConditions function ResolveBottomUpConditions (line 37) | func ResolveBottomUpConditions(lg *LicenseGraph) { function TraceBottomUpConditions (line 45) | func TraceBottomUpConditions(lg *LicenseGraph, conditionsFn TraceConditi... function ResolveTopDownConditions (line 107) | func ResolveTopDownConditions(lg *LicenseGraph) { function TraceTopDownConditions (line 114) | func TraceTopDownConditions(lg *LicenseGraph, conditionsFn TraceConditio... FILE: tools/compliance/policy_resolve_test.go function TestResolveBottomUpConditions (line 23) | func TestResolveBottomUpConditions(t *testing.T) { function TestResolveTopDownConditions (line 363) | func TestResolveTopDownConditions(t *testing.T) { FILE: tools/compliance/policy_resolvenotices.go function ResolveNotices (line 18) | func ResolveNotices(lg *LicenseGraph) ResolutionSet { FILE: tools/compliance/policy_resolvenotices_test.go function TestResolveNotices (line 22) | func TestResolveNotices(t *testing.T) { FILE: tools/compliance/policy_resolveprivacy.go function ResolveSourcePrivacy (line 18) | func ResolveSourcePrivacy(lg *LicenseGraph) ResolutionSet { FILE: tools/compliance/policy_resolveprivacy_test.go function TestResolveSourcePrivacy (line 22) | func TestResolveSourcePrivacy(t *testing.T) { FILE: tools/compliance/policy_resolveshare.go function ResolveSourceSharing (line 18) | func ResolveSourceSharing(lg *LicenseGraph) ResolutionSet { FILE: tools/compliance/policy_resolveshare_test.go function TestResolveSourceSharing (line 22) | func TestResolveSourceSharing(t *testing.T) { FILE: tools/compliance/policy_shareprivacyconflicts.go type SourceSharePrivacyConflict (line 23) | type SourceSharePrivacyConflict struct method Error (line 30) | func (conflict SourceSharePrivacyConflict) Error() string { method IsEqualTo (line 36) | func (conflict SourceSharePrivacyConflict) IsEqualTo(other SourceShare... function ConflictingSharedPrivateSource (line 44) | func ConflictingSharedPrivateSource(lg *LicenseGraph) []SourceSharePriva... FILE: tools/compliance/policy_shareprivacyconflicts_test.go type byConflict (line 24) | type byConflict method Len (line 27) | func (l byConflict) Len() int { return len(l) } method Swap (line 31) | func (l byConflict) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 35) | func (l byConflict) Less(i, j int) bool { function TestConflictingSharedPrivateSource (line 45) | func TestConflictingSharedPrivateSource(t *testing.T) { FILE: tools/compliance/policy_shipped.go function ShippedNodes (line 19) | func ShippedNodes(lg *LicenseGraph) TargetNodeSet { FILE: tools/compliance/policy_shipped_test.go function TestShippedNodes (line 24) | func TestShippedNodes(t *testing.T) { FILE: tools/compliance/policy_walk.go type EdgeContextProvider (line 19) | type EdgeContextProvider interface type NoEdgeContext (line 25) | type NoEdgeContext struct method Context (line 28) | func (ctx NoEdgeContext) Context(lg *LicenseGraph, path TargetEdgePath... type ApplicableConditionsContext (line 34) | type ApplicableConditionsContext struct method Context (line 39) | func (ctx ApplicableConditionsContext) Context(lg *LicenseGraph, path ... type VisitNode (line 50) | type VisitNode function WalkTopDown (line 54) | func WalkTopDown(ctx EdgeContextProvider, lg *LicenseGraph, visit VisitN... function WalkTopDownBreadthFirst (line 84) | func WalkTopDownBreadthFirst(ctx EdgeContextProvider, lg *LicenseGraph, ... type resolutionKey (line 132) | type resolutionKey struct function WalkResolutionsForCondition (line 139) | func WalkResolutionsForCondition(lg *LicenseGraph, conditions LicenseCon... function WalkActionsForCondition (line 249) | func WalkActionsForCondition(lg *LicenseGraph, conditions LicenseConditi... FILE: tools/compliance/policy_walk_test.go function TestMain (line 25) | func TestMain(m *testing.M) { function TestWalkResolutionsForCondition (line 35) | func TestWalkResolutionsForCondition(t *testing.T) { function TestWalkActionsForCondition (line 616) | func TestWalkActionsForCondition(t *testing.T) { function TestWalkTopDownBreadthFirst (line 1209) | func TestWalkTopDownBreadthFirst(t *testing.T) { function TestWalkTopDownBreadthFirstWithoutDuplicates (line 1421) | func TestWalkTopDownBreadthFirstWithoutDuplicates(t *testing.T) { FILE: tools/compliance/projectmetadata/projectmetadata.go type ProjectMetadata (line 36) | type ProjectMetadata struct method String (line 57) | func (pm *ProjectMetadata) String() string { method Project (line 62) | func (pm *ProjectMetadata) Project() string { method Name (line 67) | func (pm *ProjectMetadata) Name() string { method Version (line 72) | func (pm *ProjectMetadata) Version() string { method VersionedName (line 82) | func (pm *ProjectMetadata) VersionedName() string { method UrlsByTypeName (line 102) | func (pm *ProjectMetadata) UrlsByTypeName() ProjectUrlMap { type ProjectUrlMap (line 44) | type ProjectUrlMap method DownloadUrl (line 47) | func (m ProjectUrlMap) DownloadUrl() string { type projectIndex (line 124) | type projectIndex struct method finish (line 133) | func (pi *projectIndex) finish() { method wait (line 138) | func (pi *projectIndex) wait() { type Index (line 143) | type Index struct method MetadataForProjects (line 169) | func (ix *Index) MetadataForProjects(projects ...string) ([]*ProjectMe... method AllMetadataFiles (line 240) | func (ix *Index) AllMetadataFiles() []string { method readMetadataFile (line 253) | func (ix *Index) readMetadataFile(pi *projectIndex, path string) { function NewIndex (line 156) | func NewIndex(rootFS fs.FS) *Index { FILE: tools/compliance/projectmetadata/projectmetadata_test.go constant EMPTY (line 28) | EMPTY = `` constant INVALID_NAME (line 31) | INVALID_NAME = `name: a library\n` constant INVALID_DESCRIPTION (line 34) | INVALID_DESCRIPTION = `description: unquoted text\n` constant INVALID_VERSION (line 37) | INVALID_VERSION = `third_party { version: 1 }` constant MY_LIB_1_0 (line 40) | MY_LIB_1_0 = `name: "mylib" description: "my library" third_party { vers... constant NO_NAME_0_1 (line 43) | NO_NAME_0_1 = `description: "my library" third_party { version: "0.1" }` constant GIT_URL (line 46) | GIT_URL = "http://example.github.com/my_lib" constant SVN_URL (line 47) | SVN_URL = "http://example.svn.com/my_lib" constant HG_URL (line 48) | HG_URL = "http://example.hg.com/my_lib" constant DARCS_URL (line 49) | DARCS_URL = "http://example.darcs.com/my_lib" constant PIPER_URL (line 50) | PIPER_URL = "http://google3/third_party/my/package" constant HOMEPAGE_URL (line 51) | HOMEPAGE_URL = "http://example.com/homepage" constant OTHER_URL (line 52) | OTHER_URL = "http://google.com/" constant ARCHIVE_URL (line 53) | ARCHIVE_URL = "http://ftp.example.com/" constant LOCAL_SOURCE_URL (line 54) | LOCAL_SOURCE_URL = "https://android.googlesource.com/platform/external/a... function libWithUrl (line 58) | func libWithUrl(urlTypes ...string) string { function TestVerifyAllUrlTypes (line 96) | func TestVerifyAllUrlTypes(t *testing.T) { function TestUnknownPanics (line 106) | func TestUnknownPanics(t *testing.T) { function TestReadMetadataForProjects (line 117) | func TestReadMetadataForProjects(t *testing.T) { type pmeta (line 653) | type pmeta struct method String (line 661) | func (pm pmeta) String() string { method equals (line 665) | func (pm pmeta) equals(other *ProjectMetadata) bool { method difference (line 684) | func (pm pmeta) difference(other *ProjectMetadata) string { FILE: tools/compliance/readgraph.go type globalFS (line 35) | type globalFS struct method Open (line 40) | func (s globalFS) Open(name string) (fs.File, error) { method Stat (line 44) | func (s globalFS) Stat(name string) (fs.FileInfo, error) { function GetFS (line 51) | func GetFS(outDir string) fs.FS { type result (line 59) | type result struct type receiver (line 71) | type receiver struct function ReadLicenseGraph (line 94) | func ReadLicenseGraph(rootFS fs.FS, stderr io.Writer, files []string) (*... type targetNode (line 191) | type targetNode struct function addDependencies (line 214) | func addDependencies(lg *LicenseGraph, tn *TargetNode) error { function readFile (line 245) | func readFile(recv *receiver, file string) { FILE: tools/compliance/readgraph_test.go function TestReadLicenseGraph (line 26) | func TestReadLicenseGraph(t *testing.T) { FILE: tools/compliance/resolution.go type Resolution (line 33) | type Resolution struct method AttachesTo (line 39) | func (r Resolution) AttachesTo() *TargetNode { method ActsOn (line 46) | func (r Resolution) ActsOn() *TargetNode { method Resolves (line 51) | func (r Resolution) Resolves() LicenseConditionSet { method asString (line 56) | func (r Resolution) asString() string { type ResolutionList (line 66) | type ResolutionList method Len (line 69) | func (l ResolutionList) Len() int { return len(l) } method Swap (line 72) | func (l ResolutionList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 75) | func (l ResolutionList) Less(i, j int) bool { method String (line 83) | func (rl ResolutionList) String() string { method AllConditions (line 97) | func (rl ResolutionList) AllConditions() LicenseConditionSet { method Matching (line 107) | func (rl ResolutionList) Matching(conditions LicenseConditionSet) Reso... method CountMatching (line 119) | func (rl ResolutionList) CountMatching(conditions LicenseConditionSet)... method ByActsOn (line 130) | func (rl ResolutionList) ByActsOn(actsOn *TargetNode) ResolutionList { method CountByActsOn (line 141) | func (rl ResolutionList) CountByActsOn(actsOn *TargetNode) int { FILE: tools/compliance/resolutionset.go type ResolutionSet (line 56) | type ResolutionSet method AttachesTo (line 60) | func (rs ResolutionSet) AttachesTo() TargetNodeList { method AttachesToTarget (line 70) | func (rs ResolutionSet) AttachesToTarget(target *TargetNode) bool { method IsPureAggregate (line 77) | func (rs ResolutionSet) IsPureAggregate(target *TargetNode) bool { method Resolutions (line 87) | func (rs ResolutionSet) Resolutions(attachesTo *TargetNode) Resolution... method AllActions (line 101) | func (rs ResolutionSet) AllActions() ActionSet { method String (line 116) | func (rs ResolutionSet) String() string { type ActionSet (line 130) | type ActionSet method String (line 133) | func (as ActionSet) String() string { FILE: tools/compliance/resolutionset_test.go function TestResolutionSet_AttachesTo (line 76) | func TestResolutionSet_AttachesTo(t *testing.T) { function TestResolutionSet_AttachesToTarget (line 119) | func TestResolutionSet_AttachesToTarget(t *testing.T) { FILE: tools/compliance/test_util.go constant AOSP (line 29) | AOSP = `` + constant GPL (line 36) | GPL = `` + constant Classpath (line 43) | Classpath = `` + constant DependentModule (line 50) | DependentModule = `` + constant LGPL (line 57) | LGPL = `` + constant MPL (line 64) | MPL = `` + constant MIT (line 71) | MIT = `` + constant Proprietary (line 78) | Proprietary = `` + constant ByException (line 85) | ByException = `` + function newTestNode (line 115) | func newTestNode(lg *LicenseGraph, targetName string) *TargetNode { function newTestCondition (line 125) | func newTestCondition(conditionName string) LicenseCondition { function newTestConditionSet (line 137) | func newTestConditionSet(conditionName []string) LicenseConditionSet { type edge (line 146) | type edge struct method String (line 151) | func (e edge) String() string { type byEdge (line 156) | type byEdge method Len (line 159) | func (l byEdge) Len() int { return len(l) } method Swap (line 163) | func (l byEdge) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 167) | func (l byEdge) Less(i, j int) bool { type annotated (line 175) | type annotated struct method String (line 180) | func (e annotated) String() string { method IsEqualTo (line 187) | func (e annotated) IsEqualTo(other annotated) bool { function toGraph (line 208) | func toGraph(stderr io.Writer, roots []string, edges []annotated) (*Lice... function logGraph (line 240) | func logGraph(lg *LicenseGraph, t *testing.T) { type byAnnotatedEdge (line 256) | type byAnnotatedEdge method Len (line 258) | func (l byAnnotatedEdge) Len() int { return len(l) } method Swap (line 259) | func (l byAnnotatedEdge) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 260) | func (l byAnnotatedEdge) Less(i, j int) bool { type act (line 281) | type act struct method String (line 286) | func (a act) String() string { function toActionSet (line 291) | func toActionSet(lg *LicenseGraph, data []act) ActionSet { type res (line 302) | type res struct function toResolutionSet (line 307) | func toResolutionSet(lg *LicenseGraph, data []res) ResolutionSet { type tcond (line 322) | type tcond struct type action (line 327) | type action struct method String (line 333) | func (a action) String() string { type actionList (line 339) | type actionList method String (line 342) | func (l actionList) String() string { method Len (line 355) | func (l actionList) Len() int { return len(l) } method Swap (line 359) | func (l actionList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 363) | func (l actionList) Less(i, j int) bool { function asActionList (line 372) | func asActionList(lg *LicenseGraph) actionList { function toActionList (line 386) | func toActionList(lg *LicenseGraph, actions []tcond) actionList { type confl (line 405) | type confl struct function toConflictList (line 411) | func toConflictList(lg *LicenseGraph, data []confl) []SourceSharePrivacy... function checkSameActions (line 428) | func checkSameActions(lg *LicenseGraph, asActual, asExpected ActionSet, ... function checkSame (line 438) | func checkSame(rsActual, rsExpected ResolutionSet, t *testing.T) { function checkResolvesActions (line 492) | func checkResolvesActions(lg *LicenseGraph, asActual, asExpected ActionS... function checkResolves (line 503) | func checkResolves(rsActual, rsExpected ResolutionSet, t *testing.T) { FILE: tools/compliance/testfs/testfs.go type TestFS (line 26) | type TestFS method Open (line 32) | func (tfs *TestFS) Open(name string) (fs.File, error) { method Stat (line 40) | func (tfs *TestFS) Stat(name string) (fs.FileInfo, error) { type TestFileInfo (line 57) | type TestFileInfo struct method Name (line 66) | func (fi *TestFileInfo) Name() string { method Size (line 71) | func (fi *TestFileInfo) Size() int64 { method Mode (line 76) | func (fi *TestFileInfo) Mode() fs.FileMode { method ModTime (line 81) | func (fi *TestFileInfo) ModTime() time.Time { method IsDir (line 86) | func (fi *TestFileInfo) IsDir() bool { method Sys (line 91) | func (fi *TestFileInfo) Sys() any { type TestFile (line 96) | type TestFile struct method Stat (line 105) | func (f *TestFile) Stat() (fs.FileInfo, error) { method Read (line 110) | func (f *TestFile) Read(b []byte) (int, error) { method Close (line 123) | func (f *TestFile) Close() error { FILE: tools/dependency_mapper/src/com/android/dependencymapper/ClassDependenciesVisitor.java class ClassDependenciesVisitor (line 36) | public class ClassDependenciesVisitor extends ClassVisitor { method ClassDependenciesVisitor (line 50) | private ClassDependenciesVisitor(ClassReader reader, ClassRelevancyFil... method analyze (line 60) | public static ClassDependencyData analyze( method visitSource (line 73) | @Override method visit (line 78) | @Override method collectRemainingClassDependencies (line 97) | private void collectRemainingClassDependencies(ClassReader reader) { method maybeAddClassTypesFromSignature (line 111) | private void maybeAddClassTypesFromSignature(String signature, Set types, Type type) { method getSource (line 138) | public String getSource() { method getClassTypes (line 142) | public Set getClassTypes() { method getConstantsDefined (line 146) | public Set getConstantsDefined() { method getInlinedUsages (line 150) | public Set getInlinedUsages() { method isAnnotationType (line 154) | private boolean isAnnotationType(String[] interfaces) { method visitField (line 158) | @Override method visitMethod (line 169) | @Override method visitAnnotation (line 181) | @Override method isAccessible (line 191) | private static boolean isAccessible(int access) { method isAccessibleConstant (line 195) | private static boolean isAccessibleConstant(int access, Object value) { method isConstant (line 199) | private static boolean isConstant(int access) { method isDependencyToAll (line 203) | public boolean isDependencyToAll() { class FieldVisitor (line 207) | private class FieldVisitor extends org.objectweb.asm.FieldVisitor { method FieldVisitor (line 210) | public FieldVisitor(Set types) { method visitAnnotation (line 215) | @Override method visitTypeAnnotation (line 222) | @Override class MethodVisitor (line 230) | private class MethodVisitor extends org.objectweb.asm.MethodVisitor { method MethodVisitor (line 233) | protected MethodVisitor(Set types) { method visitLdcInsn (line 238) | @Override method visitLocalVariable (line 244) | @Override method visitAnnotation (line 252) | @Override method visitParameterAnnotation (line 259) | @Override method visitTypeAnnotation (line 266) | @Override class RetentionPolicyVisitor (line 274) | private class RetentionPolicyVisitor extends org.objectweb.asm.Annotat... method RetentionPolicyVisitor (line 275) | public RetentionPolicyVisitor() { method visitEnum (line 279) | @Override class AnnotationVisitor (line 290) | private class AnnotationVisitor extends org.objectweb.asm.AnnotationVi... method AnnotationVisitor (line 293) | public AnnotationVisitor(Set types) { method visit (line 298) | @Override method visitArray (line 305) | @Override method visitAnnotation (line 310) | @Override FILE: tools/dependency_mapper/src/com/android/dependencymapper/ClassDependencyAnalyzer.java class ClassDependencyAnalyzer (line 33) | public class ClassDependencyAnalyzer { method analyze (line 35) | public static List analyze(Path classJar, ClassRe... FILE: tools/dependency_mapper/src/com/android/dependencymapper/ClassDependencyData.java class ClassDependencyData (line 23) | public class ClassDependencyData { method ClassDependencyData (line 31) | public ClassDependencyData(String packagePrependedClassSource, String ... method getPackagePrependedClassSource (line 42) | public String getPackagePrependedClassSource() { method getQualifiedName (line 46) | public String getQualifiedName() { method getClassDependencies (line 50) | public Set getClassDependencies() { method getConstantsDefined (line 54) | public Set getConstantsDefined() { method inlinedUsages (line 58) | public Set inlinedUsages() { method isDependencyToAll (line 62) | public boolean isDependencyToAll() { FILE: tools/dependency_mapper/src/com/android/dependencymapper/ClassRelevancyFilter.java class ClassRelevancyFilter (line 24) | public class ClassRelevancyFilter implements Predicate { method ClassRelevancyFilter (line 28) | public ClassRelevancyFilter(Set allowlistedClassNames) { method test (line 32) | @Override FILE: tools/dependency_mapper/src/com/android/dependencymapper/DependencyMapper.java class DependencyMapper (line 31) | public class DependencyMapper { method DependencyMapper (line 39) | public DependencyMapper(List classAnalysisList, L... method buildDependencyMaps (line 44) | public DependencyProto.FileDependencyList buildDependencyMaps() { method buildClassDependencyMaps (line 50) | private void buildClassDependencyMaps() { method generateSourcePaths (line 88) | private Map generateSourcePaths() { method combineDependencies (line 95) | private Map> combineDependencies(Map> buildConstantDependencies( method buildFileDependencies (line 126) | private void buildFileDependencies(Map> combinedCl... method buildSourceToClassMap (line 145) | private void buildSourceToClassMap() { method createFileDependencies (line 151) | private DependencyProto.FileDependencyList createFileDependencies() { FILE: tools/dependency_mapper/src/com/android/dependencymapper/JavaSourceAnalyzer.java class JavaSourceAnalyzer (line 32) | public class JavaSourceAnalyzer { method analyze (line 37) | public static List analyze(Path srcRspFile) { method constructPackagePrependedFileName (line 58) | private static String constructPackagePrependedFileName(String filePat... FILE: tools/dependency_mapper/src/com/android/dependencymapper/JavaSourceData.java class JavaSourceData (line 21) | public class JavaSourceData { method JavaSourceData (line 26) | public JavaSourceData(String filePath, String packagePrependedFileName) { method getFilePath (line 31) | public String getFilePath() { method getPackagePrependedFileName (line 35) | public String getPackagePrependedFileName() { FILE: tools/dependency_mapper/src/com/android/dependencymapper/Main.java class Main (line 28) | public class Main { method main (line 30) | public static void main(String[] args) throws IOException, Interrupted... class InputData (line 40) | private static class InputData { method InputData (line 45) | public InputData(Path srcList, Path classesJar, Path dependencyMapPr... method parseAndValidateInput (line 52) | private static InputData parseAndValidateInput(String[] args) { method validateFile (line 87) | private static void validateFile(Path path, String argName) { method generateDependencyMap (line 99) | private static void generateDependencyMap(InputData input) { method showUsage (line 115) | private static void showUsage() { FILE: tools/dependency_mapper/src/com/android/dependencymapper/Utils.java class Utils (line 36) | public class Utils { method trimAndConvertToPackageBasedPath (line 38) | public static String trimAndConvertToPackageBasedPath(String fileBased... method buildPackagePrependedClassSource (line 43) | public static String buildPackagePrependedClassSource(String qualified... method writeContentsToJson (line 51) | public static void writeContentsToJson(DependencyProto.FileDependencyL... method writeContentsToProto (line 67) | public static void writeContentsToProto(DependencyProto.FileDependency... method listClassesInJar (line 77) | public static Set listClassesInJar(Path classesJarPath) { FILE: tools/dependency_mapper/tests/res/testdata/annotation/AnnotationUsage.java class AnnotationUsage (line 18) | @res.testdata.annotation.RuntimeAnnotation method AnnotationUsage (line 23) | public AnnotationUsage(@res.testdata.annotation.SourceAnnotation int s... method getSourceAnnField (line 27) | public @res.testdata.annotation.SourceAnnotation int getSourceAnnField... FILE: tools/dependency_mapper/tests/res/testdata/constants/ConstantDefinition.java class ConstantDefinition (line 18) | public class ConstantDefinition { FILE: tools/dependency_mapper/tests/res/testdata/constants/ConstantUsage.java class ConstantUsage (line 18) | public class ConstantUsage { method ConstantUsage (line 20) | public ConstantUsage(){} method useConstantInMethodBody (line 22) | public String useConstantInMethodBody() { FILE: tools/dependency_mapper/tests/res/testdata/inheritance/BaseClass.java class BaseClass (line 18) | public class BaseClass { FILE: tools/dependency_mapper/tests/res/testdata/inheritance/BaseImpl.java type BaseImpl (line 18) | public interface BaseImpl { method baseImpl (line 20) | void baseImpl(); FILE: tools/dependency_mapper/tests/res/testdata/inheritance/InheritanceUsage.java class InheritanceUsage (line 18) | public class InheritanceUsage extends res.testdata.inheritance.BaseClass... method baseImpl (line 20) | @Override FILE: tools/dependency_mapper/tests/res/testdata/methods/FieldUsage.java class FieldUsage (line 18) | public class FieldUsage { FILE: tools/dependency_mapper/tests/res/testdata/methods/MethodUsage.java class MethodUsage (line 18) | public class MethodUsage { method methodReferences (line 20) | public void methodReferences(res.testdata.methods.ReferenceClass1 mRef... FILE: tools/dependency_mapper/tests/res/testdata/methods/ReferenceClass1.java class ReferenceClass1 (line 18) | public class ReferenceClass1 { method ReferenceClass1 (line 20) | public ReferenceClass1(){} FILE: tools/dependency_mapper/tests/res/testdata/methods/ReferenceClass2.java class ReferenceClass2 (line 18) | public class ReferenceClass2 { method ReferenceClass2 (line 19) | public ReferenceClass2(){} FILE: tools/dependency_mapper/tests/src/com/android/dependencymapper/ClassDependencyAnalyzerTest.java class ClassDependencyAnalyzerTest (line 33) | public class ClassDependencyAnalyzerTest { method beforeClass (line 40) | @BeforeClass method testAnnotationDeps (line 49) | @Test method testConstantsDeps (line 68) | @Test method testInheritanceDeps (line 92) | @Test method testMethodDeps (line 103) | @Test method dependencyVerifier (line 116) | private void dependencyVerifier(String qualifiedName, Set deps... FILE: tools/dependency_mapper/tests/src/com/android/dependencymapper/ClassRelevancyFilterTest.java class ClassRelevancyFilterTest (line 34) | public class ClassRelevancyFilterTest { method testClassRelevancyFilter (line 39) | @Test FILE: tools/dependency_mapper/tests/src/com/android/dependencymapper/DependencyMapperTest.java class DependencyMapperTest (line 32) | public class DependencyMapperTest { method beforeAll (line 114) | @BeforeClass method testFileDependencies (line 120) | @Test method validateDependencies (line 166) | private void validateDependencies(DependencyProto.FileDependency depen... method buildActualDepsMap (line 171) | private static Map buildActual... FILE: tools/dependency_mapper/tests/src/com/android/dependencymapper/JavaSourceAnalyzerTest.java class JavaSourceAnalyzerTest (line 30) | public class JavaSourceAnalyzerTest { method beforeClass (line 36) | @BeforeClass method validateSourceData (line 43) | @Test method expectedSourceData (line 59) | private Map expectedSourceData() { FILE: tools/dependency_mapper/tests/src/com/android/dependencymapper/UtilsTest.java class UtilsTest (line 24) | public class UtilsTest { method testTrimAndConvertToPackageBasedPath (line 26) | @Test method testBuildPackagePrependedClassSource (line 40) | @Test FILE: tools/droiddoc/templates-pdk/assets/android-developer-docs.js function addLoadEvent (line 16) | function addLoadEvent(newfun) { function mobileSetup (line 48) | function mobileSetup() { function setToRoot (line 71) | function setToRoot(root) { function restoreWidth (line 76) | function restoreWidth(navWidth) { function restoreHeight (line 90) | function restoreHeight(packageHeight) { function readCookie (line 103) | function readCookie(cookie) { function writeCookie (line 120) | function writeCookie(cookie, val, section, expiration) { function init (line 131) | function init() { function tryPopulateResourcesNav (line 174) | function tryPopulateResourcesNav() { function highlightNav (line 249) | function highlightNav(fullPageName) { function resizePackagesHeight (line 307) | function resizePackagesHeight() { function resizeHeight (line 323) | function resizeHeight() { function resizeWidth (line 354) | function resizeWidth() { function resizeAll (line 383) | function resizeAll() { function getBaseUri (line 388) | function getBaseUri(uri) { function requestAppendHL (line 401) | function requestAppendHL(uri) { function loadLast (line 414) | function loadLast(cookiePath) { function toggle (line 438) | function toggle(obj, slide) { function buildToggleLists (line 458) | function buildToggleLists() { function getNavPref (line 466) | function getNavPref() { function chooseDefaultNav (line 474) | function chooseDefaultNav() { function swapNav (line 484) | function swapNav() { function scrollIntoView (line 507) | function scrollIntoView(nav) { function changeTabLang (line 535) | function changeTabLang(lang) { function changeNavLang (line 549) | function changeNavLang(lang) { function changeDocLang (line 563) | function changeDocLang(lang) { function changeLangPref (line 568) | function changeLangPref(lang, refresh) { function loadLangPref (line 580) | function loadLangPref() { function getLangPref (line 587) | function getLangPref() { function toggleContent (line 598) | function toggleContent(obj) { FILE: tools/droiddoc/templates-pdk/assets/android-developer-reference.js function toggleApiLevelSelector (line 10) | function toggleApiLevelSelector(checkbox) { function buildApiLevelSelector (line 26) | function buildApiLevelSelector() { function changeApiLevel (line 58) | function changeApiLevel() { function toggleVisisbleApis (line 87) | function toggleVisisbleApis(selectedLevel, context) { function new_node (line 117) | function new_node(me, mom, text, link, children_data, api_level) function expand_node (line 196) | function expand_node(me, node) function get_node (line 215) | function get_node(me, mom) function this_page_relative (line 225) | function this_page_relative(toroot) function find_page (line 252) | function find_page(url, data) function load_navtree_data (line 271) | function load_navtree_data(toroot) { function init_default_navtree (line 278) | function init_default_navtree(toroot) { function init_navtree (line 286) | function init_navtree(navtree_id, toroot, root_nodes) function toggleInherited (line 326) | function toggleInherited(linkObj, expand) { function toggleAllInherited (line 353) | function toggleAllInherited(linkObj, expand) { function toggleAllClassInherited (line 373) | function toggleAllClassInherited() { function ensureAllInheritedExpanded (line 391) | function ensureAllInheritedExpanded() { FILE: tools/droiddoc/templates-pdk/assets/android-developer-resource-browser.js function resultMatchesKeyword (line 42) | function resultMatchesKeyword(result, keyword) { function loadTags (line 60) | function loadTags() { function loadResources (line 74) | function loadResources() { function showResults (line 104) | function showResults(params) { function humanizeList (line 176) | function humanizeList(arr, itemFormatter) { function parseParams (line 194) | function parseParams(paramStr) { function makeArray (line 224) | function makeArray(o) { FILE: tools/droiddoc/templates-pdk/assets/carousel.js function randomDroid (line 21) | function randomDroid(){ function droid (line 42) | function droid(appName){ function buildCarousel (line 59) | function buildCarousel() { function showPreview (line 131) | function showPreview(slideName) { function makeSlideStrip (line 155) | function makeSlideStrip() { function slide (line 178) | function slide(goal, id, go_left, cp) { function getStyle (line 212) | function getStyle(element, cssProperty){ function page_left (line 223) | function page_left() { function page_right (line 228) | function page_right() { function animateSlide (line 236) | function animateSlide(amount,dir) { function centerSlide (line 295) | function centerSlide(slideName) { function initCarousel (line 307) | function initCarousel(def) { FILE: tools/droiddoc/templates-pdk/assets/customizations.js function showApiWarning (line 1) | function showApiWarning(thing, selectedLevel, minLevel) { FILE: tools/droiddoc/templates-pdk/assets/prettify.js function Ld (line 11) | function Ld(a){return a.replace(Ja,pb).replace(Ka,qb).replace(La,rb).rep... function ga (line 11) | function ga(a){return a.replace(Ja,pb).replace(Ka,qb).replace(La,rb)} function Sd (line 12) | function Sd(a){var b=a.indexOf(G);if(b<0)return a;for(--b;(b=a.indexOf(t... function Ma (line 12) | function Ma(a){return yb===a.tagName} function W (line 12) | function W(a,b){switch(a.nodeType){case 1:var c= function Na (line 13) | function Na(a){for(var b=0,c=z,d=z,g=0,i=a.length;g=0;){var d=b[c];if(X.hasOwnProper... function Ra (line 26) | function Ra(a,b){a&&X.hasOwnProperty(a)||(a=/^\s* { FILE: tools/droiddoc/test/generics/src/com/android/generics/Adapter.java class Adapter (line 19) | public class Adapter { FILE: tools/droiddoc/test/generics/src/com/android/generics/AdapterView.java type AdapterView (line 19) | public interface AdapterView { FILE: tools/droiddoc/test/generics/src/com/android/generics/Bar.java type Bar (line 19) | public interface Bar { method bar (line 20) | public K bar(K arg); FILE: tools/droiddoc/test/generics/src/com/android/generics/Foo.java class Foo (line 19) | public class Foo { method Foo (line 20) | public Foo(V v) { method foo (line 23) | public V foo(V arg) { FILE: tools/droiddoc/test/generics/src/com/android/generics/FooBar.java class FooBar (line 19) | public class FooBar extends Foo implements Bar { class C (line 20) | public class C class CI (line 24) | public class CI extends C implements Iface method FooBar (line 28) | public FooBar(K k) { method bar (line 33) | public K bar(K arg) { method a (line 37) | public FooBar a(K arg) { method b (line 41) | public FooBar b(Bar arg) { method f (line 45) | public void f(L arg) { FILE: tools/droiddoc/test/generics/src/com/android/generics/Iface.java type Iface (line 19) | public interface Iface { FILE: tools/droiddoc/test/generics/src/com/android/generics/ListAdapter.java class ListAdapter (line 19) | public class ListAdapter extends Adapter { FILE: tools/droiddoc/test/generics/src/com/android/generics/TestComparable.java type TestComparable (line 19) | public interface TestComparable { FILE: tools/droiddoc/test/generics/src/com/android/generics/TestEnum.java class TestEnum (line 19) | public class TestEnum> implements TestComparable { FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/InterfaceEnum.java type InterfaceEnum (line 2) | public enum InterfaceEnum method method (line 6) | public void method() { throw new RuntimeException("Stub!"); } FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/Parent.java class Parent (line 2) | @com.android.stubs.Annot(value="asdf") type Interface (line 5) | public static interface Interface method method (line 7) | public void method(); method Parent (line 9) | public Parent() { throw new RuntimeException("Stub!"); } method methodString (line 10) | public java.lang.String methodString() { throw new RuntimeException("... method method (line 11) | public int method(boolean b, char c, int i, long l, float f, double d... method protectedMethod (line 12) | protected void protectedMethod() { throw new RuntimeException("Stub!"... FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/SomeEnum.java type SomeEnum (line 2) | public enum SomeEnum FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/Types.java class Types (line 2) | public class Types type Interface (line 4) | public static interface Interface method Types (line 15) | protected Types() { throw new RuntimeException("Stub!"); } FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/a/A.java class A (line 2) | public abstract class A class Inner (line 6) | public class Inner method Inner (line 8) | public Inner() { throw new RuntimeException("Stub!"); } method A (line 10) | protected A(int a) { throw new RuntimeException("Stub!"); } method varargs (line 11) | public com.android.stubs.a.A varargs(com.android.stubs.Parent[]... ar... method method (line 12) | public void method() { throw new RuntimeException("Stub!"); } method stringArrayMethod (line 13) | public abstract java.lang.String[] stringArrayMethod() throws java.io... FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/a/SomeInterface.java type SomeInterface (line 2) | public interface SomeInterface FILE: tools/droiddoc/test/stubs/expected/com/android/stubs/b/B.java class B (line 2) | public class B method B (line 4) | public B() { throw new RuntimeException("Stub!"); } FILE: tools/droiddoc/test/stubs/src/com/android/stubs/InterfaceEnum.java type InterfaceEnum (line 19) | public enum InterfaceEnum implements Parent.Interface { method method (line 22) | public void method() { } FILE: tools/droiddoc/test/stubs/src/com/android/stubs/Parent.java class Parent (line 19) | @Annot("asdf") type Interface (line 35) | public interface Interface { method method (line 36) | void method(); method Parent (line 39) | public Parent() { method methodString (line 42) | public String methodString() { method method (line 46) | public int method(boolean b, char c, int i, long l, float f, double d) { method protectedMethod (line 50) | protected void protectedMethod() { method packagePrivateMethod (line 53) | void packagePrivateMethod() { method hiddenMethod (line 57) | public void hiddenMethod() { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/SomeEnum.java type SomeEnum (line 19) | public enum SomeEnum { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/Types.java class Types (line 19) | public class Types { method Types (line 39) | public Types() { type Interface (line 61) | public interface Interface { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/a/A.java class A (line 21) | public abstract class A extends Parent implements Parent.Interface, Some... method A (line 22) | protected A(int a) { method varargs (line 26) | public A varargs(Parent... args) { method method (line 30) | public void method() { method stringArrayMethod (line 32) | public abstract String[] stringArrayMethod() throws java.io.IOException; class Inner (line 34) | public class Inner { method method (line 35) | int method() { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/a/SomeInterface.java type SomeInterface (line 19) | public interface SomeInterface { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/b/B.java class B (line 22) | public class B { method method (line 23) | Parent method(Parent p) { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/hidden/Hidden.java class Hidden (line 20) | public class Hidden { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/hidden/HiddenOuter.java class HiddenOuter (line 20) | public class HiddenOuter { class NotHiddenInner (line 22) | public class NotHiddenInner { FILE: tools/droiddoc/test/stubs/src/com/android/stubs/hidden/PackagePrivate.java class PackagePrivate (line 19) | class PackagePrivate { FILE: tools/edit_monitor/daemon_manager.py function default_daemon_target (line 47) | def default_daemon_target(): class DaemonManager (line 52) | class DaemonManager: method __init__ (line 55) | def __init__( method start (line 86) | def start(self): method monitor_daemon (line 132) | def monitor_daemon( method stop (line 189) | def stop(self): method reboot (line 211) | def reboot(self): method cleanup (line 236) | def cleanup(self): method _stop_any_existing_instance (line 264) | def _stop_any_existing_instance(self): method _read_pid_from_pidfile (line 276) | def _read_pid_from_pidfile(self) -> int | None: method _write_pid_to_pidfile (line 284) | def _write_pid_to_pidfile(self): method _start_daemon_process (line 301) | def _start_daemon_process(self): method _terminate_process (line 312) | def _terminate_process( method _wait_for_process_terminate (line 331) | def _wait_for_process_terminate(self, pid: int, timeout: int) -> bool: method _is_process_alive (line 342) | def _is_process_alive(self, pid: int) -> bool: method _remove_pidfile (line 358) | def _remove_pidfile(self, expected_pid: int): method _get_pid_file_path (line 380) | def _get_pid_file_path(self, pid_file_dir: pathlib.Path) -> pathlib.Path: method _get_process_memory_percent (line 394) | def _get_process_memory_percent(self, pid: int) -> float: method _get_process_cpu_percent (line 407) | def _get_process_cpu_percent(self, pid: int, interval: int = 1) -> float: method _get_total_cpu_time (line 422) | def _get_total_cpu_time(self, pid: int) -> float: method _find_all_instances_pids (line 431) | def _find_all_instances_pids(self) -> list[int]: method _send_error_event_to_clearcut (line 450) | def _send_error_event_to_clearcut(self, error_type): FILE: tools/edit_monitor/daemon_manager_test.py function simple_daemon (line 39) | def simple_daemon(output_file): function long_running_daemon (line 44) | def long_running_daemon(): function memory_consume_daemon_target (line 49) | def memory_consume_daemon_target(size_mb): function cpu_consume_daemon_target (line 58) | def cpu_consume_daemon_target(target_usage_percent): class DaemonManagerTest (line 68) | class DaemonManagerTest(unittest.TestCase): method setUpClass (line 71) | def setUpClass(cls): method setUp (line 78) | def setUp(self): method tearDown (line 90) | def tearDown(self): method test_start_success_with_no_existing_instance (line 99) | def test_start_success_with_no_existing_instance(self): method test_start_success_with_existing_instance_running (line 102) | def test_start_success_with_existing_instance_running(self): method test_start_success_with_existing_instance_already_dead (line 109) | def test_start_success_with_existing_instance_already_dead(self): method test_start_success_with_existing_instance_from_different_binary (line 120) | def test_start_success_with_existing_instance_from_different_binary(se... method test_start_return_directly_if_block_sign_exists (line 131) | def test_start_return_directly_if_block_sign_exists(self): method test_start_return_directly_if_disabled (line 146) | def test_start_return_directly_if_disabled(self): method test_start_return_directly_if_in_cog_env (line 153) | def test_start_return_directly_if_in_cog_env(self): method test_start_failed_other_instance_is_starting (line 162) | def test_start_failed_other_instance_is_starting(self): method test_start_failed_to_kill_existing_instance (line 182) | def test_start_failed_to_kill_existing_instance(self, mock_kill): method test_start_failed_to_write_pidfile (line 199) | def test_start_failed_to_write_pidfile(self): method test_start_failed_to_start_daemon_process (line 216) | def test_start_failed_to_start_daemon_process(self): method test_monitor_reboot_with_high_memory_usage (line 231) | def test_monitor_reboot_with_high_memory_usage(self, mock_execv): method test_monitor_daemon_subprocess_killed_high_cpu_usage (line 256) | def test_monitor_daemon_subprocess_killed_high_cpu_usage(self): method test_monitor_daemon_failed_does_not_matter (line 275) | def test_monitor_daemon_failed_does_not_matter(self, mock_output): method test_monitor_daemon_reboot_triggered (line 280) | def test_monitor_daemon_reboot_triggered(self, mock_execv): method test_stop_success (line 293) | def test_stop_success(self): method test_stop_failed_to_kill_daemon_process (line 304) | def test_stop_failed_to_kill_daemon_process(self, mock_kill): method test_stop_failed_to_remove_pidfile (line 323) | def test_stop_failed_to_remove_pidfile(self, mock_remove): method test_reboot_success (line 344) | def test_reboot_success(self, mock_execv): method test_reboot_binary_no_longer_exists (line 362) | def test_reboot_binary_no_longer_exists(self, mock_execv): method test_reboot_failed (line 374) | def test_reboot_failed(self, mock_execv): method test_cleanup_success (line 396) | def test_cleanup_success(self, mock_check_output): method assert_run_simple_daemon_success (line 415) | def assert_run_simple_daemon_success(self): method assert_no_subprocess_running (line 438) | def assert_no_subprocess_running(self): method _get_child_processes (line 445) | def _get_child_processes(self, parent_pid: int) -> list[int]: method _is_process_alive (line 460) | def _is_process_alive(self, pid: int) -> bool: method _cleanup_child_processes (line 470) | def _cleanup_child_processes(self): method _create_fake_deamon_process (line 479) | def _create_fake_deamon_process( method _assert_error_event_logged (line 495) | def _assert_error_event_logged(self, fake_cclient, error_type): class FakeClearcutClient (line 506) | class FakeClearcutClient: method __init__ (line 508) | def __init__(self): method log (line 512) | def log(self, log_event): method flush_events (line 515) | def flush_events(self): method get_sent_events (line 519) | def get_sent_events(self): FILE: tools/edit_monitor/edit_monitor.py class ClearcutEventHandler (line 39) | class ClearcutEventHandler(PatternMatchingEventHandler): method __init__ (line 41) | def __init__( method on_moved (line 65) | def on_moved(self, event: FileSystemEvent): method on_created (line 68) | def on_created(self, event: FileSystemEvent): method on_deleted (line 71) | def on_deleted(self, event: FileSystemEvent): method on_modified (line 74) | def on_modified(self, event: FileSystemEvent): method flushall (line 77) | def flushall(self): method _log_edit_event (line 87) | def _log_edit_event( method _is_hidden_file (line 130) | def _is_hidden_file(self, file_path: pathlib.Path) -> bool: method _is_under_git_project (line 136) | def _is_under_git_project(self, file_path: pathlib.Path) -> bool: method _log_clearcut_events (line 143) | def _log_clearcut_events(self): function start (line 183) | def start( FILE: tools/edit_monitor/edit_monitor_integration_test.py class EditMonitorIntegrationTest (line 32) | class EditMonitorIntegrationTest(unittest.TestCase): method setUpClass (line 35) | def setUpClass(cls): method setUp (line 42) | def setUp(self): method tearDown (line 55) | def tearDown(self): method test_log_single_edit_event_success (line 60) | def test_log_single_edit_event_success(self): method test_start_multiple_edit_monitor_only_one_started (line 86) | def test_start_multiple_edit_monitor_only_one_started(self): method _start_edit_monitor_process (line 100) | def _start_edit_monitor_process(self, wait_for_observer_start=True): method _wait_for_observer_start (line 116) | def _wait_for_observer_start(self, time_out): method _get_logged_events_num (line 132) | def _get_logged_events_num(self): method _get_live_processes (line 144) | def _get_live_processes(self, processes): method _import_executable (line 156) | def _import_executable(self, executable_name: str) -> pathlib.Path: FILE: tools/edit_monitor/edit_monitor_test.py class EditMonitorTest (line 32) | class EditMonitorTest(unittest.TestCase): method setUpClass (line 35) | def setUpClass(cls): method setUp (line 42) | def setUp(self): method tearDown (line 52) | def tearDown(self): method test_log_single_edit_event_success (line 56) | def test_log_single_edit_event_success(self): method test_log_aggregated_edit_event_success (line 131) | def test_log_aggregated_edit_event_success(self): method test_do_not_log_edit_event_for_directory_change (line 166) | def test_do_not_log_edit_event_for_directory_change(self): method test_do_not_log_edit_event_for_hidden_file (line 185) | def test_do_not_log_edit_event_for_hidden_file(self): method test_do_not_log_edit_event_for_non_git_project_file (line 208) | def test_do_not_log_edit_event_for_non_git_project_file(self): method test_log_edit_event_fail (line 229) | def test_log_edit_event_fail(self): method _start_test_edit_monitor_process (line 249) | def _start_test_edit_monitor_process( method _get_logged_events (line 268) | def _get_logged_events(self): class FakeClearcutClient (line 279) | class FakeClearcutClient: method __init__ (line 281) | def __init__(self, log_output_file, raise_log_exception=False): method log (line 286) | def log(self, log_event): method flush_events (line 291) | def flush_events(self): FILE: tools/edit_monitor/main.py function create_arg_parser (line 26) | def create_arg_parser(): function configure_logging (line 71) | def configure_logging(verbose=False): function term_signal_handler (line 89) | def term_signal_handler(_signal_number, _frame): function main (line 94) | def main(argv: list[str]): FILE: tools/edit_monitor/utils.py function is_feature_enabled (line 20) | def is_feature_enabled( FILE: tools/edit_monitor/utils_test.py class EnableFeatureTest (line 28) | class EnableFeatureTest(unittest.TestCase): method test_feature_enabled_without_flag (line 30) | def test_feature_enabled_without_flag(self): method test_feature_disabled_with_flag (line 34) | def test_feature_disabled_with_flag(self): method test_feature_enabled_with_flag (line 42) | def test_feature_enabled_with_flag(self): method test_feature_enabled_with_rollout_percentage (line 49) | def test_feature_enabled_with_rollout_percentage(self): method test_feature_disabled_with_rollout_percentage (line 59) | def test_feature_disabled_with_rollout_percentage(self): FILE: tools/event_log_tags.py class Tag (line 23) | class Tag: class TagFile (line 31) | class TagFile: method AddError (line 33) | def AddError(self, msg, linenum=None): method AddWarning (line 38) | def AddWarning(self, msg, linenum=None): method __init__ (line 43) | def __init__(self, filename, file_object=None): function BooleanFromString (line 105) | def BooleanFromString(s): function WriteOutput (line 117) | def WriteOutput(output_file, data): FILE: tools/extract_kernel.py function get_from_release (line 46) | def get_from_release(input_bytes, start_idx, key): function dump_from_release (line 60) | def dump_from_release(input_bytes, key): function dump_version (line 77) | def dump_version(input_bytes): function dump_compiler (line 85) | def dump_compiler(input_bytes): function dump_release (line 93) | def dump_release(input_bytes): function dump_configs (line 101) | def dump_configs(input_bytes): function try_decompress_bytes (line 130) | def try_decompress_bytes(cmd, input_bytes): function try_decompress (line 138) | def try_decompress(cmd, search_bytes, input_bytes): function decompress_dump (line 149) | def decompress_dump(func, input_bytes): function dump_to_file (line 171) | def dump_to_file(f, dump_fn, input_bytes, desc): function to_bytes_io (line 186) | def to_bytes_io(b): function main (line 192) | def main(): FILE: tools/fat16copy.py function read_le_short (line 42) | def read_le_short(f): function read_le_long (line 46) | def read_le_long(f): function read_byte (line 50) | def read_byte(f): function skip_bytes (line 54) | def skip_bytes(f, n): function skip_short (line 58) | def skip_short(f): function skip_byte (line 62) | def skip_byte(f): function rewind_bytes (line 66) | def rewind_bytes(f, n): function rewind_short (line 70) | def rewind_short(f): class fake_file (line 74) | class fake_file(object): method seek (line 81) | def seek(self, amount, direction=0): class fat_file (line 95) | class fat_file(fake_file): method __init__ (line 102) | def __init__(self, fs, cluster, size=None): method read (line 118) | def read(self, size): method write (line 126) | def write(self, data): function shorten (line 134) | def shorten(name, index): class fat_dir (line 144) | class fat_dir(object): method __init__ (line 147) | def __init__(self, backing): method __str__ (line 165) | def __str__(self): method add_dentry (line 168) | def add_dentry(self, attributes, shortname, ext, longname, first_cluster, method make_short_name (line 187) | def make_short_name(self, name): method new_file (line 214) | def new_file(self, name, data=None): method open_subdirectory (line 237) | def open_subdirectory(self, name): function lfn_checksum (line 263) | def lfn_checksum(name_data): class dentry (line 282) | class dentry(object): method __init__ (line 284) | def __init__(self, fs, attributes, shortname, ext, longname, method name (line 307) | def name(self): method __str__ (line 317) | def __str__(self): method is_directory (line 321) | def is_directory(self): method open_file (line 325) | def open_file(self): method open_directory (line 330) | def open_directory(self): method longname_records (line 335) | def longname_records(self, checksum): method commit (line 370) | def commit(self, f): class root_dentry_file (line 417) | class root_dentry_file(fake_file): method __init__ (line 422) | def __init__(self, fs): method read (line 427) | def read(self, count): method write (line 438) | def write(self, data): class fat (line 450) | class fat(object): method __init__ (line 453) | def __init__(self, path): method data_start (line 482) | def data_start(self): method get_chain_size (line 488) | def get_chain_size(self, head_cluster): method read_dentry (line 508) | def read_dentry(self, f=None): method read_file (line 574) | def read_file(self, head_cluster, start_byte, size): method write_cluster_entry (line 621) | def write_cluster_entry(self, entry): method allocate (line 632) | def allocate(self, amount): method extend_cluster (line 696) | def extend_cluster(self, cluster, amount): method write_file (line 713) | def write_file(self, head_cluster, start_byte, data): function add_item (line 748) | def add_item(directory, item): FILE: tools/filelistdiff/file_list_diff.py function find_unique_items (line 22) | def find_unique_items(kati_installed_files, soong_installed_files, syste... FILE: tools/fileslist_util.py function PrintFileNames (line 22) | def PrintFileNames(path): function PrintCanonicalList (line 28) | def PrintCanonicalList(path): function main (line 34) | def main(): FILE: tools/find_static_candidates.py function parse_args (line 59) | def parse_args(): class TransitiveHelper (line 111) | class TransitiveHelper: method __init__ (line 113) | def __init__(self): method flattenDeps (line 121) | def flattenDeps(self, module, module_info): function main (line 137) | def main(): FILE: tools/findleaves.py function perform_find (line 26) | def perform_find(mindepth, prune, dirlist, filenames): function usage (line 70) | def usage(): function main (line 87) | def main(argv): FILE: tools/fs_config/fs_config.c function usage (line 51) | static void usage() { function main (line 55) | int main(int argc, char** argv) { FILE: tools/fs_config/fs_config.go function init (line 23) | func init() { function targetFSConfigGenFactory (line 29) | func targetFSConfigGenFactory() android.Module { type targetFSConfigGen (line 37) | type targetFSConfigGen struct method DepsMutator (line 42) | func (targetFSConfigGen) DepsMutator(ctx android.BottomUpMutatorContex... method GenerateAndroidBuildActions (line 44) | func (t *targetFSConfigGen) GenerateAndroidBuildActions(ctx android.Mo... method Srcs (line 58) | func (t *targetFSConfigGen) Srcs() android.Paths { FILE: tools/fs_config/fs_config_generator.py class generator (line 25) | class generator(object): # pylint: disable=invalid-name method __init__ (line 42) | def __init__(self, gen): method __call__ (line 58) | def __call__(self, cls): method get (line 64) | def get(): class Utils (line 73) | class Utils(object): method in_any_range (line 77) | def in_any_range(value, ranges): method get_login_and_uid_cleansed (line 94) | def get_login_and_uid_cleansed(aid): class AID (line 121) | class AID(object): method __init__ (line 143) | def __init__(self, identifier, value, found, login_shell): method __eq__ (line 175) | def __eq__(self, other): method __repr__ (line 182) | def __repr__(self): method is_friendly (line 187) | def is_friendly(name): method _fixup_friendly (line 200) | def _fixup_friendly(friendly): class FSConfig (line 216) | class FSConfig(object): method __init__ (line 231) | def __init__(self, mode, user, group, caps, path, filename): method __eq__ (line 248) | def __eq__(self, other): method __repr__ (line 254) | def __repr__(self): class CapabilityHeaderParser (line 260) | class CapabilityHeaderParser(object): method __init__ (line 269) | def __init__(self, capability_header): method _parse (line 279) | def _parse(self, capability_file): class AIDHeaderParser (line 300) | class AIDHeaderParser(object): method __init__ (line 326) | def __init__(self, aid_header): method _parse (line 345) | def _parse(self, aid_file): method _handle_aid (line 417) | def _handle_aid(self, identifier, value): method _process_and_check (line 444) | def _process_and_check(self): method ranges (line 473) | def ranges(self): method aids (line 482) | def aids(self): method _is_overlap (line 491) | def _is_overlap(range_a, range_b): class FSConfigFileParser (line 509) | class FSConfigFileParser(object): method __init__ (line 530) | def __init__(self, config_files, ranges): method _parse (line 553) | def _parse(self, file_name): method _verify_valid_range (line 611) | def _verify_valid_range(self, aid): method _handle_aid (line 632) | def _handle_aid(self, file_name, section_name, config): method _handle_path (line 683) | def _handle_path(self, file_name, section_name, config): method files (line 754) | def files(self): method dirs (line 763) | def dirs(self): method aids (line 772) | def aids(self): method _file_key (line 781) | def _file_key(fs_config): method _handle_dup_and_add (line 845) | def _handle_dup_and_add(name, file_name, section_name, seen): class BaseGenerator (line 867) | class BaseGenerator(object): method add_opts (line 874) | def add_opts(self, opt_group): method __call__ (line 884) | def __call__(self, args): class FSConfigGen (line 897) | class FSConfigGen(BaseGenerator): method __init__ (line 903) | def __init__(self, *args, **kwargs): method add_opts (line 918) | def add_opts(self, opt_group): method __call__ (line 953) | def __call__(self, args): method _to_fs_entry (line 1009) | def _to_fs_entry(self, fs_config, out_file): method _emit_entry (line 1086) | def _emit_entry(self, fs_config): method _generate (line 1106) | def _generate(self): class AIDArrayGen (line 1132) | class AIDArrayGen(BaseGenerator): method add_opts (line 1161) | def add_opts(self, opt_group): method __call__ (line 1167) | def __call__(self, args): class OEMAidGen (line 1190) | class OEMAidGen(BaseGenerator): method __init__ (line 1207) | def __init__(self): method add_opts (line 1211) | def add_opts(self, opt_group): method __call__ (line 1222) | def __call__(self, args): method _print_aid (line 1238) | def _print_aid(self, aid): class PasswdGen (line 1255) | class PasswdGen(BaseGenerator): method __init__ (line 1258) | def __init__(self): method add_opts (line 1262) | def add_opts(self, opt_group): method __call__ (line 1280) | def __call__(self, args): method _print_formatted_line (line 1311) | def _print_formatted_line(self, aid): class GroupGen (line 1338) | class GroupGen(PasswdGen): method _print_formatted_line (line 1342) | def _print_formatted_line(self, aid): class PrintGen (line 1363) | class PrintGen(BaseGenerator): method add_opts (line 1370) | def add_opts(self, opt_group): method __call__ (line 1374) | def __call__(self, args): function main (line 1385) | def main(): FILE: tools/fs_config/test_fs_config_generator.py class Tests (line 19) | class Tests(unittest.TestCase): method test_is_overlap (line 22) | def test_is_overlap(self): method test_in_any_range (line 35) | def test_in_any_range(self): method test_aid (line 45) | def test_aid(self): method test_aid_header_parser_good (line 64) | def test_aid_header_parser_good(self): method test_aid_header_parser_good_unordered (line 91) | def test_aid_header_parser_good_unordered(self): method test_aid_header_parser_bad_aid (line 118) | def test_aid_header_parser_bad_aid(self): method test_aid_header_parser_bad_oem_range (line 131) | def test_aid_header_parser_bad_oem_range(self): method test_aid_header_parser_bad_oem_range_no_end (line 145) | def test_aid_header_parser_bad_oem_range_no_end(self): method test_aid_header_parser_bad_oem_range_no_start (line 158) | def test_aid_header_parser_bad_oem_range_no_start(self): method test_aid_header_parser_bad_oem_range_duplicated (line 171) | def test_aid_header_parser_bad_oem_range_duplicated(self): method test_aid_header_parser_bad_oem_range_mismatch_start_end (line 187) | def test_aid_header_parser_bad_oem_range_mismatch_start_end(self): method test_aid_header_parser_bad_duplicate_ranges (line 201) | def test_aid_header_parser_bad_duplicate_ranges(self): method test_aid_header_parser_no_bad_aids (line 215) | def test_aid_header_parser_no_bad_aids(self): method test_fs_config_file_parser_good (line 257) | def test_fs_config_file_parser_good(self): method test_fs_config_file_parser_bad (line 305) | def test_fs_config_file_parser_bad(self): method test_fs_config_file_parser_bad_aid_range (line 319) | def test_fs_config_file_parser_bad_aid_range(self): FILE: tools/generate-enforce-rro-android-manifest.py function get_args (line 34) | def get_args(): function main (line 54) | def main(argv): FILE: tools/generate-notice-files.py function md5sum (line 45) | def md5sum(filename): function html_escape (line 61) | def html_escape(text): function combine_notice_files_html (line 80) | def combine_notice_files_html(file_hash, input_dirs, output_filename): function combine_notice_files_text (line 136) | def combine_notice_files_text(file_hash, input_dirs, output_filename, fi... function combine_notice_files_xml (line 155) | def combine_notice_files_xml(files_with_same_hash, input_dirs, output_fi... function get_args (line 199) | def get_args(): function main (line 224) | def main(argv): FILE: tools/generate-self-extracting-archive.py function _pipe_bytes (line 87) | def _pipe_bytes(src, dst): function _generate_extract_command (line 95) | def _generate_extract_command(start, size, extract_name): function main (line 121) | def main(argv): FILE: tools/generate_gts_shared_report.py function _get_args (line 36) | def _get_args(): function _check_gts_test (line 53) | def _check_gts_test(checkshare: str, gts_test_metalic: str, function main (line 87) | def main(argv): FILE: tools/ide_query/cc_analyzer/analyzer.cc type tools::ide_query::cc_analyzer (line 34) | namespace tools::ide_query::cc_analyzer { function LoadCompDB (line 36) | llvm::Expected> L... function GetDeps (line 51) | ::cc_analyzer::DepsResponse GetDeps(::cc_analyzer::RepoState state) { function GetBuildInputs (line 83) | ::cc_analyzer::IdeAnalysis GetBuildInputs(::cc_analyzer::RepoState sta... FILE: tools/ide_query/cc_analyzer/analyzer.h function namespace (line 22) | namespace tools::ide_query::cc_analyzer { FILE: tools/ide_query/cc_analyzer/builtin_headers.cc type FileToc (line 22) | struct FileToc function builtin_headers_size (line 23) | size_t builtin_headers_size() { FILE: tools/ide_query/cc_analyzer/builtin_headers.h type FileToc (line 21) | struct FileToc { type FileToc (line 26) | struct FileToc FILE: tools/ide_query/cc_analyzer/include_scanner.cc type tools::ide_query::cc_analyzer (line 48) | namespace tools::ide_query::cc_analyzer { function CleanPath (line 50) | std::string CleanPath(llvm::StringRef path) { function GetAbsolutePath (line 60) | std::string GetAbsolutePath(llvm::StringRef cwd, llvm::StringRef file_... class IncludeRecordingPP (line 68) | class IncludeRecordingPP : public clang::PPCallbacks { method IncludeRecordingPP (line 70) | explicit IncludeRecordingPP( method LexedFileChanged (line 75) | void LexedFileChanged(clang::FileID FID, LexedFileChangeReason Reason, class IncludeScanningAction (line 91) | class IncludeScanningAction final : public clang::PreprocessOnlyAction { method IncludeScanningAction (line 93) | explicit IncludeScanningAction( method BeginSourceFileAction (line 96) | bool BeginSourceFileAction(clang::CompilerInstance &ci) override { function OverlayBuiltinHeaders (line 115) | llvm::IntrusiveRefCntPtr OverlayBuiltinHeaders( function ScanIncludes (line 143) | llvm::Expected>> ScanI... FILE: tools/ide_query/cc_analyzer/include_scanner.h function namespace (line 28) | namespace tools::ide_query::cc_analyzer { FILE: tools/ide_query/cc_analyzer/main.cc type OpMode (line 38) | enum class OpMode { function ReturnError (line 51) | cc_analyzer::IdeAnalysis ReturnError(llvm::StringRef message) { function main (line 60) | int main(int argc, char* argv[]) { FILE: tools/ide_query/cc_analyzer_proto/cc_analyzer.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Status_Code (line 38) | type Status_Code method Enum (line 57) | func (x Status_Code) Enum() *Status_Code { method String (line 63) | func (x Status_Code) String() string { method Descriptor (line 67) | func (Status_Code) Descriptor() protoreflect.EnumDescriptor { method Type (line 71) | func (Status_Code) Type() protoreflect.EnumType { method Number (line 75) | func (x Status_Code) Number() protoreflect.EnumNumber { method EnumDescriptor (line 80) | func (Status_Code) EnumDescriptor() ([]byte, []int) { constant Status_OK (line 41) | Status_OK Status_Code = 0 constant Status_FAILURE (line 42) | Status_FAILURE Status_Code = 1 type Status (line 85) | type Status struct method Reset (line 95) | func (x *Status) Reset() { method String (line 104) | func (x *Status) String() string { method ProtoMessage (line 108) | func (*Status) ProtoMessage() {} method ProtoReflect (line 110) | func (x *Status) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*Status) Descriptor() ([]byte, []int) { method GetCode (line 127) | func (x *Status) GetCode() Status_Code { method GetMessage (line 134) | func (x *Status) GetMessage() string { type RepoState (line 142) | type RepoState struct method Reset (line 158) | func (x *RepoState) Reset() { method String (line 167) | func (x *RepoState) String() string { method ProtoMessage (line 171) | func (*RepoState) ProtoMessage() {} method ProtoReflect (line 173) | func (x *RepoState) ProtoReflect() protoreflect.Message { method Descriptor (line 186) | func (*RepoState) Descriptor() ([]byte, []int) { method GetRepoDir (line 190) | func (x *RepoState) GetRepoDir() string { method GetActiveFilePath (line 197) | func (x *RepoState) GetActiveFilePath() []string { method GetOutDir (line 204) | func (x *RepoState) GetOutDir() string { method GetCompDbPath (line 211) | func (x *RepoState) GetCompDbPath() string { type DepsResponse (line 220) | type DepsResponse struct method Reset (line 229) | func (x *DepsResponse) Reset() { method String (line 238) | func (x *DepsResponse) String() string { method ProtoMessage (line 242) | func (*DepsResponse) ProtoMessage() {} method ProtoReflect (line 244) | func (x *DepsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*DepsResponse) Descriptor() ([]byte, []int) { method GetDeps (line 261) | func (x *DepsResponse) GetDeps() []*DepsResponse_Deps { method GetStatus (line 268) | func (x *DepsResponse) GetStatus() *Status { type GeneratedFile (line 277) | type GeneratedFile struct method Reset (line 289) | func (x *GeneratedFile) Reset() { method String (line 298) | func (x *GeneratedFile) String() string { method ProtoMessage (line 302) | func (*GeneratedFile) ProtoMessage() {} method ProtoReflect (line 304) | func (x *GeneratedFile) ProtoReflect() protoreflect.Message { method Descriptor (line 317) | func (*GeneratedFile) Descriptor() ([]byte, []int) { method GetPath (line 321) | func (x *GeneratedFile) GetPath() string { method GetContents (line 328) | func (x *GeneratedFile) GetContents() []byte { type SourceFile (line 335) | type SourceFile struct method Reset (line 363) | func (x *SourceFile) Reset() { method String (line 372) | func (x *SourceFile) String() string { method ProtoMessage (line 376) | func (*SourceFile) ProtoMessage() {} method ProtoReflect (line 378) | func (x *SourceFile) ProtoReflect() protoreflect.Message { method Descriptor (line 391) | func (*SourceFile) Descriptor() ([]byte, []int) { method GetPath (line 395) | func (x *SourceFile) GetPath() string { method GetWorkingDir (line 402) | func (x *SourceFile) GetWorkingDir() string { method GetCompilerArguments (line 409) | func (x *SourceFile) GetCompilerArguments() []string { method GetGenerated (line 416) | func (x *SourceFile) GetGenerated() []*GeneratedFile { method GetDeps (line 423) | func (x *SourceFile) GetDeps() []string { method GetStatus (line 430) | func (x *SourceFile) GetStatus() *Status { type IdeAnalysis (line 437) | type IdeAnalysis struct method Reset (line 448) | func (x *IdeAnalysis) Reset() { method String (line 457) | func (x *IdeAnalysis) String() string { method ProtoMessage (line 461) | func (*IdeAnalysis) ProtoMessage() {} method ProtoReflect (line 463) | func (x *IdeAnalysis) ProtoReflect() protoreflect.Message { method Descriptor (line 476) | func (*IdeAnalysis) Descriptor() ([]byte, []int) { method GetSources (line 480) | func (x *IdeAnalysis) GetSources() []*SourceFile { method GetStatus (line 487) | func (x *IdeAnalysis) GetStatus() *Status { type DepsResponse_Deps (line 495) | type DepsResponse_Deps struct method Reset (line 507) | func (x *DepsResponse_Deps) Reset() { method String (line 516) | func (x *DepsResponse_Deps) String() string { method ProtoMessage (line 520) | func (*DepsResponse_Deps) ProtoMessage() {} method ProtoReflect (line 522) | func (x *DepsResponse_Deps) ProtoReflect() protoreflect.Message { method Descriptor (line 535) | func (*DepsResponse_Deps) Descriptor() ([]byte, []int) { method GetSourceFile (line 539) | func (x *DepsResponse_Deps) GetSourceFile() string { method GetBuildTarget (line 546) | func (x *DepsResponse_Deps) GetBuildTarget() []string { method GetStatus (line 553) | func (x *DepsResponse_Deps) GetStatus() *Status { function file_cc_analyzer_proto_rawDescGZIP (line 638) | func file_cc_analyzer_proto_rawDescGZIP() []byte { function init (line 673) | func init() { file_cc_analyzer_proto_init() } function file_cc_analyzer_proto_init (line 674) | func file_cc_analyzer_proto_init() { FILE: tools/ide_query/ide_query.go type Env (line 41) | type Env struct type LunchTarget (line 50) | type LunchTarget struct method Set (line 64) | func (l *LunchTarget) Set(s string) error { method String (line 78) | func (l *LunchTarget) String() string { function main (line 82) | func main() { function repoState (line 174) | func repoState(env Env, filePaths []string) *apb.RepoState { function runCCanalyzer (line 184) | func runCCanalyzer(ctx context.Context, env Env, mode string, in []byte)... function getCCTargets (line 204) | func getCCTargets(ctx context.Context, env Env, filePaths []string) ([]s... function getCCInputs (line 231) | func getCCInputs(ctx context.Context, env Env, filePaths []string) ([]*p... function findJavaModules (line 294) | func findJavaModules(paths []string, modules map[string]*javaModule) map... function getJavaInputs (line 328) | func getJavaInputs(env Env, modulesByPath map[string]string, modules map... function genFiles (line 395) | func genFiles(env Env, mod *javaModule) []*pb.GeneratedFile { function runMake (line 423) | func runMake(ctx context.Context, env Env, modules ...string) error { type javaModule (line 442) | type javaModule struct function loadJavaModules (line 450) | func loadJavaModules(env Env) (map[string]*javaModule, error) { FILE: tools/ide_query/ide_query_proto/ide_query.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Language (line 38) | type Language method Enum (line 60) | func (x Language) Enum() *Language { method String (line 66) | func (x Language) String() string { method Descriptor (line 70) | func (Language) Descriptor() protoreflect.EnumDescriptor { method Type (line 74) | func (Language) Type() protoreflect.EnumType { method Number (line 78) | func (x Language) Number() protoreflect.EnumNumber { method EnumDescriptor (line 83) | func (Language) EnumDescriptor() ([]byte, []int) { constant Language_LANGUAGE_UNSPECIFIED (line 41) | Language_LANGUAGE_UNSPECIFIED Language = 0 constant Language_LANGUAGE_JAVA (line 42) | Language_LANGUAGE_JAVA Language = 1 constant Language_LANGUAGE_CPP (line 43) | Language_LANGUAGE_CPP Language = 2 type AnalysisResult_Status_Code (line 87) | type AnalysisResult_Status_Code method Enum (line 112) | func (x AnalysisResult_Status_Code) Enum() *AnalysisResult_Status_Code { method String (line 118) | func (x AnalysisResult_Status_Code) String() string { method Descriptor (line 122) | func (AnalysisResult_Status_Code) Descriptor() protoreflect.EnumDescri... method Type (line 126) | func (AnalysisResult_Status_Code) Type() protoreflect.EnumType { method Number (line 130) | func (x AnalysisResult_Status_Code) Number() protoreflect.EnumNumber { method EnumDescriptor (line 135) | func (AnalysisResult_Status_Code) EnumDescriptor() ([]byte, []int) { constant AnalysisResult_Status_CODE_UNSPECIFIED (line 90) | AnalysisResult_Status_CODE_UNSPECIFIED AnalysisResult_Status_Code = 0 constant AnalysisResult_Status_CODE_OK (line 91) | AnalysisResult_Status_CODE_OK AnalysisResult_Status_Code = 1 constant AnalysisResult_Status_CODE_NOT_FOUND (line 92) | AnalysisResult_Status_CODE_NOT_FOUND AnalysisResult_Status_Code = 2 constant AnalysisResult_Status_CODE_BUILD_FAILED (line 93) | AnalysisResult_Status_CODE_BUILD_FAILED AnalysisResult_Status_Code = 3 type GeneratedFile (line 139) | type GeneratedFile struct method Reset (line 151) | func (x *GeneratedFile) Reset() { method String (line 160) | func (x *GeneratedFile) String() string { method ProtoMessage (line 164) | func (*GeneratedFile) ProtoMessage() {} method ProtoReflect (line 166) | func (x *GeneratedFile) ProtoReflect() protoreflect.Message { method Descriptor (line 179) | func (*GeneratedFile) Descriptor() ([]byte, []int) { method GetPath (line 183) | func (x *GeneratedFile) GetPath() string { method GetContents (line 190) | func (x *GeneratedFile) GetContents() []byte { type IdeAnalysis (line 197) | type IdeAnalysis struct method Reset (line 216) | func (x *IdeAnalysis) Reset() { method String (line 225) | func (x *IdeAnalysis) String() string { method ProtoMessage (line 229) | func (*IdeAnalysis) ProtoMessage() {} method ProtoReflect (line 231) | func (x *IdeAnalysis) ProtoReflect() protoreflect.Message { method Descriptor (line 244) | func (*IdeAnalysis) Descriptor() ([]byte, []int) { method GetBuildOutDir (line 248) | func (x *IdeAnalysis) GetBuildOutDir() string { method GetWorkingDir (line 255) | func (x *IdeAnalysis) GetWorkingDir() string { method GetError (line 262) | func (x *IdeAnalysis) GetError() *AnalysisError { method GetResults (line 269) | func (x *IdeAnalysis) GetResults() []*AnalysisResult { method GetUnits (line 276) | func (x *IdeAnalysis) GetUnits() []*BuildableUnit { type AnalysisError (line 283) | type AnalysisError struct method Reset (line 292) | func (x *AnalysisError) Reset() { method String (line 301) | func (x *AnalysisError) String() string { method ProtoMessage (line 305) | func (*AnalysisError) ProtoMessage() {} method ProtoReflect (line 307) | func (x *AnalysisError) ProtoReflect() protoreflect.Message { method Descriptor (line 320) | func (*AnalysisError) Descriptor() ([]byte, []int) { method GetErrorMessage (line 324) | func (x *AnalysisError) GetErrorMessage() string { type AnalysisResult (line 331) | type AnalysisResult struct method Reset (line 348) | func (x *AnalysisResult) Reset() { method String (line 357) | func (x *AnalysisResult) String() string { method ProtoMessage (line 361) | func (*AnalysisResult) ProtoMessage() {} method ProtoReflect (line 363) | func (x *AnalysisResult) ProtoReflect() protoreflect.Message { method Descriptor (line 376) | func (*AnalysisResult) Descriptor() ([]byte, []int) { method GetSourceFilePath (line 380) | func (x *AnalysisResult) GetSourceFilePath() string { method GetStatus (line 387) | func (x *AnalysisResult) GetStatus() *AnalysisResult_Status { method GetUnitId (line 394) | func (x *AnalysisResult) GetUnitId() string { method GetInvalidation (line 401) | func (x *AnalysisResult) GetInvalidation() *Invalidation { type BuildableUnit (line 408) | type BuildableUnit struct method Reset (line 435) | func (x *BuildableUnit) Reset() { method String (line 444) | func (x *BuildableUnit) String() string { method ProtoMessage (line 448) | func (*BuildableUnit) ProtoMessage() {} method ProtoReflect (line 450) | func (x *BuildableUnit) ProtoReflect() protoreflect.Message { method Descriptor (line 463) | func (*BuildableUnit) Descriptor() ([]byte, []int) { method GetId (line 467) | func (x *BuildableUnit) GetId() string { method GetLanguage (line 474) | func (x *BuildableUnit) GetLanguage() Language { method GetSourceFilePaths (line 481) | func (x *BuildableUnit) GetSourceFilePaths() []string { method GetCompilerArguments (line 488) | func (x *BuildableUnit) GetCompilerArguments() []string { method GetGeneratedFiles (line 495) | func (x *BuildableUnit) GetGeneratedFiles() []*GeneratedFile { method GetDependencyIds (line 502) | func (x *BuildableUnit) GetDependencyIds() []string { type Invalidation (line 513) | type Invalidation struct method Reset (line 525) | func (x *Invalidation) Reset() { method String (line 534) | func (x *Invalidation) String() string { method ProtoMessage (line 538) | func (*Invalidation) ProtoMessage() {} method ProtoReflect (line 540) | func (x *Invalidation) ProtoReflect() protoreflect.Message { method Descriptor (line 553) | func (*Invalidation) Descriptor() ([]byte, []int) { method GetFilePaths (line 557) | func (x *Invalidation) GetFilePaths() []string { method GetWildcards (line 564) | func (x *Invalidation) GetWildcards() []*Invalidation_Wildcard { type AnalysisResult_Status (line 572) | type AnalysisResult_Status struct method Reset (line 582) | func (x *AnalysisResult_Status) Reset() { method String (line 591) | func (x *AnalysisResult_Status) String() string { method ProtoMessage (line 595) | func (*AnalysisResult_Status) ProtoMessage() {} method ProtoReflect (line 597) | func (x *AnalysisResult_Status) ProtoReflect() protoreflect.Message { method Descriptor (line 610) | func (*AnalysisResult_Status) Descriptor() ([]byte, []int) { method GetCode (line 614) | func (x *AnalysisResult_Status) GetCode() AnalysisResult_Status_Code { method GetStatusMessage (line 621) | func (x *AnalysisResult_Status) GetStatusMessage() string { type Invalidation_Wildcard (line 628) | type Invalidation_Wildcard struct method Reset (line 642) | func (x *Invalidation_Wildcard) Reset() { method String (line 651) | func (x *Invalidation_Wildcard) String() string { method ProtoMessage (line 655) | func (*Invalidation_Wildcard) ProtoMessage() {} method ProtoReflect (line 657) | func (x *Invalidation_Wildcard) ProtoReflect() protoreflect.Message { method Descriptor (line 670) | func (*Invalidation_Wildcard) Descriptor() ([]byte, []int) { method GetPrefix (line 674) | func (x *Invalidation_Wildcard) GetPrefix() string { method GetSuffix (line 681) | func (x *Invalidation_Wildcard) GetSuffix() string { method GetCanCrossFolder (line 688) | func (x *Invalidation_Wildcard) GetCanCrossFolder() bool { function file_ide_query_proto_rawDescGZIP (line 800) | func file_ide_query_proto_rawDescGZIP() []byte { function init (line 838) | func init() { file_ide_query_proto_init() } function file_ide_query_proto_init (line 839) | func file_ide_query_proto_init() { FILE: tools/ide_query/prober_scripts/cpp/general.cc function Foo (line 21) | void Foo(int x, double y) {} function Foo (line 22) | float Foo(float x, float y) { return 0.0f; } function TestCompletion (line 24) | void TestCompletion() { function TestNavigation (line 57) | void TestNavigation() { function TestParameterInfo (line 89) | void TestParameterInfo() { function main (line 119) | int main() { return 0; } FILE: tools/ide_query/prober_scripts/jvm/Bar.java class Bar (line 20) | class Bar { method Bar (line 21) | Bar() { method foo (line 25) | void foo(Foo f) {} method foo (line 27) | void foo(Object o) {} method bar (line 29) | void bar(Foo f) {} method baz (line 31) | void baz(Object o) {} FILE: tools/ide_query/prober_scripts/jvm/Foo.java class Foo (line 22) | public final class Foo { method testParameterInfo (line 25) | void testParameterInfo() { method testCompletion (line 79) | void testCompletion() { method testDiagnostics (line 110) | void testDiagnostics() { FILE: tools/ide_query/prober_scripts/jvm/other/Other.java class Other (line 20) | public class Other { method Other (line 21) | public Other(int first, String second) {} method other (line 23) | public Other other() { FILE: tools/java-event-log-tags.py function javaName (line 87) | def javaName(name): FILE: tools/libhost/CopyFile.c function isSourceNewer (line 58) | static bool isSourceNewer(const struct stat* pSrcStat, const struct stat... function isHiresMtime (line 68) | static bool isHiresMtime(const struct stat* pSrcStat) function isSameFile (line 84) | static bool isSameFile(const struct stat* pSrcStat, const struct stat* p... function printCopyMsg (line 98) | static void printCopyMsg(const char* src, const char* dst, unsigned int ... function printNotNewerMsg (line 104) | static void printNotNewerMsg(const char* src, const char* dst, unsigned ... function copyFileContents (line 116) | static int copyFileContents(const char* dst, int dstFd, const char* src,... function setPermissions (line 160) | static int setPermissions(const char* dst, const struct stat* pSrcStat, ... function copyRegular (line 209) | static int copyRegular(const char* src, const char* dst, const struct st... type stat (line 355) | struct stat function copySymlink (line 362) | static int copySymlink(const char* src, const char* dst, const struct st... function copyDirectory (line 442) | int copyDirectory(const char* src, const char* dst, const struct stat* p... function copyFileRecursive (line 541) | static int copyFileRecursive(const char* src, const char* dst, bool isCm... function copyFile (line 601) | int copyFile(const char* src, const char* dst, unsigned int options) FILE: tools/list_files.py class FileLister (line 24) | class FileLister: method __init__ (line 25) | def __init__(self, args) -> None: method get_files (line 34) | def get_files(self) -> None: method list (line 63) | def list(self) -> None: method write (line 88) | def write(self) -> None: function pprint (line 97) | def pprint(l: List[str]) -> None: function dir_exists (line 101) | def dir_exists(dir: str) -> bool: function write_lines (line 104) | def write_lines(out_file: str, lines: List[str]) -> None: FILE: tools/missing_soong_module_info.py function main (line 21) | def main(): FILE: tools/mk2bp_catalog.py function match_directory_group (line 26) | def match_directory_group(pattern, filename): function directory_group (line 43) | def directory_group(filename): class Analysis (line 50) | class Analysis(object): method __init__ (line 51) | def __init__(self, filename, line_matches): function analyze_lines (line 55) | def analyze_lines(filename, lines, func): function analyze_has_conditional (line 67) | def analyze_has_conditional(line): function analyze_has_wacky_include (line 83) | def analyze_has_wacky_include(line): class Analyzer (line 94) | class Analyzer(object): method __init__ (line 95) | def __init__(self, title, func): class Summary (line 113) | class Summary(object): method __init__ (line 114) | def __init__(self): method Add (line 118) | def Add(self, makefile): class Makefile (line 122) | class Makefile(object): method __init__ (line 123) | def __init__(self, filename): function find_android_mk (line 138) | def find_android_mk(): function is_aosp (line 148) | def is_aosp(dirname): function is_google (line 158) | def is_google(dirname): function is_clean (line 171) | def is_clean(makefile): function clean_and_only_blocked_by_clean (line 177) | def clean_and_only_blocked_by_clean(soong, all_makefiles, makefile): class Annotations (line 189) | class Annotations(object): method __init__ (line 190) | def __init__(self): method Add (line 194) | def Add(self, makefiles, modules): class SoongData (line 199) | class SoongData(object): method __init__ (line 200) | def __init__(self, reader): method transitive_deps (line 230) | def transitive_deps(self, module): method contains_unblocked_modules (line 240) | def contains_unblocked_modules(self, filename): method contains_blocked_modules (line 246) | def contains_blocked_modules(self, filename): function count_deps (line 252) | def count_deps(depsdb, module, seen): function get_partition_from_installed (line 269) | def get_partition_from_installed(HOST_OUT_ROOT, PRODUCT_OUT, filename): function format_module_link (line 284) | def format_module_link(module): function format_module_list (line 287) | def format_module_list(modules): function print_analysis_header (line 290) | def print_analysis_header(link, title): function get_module_product_packages_plus_deps (line 312) | def get_module_product_packages_plus_deps(initial_modules, result, soong... function main (line 320) | def main(): class HtmlProcessor (line 382) | class HtmlProcessor(object): method __init__ (line 383) | def __init__(self, args, soong, all_makefiles, product_packages_modules): method execute (line 390) | def execute(self): method traverse_ready_makefiles (line 957) | def traverse_ready_makefiles(self, summary, makefiles): method print_analysis_row (line 961) | def print_analysis_row(self, summary, modules, rowtitle, rowclass, mak... method make_annotation_link (line 1001) | def make_annotation_link(self, analysis, modules): class CsvProcessor (line 1010) | class CsvProcessor(object): method __init__ (line 1011) | def __init__(self, args, soong, all_makefiles, product_packages_modules): method execute (line 1017) | def execute(self): FILE: tools/mk2bp_partition.py function get_top (line 20) | def get_top(): function get_build_var (line 29) | def get_build_var(variable, product, build_variant): function get_make_file_partitions (line 42) | def get_make_file_partitions(): function main (line 95) | def main(): FILE: tools/perf/pretty.py class Sentinel (line 17) | class Sentinel(): function FormatTable (line 22) | def FormatTable(data, prefix="", alignments=[]): FILE: tools/perf/utils.py function get_root (line 20) | def get_root(): function get_dist_dir (line 34) | def get_dist_dir(): function get_out_dir (line 40) | def get_out_dir(): FILE: tools/post_process_props.py function mangle_build_prop (line 32) | def mangle_build_prop(prop_list, kernel_version_file_for_uffd_gc): function validate_grf_props (line 49) | def validate_grf_props(prop_list): function validate (line 71) | def validate(prop_list): function override_optional_props (line 97) | def override_optional_props(prop_list, allow_dup=False): class Prop (line 143) | class Prop: method __init__ (line 145) | def __init__(self, name, value, optional=False, comment=None): method from_line (line 155) | def from_line(line): method is_comment (line 170) | def is_comment(self): method is_optional (line 173) | def is_optional(self): method make_as_comment (line 176) | def make_as_comment(self): method delete (line 184) | def delete(self, reason): method __str__ (line 188) | def __str__(self): class PropList (line 195) | class PropList: method __init__ (line 197) | def __init__(self, filename): method get_all_props (line 202) | def get_all_props(self): method get_all_names (line 205) | def get_all_names(self): method get_props (line 208) | def get_props(self, name): method get_value (line 211) | def get_value(self, name): method put (line 215) | def put(self, name, value): method write (line 231) | def write(self, filename): function main (line 236) | def main(argv): FILE: tools/product_config/inherit_tree.py function PrintNodes (line 11) | def PrintNodes(graph, node, prefix): function main (line 22) | def main(argv): FILE: tools/product_config/src/com/android/build/config/CommandException.java class CommandException (line 27) | public class CommandException extends RuntimeException { method CommandException (line 28) | public CommandException() { method CommandException (line 32) | public CommandException(String message) { method CommandException (line 36) | public CommandException(String message, Throwable chain) { FILE: tools/product_config/src/com/android/build/config/ConfigBase.java class ConfigBase (line 29) | public class ConfigBase { method setPhase (line 49) | public void setPhase(String phase) { method getPhase (line 53) | public String getPhase() { method setRootNodes (line 57) | public void setRootNodes(List filenames) { method getRootNodes (line 61) | public List getRootNodes() { method addProductVar (line 65) | public void addProductVar(String name, VarType type) { method getProductVars (line 69) | public TreeMap getProductVars() { method getVarType (line 73) | public VarType getVarType(String name) { method isProductVar (line 82) | public boolean isProductVar(String name) { method getInitialVariables (line 89) | public Map getInitialVariables() { method getFinalVariables (line 96) | public Map getFinalVariables() { method copyFrom (line 103) | public void copyFrom(ConfigBase that) { FILE: tools/product_config/src/com/android/build/config/ConvertMakeToGenericConfig.java class ConvertMakeToGenericConfig (line 27) | public class ConvertMakeToGenericConfig { method ConvertMakeToGenericConfig (line 30) | public ConvertMakeToGenericConfig(Errors errors) { method convert (line 34) | public GenericConfig convert(Map make) { method convertAssignment (line 138) | GenericConfig.Assign convertAssignment(MakeConfig.BlockType blockType,... method convertInheritedVar (line 175) | GenericConfig.Assign convertInheritedVar(MakeConfig.BlockType blockTyp... method split (line 220) | private static ArrayList split(String haystack, String needle) { FILE: tools/product_config/src/com/android/build/config/CsvParser.java class CsvParser (line 32) | public class CsvParser { class ParseException (line 41) | public static class ParseException extends Exception { method ParseException (line 45) | public ParseException(int line, int column, String message) { method getLine (line 54) | public int getLine() { method getColumn (line 61) | public int getColumn() { class Line (line 66) | public static class Line { method Line (line 70) | Line(int lineno, List fields) { method getLine (line 75) | public int getLine() { method getFields (line 79) | public List getFields() { method CsvParser (line 100) | private CsvParser() { method parse (line 110) | public static List parse(Reader reader) FILE: tools/product_config/src/com/android/build/config/DumpConfigParser.java class DumpConfigParser (line 46) | public class DumpConfigParser { method DumpConfigParser (line 60) | private DumpConfigParser(Errors errors, String filename, Reader reader) { method parse (line 69) | public static Map parse(Errors errors, String filen... method parseImpl (line 79) | private void parseImpl() throws CsvParser.ParseException, IOException { method matchLineType (line 282) | private boolean matchLineType(CsvParser.Line line, String lineType, in... method splitList (line 299) | private static List splitList(String text) { method parseBlockType (line 308) | private MakeConfig.BlockType parseBlockType(CsvParser.Line line, Strin... FILE: tools/product_config/src/com/android/build/config/ErrorReporter.java class ErrorReporter (line 30) | public class ErrorReporter { class FatalException (line 52) | public static class FatalException extends RuntimeException { method FatalException (line 53) | FatalException(String message) { method FatalException (line 57) | FatalException(String message, Throwable chain) { type Level (line 65) | public static enum Level { method Level (line 72) | Level(String label) { method getLabel (line 76) | String getLabel() { class Category (line 84) | public class Category { method Category (line 93) | public Category(int code, boolean isLevelSettable, Level level, Stri... method getCode (line 106) | public int getCode() { method isLevelSettable (line 113) | public boolean isLevelSettable() { method setLevel (line 120) | public void setLevel(Level level) { method getLevel (line 130) | public Level getLevel() { method getHelp (line 137) | public String getHelp() { method add (line 144) | public void add(String message) { method add (line 151) | public void add(Position pos, String message) { method fatal (line 159) | public void fatal(String message) { method fatal (line 166) | public void fatal(Position pos, String message) { class Entry (line 174) | public static class Entry { method Entry (line 179) | Entry(Category category, Position position, String message) { method getCategory (line 185) | public Category getCategory() { method getPosition (line 189) | public Position getPosition() { method getMessage (line 193) | public String getMessage() { method toString (line 197) | @Override method initLocked (line 205) | private void initLocked() { method getCategories (line 232) | public Map getCategories() { method add (line 242) | private void add(Category category, boolean fatal, Position pos, Strin... method hadWarningOrError (line 266) | public boolean hadWarningOrError() { method hadError (line 275) | public boolean hadError() { method getEntries (line 284) | public List getEntries() { method printErrors (line 293) | public void printErrors(PrintStream out) { FILE: tools/product_config/src/com/android/build/config/Errors.java class Errors (line 37) | public class Errors extends ErrorReporter { FILE: tools/product_config/src/com/android/build/config/FlatConfig.java class FlatConfig (line 29) | public class FlatConfig extends ConfigBase { method getValues (line 33) | public TreeMap getValues() { FILE: tools/product_config/src/com/android/build/config/FlattenConfig.java class FlattenConfig (line 29) | public class FlattenConfig { method FlattenConfig (line 46) | private FlattenConfig(Errors errors, GenericConfig genericConfig) { method flatten (line 63) | public static FlatConfig flatten(Errors errors, GenericConfig genericC... method flattenImpl (line 68) | private FlatConfig flattenImpl() { type AssignCallback (line 101) | interface AssignCallback { method onAssignStatement (line 102) | void onAssignStatement(GenericConfig.Assign assign); type InheritCallback (line 105) | interface InheritCallback { method onInheritStatement (line 106) | void onInheritStatement(GenericConfig.Inherit assign); method forEachStatement (line 117) | private void forEachStatement(Str filename, VarType varType, Set flattenListVars(final Str filename, Set seen1, ... method flattenUnknownVars (line 295) | private void flattenUnknownVars(String filename) { method flattenUnknownVars (line 299) | private void flattenUnknownVars(final Str filename, Set seen) { method flattenInheritsFrom (line 324) | private void flattenInheritsFrom(final String filename) { method flattenInheritsFrom (line 332) | private void flattenInheritsFrom(final Str filename) { method assertVarType (line 364) | private void assertVarType(Str filename, String varName) { method assignToListVar (line 384) | private void assignToListVar(Map vars, String varName, ... method appendToListVar (line 404) | private static void appendToListVar(Map vars, String va... method addWords (line 419) | private static void addWords(List out, Str item) { method flattenAssignList (line 431) | private Str flattenAssignList(GenericConfig.Assign assign, Str previou... method setDefaultKnownVars (line 453) | private void setDefaultKnownVars() { FILE: tools/product_config/src/com/android/build/config/GenericConfig.java class GenericConfig (line 28) | public class GenericConfig extends ConfigBase { class ConfigFile (line 37) | public static class ConfigFile { method ConfigFile (line 49) | public ConfigFile(String filename) { method getFilename (line 53) | public String getFilename() { method addStatement (line 57) | public void addStatement(Statement statement) { method getStatements (line 61) | public ArrayList getStatements() { class Statement (line 69) | public static class Statement { class Assign (line 75) | public static class Assign extends Statement { method Assign (line 82) | public Assign(String varName, Str value) { method Assign (line 92) | public Assign(String varName, List value) { method getName (line 97) | public String getName() { method getValue (line 101) | public List getValue() { class Inherit (line 109) | public static class Inherit extends Statement { method Inherit (line 112) | public Inherit(Str filename) { method getFilename (line 116) | public Str getFilename() { method addConfigFile (line 124) | public ConfigFile addConfigFile(ConfigFile file) { method getFiles (line 128) | public TreeMap getFiles() { FILE: tools/product_config/src/com/android/build/config/Kati.java type Kati (line 24) | public interface Kati { method loadProductConfig (line 25) | public Map loadProductConfig(); FILE: tools/product_config/src/com/android/build/config/KatiCommand.java type KatiCommand (line 22) | public interface KatiCommand { class KatiException (line 23) | public static class KatiException extends Exception { method KatiException (line 26) | public KatiException(List cmd, String stderr) { method getStderr (line 31) | public String getStderr() { method run (line 42) | public String run(String[] args) throws KatiException; FILE: tools/product_config/src/com/android/build/config/KatiCommandImpl.java class KatiCommandImpl (line 25) | public class KatiCommandImpl implements KatiCommand { class OutputReader (line 33) | class OutputReader implements Runnable { method OutputReader (line 37) | OutputReader(InputStream stream, StringBuilder output) { method run (line 42) | @Override method KatiCommandImpl (line 63) | public KatiCommandImpl(Errors errors, Options options) { method run (line 74) | public String run(String[] args) throws KatiException { method waitForProcess (line 117) | private static int waitForProcess(Process proc) { method joinThread (line 129) | private static void joinThread(Thread thread) { FILE: tools/product_config/src/com/android/build/config/KatiImpl.java class KatiImpl (line 27) | public class KatiImpl implements Kati { method getWorkDirPath (line 38) | private String getWorkDirPath() { method getDumpConfigCsvPath (line 43) | private String getDumpConfigCsvPath() { method KatiImpl (line 47) | public KatiImpl(Errors errors, Options options) { method KatiImpl (line 52) | public KatiImpl(Errors errors, Options options, KatiCommand command) { method loadProductConfig (line 58) | @Override FILE: tools/product_config/src/com/android/build/config/Main.java class Main (line 24) | public class Main { method Main (line 28) | public Main(Errors errors, Options options) { method run (line 33) | void run() { method main (line 81) | public static void main(String[] args) { FILE: tools/product_config/src/com/android/build/config/MakeConfig.java class MakeConfig (line 25) | public class MakeConfig extends ConfigBase { type BlockType (line 31) | public enum BlockType { class ConfigFile (line 38) | public static class ConfigFile { method ConfigFile (line 50) | public ConfigFile(String filename) { method getFilename (line 54) | public String getFilename() { method addBlock (line 58) | public void addBlock(Block block) { method getBlocks (line 62) | public ArrayList getBlocks() { class Block (line 70) | public static class Block { method Block (line 75) | public Block(BlockType blockType) { method getBlockType (line 79) | public BlockType getBlockType() { method addVar (line 83) | public void addVar(String varName, Str varValue) { method getVar (line 87) | public Str getVar(String varName) { method getVars (line 91) | public TreeMap getVars() { method setInheritedFile (line 95) | public void setInheritedFile(Str filename) { method getInheritedFile (line 99) | public Str getInheritedFile() { method addConfigFile (line 107) | public ConfigFile addConfigFile(ConfigFile file) { method getConfigFiles (line 119) | public List getConfigFiles() { method printToStream (line 123) | public void printToStream(PrintStream out) { FILE: tools/product_config/src/com/android/build/config/MakeWriter.java class MakeWriter (line 25) | public class MakeWriter { method write (line 32) | public static void write(PrintStream out, GenericConfig config, int fl... method write (line 36) | public static void write(PrintStream out, FlatConfig config, int flags) { method MakeWriter (line 41) | private MakeWriter(int flags) { method writeGeneric (line 46) | private void writeGeneric(PrintStream out, GenericConfig config) { method writeFile (line 61) | private void writeFile(PrintStream out, GenericConfig config, GenericC... method writeAssign (line 76) | private void writeAssign(PrintStream out, GenericConfig config, method writeInherit (line 108) | private void writeInherit(PrintStream out, GenericConfig.Inherit state... class Var (line 117) | private static class Var { method Var (line 118) | Var(String name, Str val) { method writeStrVars (line 126) | private static void writeStrVars(PrintStream out, Map var... method writeFlat (line 139) | private void writeFlat(PrintStream out, FlatConfig config) { FILE: tools/product_config/src/com/android/build/config/Options.java class Options (line 23) | public class Options { type Action (line 24) | public enum Action { method getAction (line 36) | public Action getAction() { method getProduct (line 40) | public String getProduct() { method getVariant (line 44) | public String getVariant() { method getOutDir (line 48) | public String getOutDir() { method getCKatiBin (line 52) | public String getCKatiBin() { method printHelp (line 56) | public static void printHelp(PrintStream out) { class Parser (line 89) | static class Parser { class ParseException (line 90) | private static class ParseException extends Exception { method ParseException (line 91) | public ParseException(String message) { method Parser (line 103) | public Parser(Errors errors, String[] args, Map env) { method parse (line 109) | public Options parse() { method setSkipRequiredArgValidation (line 153) | public void setSkipRequiredArgValidation() { method validateArgs (line 157) | private void validateArgs() { method addMissingArgError (line 171) | private void addMissingArgError(String argName) { method addMissingEnvError (line 176) | private void addMissingEnvError(String envName) { method getNextNonFlagArg (line 181) | private String getNextNonFlagArg() { method requireNextStringArg (line 192) | private String requireNextStringArg(String arg) throws ParseException { method requireNextNumberArg (line 200) | private int requireNextNumberArg(String arg) throws ParseException { method handleErrorCode (line 212) | private void handleErrorCode(String arg, Errors.Level level) throws ... method parse (line 234) | public static Options parse(Errors errors, String[] args, Map getDifferences() { method getVariables (line 138) | static TreeMap getVariables(FlatConfig config) { method getModifiedVars (line 166) | public static Map getModifiedVars(Map before, FILE: tools/product_config/src/com/android/build/config/Position.java class Position (line 25) | public class Position implements Comparable { method Position (line 37) | public Position() { method Position (line 42) | public Position(String file) { method Position (line 47) | public Position(String file, int line) { method compareTo (line 56) | public int compareTo(Position that) { method getFile (line 64) | public String getFile() { method getLine (line 68) | public int getLine() { method parse (line 76) | public static Position parse(String str) { method toString (line 99) | @Override FILE: tools/product_config/src/com/android/build/config/RegexSet.java class RegexSet (line 24) | public class RegexSet { method RegexSet (line 27) | public RegexSet(String... patterns) { method matches (line 34) | public boolean matches(String s) { FILE: tools/product_config/src/com/android/build/config/Str.java class Str (line 25) | public class Str implements Comparable { method Str (line 29) | public Str(String s) { method Str (line 34) | public Str(Position pos, String s) { method length (line 39) | public int length() { method toString (line 43) | @Override method getPosition (line 48) | public Position getPosition() { method equals (line 56) | @Override method hashCode (line 65) | @Override method compareTo (line 70) | @Override method toList (line 75) | public static ArrayList toList(Position pos, List list) { FILE: tools/product_config/src/com/android/build/config/Value.java class Value (line 27) | public class Value { method Value (line 37) | public Value(VarType varType) { method Value (line 49) | public Value(VarType varType, Str str) { method Value (line 55) | public Value(List list) { method getVarType (line 61) | public VarType getVarType() { method getStr (line 65) | public Str getStr() { method getList (line 69) | public List getList() { method normalize (line 76) | public static String normalize(String str) { method normalize (line 86) | public static Str normalize(Str str) { method normalize (line 96) | public static Str normalize(Value val) { method oneLinePerWord (line 131) | public static String oneLinePerWord(Value val, String nullValue) { method oneLinePerWord (line 149) | public static String oneLinePerWord(Str str, String nullValue) { method debugString (line 165) | public static String debugString(Value val) { method getPositions (line 205) | public List getPositions() { FILE: tools/product_config/src/com/android/build/config/VarType.java type VarType (line 22) | public enum VarType { FILE: tools/product_config/test/com/android/build/config/CsvParserTest.java class CsvParserTest (line 31) | public class CsvParserTest { method listsToStrings (line 32) | public String listsToStrings(String[] expected, List actual) { method assertLineEquals (line 37) | public void assertLineEquals(CsvParser.Line actual, int lineno, String... method testEmptyString (line 57) | @Test method testLexerOneCharacter (line 65) | @Test method testLexerTwoFieldsNoNewline (line 74) | @Test method testLexerTwoFieldsNewline (line 83) | @Test method testEndsWithTwoNewlines (line 92) | @Test method testOnlyNewlines (line 101) | @Test method testLexerComplex (line 110) | @Test method testEndInsideQuoted (line 126) | @Test method testCharacterAfterQuotedField (line 137) | @Test FILE: tools/product_config/test/com/android/build/config/ErrorReporterTest.java class ErrorReporterTest (line 25) | public class ErrorReporterTest { method testAdding (line 29) | @Test method testNoError (line 53) | @Test method testWarning (line 65) | @Test method testHidden (line 79) | @Test method testSetLevel (line 93) | @Test method testSetLevelFails (line 106) | @Test FILE: tools/product_config/test/com/android/build/config/OptionsTest.java class OptionsTest (line 24) | public class OptionsTest { method parse (line 26) | private Options parse(Errors errors, String[] args) { method testErrorMissingLast (line 35) | @Test method testErrorMissingNotLast (line 48) | @Test method testErrorNotNumeric (line 61) | @Test method testErrorInvalidError (line 74) | @Test method testErrorOne (line 87) | @Test method testWarningOne (line 100) | @Test method testHideOne (line 113) | @Test method testEnv (line 126) | @Test FILE: tools/product_config/test/com/android/build/config/PositionTest.java class PositionTest (line 24) | public class PositionTest { method testParseEmpty (line 26) | @Test method testParseOnlyFile (line 34) | @Test method testParseBoth (line 42) | @Test method testParseEndsWithColon (line 50) | @Test method testParseEndsWithSpace (line 58) | @Test FILE: tools/product_config/test/com/android/build/config/TestErrors.java class TestErrors (line 27) | public class TestErrors extends ErrorReporter { method assertHasEntry (line 49) | public void assertHasEntry(Errors.Category category) { method getErrorMessages (line 53) | public String getErrorMessages() { method assertHasEntry (line 57) | public static void assertHasEntry(Errors.Category category, ErrorRepor... method getErrorMessages (line 70) | public static String getErrorMessages(ErrorReporter errors) { FILE: tools/product_config/test/com/android/build/config/TestRunner.java class TestRunner (line 25) | public class TestRunner { method main (line 26) | public static void main(String[] args) { FILE: tools/rbcrun/host.go type ExecutionMode (line 30) | type ExecutionMode constant ExecutionModeRbc (line 32) | ExecutionModeRbc ExecutionMode = iota constant ExecutionModeScl (line 33) | ExecutionModeScl ExecutionMode = iota constant allowExternalEntrypointKey (line 36) | allowExternalEntrypointKey = "allowExternalEntrypoint" constant callingFileKey (line 37) | callingFileKey = "callingFile" constant executionModeKey (line 38) | executionModeKey = "executionMode" constant shellKey (line 39) | shellKey = "shell" type modentry (line 41) | type modentry struct function isSymlink (line 64) | func isSymlink(filepath string) (bool, error) { function cleanModuleName (line 74) | func cleanModuleName(moduleName string, callerDir string, allowExternalP... function loader (line 124) | func loader(thread *starlark.Thread, module string) (starlark.StringDict... function wildcard (line 209) | func wildcard(_ *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, function find (line 244) | func find(_ *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, function shell (line 284) | func shell(thread *starlark.Thread, b *starlark.Builtin, args starlark.T... function makeStringList (line 311) | func makeStringList(items []string) *starlark.List { function log (line 319) | func log(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tu... function Run (line 348) | func Run(filename string, src interface{}, mode ExecutionMode, allowExte... FILE: tools/rbcrun/host_test.go function init (line 35) | func init() { function starlarktestSetup (line 39) | func starlarktestSetup() { function testSetup (line 57) | func testSetup(t *testing.T) *starlark.Thread { function dataDir (line 72) | func dataDir() string { function exerciseStarlarkTestFile (line 77) | func exerciseStarlarkTestFile(t *testing.T, starFile string) { function TestFileOps (line 104) | func TestFileOps(t *testing.T) { function TestLoad (line 115) | func TestLoad(t *testing.T) { function TestBzlLoadsScl (line 140) | func TestBzlLoadsScl(t *testing.T) { function TestNonEntrypointBzlLoadsScl (line 157) | func TestNonEntrypointBzlLoadsScl(t *testing.T) { function TestSclLoadsBzl (line 174) | func TestSclLoadsBzl(t *testing.T) { function TestCantLoadSymlink (line 189) | func TestCantLoadSymlink(t *testing.T) { function TestShell (line 204) | func TestShell(t *testing.T) { FILE: tools/rbcrun/rbcrun/rbcrun.go function getEntrypointStarlarkFile (line 36) | func getEntrypointStarlarkFile() string { function getMode (line 53) | func getMode() rbcrun.ExecutionMode { function cleanStringForMake (line 69) | func cleanStringForMake(s string) (string, error) { function getValueInMakeFormat (line 78) | func getValueInMakeFormat(value starlark.Value, allowLists bool) (string... function printVarsInMakeFormat (line 109) | func printVarsInMakeFormat(globals starlark.StringDict) error { function main (line 145) | func main() { function quit (line 187) | func quit(format string, s ...interface{}) { FILE: tools/record-finalized-flags/src/api_signature_files.rs function extract_flagged_api_flags (line 25) | pub(crate) fn extract_flagged_api_flags(mut reader: R) -> Resul... function test (line 38) | fn test() { FILE: tools/record-finalized-flags/src/finalized_flags.rs function read_finalized_flags (line 24) | pub(crate) fn read_finalized_flags(mut reader: R) -> Result( function test_disabled_or_read_write_flags_are_ignored (line 48) | fn test_disabled_or_read_write_flags_are_ignored() { FILE: tools/record-finalized-flags/src/main.rs type FlagId (line 27) | pub(crate) type FlagId = String; constant ABOUT (line 29) | const ABOUT: &str = "Create a new prebuilts/sdk//finalized-flag... type Cli (line 48) | struct Cli { function calculate_new_finalized_flags (line 61) | fn calculate_new_finalized_flags( function main (line 73) | fn main() -> Result<()> { function test (line 107) | fn test() { FILE: tools/releasetools/add_img_to_target_files.py function ParseAvbFooter (line 91) | def ParseAvbFooter(img_path) -> avbtool.AvbFooter: function GetCareMap (line 98) | def GetCareMap(which, imgname): function AddCareMapForAbOta (line 162) | def AddCareMapForAbOta(output_file, ab_partitions, image_paths): class OutputFile (line 244) | class OutputFile(object): method __init__ (line 254) | def __init__(self, output_zip, input_dir, *args): method Write (line 262) | def Write(self, compress_type=None): function AddSystem (line 268) | def AddSystem(output_zip, recovery_img=None, boot_img=None): function AddSystemOther (line 305) | def AddSystemOther(output_zip): function AddVendor (line 317) | def AddVendor(output_zip, recovery_img=None, boot_img=None): function AddProduct (line 354) | def AddProduct(output_zip): function AddSystemExt (line 371) | def AddSystemExt(output_zip): function AddOdm (line 389) | def AddOdm(output_zip): function AddVendorDlkm (line 405) | def AddVendorDlkm(output_zip): function AddOdmDlkm (line 421) | def AddOdmDlkm(output_zip): function AddSystemDlkm (line 437) | def AddSystemDlkm(output_zip): function AddDtbo (line 453) | def AddDtbo(output_zip): function AddPvmfw (line 490) | def AddPvmfw(output_zip): function AddCustomImages (line 526) | def AddCustomImages(output_zip, partition_name, image_list): function CreateImage (line 579) | def CreateImage(input_dir, info_dict, what, output_file, block_list=None): function AddUserdata (line 625) | def AddUserdata(output_zip): function AddVBMeta (line 661) | def AddVBMeta(output_zip, partitions, name, needed_partitions): function AddCache (line 697) | def AddCache(output_zip): function CheckAbOtaImages (line 721) | def CheckAbOtaImages(output_zip, ab_partitions): function AddPackRadioImages (line 753) | def AddPackRadioImages(output_zip, images): function AddSuperEmpty (line 785) | def AddSuperEmpty(output_zip): function AddSuperSplit (line 796) | def AddSuperSplit(output_zip): function ReplaceUpdatedFiles (line 809) | def ReplaceUpdatedFiles(zip_filename, files_list): function HasPartition (line 826) | def HasPartition(partition_name): function AddApexInfo (line 838) | def AddApexInfo(output_zip): function AddVbmetaDigest (line 855) | def AddVbmetaDigest(output_zip): function AddImagesToTargetFiles (line 882) | def AddImagesToTargetFiles(filename): function OptimizeCompressedEntries (line 1188) | def OptimizeCompressedEntries(zipfile_path): function main (line 1219) | def main(argv): FILE: tools/releasetools/apex_utils.py class ApexInfoError (line 42) | class ApexInfoError(Exception): method __init__ (line 45) | def __init__(self, message): class ApexSigningError (line 49) | class ApexSigningError(Exception): method __init__ (line 52) | def __init__(self, message): class ApexApkSigner (line 56) | class ApexApkSigner(object): method __init__ (line 59) | def __init__(self, apex_path, key_passwords, codename_to_api_level_map... method ProcessApexFile (line 73) | def ProcessApexFile(self, apk_keys, payload_key, signing_args=None): method ExtractApexPayload (line 111) | def ExtractApexPayload(self, apex_path): method SignContentsInPayload (line 131) | def SignContentsInPayload(self, payload_dir, apk_entries, apk_keys, pa... method RepackApexPayload (line 166) | def RepackApexPayload(self, payload_dir, payload_key, signing_args=None): function SignApexPayload (line 220) | def SignApexPayload(avbtool, payload_file, payload_key_path, payload_key... function VerifyApexPayload (line 249) | def VerifyApexPayload(avbtool, payload_file, payload_key, no_hashtree=Fa... function ParseApexPayloadInfo (line 263) | def ParseApexPayloadInfo(avbtool, payload_path): function SignUncompressedApex (line 334) | def SignUncompressedApex(avbtool, apex_file, payload_key, container_key, function SignCompressedApex (line 410) | def SignCompressedApex(avbtool, apex_file, payload_key, container_key, function SignApex (line 476) | def SignApex(avbtool, apex_data, payload_key, container_key, container_pw, function GetApexInfoFromTargetFiles (line 537) | def GetApexInfoFromTargetFiles(input_file): function GetApexInfoForPartition (line 558) | def GetApexInfoForPartition(input_file, partition): FILE: tools/releasetools/blockimgdiff.py function compute_patch (line 44) | def compute_patch(srcfile, tgtfile, imgdiff=False): class Transfer (line 63) | class Transfer(object): method __init__ (line 64) | def __init__(self, tgt_name, src_name, tgt_ranges, src_ranges, tgt_sha1, method patch_info (line 88) | def patch_info(self): method patch_info (line 92) | def patch_info(self, info): method NetStashChange (line 97) | def NetStashChange(self): method ConvertToNew (line 101) | def ConvertToNew(self): method __str__ (line 108) | def __str__(self): class HeapItem (line 114) | class HeapItem(object): method __init__ (line 115) | def __init__(self, item): method clear (line 121) | def clear(self): method __bool__ (line 124) | def __bool__(self): method __eq__ (line 131) | def __eq__(self, other): method __le__ (line 134) | def __le__(self, other): class ImgdiffStats (line 138) | class ImgdiffStats(object): method __init__ (line 165) | def __init__(self): method Log (line 168) | def Log(self, filename, reason): method Report (line 185) | def Report(self): class BlockImageDiff (line 202) | class BlockImageDiff(object): method __init__ (line 241) | def __init__(self, tgt, src=None, threads=None, version=4, method max_stashed_size (line 275) | def max_stashed_size(self): method FileTypeSupportedByImgdiff (line 279) | def FileTypeSupportedByImgdiff(filename): method CanUseImgdiff (line 283) | def CanUseImgdiff(self, name, tgt_ranges, src_ranges, large_apk=False): method Compute (line 333) | def Compute(self, prefix): method WriteTransfers (line 379) | def WriteTransfers(self, prefix): method ReviseStashSize (line 587) | def ReviseStashSize(self, ignore_stash_limit=False): method ComputePatches (line 704) | def ComputePatches(self, prefix): method AssertSha1Good (line 779) | def AssertSha1Good(self): method AssertSequenceGood (line 794) | def AssertSequenceGood(self): method FindSequenceForTransfers (line 830) | def FindSequenceForTransfers(self): method ImproveVertexSequence (line 856) | def ImproveVertexSequence(self): method ReverseBackwardEdges (line 897) | def ReverseBackwardEdges(self): method FindVertexSequence (line 948) | def FindVertexSequence(self): method GenerateDigraph (line 1061) | def GenerateDigraph(self): method ComputePatchesForInputList (line 1105) | def ComputePatchesForInputList(self, diff_queue, compress_target): method SelectAndConvertDiffTransfersToNew (line 1204) | def SelectAndConvertDiffTransfersToNew(self, violated_stash_blocks): method FindTransfers (line 1275) | def FindTransfers(self): method AbbreviateSourceNames (line 1615) | def AbbreviateSourceNames(self): method AssertPartition (line 1623) | def AssertPartition(total, seq): FILE: tools/releasetools/build_image.py class BuildImageError (line 56) | class BuildImageError(Exception): method __init__ (line 59) | def __init__(self, message): function GetDiskUsage (line 63) | def GetDiskUsage(path): function GetInodeUsage (line 77) | def GetInodeUsage(path): function GetFilesystemCharacteristics (line 97) | def GetFilesystemCharacteristics(fs_type, image_path, sparse_image=True): function UnsparseImage (line 129) | def UnsparseImage(sparse_image_path, replace=True): function ConvertBlockMapToBaseFs (line 147) | def ConvertBlockMapToBaseFs(block_map_file): function SetUpInDirAndFsConfig (line 154) | def SetUpInDirAndFsConfig(origin_in, prop_dict): function CheckHeadroom (line 208) | def CheckHeadroom(ext4fs_output, prop_dict): function CalculateSizeAndReserved (line 247) | def CalculateSizeAndReserved(prop_dict, size): function BuildImageMkfs (line 266) | def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config): function RunE2fsck (line 485) | def RunE2fsck(out_file): function RunErofsFsck (line 496) | def RunErofsFsck(out_file): function SetUUIDIfNotExist (line 505) | def SetUUIDIfNotExist(image_props): function BuildImage (line 519) | def BuildImage(in_dir, prop_dict, out_file, target_out=None): function TryParseFingerprint (line 668) | def TryParseFingerprint(glob_dict: dict): function TryParseFingerprintAndTimestamp (line 680) | def TryParseFingerprintAndTimestamp(glob_dict): function ImagePropFromGlobalDict (line 696) | def ImagePropFromGlobalDict(glob_dict, mount_point): function LoadGlobalDict (line 845) | def LoadGlobalDict(filename): function GlobalDictFromImageProp (line 859) | def GlobalDictFromImageProp(image_prop, mount_point): function BuildVBMeta (line 889) | def BuildVBMeta(in_dir, glob_dict, output_path): function BuildImageOrVBMeta (line 938) | def BuildImageOrVBMeta(input_directory, target_out, glob_dict, image_pro... function CopyInputDirectory (line 950) | def CopyInputDirectory(src, dst, filter_file): function main (line 969) | def main(argv): FILE: tools/releasetools/build_super_image.py function GetArgumentsForImage (line 61) | def GetArgumentsForImage(partition, group, image=None): function BuildSuperImageFromDict (line 72) | def BuildSuperImageFromDict(info_dict, output): function BuildSuperImageFromExtractedTargetFiles (line 151) | def BuildSuperImageFromExtractedTargetFiles(inp, out): function BuildSuperImageFromTargetFiles (line 176) | def BuildSuperImageFromTargetFiles(inp, out): function BuildSuperImage (line 181) | def BuildSuperImage(inp, out): function main (line 203) | def main(argv): FILE: tools/releasetools/check_ota_package_signature.py function CertUsesSha256 (line 37) | def CertUsesSha256(cert): function VerifyPackage (line 52) | def VerifyPackage(cert, package): function VerifyAbOtaPayload (line 141) | def VerifyAbOtaPayload(cert, package): function main (line 169) | def main(): FILE: tools/releasetools/check_partition_sizes.py class Expression (line 44) | class Expression(object): method __init__ (line 45) | def __init__(self, desc, expr, value=None): method CheckLe (line 53) | def CheckLe(self, other, level=logging.ERROR): method CheckLt (line 66) | def CheckLt(self, other, level=logging.ERROR): method CheckEq (line 80) | def CheckEq(self, other): class DeviceType (line 91) | class DeviceType(object): method Get (line 98) | def Get(info_dict): class Dap (line 109) | class Dap(object): method Get (line 115) | def Get(info_dict): class DynamicPartitionSizeChecker (line 123) | class DynamicPartitionSizeChecker(object): method __init__ (line 124) | def __init__(self, info_dict): method _ReadSizeOfPartition (line 134) | def _ReadSizeOfPartition(self, name): method _RoundPartitionSize (line 142) | def _RoundPartitionSize(self, size): method _CheckSuperPartitionSize (line 148) | def _CheckSuperPartitionSize(self): method _CheckSumOfPartitionSizes (line 161) | def _CheckSumOfPartitionSizes(self, max_size, partition_names, method _NumDeviceTypesInSuper (line 174) | def _NumDeviceTypesInSuper(self): method _CheckAllPartitionSizes (line 208) | def _CheckAllPartitionSizes(self): method Run (line 275) | def Run(self): function CheckPartitionSizes (line 281) | def CheckPartitionSizes(inp): function main (line 290) | def main(argv): FILE: tools/releasetools/check_target_files_signatures.py function AddProblem (line 72) | def AddProblem(msg): function Push (line 77) | def Push(msg): function Pop (line 81) | def Pop(): function Banner (line 85) | def Banner(msg): function GetCertSubject (line 91) | def GetCertSubject(cert): class CertDB (line 106) | class CertDB(object): method __init__ (line 108) | def __init__(self): method Add (line 111) | def Add(self, cert_digest, subject, name=None): method Get (line 120) | def Get(self, cert_digest): method FindLocalCerts (line 124) | def FindLocalCerts(self): function CertFromPKCS7 (line 147) | def CertFromPKCS7(data, filename): class APK (line 173) | class APK(object): method __init__ (line 175) | def __init__(self, full_filename, filename): method ReadCertsDeprecated (line 188) | def ReadCertsDeprecated(self, full_filename): method RecordCerts (line 209) | def RecordCerts(self, full_filename): method ReadManifest (line 254) | def ReadManifest(self, full_filename): class TargetFiles (line 284) | class TargetFiles(object): method __init__ (line 285) | def __init__(self): method LoadZipFile (line 292) | def LoadZipFile(self, filename): method CheckSharedUids (line 336) | def CheckSharedUids(self): method CheckExternalSignatures (line 362) | def CheckExternalSignatures(self): method PrintCerts (line 381) | def PrintCerts(self): method CompareWith (line 410) | def CompareWith(self, other): function main (line 461) | def main(argv): FILE: tools/releasetools/check_target_files_vintf.py function GetDirmap (line 59) | def GetDirmap(input_tmp): function GetArgsForSkus (line 74) | def GetArgsForSkus(info_dict): function GetArgsForShippingApiLevel (line 89) | def GetArgsForShippingApiLevel(info_dict): function GetArgsForKernel (line 98) | def GetArgsForKernel(input_tmp): function CheckVintfFromExtractedTargetFiles (line 110) | def CheckVintfFromExtractedTargetFiles(input_tmp, info_dict=None): function GetVintfFileList (line 172) | def GetVintfFileList(): function GetVintfApexUnzipPatterns (line 200) | def GetVintfApexUnzipPatterns(): function PrepareApexDirectory (line 210) | def PrepareApexDirectory(inp, dirmap): function CheckVintfFromTargetFiles (line 239) | def CheckVintfFromTargetFiles(inp, info_dict=None): function CheckVintf (line 255) | def CheckVintf(inp, info_dict=None): function CheckVintfIfTrebleEnabled (line 278) | def CheckVintfIfTrebleEnabled(target_files, target_info): function HasTrebleEnabled (line 305) | def HasTrebleEnabled(target_files, target_info): function HasPartition (line 317) | def HasPartition(target_files_zip, partition): function main (line 325) | def main(argv): FILE: tools/releasetools/common.py class OptionHandler (line 55) | class OptionHandler: class Options (line 59) | class Options(object): method __init__ (line 61) | def __init__(self): class AvbChainedPartitionArg (line 151) | class AvbChainedPartitionArg: method to_string (line 157) | def to_string(self): class ErrorCode (line 163) | class ErrorCode(object): class ExternalError (line 192) | class ExternalError(RuntimeError): function InitLogging (line 196) | def InitLogging(): function FindHostToolPath (line 248) | def FindHostToolPath(tool_name): function Run (line 265) | def Run(args, verbose=None, **kwargs): function RunAndCheckOutput (line 301) | def RunAndCheckOutput(args, verbose=None, **kwargs): function RoundUpTo4K (line 334) | def RoundUpTo4K(value): function CloseInheritedPipes (line 339) | def CloseInheritedPipes(): class BuildInfo (line 355) | class BuildInfo(object): method __init__ (line 396) | def __init__(self, info_dict, oem_dicts=None, use_legacy_id=False): method is_ab (line 453) | def is_ab(self): method device (line 457) | def device(self): method fingerprint (line 461) | def fingerprint(self): method is_vabc (line 465) | def is_vabc(self): method is_android_r (line 469) | def is_android_r(self): method is_release_key (line 474) | def is_release_key(self): method vabc_compression_param (line 479) | def vabc_compression_param(self): method vabc_cow_version (line 483) | def vabc_cow_version(self): method vendor_api_level (line 487) | def vendor_api_level(self): method is_vabc_xor (line 505) | def is_vabc_xor(self): method vendor_suppressed_vabc (line 512) | def vendor_suppressed_vabc(self): method oem_props (line 519) | def oem_props(self): method __getitem__ (line 522) | def __getitem__(self, key): method __setitem__ (line 525) | def __setitem__(self, key, value): method get (line 528) | def get(self, key, default=None): method items (line 531) | def items(self): method _GetRawBuildProp (line 534) | def _GetRawBuildProp(self, prop, partition): method GetPartitionBuildProp (line 542) | def GetPartitionBuildProp(self, prop, partition): method GetBuildProp (line 562) | def GetBuildProp(self, prop): method _ResolveRoProductBuildProp (line 576) | def _ResolveRoProductBuildProp(self, prop): method _GetRoProductPropsDefaultSourceOrder (line 604) | def _GetRoProductPropsDefaultSourceOrder(self): method _GetPlatformVersion (line 623) | def _GetPlatformVersion(self): method _GetBuildId (line 636) | def _GetBuildId(self): method _GetPartitionPlatformVersion (line 664) | def _GetPartitionPlatformVersion(self, partition): method GetOemProperty (line 672) | def GetOemProperty(self, key): method GetPartitionFingerprint (line 677) | def GetPartitionFingerprint(self, partition): method CalculatePartitionFingerprint (line 680) | def CalculatePartitionFingerprint(self, partition): method CalculateFingerprint (line 695) | def CalculateFingerprint(self): method WriteMountOemScript (line 715) | def WriteMountOemScript(self, script): method WriteDeviceAssertions (line 720) | def WriteDeviceAssertions(self, script, oem_no_mount): function DoesInputFileContain (line 742) | def DoesInputFileContain(input_file, fn): function ReadBytesFromInputFile (line 757) | def ReadBytesFromInputFile(input_file, fn): function ReadFromInputFile (line 777) | def ReadFromInputFile(input_file, fn): function WriteBytesToInputFile (line 782) | def WriteBytesToInputFile(input_file, fn, data): function WriteToInputFile (line 804) | def WriteToInputFile(input_file, fn, str: str): function ExtractFromInputFile (line 809) | def ExtractFromInputFile(input_file, fn): class RamdiskFormat (line 832) | class RamdiskFormat(object): function GetRamdiskFormat (line 837) | def GetRamdiskFormat(info_dict): function LoadInfoDict (line 845) | def LoadInfoDict(input_file, repacking=False): function LoadListFromFile (line 997) | def LoadListFromFile(file_path): function LoadDictionaryFromFile (line 1002) | def LoadDictionaryFromFile(file_path): function LoadDictionaryFromLines (line 1007) | def LoadDictionaryFromLines(lines): class PartitionBuildProps (line 1019) | class PartitionBuildProps(object): method __init__ (line 1042) | def __init__(self, input_file, name, placeholder_values=None): method FromDictionary (line 1054) | def FromDictionary(name, build_props): method FromInputFile (line 1062) | def FromInputFile(input_file, name, placeholder_values=None, ramdisk_f... method _ReadBootPropFile (line 1076) | def _ReadBootPropFile(input_file, partition_name, ramdisk_format): method _ReadPartitionPropFile (line 1094) | def _ReadPartitionPropFile(input_file, name): method FromBuildPropFile (line 1112) | def FromBuildPropFile(name, build_prop_file): method _LoadBuildProp (line 1120) | def _LoadBuildProp(self, data): method _ImportParser (line 1140) | def _ImportParser(self, line): method __getstate__ (line 1178) | def __getstate__(self): method GetProp (line 1185) | def GetProp(self, prop): function LoadRecoveryFSTab (line 1189) | def LoadRecoveryFSTab(read_helper, fstab_version, recovery_fstab_path): function _FindAndLoadRecoveryFstab (line 1251) | def _FindAndLoadRecoveryFstab(info_dict, input_file, read_helper): function DumpInfoDict (line 1280) | def DumpInfoDict(d): function MergeDynamicPartitionInfoDicts (line 1285) | def MergeDynamicPartitionInfoDicts(framework_dict, vendor_dict): function PartitionMapFromTargetFiles (line 1357) | def PartitionMapFromTargetFiles(target_files_dir): function SharedUidPartitionViolations (line 1381) | def SharedUidPartitionViolations(uid_dict, partition_groups): function RunVendoredHostInitVerifier (line 1413) | def RunVendoredHostInitVerifier(product_out, partition_map): function RunHostInitVerifier (line 1428) | def RunHostInitVerifier(product_out, partition_map, tool="host_init_veri... function AppendAVBSigningArgs (line 1459) | def AppendAVBSigningArgs(cmd, partition, avb_salt=None): function ResolveAVBSigningPathArgs (line 1474) | def ResolveAVBSigningPathArgs(split_args): function GetAvbPartitionArg (line 1501) | def GetAvbPartitionArg(partition, image, info_dict=None): function GetAvbPartitionsArg (line 1537) | def GetAvbPartitionsArg(partitions, function GetAvbChainedPartitionArg (line 1592) | def GetAvbChainedPartitionArg(partition, info_dict, key=None): function BuildVBMeta (line 1618) | def BuildVBMeta(image_path, partitions, name, needed_partitions, function _MakeRamdisk (line 1693) | def _MakeRamdisk(sourcedir, fs_config_file=None, function _BuildBootableImage (line 1725) | def _BuildBootableImage(image_name, sourcedir, fs_config_file, function _SignBootableImage (line 1866) | def _SignBootableImage(image_path, prebuilt_name, partition_name, function HasRamdisk (line 1910) | def HasRamdisk(partition_name, info_dict=None): function GetBootableImage (line 1937) | def GetBootableImage(name, prebuilt_name, unpack_dir, tree_subdir, function _BuildVendorBootImage (line 1983) | def _BuildVendorBootImage(sourcedir, fs_config_file, partition_name, inf... function GetVendorBootImage (line 2096) | def GetVendorBootImage(name, prebuilt_name, unpack_dir, tree_subdir, function GetVendorKernelBootImage (line 2121) | def GetVendorKernelBootImage(name, prebuilt_name, unpack_dir, tree_subdir, function Gunzip (line 2145) | def Gunzip(in_filename, out_filename): function UnzipSingleFile (line 2152) | def UnzipSingleFile(input_zip: zipfile.ZipFile, info: zipfile.ZipInfo, d... function UnzipToDir (line 2185) | def UnzipToDir(filename, dirname, patterns=None): function UnzipTemp (line 2237) | def UnzipTemp(filename, patterns=None): function GetUserImage (line 2263) | def GetUserImage(which, tmpdir, input_zip, function GetNonSparseImage (line 2308) | def GetNonSparseImage(which, tmpdir): function GetSparseImage (line 2329) | def GetSparseImage(which, tmpdir, input_zip, allow_shared_blocks): function GetKeyPasswords (line 2398) | def GetKeyPasswords(keylist): function GetMinSdkVersion (line 2449) | def GetMinSdkVersion(apk_name): function GetMinSdkVersionInt (line 2493) | def GetMinSdkVersionInt(apk_name, codename_to_api_level_map): function SignFile (line 2530) | def SignFile(input_name, output_name, key, password, min_api_level=None, function CheckSize (line 2588) | def CheckSize(data, target, info_dict): function ReadApkCerts (line 2641) | def ReadApkCerts(tf_zip): function Usage (line 2746) | def Usage(docstring): function ParseOptions (line 2751) | def ParseOptions(argv, function MakeTempFile (line 2850) | def MakeTempFile(prefix='tmp', suffix=''): function MakeTempDir (line 2859) | def MakeTempDir(prefix='tmp', suffix=''): function Cleanup (line 2870) | def Cleanup(): class PasswordManager (line 2881) | class PasswordManager(object): method __init__ (line 2882) | def __init__(self): method GetPasswords (line 2886) | def GetPasswords(self, items): method PromptResult (line 2923) | def PromptResult(self, current): # pylint: disable=no-self-use method UpdateAndReadFile (line 2940) | def UpdateAndReadFile(self, current): method ReadFile (line 2962) | def ReadFile(self): function ZipWrite (line 2984) | def ZipWrite(zip_file, filename, arcname=None, perms=0o644, function ZipWriteStr (line 3027) | def ZipWriteStr(zip_file: zipfile.ZipFile, zinfo_or_arcname, data, perms... function ZipExclude (line 3077) | def ZipExclude(input_zip, output_zip, entries, force=False): function ZipDelete (line 3106) | def ZipDelete(zip_filename, entries, force=False): function ZipClose (line 3122) | def ZipClose(zip_file): class DeviceSpecificParams (line 3134) | class DeviceSpecificParams(object): method __init__ (line 3137) | def __init__(self, **kwargs): method _DoCall (line 3166) | def _DoCall(self, function_name, *args, **kwargs): method FullOTA_Assertions (line 3176) | def FullOTA_Assertions(self): method FullOTA_InstallBegin (line 3182) | def FullOTA_InstallBegin(self): method FullOTA_GetBlockDifferences (line 3186) | def FullOTA_GetBlockDifferences(self): method FullOTA_InstallEnd (line 3193) | def FullOTA_InstallEnd(self): method IncrementalOTA_Assertions (line 3198) | def IncrementalOTA_Assertions(self): method IncrementalOTA_VerifyBegin (line 3204) | def IncrementalOTA_VerifyBegin(self): method IncrementalOTA_VerifyEnd (line 3210) | def IncrementalOTA_VerifyEnd(self): method IncrementalOTA_InstallBegin (line 3216) | def IncrementalOTA_InstallBegin(self): method IncrementalOTA_GetBlockDifferences (line 3221) | def IncrementalOTA_GetBlockDifferences(self): method IncrementalOTA_InstallEnd (line 3228) | def IncrementalOTA_InstallEnd(self): method VerifyOTA_Assertions (line 3234) | def VerifyOTA_Assertions(self): class File (line 3238) | class File(object): method __init__ (line 3239) | def __init__(self, name, data, compress_size=None): method FromLocalFile (line 3247) | def FromLocalFile(cls, name, diskname): method WriteToTemp (line 3253) | def WriteToTemp(self): method WriteToDir (line 3259) | def WriteToDir(self, d): method AddToZip (line 3265) | def AddToZip(self, z, compression=None): class Difference (line 3278) | class Difference(object): method __init__ (line 3279) | def __init__(self, tf, sf, diff_program=None): method ComputePatch (line 3285) | def ComputePatch(self): method GetPatch (line 3343) | def GetPatch(self): function ComputeDifferences (line 3352) | def ComputeDifferences(diffs): class BlockDifference (line 3399) | class BlockDifference(object): method __init__ (line 3400) | def __init__(self, partition, tgt, src=None, check_first_block=False, method required_cache (line 3456) | def required_cache(self): method WriteScript (line 3459) | def WriteScript(self, script, output_zip, progress=None, method WriteStrictVerifyScript (line 3474) | def WriteStrictVerifyScript(self, script): method WriteVerifyScript (line 3493) | def WriteVerifyScript(self, script, touched_blocks_only=False): method WritePostInstallVerifyScript (line 3563) | def WritePostInstallVerifyScript(self, script): method _WriteUpdate (line 3606) | def _WriteUpdate(self, script, output_zip): method _HashBlocks (line 3653) | def _HashBlocks(self, source, ranges): # pylint: disable=no-self-use method _HashZeroBlocks (line 3662) | def _HashZeroBlocks(self, num_blocks): # pylint: disable=no-self-use function GetTypeAndDevice (line 3687) | def GetTypeAndDevice(mount_point, info, check_no_slot=True): function GetTypeAndDeviceExpr (line 3703) | def GetTypeAndDeviceExpr(mount_point, info): function GetEntryForDevice (line 3718) | def GetEntryForDevice(fstab, device): function ParseCertificate (line 3731) | def ParseCertificate(data): function ExtractPublicKey (line 3752) | def ExtractPublicKey(cert): function ExtractAvbPublicKey (line 3776) | def ExtractAvbPublicKey(avbtool, key): function MakeRecoveryPatch (line 3792) | def MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img, class DynamicPartitionUpdate (line 3913) | class DynamicPartitionUpdate(object): method __init__ (line 3914) | def __init__(self, src_group=None, tgt_group=None, progress=None, method src_size (line 3922) | def src_size(self): method tgt_size (line 3928) | def tgt_size(self): method _GetSparseImageSize (line 3934) | def _GetSparseImageSize(img): class DynamicGroupUpdate (line 3940) | class DynamicGroupUpdate(object): method __init__ (line 3941) | def __init__(self, src_size=None, tgt_size=None): class DynamicPartitionsDifference (line 3947) | class DynamicPartitionsDifference(object): method __init__ (line 3948) | def __init__(self, info_dict, block_diffs, progress_dict=None, method WriteScript (line 4033) | def WriteScript(self, script, output_zip, write_verify_script=False): method _Compute (line 4068) | def _Compute(self): function GetBootImageBuildProp (line 4132) | def GetBootImageBuildProp(boot_img, ramdisk_format=RamdiskFormat.LZ4): function GetBootImageTimestamp (line 4184) | def GetBootImageTimestamp(boot_img): function IsSparseImage (line 4217) | def IsSparseImage(filepath): function UnsparseImage (line 4226) | def UnsparseImage(filepath, target_path=None): function ParseUpdateEngineConfig (line 4237) | def ParseUpdateEngineConfig(path: str): FILE: tools/releasetools/create_brick_ota.py function CreateBrickOta (line 44) | def CreateBrickOta(product_name: str, output_path: Path, extra_wipe_part... function main (line 61) | def main(argv): FILE: tools/releasetools/edify_generator.py class EdifyGenerator (line 19) | class EdifyGenerator(object): method __init__ (line 23) | def __init__(self, version, info, fstab=None): method required_cache (line 35) | def required_cache(self): method WordWrap (line 40) | def WordWrap(cmd, linelen=80): method AppendScript (line 67) | def AppendScript(self, other): method AssertOemProperty (line 72) | def AssertOemProperty(self, name, values, oem_no_mount): method AssertSomeFingerprint (line 96) | def AssertSomeFingerprint(self, *fp): method AssertSomeThumbprint (line 107) | def AssertSomeThumbprint(self, *fp): method AssertFingerprintOrThumbprint (line 118) | def AssertFingerprintOrThumbprint(self, fp, tp): method AssertOlderBuild (line 129) | def AssertOlderBuild(self, timestamp, timestamp_text): method AssertDevice (line 138) | def AssertDevice(self, device): method AssertSomeBootloader (line 146) | def AssertSomeBootloader(self, *bootloaders): method ShowProgress (line 154) | def ShowProgress(self, frac, dur): method SetProgress (line 160) | def SetProgress(self, frac): method PatchCheck (line 166) | def PatchCheck(self, filename, *sha1): # pylint: disable=unused-argument method PatchPartitionCheck (line 180) | def PatchPartitionCheck(self, target, source): method PatchPartitionExprCheck (line 190) | def PatchPartitionExprCheck(self, target_expr, source_expr): method CacheFreeSpaceCheck (line 212) | def CacheFreeSpaceCheck(self, amount): method Mount (line 221) | def Mount(self, mount_point, mount_options_by_format=""): method Comment (line 246) | def Comment(self, comment): method Print (line 253) | def Print(self, message): method TunePartition (line 257) | def TunePartition(self, partition, *options): method FormatPartition (line 269) | def FormatPartition(self, partition): method WipeBlockDevice (line 281) | def WipeBlockDevice(self, partition): method ApplyPatch (line 290) | def ApplyPatch(self, srcfile, tgtfile, tgtsize, tgtsha1, *patchpairs): method PatchPartition (line 320) | def PatchPartition(self, target, source, patch): method PatchPartitionExpr (line 335) | def PatchPartitionExpr(self, target_expr, source_expr, patch_expr): method _GetSlotSuffixDeviceForEntry (line 359) | def _GetSlotSuffixDeviceForEntry(self, entry=None): method _CheckSecondTokenNotSlotSuffixed (line 375) | def _CheckSecondTokenNotSlotSuffixed(self, s, fn): method WriteRawImage (line 384) | def WriteRawImage(self, mount_point, fn, mapfn=None): method AppendExtra (line 406) | def AppendExtra(self, extra): method Unmount (line 410) | def Unmount(self, mount_point): method UnmountAll (line 414) | def UnmountAll(self): method AddToZip (line 419) | def AddToZip(self, input_zip, output_zip, input_path=None): FILE: tools/releasetools/find_shareduid_violation.py function execute (line 63) | def execute(cmd): function make_aapt_cmds (line 70) | def make_aapt_cmds(aapt, apk): function extract_shared_uid (line 77) | def extract_shared_uid(aapt, apk): function FindShareduidViolation (line 95) | def FindShareduidViolation(product_out, partition_map, aapt="aapt2"): function main (line 126) | def main(): FILE: tools/releasetools/fsverity_metadata_generator.py class TempDirectory (line 42) | class TempDirectory(object): method __enter__ (line 43) | def __enter__(self): method __exit__ (line 47) | def __exit__(self, *unused): class FSVerityMetadataGenerator (line 50) | class FSVerityMetadataGenerator: method __init__ (line 51) | def __init__(self, fsverity_path): method set_key_format (line 58) | def set_key_format(self, key_format): method set_key (line 61) | def set_key(self, key): method set_cert (line 64) | def set_cert(self, cert): method set_hash_alg (line 67) | def set_hash_alg(self, hash_alg): method set_signature (line 70) | def set_signature(self, signature): method _raw_signature (line 73) | def _raw_signature(pkcs7_sig_file): method digest (line 100) | def digest(self, input_file): method generate (line 107) | def generate(self, input_file, output_file): method _do_generate (line 117) | def _do_generate(self, input_file, output_file, work_dir): function next_page (line 187) | def next_page(n): FILE: tools/releasetools/images.py class Image (line 23) | class Image(object): method RangeSha1 (line 24) | def RangeSha1(self, ranges): method ReadRangeSet (line 27) | def ReadRangeSet(self, ranges): method TotalSha1 (line 30) | def TotalSha1(self, include_clobbered_blocks=False): method WriteRangeDataToFd (line 33) | def WriteRangeDataToFd(self, ranges, fd): class EmptyImage (line 37) | class EmptyImage(Image): method __init__ (line 40) | def __init__(self): method RangeSha1 (line 49) | def RangeSha1(self, ranges): method ReadRangeSet (line 52) | def ReadRangeSet(self, ranges): method TotalSha1 (line 55) | def TotalSha1(self, include_clobbered_blocks=False): method WriteRangeDataToFd (line 61) | def WriteRangeDataToFd(self, ranges, fd): class DataImage (line 65) | class DataImage(Image): method __init__ (line 68) | def __init__(self, data, trim=False, pad=False): method _GetRangeData (line 126) | def _GetRangeData(self, ranges): method RangeSha1 (line 130) | def RangeSha1(self, ranges): method ReadRangeSet (line 136) | def ReadRangeSet(self, ranges): method TotalSha1 (line 139) | def TotalSha1(self, include_clobbered_blocks=False): method WriteRangeDataToFd (line 144) | def WriteRangeDataToFd(self, ranges, fd): class FileImage (line 149) | class FileImage(Image): method __init__ (line 152) | def __init__(self, path): method __del__ (line 190) | def __del__(self): method _GetRangeData (line 193) | def _GetRangeData(self, ranges): method RangeSha1 (line 202) | def RangeSha1(self, ranges): method ReadRangeSet (line 208) | def ReadRangeSet(self, ranges): method TotalSha1 (line 211) | def TotalSha1(self, include_clobbered_blocks=False): method WriteRangeDataToFd (line 215) | def WriteRangeDataToFd(self, ranges, fd): FILE: tools/releasetools/img_from_target_files.py function LoadOptions (line 76) | def LoadOptions(input_file): function CopyZipEntries (line 96) | def CopyZipEntries(input_file, output_file, entries): function LocatePartitionEntry (line 114) | def LocatePartitionEntry(partition_name, namelist): function EntriesForUserImages (line 121) | def EntriesForUserImages(input_file): function EntriesForSplitSuperImages (line 175) | def EntriesForSplitSuperImages(input_file): function RebuildAndWriteSuperImages (line 193) | def RebuildAndWriteSuperImages(input_file, output_file): function ImgFromTargetFiles (line 218) | def ImgFromTargetFiles(input_file, output_file): function main (line 262) | def main(argv): FILE: tools/releasetools/make_recovery_patch.py function main (line 34) | def main(argv): FILE: tools/releasetools/merge/merge_builds.py function CreateImageSymlinks (line 75) | def CreateImageSymlinks(): function BuildSuperEmpty (line 88) | def BuildSuperEmpty(): function BuildVBMeta (line 110) | def BuildVBMeta(): function MergeBuilds (line 152) | def MergeBuilds(): function main (line 159) | def main(): FILE: tools/releasetools/merge/merge_compatibility_checks.py function CheckCompatibility (line 33) | def CheckCompatibility(target_files_dir, partition_map): function CheckVintf (line 57) | def CheckVintf(target_files_dir): function CheckShareduidViolation (line 68) | def CheckShareduidViolation(target_files_dir, partition_map): function CheckInitRcFiles (line 95) | def CheckInitRcFiles(target_files_dir, partition_map): function CheckCombinedSepolicy (line 116) | def CheckCombinedSepolicy(target_files_dir, partition_map, execute=True): function CheckApexDuplicatePackages (line 197) | def CheckApexDuplicatePackages(target_files_dir, partition_map): FILE: tools/releasetools/merge/merge_dexopt.py function MergeDexopt (line 36) | def MergeDexopt(temp_dir, output_target_files_dir): FILE: tools/releasetools/merge/merge_meta.py function MergeUpdateEngineConfig (line 56) | def MergeUpdateEngineConfig(framework_meta_dir, vendor_meta_dir, function MergeMetaFiles (line 83) | def MergeMetaFiles(temp_dir, merged_dir, framework_partitions): function MergeAbPartitions (line 144) | def MergeAbPartitions(framework_meta_dir, vendor_meta_dir, merged_meta_dir, function MergeMiscInfo (line 177) | def MergeMiscInfo(framework_meta_dir, vendor_meta_dir, merged_meta_dir): function MergeDynamicPartitionsInfo (line 207) | def MergeDynamicPartitionsInfo(framework_meta_dir, vendor_meta_dir, function MergePackageKeys (line 231) | def MergePackageKeys(framework_meta_dir, vendor_meta_dir, merged_meta_dir, function CopyNamedFileContexts (line 289) | def CopyNamedFileContexts(framework_meta_dir, vendor_meta_dir, merged_me... function UpdateCareMapImageSizeProps (line 320) | def UpdateCareMapImageSizeProps(images_dir): FILE: tools/releasetools/merge/merge_target_files.py function move_only_exists (line 167) | def move_only_exists(source, destination): function remove_file_if_exists (line 174) | def remove_file_if_exists(file_name): function include_extra_in_list (line 183) | def include_extra_in_list(item_list): function create_merged_package (line 203) | def create_merged_package(temp_dir): function generate_missing_images (line 243) | def generate_missing_images(target_files_dir): function rebuild_image_with_sepolicy (line 261) | def rebuild_image_with_sepolicy(target_files_dir): function generate_super_empty_image (line 371) | def generate_super_empty_image(target_dir, output_super_empty): function create_target_files_archive (line 403) | def create_target_files_archive(output_zip, source_dir, temp_dir): function merge_target_files (line 451) | def merge_target_files(temp_dir): function main (line 516) | def main(): FILE: tools/releasetools/merge/merge_utils.py function ExtractItems (line 35) | def ExtractItems(input_zip, output_dir, extract_item_list): function CopyItems (line 52) | def CopyItems(from_dir, to_dir, copy_item_list): function GetTargetFilesItems (line 88) | def GetTargetFilesItems(target_files_zipfile_or_dir): function CollectTargetFiles (line 105) | def CollectTargetFiles(input_zipfile_or_dir, output_dir, item_list=None): function WriteSortedData (line 128) | def WriteSortedData(data, path): function ValidateConfigLists (line 146) | def ValidateConfigLists(): function ItemListToPartitionSet (line 187) | def ItemListToPartitionSet(item_list): function InferItemList (line 225) | def InferItemList(input_namelist, framework): function InferFrameworkMiscInfoKeys (line 291) | def InferFrameworkMiscInfoKeys(input_namelist): FILE: tools/releasetools/merge/test_merge_compatibility_checks.py class MergeCompatibilityChecksTest (line 26) | class MergeCompatibilityChecksTest(test_utils.ReleaseToolsTestCase): method setUp (line 28) | def setUp(self): method test_CheckCombinedSepolicy (line 42) | def test_CheckCombinedSepolicy(self): method _copy_apex (line 79) | def _copy_apex(self, source, output_dir, partition): method test_CheckApexDuplicatePackages (line 85) | def test_CheckApexDuplicatePackages(self): method test_CheckApexDuplicatePackages_RaisesOnPackageInMultiplePartitions (line 102) | def test_CheckApexDuplicatePackages_RaisesOnPackageInMultiplePartition... FILE: tools/releasetools/merge/test_merge_meta.py class MergeMetaTest (line 26) | class MergeMetaTest(test_utils.ReleaseToolsTestCase): method setUp (line 28) | def setUp(self): method test_MergePackageKeys_ReturnsTrueIfNoConflicts (line 35) | def test_MergePackageKeys_ReturnsTrueIfNoConflicts(self): method test_MergePackageKeys_ReturnsFalseIfConflictsPresent (line 65) | def test_MergePackageKeys_ReturnsFalseIfConflictsPresent(self): method test_MergePackageKeys_HandlesApkCertsSyntax (line 82) | def test_MergePackageKeys_HandlesApkCertsSyntax(self): FILE: tools/releasetools/merge/test_merge_utils.py class MergeUtilsTest (line 25) | class MergeUtilsTest(test_utils.ReleaseToolsTestCase): method setUp (line 27) | def setUp(self): method test_CopyItems_CopiesItemsMatchingPatterns (line 30) | def test_CopyItems_CopiesItemsMatchingPatterns(self): method test_ValidateConfigLists_ReturnsFalseIfSharedExtractedPartition (line 92) | def test_ValidateConfigLists_ReturnsFalseIfSharedExtractedPartition(se... method test_ValidateConfigLists_ReturnsFalseIfSharedExtractedPartitionImage (line 103) | def test_ValidateConfigLists_ReturnsFalseIfSharedExtractedPartitionImage( method test_ValidateConfigLists_ReturnsFalseIfBadSystemMiscInfoKeys (line 114) | def test_ValidateConfigLists_ReturnsFalseIfBadSystemMiscInfoKeys(self): method test_ItemListToPartitionSet (line 119) | def test_ItemListToPartitionSet(self): method test_InferItemList_Framework (line 132) | def test_InferItemList_Framework(self): method test_InferItemList_Vendor (line 162) | def test_InferItemList_Vendor(self): method test_InferFrameworkMiscInfoKeys (line 202) | def test_InferFrameworkMiscInfoKeys(self): FILE: tools/releasetools/merge_ota.py function WriteDataBlob (line 41) | def WriteDataBlob(payload: Payload, outfp: BinaryIO, read_size=1024*64): function ConcatBlobs (line 48) | def ConcatBlobs(payloads: List[Payload], outfp: BinaryIO): function TotalDataLength (line 53) | def TotalDataLength(partitions): function ExtendPartitionUpdates (line 61) | def ExtendPartitionUpdates(partitions, new_partitions): class DuplicatePartitionError (line 70) | class DuplicatePartitionError(ValueError): function MergeDynamicPartitionGroups (line 74) | def MergeDynamicPartitionGroups(groups: List[DynamicPartitionGroup], new... function MergeDynamicPartitionMetadata (line 92) | def MergeDynamicPartitionMetadata(metadata: DynamicPartitionMetadata, ne... function MergeManifests (line 100) | def MergeManifests(payloads: List[Payload]) -> DeltaArchiveManifest: function MergePayloads (line 141) | def MergePayloads(payloads: List[Payload]): function MergeCareMap (line 146) | def MergeCareMap(paths: List[str]): function WriteHeaderAndManifest (line 160) | def WriteHeaderAndManifest(manifest: DeltaArchiveManifest, fp: BinaryIO): function AddOtaMetadata (line 169) | def AddOtaMetadata(input_ota, metadata_ota, output_ota, package_key, pw): function CheckOutput (line 178) | def CheckOutput(output_ota): function CheckDuplicatePartitions (line 183) | def CheckDuplicatePartitions(payloads: List[Payload]): function ApexInfo (line 194) | def ApexInfo(file_paths): function main (line 206) | def main(argv): FILE: tools/releasetools/non_ab_ota.py function GetBlockDifferences (line 31) | def GetBlockDifferences(target_zip, source_zip, target_info, source_info, function WriteFullOTAPackage (line 112) | def WriteFullOTAPackage(input_zip, output_file): function WriteBlockIncrementalOTAPackage (line 285) | def WriteBlockIncrementalOTAPackage(target_zip, source_zip, output_file): function GenerateNonAbOtaPackage (line 541) | def GenerateNonAbOtaPackage(target_file, output_file, source_file=None): function WriteFingerprintAssertion (line 611) | def WriteFingerprintAssertion(script, target_info, source_info): class NonAbOtaPropertyFiles (line 632) | class NonAbOtaPropertyFiles(PropertyFiles): method __init__ (line 640) | def __init__(self): function _WriteRecoveryImageToBoot (line 645) | def _WriteRecoveryImageToBoot(script, output_zip): function HasRecoveryPatch (line 677) | def HasRecoveryPatch(target_files_zip, info_dict): FILE: tools/releasetools/ota_from_raw_img.py function ResolveBinaryPath (line 38) | def ResolveBinaryPath(filename, search_path): function main (line 52) | def main(argv): FILE: tools/releasetools/ota_from_target_files.py function _LoadOemDicts (line 366) | def _LoadOemDicts(oem_source): function ModifyKeyvalueList (line 376) | def ModifyKeyvalueList(content: str, key: str, value: str): function ModifyVABCCompressionParam (line 396) | def ModifyVABCCompressionParam(content, algo): function UpdatesInfoForSpecialUpdates (line 408) | def UpdatesInfoForSpecialUpdates(content, partitions_filter, function GetTargetFilesZipForSecondaryImages (line 450) | def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=Fal... function GetTargetFilesZipWithoutPostinstallConfig (line 542) | def GetTargetFilesZipWithoutPostinstallConfig(input_file): function ParseInfoDict (line 562) | def ParseInfoDict(target_file_path): function ModifyTargetFilesDynamicPartitionInfo (line 565) | def ModifyTargetFilesDynamicPartitionInfo(input_file, key, value): function GetTargetFilesZipForCustomVABCCompression (line 596) | def GetTargetFilesZipForCustomVABCCompression(input_file, vabc_compressi... function GetTargetFilesZipForPartialUpdates (line 608) | def GetTargetFilesZipForPartialUpdates(input_file, ab_partitions): function GetTargetFilesZipForRetrofitDynamicPartitions (line 696) | def GetTargetFilesZipForRetrofitDynamicPartitions(input_file, function GetTargetFilesZipForCustomImagesUpdates (line 767) | def GetTargetFilesZipForCustomImagesUpdates(input_file, custom_images: d... function GeneratePartitionTimestampFlags (line 796) | def GeneratePartitionTimestampFlags(partition_state): function GeneratePartitionTimestampFlagsDowngrade (line 803) | def GeneratePartitionTimestampFlagsDowngrade( function SupportsMainlineGkiUpdates (line 820) | def SupportsMainlineGkiUpdates(target_file): function ExtractOrCopyTargetFiles (line 859) | def ExtractOrCopyTargetFiles(target_file): function ValidateCompressionParam (line 866) | def ValidateCompressionParam(target_info): function GenerateAbOtaPackage (line 875) | def GenerateAbOtaPackage(target_file, output_file, source_file=None): function main (line 1216) | def main(argv): FILE: tools/releasetools/ota_package_parser.py class Stash (line 24) | class Stash(object): method __init__ (line 27) | def __init__(self): method StashBlocks (line 34) | def StashBlocks(self, SHA1, blocks): method FreeBlocks (line 43) | def FreeBlocks(self, SHA1): method HandleOverlapBlocks (line 48) | def HandleOverlapBlocks(self, SHA1, blocks): class OtaPackageParser (line 54) | class OtaPackageParser(object): method __init__ (line 57) | def __init__(self, package): method GetSizeString (line 65) | def GetSizeString(size): method ParseTransferList (line 75) | def ParseTransferList(self, name): method PrintDataInfo (line 143) | def PrintDataInfo(self, partition): method AnalyzePartition (line 163) | def AnalyzePartition(self, partition): method PrintMetadata (line 172) | def PrintMetadata(self): method Analyze (line 187) | def Analyze(self): function main (line 209) | def main(argv): FILE: tools/releasetools/ota_signing_utils.py function ParseSignerArgs (line 19) | def ParseSignerArgs(args): function AddSigningArgumentParse (line 25) | def AddSigningArgumentParse(parser: argparse.ArgumentParser): FILE: tools/releasetools/ota_utils.py function FinalizeMetadata (line 67) | def FinalizeMetadata(metadata, input_file, output_file, needed_property_... function WriteMetadata (line 170) | def WriteMetadata(metadata_proto, output): function UpdateDeviceState (line 196) | def UpdateDeviceState(device_state, build_info, boot_variable_values, function GetPackageMetadata (line 259) | def GetPackageMetadata(target_info, source_info=None): function BuildLegacyOtaMetadata (line 317) | def BuildLegacyOtaMetadata(metadata_proto): function HandleDowngradeMetadata (line 363) | def HandleDowngradeMetadata(metadata_proto, target_info, source_info): function ComputeRuntimeBuildInfos (line 428) | def ComputeRuntimeBuildInfos(default_build_info, boot_variable_values): function CalculateRuntimeDevicesAndFingerprints (line 465) | def CalculateRuntimeDevicesAndFingerprints(default_build_info, function GetZipEntryOffset (line 479) | def GetZipEntryOffset(zfp, entry_info): class PropertyFiles (line 508) | class PropertyFiles(object): method __init__ (line 540) | def __init__(self): method Compute (line 545) | def Compute(self, input_zip): class InsufficientSpaceException (line 560) | class InsufficientSpaceException(Exception): method Finalize (line 563) | def Finalize(self, input_zip, reserved_length): method Verify (line 596) | def Verify(self, input_zip, expected): method GetPropertyFilesString (line 610) | def GetPropertyFilesString(self, zip_file, reserve_space=False): method _GetPrecomputed (line 653) | def _GetPrecomputed(self, input_zip): function SignOutput (line 671) | def SignOutput(temp_zip_name, output_zip_name, package_key=None, pw=None): function ConstructOtaApexInfo (line 681) | def ConstructOtaApexInfo(target_zip, source_file=None): function IsLz4diffCompatible (line 720) | def IsLz4diffCompatible(source_file: str, target_file: str): function IsZucchiniCompatible (line 742) | def IsZucchiniCompatible(source_file: str, target_file: str): function ExtractTargetFiles (line 778) | def ExtractTargetFiles(path: str): function LocatePartitionPath (line 797) | def LocatePartitionPath(target_files_dir: str, partition: str, allow_emp... function GetPartitionImages (line 808) | def GetPartitionImages(target_files_dir: str, ab_partitions, allow_empty... function LocatePartitionMap (line 813) | def LocatePartitionMap(target_files_dir: str, partition: str): function GetPartitionMaps (line 821) | def GetPartitionMaps(target_files_dir: str, ab_partitions): class PayloadGenerator (line 826) | class PayloadGenerator(object): method __init__ (line 834) | def __init__(self, secondary=False, wipe_user_data=False, minor_versio... method _Run (line 848) | def _Run(self, cmd, **kwargs): # pylint: disable=no-self-use method Generate (line 857) | def Generate(self, target_file, source_file=None, additional_args=None... method Sign (line 927) | def Sign(self, payload_signer): method WriteToZip (line 942) | def WriteToZip(self, output_zip): class StreamingPropertyFiles (line 981) | class StreamingPropertyFiles(PropertyFiles): method __init__ (line 984) | def __init__(self): class AbOtaPropertyFiles (line 1003) | class AbOtaPropertyFiles(StreamingPropertyFiles): method __init__ (line 1017) | def __init__(self): method _GetPrecomputed (line 1021) | def _GetPrecomputed(self, input_zip): method _GetPayloadMetadataOffsetAndSize (line 1026) | def _GetPayloadMetadataOffsetAndSize(input_zip): function Fnmatch (line 1088) | def Fnmatch(filename, pattersn): function CopyTargetFilesDir (line 1092) | def CopyTargetFilesDir(input_dir): FILE: tools/releasetools/payload_signer.py class SignerOptions (line 37) | class SignerOptions(OptionHandler): method ParseOptions (line 40) | def ParseOptions(o, a): method __init__ (line 58) | def __init__(self): class PayloadSigner (line 72) | class PayloadSigner(object): method __init__ (line 87) | def __init__(self, package_key=None, private_key_suffix=None, pw=None,... method _GetMaximumSignatureSizeInBytes (line 126) | def _GetMaximumSignatureSizeInBytes(signing_key): method _Run (line 138) | def _Run(cmd): method SignPayload (line 141) | def SignPayload(self, unsigned_payload): method SignHashFile (line 169) | def SignHashFile(self, in_file): function GeneratePayloadProperties (line 176) | def GeneratePayloadProperties(payload_file): function SignOtaPackage (line 185) | def SignOtaPackage(input_path, output_path): function main (line 200) | def main(argv): FILE: tools/releasetools/rangelib.py class RangeSet (line 24) | class RangeSet(object): method __init__ (line 33) | def __init__(self, data=None): method __iter__ (line 45) | def __iter__(self): method __eq__ (line 49) | def __eq__(self, other): method __ne__ (line 52) | def __ne__(self, other): method __bool__ (line 55) | def __bool__(self): method __str__ (line 61) | def __str__(self): method __repr__ (line 67) | def __repr__(self): method extra (line 71) | def extra(self): method parse (line 75) | def parse(cls, text): method parse_raw (line 92) | def parse_raw(cls, text): method _parse_internal (line 104) | def _parse_internal(self, text): method _remove_pairs (line 130) | def _remove_pairs(source): method to_string (line 145) | def to_string(self): method to_string_raw (line 155) | def to_string_raw(self): method union (line 159) | def union(self, other): method intersect (line 177) | def intersect(self, other): method subtract (line 195) | def subtract(self, other): method overlaps (line 214) | def overlaps(self, other): method size (line 234) | def size(self): method map_within (line 250) | def map_within(self, other): method extend (line 279) | def extend(self, n): method first (line 301) | def first(self, n): method next_item (line 333) | def next_item(self): FILE: tools/releasetools/sign_apex.py function SignApexFile (line 61) | def SignApexFile(avbtool, apex_file, payload_key, container_key, no_hash... function main (line 80) | def main(argv): FILE: tools/releasetools/sign_target_files_apks.py function IsApexFile (line 263) | def IsApexFile(filename): function IsOtaPackage (line 267) | def IsOtaPackage(fp): function IsEntryOtaPackage (line 276) | def IsEntryOtaPackage(input_zip, filename): function GetApexFilename (line 285) | def GetApexFilename(filename): function GetApkCerts (line 293) | def GetApkCerts(certmap): function GetApexKeys (line 311) | def GetApexKeys(keys_info, key_map): function GetMicrodroidVbmetaKey (line 381) | def GetMicrodroidVbmetaKey(virt_apex_path, avbtool_path): function GetApkFileInfo (line 412) | def GetApkFileInfo(filename, compressed_extension, skipped_prefixes): function CheckApkAndApexKeysAvailable (line 458) | def CheckApkAndApexKeysAvailable(input_tf_zip, known_keys, function SignApk (line 527) | def SignApk(data, keyname, pw, platform_api_level, codename_to_api_level... function IsBuildPropFile (line 591) | def IsBuildPropFile(filename): function GetOtaSigningArgs (line 617) | def GetOtaSigningArgs(): function RegenerateKernelPartitions (line 635) | def RegenerateKernelPartitions(input_tf_zip: zipfile.ZipFile, output_tf_... function RegenerateBootOTA (line 658) | def RegenerateBootOTA(input_tf_zip: zipfile.ZipFile, filename, input_ota): function ProcessTargetFiles (line 714) | def ProcessTargetFiles(input_tf_zip: zipfile.ZipFile, output_tf_zip: zip... function ParseAvbInfo (line 985) | def ParseAvbInfo(info_raw): function ReplaceKeyInAvbHashtreeFooter (line 1030) | def ReplaceKeyInAvbHashtreeFooter(image, new_key, new_algorithm, misc_in... function ReplaceCerts (line 1087) | def ReplaceCerts(data): function EditTags (line 1141) | def EditTags(tags): function RewriteProps (line 1159) | def RewriteProps(data): function WriteOtacerts (line 1208) | def WriteOtacerts(output_zip, filename, keys): function ReplaceOtaKeys (line 1224) | def ReplaceOtaKeys(input_tf_zip: zipfile.ZipFile, output_tf_zip, misc_in... function ReplaceMiscInfoTxt (line 1289) | def ReplaceMiscInfoTxt(input_zip, output_zip, misc_info): function ReplaceAvbSigningKeys (line 1304) | def ReplaceAvbSigningKeys(misc_info): function RewriteAvbProps (line 1338) | def RewriteAvbProps(misc_info): function BuildKeyMap (line 1364) | def BuildKeyMap(misc_info, key_mapping_options): function GetApiLevelAndCodename (line 1384) | def GetApiLevelAndCodename(input_tf_zip): function GetCodenameToApiLevelMap (line 1406) | def GetCodenameToApiLevelMap(input_tf_zip): function ReadApexKeysInfo (line 1433) | def ReadApexKeysInfo(tf_zip): function BuildVendorPartitions (line 1496) | def BuildVendorPartitions(output_zip_path): function main (line 1599) | def main(argv): FILE: tools/releasetools/sparse_img.py class SparseImage (line 32) | class SparseImage(object): method __init__ (line 43) | def __init__(self, simg_fn, file_map_fn=None, clobbered_blocks=None, method AppendFillChunk (line 146) | def AppendFillChunk(self, data, blocks): method RangeSha1 (line 160) | def RangeSha1(self, ranges): method ReadRangeSet (line 166) | def ReadRangeSet(self, ranges): method ReadBlocks (line 169) | def ReadBlocks(self, start=0, num_blocks=None): method TotalSha1 (line 174) | def TotalSha1(self, include_clobbered_blocks=False): method WriteRangeDataToFd (line 184) | def WriteRangeDataToFd(self, ranges, fd): method _GetRangeData (line 188) | def _GetRangeData(self, ranges): method LoadFileBlockMap (line 227) | def LoadFileBlockMap(self, fn, clobbered_blocks, allow_shared_blocks): method ResetFileMap (line 340) | def ResetFileMap(self): function GetImagePartitionSize (line 346) | def GetImagePartitionSize(img): FILE: tools/releasetools/target_files_diff.py function ignore (line 32) | def ignore(name): function rewrite_build_property (line 57) | def rewrite_build_property(original, new): function trim_install_recovery (line 88) | def trim_install_recovery(original, new): function sort_file (line 96) | def sort_file(original, new): function preprocess (line 122) | def preprocess(name, filename): function diff (line 136) | def diff(name, file1, file2, out_file): function recursiveDiff (line 154) | def recursiveDiff(prefix, dir1, dir2, out_file): function main (line 214) | def main(): FILE: tools/releasetools/test_add_img_to_target_files.py class AddImagesToTargetFilesTest (line 34) | class AddImagesToTargetFilesTest(test_utils.ReleaseToolsTestCase): method setUp (line 36) | def setUp(self): method _create_images (line 40) | def _create_images(images, prefix): method test_CheckAbOtaImages_imageExistsUnderImages (line 56) | def test_CheckAbOtaImages_imageExistsUnderImages(self): method test_CheckAbOtaImages_imageExistsUnderRadio (line 61) | def test_CheckAbOtaImages_imageExistsUnderRadio(self): method test_CheckAbOtaImages_missingImages (line 71) | def test_CheckAbOtaImages_missingImages(self): method test_AddPackRadioImages (line 76) | def test_AddPackRadioImages(self): method test_AddPackRadioImages_with_suffix (line 84) | def test_AddPackRadioImages_with_suffix(self): method test_AddPackRadioImages_zipOutput (line 93) | def test_AddPackRadioImages_zipOutput(self): method test_AddPackRadioImages_imageExists (line 105) | def test_AddPackRadioImages_imageExists(self): method test_AddPackRadioImages_missingImages (line 117) | def test_AddPackRadioImages_missingImages(self): method _test_AddCareMapForAbOta (line 125) | def _test_AddCareMapForAbOta(): method _verifyCareMap (line 160) | def _verifyCareMap(self, expected, file_name): method test_AddCareMapForAbOta (line 173) | def test_AddCareMapForAbOta(self): method test_AddCareMapForAbOta_withNonCareMapPartitions (line 189) | def test_AddCareMapForAbOta_withNonCareMapPartitions(self): method test_AddCareMapForAbOta_withAvb (line 207) | def test_AddCareMapForAbOta_withAvb(self): method test_AddCareMapForAbOta_noFingerprint (line 238) | def test_AddCareMapForAbOta_noFingerprint(self): method test_AddCareMapForAbOta_withThumbprint (line 257) | def test_AddCareMapForAbOta_withThumbprint(self): method test_AddCareMapForAbOta_skipPartition (line 288) | def test_AddCareMapForAbOta_skipPartition(self): method test_AddCareMapForAbOta_skipAllPartitions (line 302) | def test_AddCareMapForAbOta_skipAllPartitions(self): method test_AddCareMapForAbOta_verityNotEnabled (line 312) | def test_AddCareMapForAbOta_verityNotEnabled(self): method test_AddCareMapForAbOta_missingImageFile (line 321) | def test_AddCareMapForAbOta_missingImageFile(self): method test_AddCareMapForAbOta_zipOutput (line 330) | def test_AddCareMapForAbOta_zipOutput(self): method test_AddCareMapForAbOta_zipOutput_careMapEntryExists (line 353) | def test_AddCareMapForAbOta_zipOutput_careMapEntryExists(self): method test_GetCareMap (line 380) | def test_GetCareMap(self): method test_GetCareMap_invalidPartition (line 389) | def test_GetCareMap_invalidPartition(self): method test_GetCareMap_nonSparseImage (line 392) | def test_GetCareMap_nonSparseImage(self): FILE: tools/releasetools/test_apex_utils.py class ApexUtilsTest (line 28) | class ApexUtilsTest(test_utils.ReleaseToolsTestCase): method setUp (line 33) | def setUp(self): method _GetTestPayload (line 42) | def _GetTestPayload(): method test_ParseApexPayloadInfo (line 49) | def test_ParseApexPayloadInfo(self): method test_SignApexPayload (line 62) | def test_SignApexPayload(self): method test_SignApexPayload_withHashtree (line 71) | def test_SignApexPayload_withHashtree(self): method test_SignApexPayload_noHashtree (line 81) | def test_SignApexPayload_noHashtree(self): method test_SignApexPayload_withSignerHelper (line 92) | def test_SignApexPayload_withSignerHelper(self): method test_SignApexPayload_invalidKey (line 109) | def test_SignApexPayload_invalidKey(self): method test_VerifyApexPayload_wrongKey (line 123) | def test_VerifyApexPayload_wrongKey(self): method test_ApexApkSigner_noApkPresent (line 139) | def test_ApexApkSigner_noApkPresent(self): method test_ApexApkSigner_apkKeyNotPresent (line 146) | def test_ApexApkSigner_apkKeyNotPresent(self): method test_ApexApkSigner_signApk (line 154) | def test_ApexApkSigner_signApk(self): method test_ApexApkSigner_noAssetDir (line 175) | def test_ApexApkSigner_noAssetDir(self): method test_ApexApkSigner_invokesCustomSignTool (line 192) | def test_ApexApkSigner_invokesCustomSignTool(self): FILE: tools/releasetools/test_blockimgdiff.py class HealpItemTest (line 27) | class HealpItemTest(ReleaseToolsTestCase): class Item (line 29) | class Item(object): method __init__ (line 30) | def __init__(self, score): method test_init (line 33) | def test_init(self): method test_clear (line 49) | def test_clear(self): class BlockImageDiffTest (line 57) | class BlockImageDiffTest(ReleaseToolsTestCase): method test_GenerateDigraphOrder (line 59) | def test_GenerateDigraphOrder(self): method test_ReviseStashSize (line 110) | def test_ReviseStashSize(self): method test_ReviseStashSize_bug_33687949 (line 139) | def test_ReviseStashSize_bug_33687949(self): method test_FileTypeSupportedByImgdiff (line 177) | def test_FileTypeSupportedByImgdiff(self): method test_CanUseImgdiff (line 195) | def test_CanUseImgdiff(self): method test_CanUseImgdiff_ineligible (line 212) | def test_CanUseImgdiff_ineligible(self): class ImgdiffStatsTest (line 248) | class ImgdiffStatsTest(ReleaseToolsTestCase): method test_Log (line 250) | def test_Log(self): method test_Log_invalidInputs (line 259) | def test_Log_invalidInputs(self): class DataImageTest (line 269) | class DataImageTest(ReleaseToolsTestCase): method test_read_range_set (line 271) | def test_read_range_set(self): class FileImageTest (line 277) | class FileImageTest(ReleaseToolsTestCase): method setUp (line 279) | def setUp(self): method test_totalsha1 (line 286) | def test_totalsha1(self): method test_ranges (line 289) | def test_ranges(self): method test_read_all (line 308) | def test_read_all(self): FILE: tools/releasetools/test_build_image.py class BuildImageTest (line 27) | class BuildImageTest(test_utils.ReleaseToolsTestCase): method test_CheckHeadroom_SizeUnderLimit (line 33) | def test_CheckHeadroom_SizeUnderLimit(self): method test_CheckHeadroom_InsufficientHeadroom (line 42) | def test_CheckHeadroom_InsufficientHeadroom(self): method test_CheckHeadroom_WrongFsType (line 53) | def test_CheckHeadroom_WrongFsType(self): method test_CheckHeadroom_MissingProperties (line 62) | def test_CheckHeadroom_MissingProperties(self): method test_CheckHeadroom_WithMke2fsOutput (line 78) | def test_CheckHeadroom_WithMke2fsOutput(self): method test_SetUpInDirAndFsConfig_NonSystem (line 102) | def test_SetUpInDirAndFsConfig_NonSystem(self): method _gen_fs_config (line 113) | def _gen_fs_config(partition): method test_SetUpInDirAndFsConfig (line 119) | def test_SetUpInDirAndFsConfig(self): method test_SetUpInDirAndFsConfig_WithRootFsConfig (line 148) | def test_SetUpInDirAndFsConfig_WithRootFsConfig(self): method test_GetFilesystemCharacteristics (line 183) | def test_GetFilesystemCharacteristics(self): FILE: tools/releasetools/test_check_partition_sizes.py class CheckPartitionSizesTest (line 21) | class CheckPartitionSizesTest(test_utils.ReleaseToolsTestCase): method setUp (line 22) | def setUp(self): method test_ab (line 39) | def test_ab(self): method test_non_ab (line 42) | def test_non_ab(self): method test_non_dap (line 50) | def test_non_dap(self): method test_retrofit_dap (line 57) | def test_retrofit_dap(self): method test_ab_partition_too_big (line 67) | def test_ab_partition_too_big(self): method test_ab_group_too_big (line 74) | def test_ab_group_too_big(self): method test_no_image (line 81) | def test_no_image(self): method test_block_devices_not_match (line 86) | def test_block_devices_not_match(self): method test_retrofit_vab (line 97) | def test_retrofit_vab(self): method test_retrofit_vab_too_big (line 104) | def test_retrofit_vab_too_big(self): method test_vab (line 113) | def test_vab(self): method test_vab_too_big (line 121) | def test_vab_too_big(self): method test_vab_too_big_with_system_other (line 131) | def test_vab_too_big_with_system_other(self): FILE: tools/releasetools/test_check_target_files_vintf.py function write_string_to_file (line 58) | def write_string_to_file(content, path, mode='w'): class CheckTargetFilesVintfTest (line 65) | class CheckTargetFilesVintfTest(test_utils.ReleaseToolsTestCase): method setUp (line 67) | def setUp(self): method prepare_test_dir (line 70) | def prepare_test_dir(self, test_delta_rel_path): method prepare_apex_test_dir (line 91) | def prepare_apex_test_dir(self, test_delta_rel_path): method test_CheckVintf_skeleton (line 113) | def test_CheckVintf_skeleton(self): method test_CheckVintf_matrix_incompat (line 119) | def test_CheckVintf_matrix_incompat(self): method test_CheckVintf_kernel_compat (line 126) | def test_CheckVintf_kernel_compat(self): method test_CheckVintf_kernel_incompat (line 135) | def test_CheckVintf_kernel_incompat(self): method test_CheckVintf_sku_compat (line 145) | def test_CheckVintf_sku_compat(self): method test_CheckVintf_sku_incompat (line 154) | def test_CheckVintf_sku_incompat(self): method test_CheckVintf_bad_xml (line 163) | def test_CheckVintf_bad_xml(self): method test_CheckVintf_apex_compat (line 171) | def test_CheckVintf_apex_compat(self): method test_CheckVintf_apex_incompat (line 185) | def test_CheckVintf_apex_incompat(self): FILE: tools/releasetools/test_common.py function get_2gb_file (line 38) | def get_2gb_file(): function hash_file (line 50) | def hash_file(filename): class BuildInfoTest (line 58) | class BuildInfoTest(test_utils.ReleaseToolsTestCase): method test_init (line 197) | def test_init(self): method test_init_with_oem_props (line 204) | def test_init_with_oem_props(self): method test_init_badFingerprint (line 220) | def test_init_badFingerprint(self): method test_init_goodFingerprint (line 230) | def test_init_goodFingerprint(self): method test___getitem__ (line 257) | def test___getitem__(self): method test___getitem__with_oem_props (line 264) | def test___getitem__with_oem_props(self): method test___setitem__ (line 271) | def test___setitem__(self): method test_get (line 283) | def test_get(self): method test_get_with_oem_props (line 292) | def test_get_with_oem_props(self): method test_items (line 301) | def test_items(self): method test_GetBuildProp (line 307) | def test_GetBuildProp(self): method test_GetBuildProp_with_oem_props (line 313) | def test_GetBuildProp_with_oem_props(self): method test_GetPartitionFingerprint (line 320) | def test_GetPartitionFingerprint(self): method test_GetPartitionFingerprint_system_other_uses_system (line 328) | def test_GetPartitionFingerprint_system_other_uses_system(self): method test_GetPartitionFingerprint_uses_fingerprint_prop_if_available (line 334) | def test_GetPartitionFingerprint_uses_fingerprint_prop_if_available(se... method test_WriteMountOemScript (line 343) | def test_WriteMountOemScript(self): method test_WriteDeviceAssertions (line 350) | def test_WriteDeviceAssertions(self): method test_WriteDeviceAssertions_with_oem_props (line 356) | def test_WriteDeviceAssertions_with_oem_props(self): method test_ResolveRoProductProperty_FromVendor (line 370) | def test_ResolveRoProductProperty_FromVendor(self): method test_ResolveRoProductProperty_FromSystem (line 376) | def test_ResolveRoProductProperty_FromSystem(self): method test_ResolveRoProductProperty_InvalidPropertySearchOrder (line 383) | def test_ResolveRoProductProperty_InvalidPropertySearchOrder(self): method test_ResolveRoProductProperty_Android10PropertySearchOrder (line 392) | def test_ResolveRoProductProperty_Android10PropertySearchOrder(self): method test_ResolveRoProductProperty_Android9PropertySearchOrder (line 399) | def test_ResolveRoProductProperty_Android9PropertySearchOrder(self): class CommonZipTest (line 407) | class CommonZipTest(test_utils.ReleaseToolsTestCase): method _verify (line 409) | def _verify(self, zip_file, zip_file_name, arcname, expected_hash, method _test_ZipWrite (line 440) | def _test_ZipWrite(self, contents, extra_zipwrite_args=None): method _test_ZipWriteFile (line 447) | def _test_ZipWriteFile(self, test_file_name, extra_zipwrite_args=None): method _test_ZipWriteStr (line 483) | def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): method _test_ZipWriteStr_large_file (line 515) | def _test_ZipWriteStr_large_file(self, large_file: BinaryIO, small, ex... method _test_reset_ZIP64_LIMIT (line 560) | def _test_reset_ZIP64_LIMIT(self, func, *args): method test_ZipWrite (line 566) | def test_ZipWrite(self): method test_ZipWrite_with_opts (line 570) | def test_ZipWrite_with_opts(self): method test_ZipWrite_large_file (line 583) | def test_ZipWrite_large_file(self): method test_ZipWrite_resets_ZIP64_LIMIT (line 589) | def test_ZipWrite_resets_ZIP64_LIMIT(self): method test_ZipWriteStr (line 592) | def test_ZipWriteStr(self): method test_ZipWriteStr_with_opts (line 605) | def test_ZipWriteStr_with_opts(self): method test_ZipWriteStr_large_file (line 630) | def test_ZipWriteStr_large_file(self): method test_ZipWriteStr_resets_ZIP64_LIMIT (line 640) | def test_ZipWriteStr_resets_ZIP64_LIMIT(self): method test_bug21309935 (line 645) | def test_bug21309935(self): method test_ZipDelete (line 683) | def test_ZipDelete(self): method _test_UnzipTemp_createZipFile (line 728) | def _test_UnzipTemp_createZipFile(): method test_UnzipTemp (line 745) | def test_UnzipTemp(self): method test_UnzipTemp_withPatterns (line 755) | def test_UnzipTemp_withPatterns(self): method test_UnzipTemp_withEmptyPatterns (line 786) | def test_UnzipTemp_withEmptyPatterns(self): method test_UnzipTemp_withPartiallyMatchingPatterns (line 796) | def test_UnzipTemp_withPartiallyMatchingPatterns(self): method test_UnzipTemp_withNoMatchingPatterns (line 805) | def test_UnzipTemp_withNoMatchingPatterns(self): class CommonApkUtilsTest (line 815) | class CommonApkUtilsTest(test_utils.ReleaseToolsTestCase): method setUp (line 879) | def setUp(self): method _write_apkcerts_txt (line 883) | def _write_apkcerts_txt(apkcerts_txt, additional=None): method test_ReadApkCerts_NoncompressedApks (line 893) | def test_ReadApkCerts_NoncompressedApks(self): method test_ReadApkCerts_CompressedApks (line 901) | def test_ReadApkCerts_CompressedApks(self): method test_ReadApkCerts_CompressedAndNoncompressedApks (line 924) | def test_ReadApkCerts_CompressedAndNoncompressedApks(self): method test_ReadApkCerts_MultipleCompressionMethods (line 937) | def test_ReadApkCerts_MultipleCompressionMethods(self): method test_ReadApkCerts_MismatchingKeys (line 945) | def test_ReadApkCerts_MismatchingKeys(self): method test_ReadApkCerts_WithWithoutOptionalFields (line 955) | def test_ReadApkCerts_WithWithoutOptionalFields(self): method test_ExtractPublicKey (line 963) | def test_ExtractPublicKey(self): method test_ExtractPublicKey_invalidInput (line 969) | def test_ExtractPublicKey_invalidInput(self): method test_ExtractAvbPublicKey (line 974) | def test_ExtractAvbPublicKey(self): method test_ParseCertificate (line 983) | def test_ParseCertificate(self): method test_GetMinSdkVersion (line 997) | def test_GetMinSdkVersion(self): method test_GetMinSdkVersion_invalidInput (line 1002) | def test_GetMinSdkVersion_invalidInput(self): method test_GetMinSdkVersionInt (line 1007) | def test_GetMinSdkVersionInt(self): method test_GetMinSdkVersionInt_invalidInput (line 1012) | def test_GetMinSdkVersionInt_invalidInput(self): class CommonUtilsTest (line 1018) | class CommonUtilsTest(test_utils.ReleaseToolsTestCase): method setUp (line 1020) | def setUp(self): method test_GetSparseImage_emptyBlockMapFile (line 1024) | def test_GetSparseImage_emptyBlockMapFile(self): method test_PartitionMapFromTargetFiles (line 1048) | def test_PartitionMapFromTargetFiles(self): method test_SharedUidPartitionViolations (line 1069) | def test_SharedUidPartitionViolations(self): method test_SharedUidPartitionViolations_Violation (line 1084) | def test_SharedUidPartitionViolations_Violation(self): method test_GetSparseImage_missingImageFile (line 1097) | def test_GetSparseImage_missingImageFile(self): method test_GetSparseImage_missingBlockMapFile (line 1106) | def test_GetSparseImage_missingBlockMapFile(self): method test_GetSparseImage_sharedBlocks_notAllowed (line 1125) | def test_GetSparseImage_sharedBlocks_notAllowed(self): method test_GetSparseImage_sharedBlocks_allowed (line 1148) | def test_GetSparseImage_sharedBlocks_allowed(self): method test_GetSparseImage_incompleteRanges (line 1193) | def test_GetSparseImage_incompleteRanges(self): method test_GetSparseImage_systemRootImage_filenameWithExtraLeadingSlash (line 1219) | def test_GetSparseImage_systemRootImage_filenameWithExtraLeadingSlash(... method test_GetSparseImage_systemRootImage_nonSystemFiles (line 1250) | def test_GetSparseImage_systemRootImage_nonSystemFiles(self): method test_GetSparseImage_fileNotFound (line 1275) | def test_GetSparseImage_fileNotFound(self): method test_GetAvbChainedPartitionArg (line 1295) | def test_GetAvbChainedPartitionArg(self): method test_GetAvbChainedPartitionArg_withPrivateKey (line 1309) | def test_GetAvbChainedPartitionArg_withPrivateKey(self): method test_GetAvbChainedPartitionArg_withSpecifiedKey (line 1323) | def test_GetAvbChainedPartitionArg_withSpecifiedKey(self): method test_GetAvbChainedPartitionArg_invalidKey (line 1337) | def test_GetAvbChainedPartitionArg_invalidKey(self): method test_LoadListFromFile (line 1355) | def test_LoadListFromFile(self): method _test_LoadInfoDict_createTargetFiles (line 1373) | def _test_LoadInfoDict_createTargetFiles(info_dict, fstab_path): method test_LoadInfoDict (line 1385) | def test_LoadInfoDict(self): method test_LoadInfoDict_legacyRecoveryFstabPath (line 1395) | def test_LoadInfoDict_legacyRecoveryFstabPath(self): method test_LoadInfoDict_dirInput (line 1406) | def test_LoadInfoDict_dirInput(self): method test_LoadInfoDict_dirInput_legacyRecoveryFstabPath (line 1417) | def test_LoadInfoDict_dirInput_legacyRecoveryFstabPath(self): method test_LoadInfoDict_recoveryAsBootFalse (line 1427) | def test_LoadInfoDict_recoveryAsBootFalse(self): method test_LoadInfoDict_noRecoveryTrue (line 1441) | def test_LoadInfoDict_noRecoveryTrue(self): method test_LoadInfoDict_missingMetaMiscInfoTxt (line 1455) | def test_LoadInfoDict_missingMetaMiscInfoTxt(self): method test_LoadInfoDict_repacking (line 1464) | def test_LoadInfoDict_repacking(self): method test_LoadInfoDict_repackingWithZipFileInput (line 1479) | def test_LoadInfoDict_repackingWithZipFileInput(self): method test_MergeDynamicPartitionInfoDicts_ReturnsMergedDict (line 1487) | def test_MergeDynamicPartitionInfoDicts_ReturnsMergedDict(self): method test_MergeDynamicPartitionInfoDicts_IgnoringFrameworkGroupSize (line 1522) | def test_MergeDynamicPartitionInfoDicts_IgnoringFrameworkGroupSize(self): method test_GetAvbPartitionArg (line 1555) | def test_GetAvbPartitionArg(self): method test_AppendVBMetaArgsForPartition_vendorAsChainedPartition (line 1563) | def test_AppendVBMetaArgsForPartition_vendorAsChainedPartition(self): method test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_nonAb (line 1580) | def test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_nonAb... method test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_ab (line 1593) | def test_AppendVBMetaArgsForPartition_recoveryAsChainedPartition_ab(se... class InstallRecoveryScriptFormatTest (line 1612) | class InstallRecoveryScriptFormatTest(test_utils.ReleaseToolsTestCase): method setUp (line 1618) | def setUp(self): method _out_tmp_sink (line 1638) | def _out_tmp_sink(self, name, data, prefix="SYSTEM"): method test_full_recovery (line 1645) | def test_full_recovery(self): method test_recovery_from_boot (line 1656) | def test_recovery_from_boot(self): class MockBlockDifference (line 1674) | class MockBlockDifference(object): method __init__ (line 1676) | def __init__(self, partition, tgt, src=None): method WriteScript (line 1681) | def WriteScript(self, script, _, progress=None, method WritePostInstallVerifyScript (line 1689) | def WritePostInstallVerifyScript(self, script): class FakeSparseImage (line 1693) | class FakeSparseImage(object): method __init__ (line 1695) | def __init__(self, size): class DynamicPartitionsDifferenceTest (line 1701) | class DynamicPartitionsDifferenceTest(test_utils.ReleaseToolsTestCase): method get_op_list (line 1704) | def get_op_list(output_path): method setUp (line 1710) | def setUp(self): method test_full (line 1714) | def test_full(self): method test_inc_groups (line 1756) | def test_inc_groups(self): method test_incremental (line 1788) | def test_incremental(self): method test_remove_partition (line 1862) | def test_remove_partition(self): class PartitionBuildPropsTest (line 1898) | class PartitionBuildPropsTest(test_utils.ReleaseToolsTestCase): method setUp (line 1899) | def setUp(self): method _BuildZipFile (line 1909) | def _BuildZipFile(entries): method test_parseBuildProps_noImportStatement (line 1917) | def test_parseBuildProps_noImportStatement(self): method test_parseBuildProps_singleImportStatement (line 1944) | def test_parseBuildProps_singleImportStatement(self): method test_parseBuildProps_noPlaceHolders (line 1990) | def test_parseBuildProps_noPlaceHolders(self): method test_parseBuildProps_multipleImportStatements (line 2009) | def test_parseBuildProps_multipleImportStatements(self): method test_parseBuildProps_defineAfterOverride (line 2073) | def test_parseBuildProps_defineAfterOverride(self): method test_parseBuildProps_duplicateOverride (line 2098) | def test_parseBuildProps_duplicateOverride(self): method test_partitionBuildProps_fromInputFile_deepcopy (line 2135) | def test_partitionBuildProps_fromInputFile_deepcopy(self): class DeviceSpecificParamsTest (line 2162) | class DeviceSpecificParamsTest(test_utils.ReleaseToolsTestCase): method test_missingSource (line 2164) | def test_missingSource(self): FILE: tools/releasetools/test_merge_ota.py class MergeOtaTest (line 26) | class MergeOtaTest(ReleaseToolsTestCase): method setUp (line 27) | def setUp(self) -> None: method test_MergeThreeOtas (line 32) | def test_MergeThreeOtas(self): method test_MergeDAPSnapshotDisabled (line 52) | def test_MergeDAPSnapshotDisabled(self): method test_MergeDAPSnapshotEnabled (line 62) | def test_MergeDAPSnapshotEnabled(self): method test_MergeDAPGroups (line 73) | def test_MergeDAPGroups(self): FILE: tools/releasetools/test_non_ab_ota.py class NonAbOtaPropertyFilesTest (line 27) | class NonAbOtaPropertyFilesTest(PropertyFilesTestCase): method setUp (line 29) | def setUp(self): method test_init (line 31) | def test_init(self): method test_Compute (line 37) | def test_Compute(self): method test_Finalize (line 48) | def test_Finalize(self): method test_Verify (line 67) | def test_Verify(self): class NonAbOTATest (line 80) | class NonAbOTATest(test_utils.ReleaseToolsTestCase): method test_WriteFingerprintAssertion_without_oem_props (line 121) | def test_WriteFingerprintAssertion_without_oem_props(self): method test_WriteFingerprintAssertion_with_source_oem_props (line 135) | def test_WriteFingerprintAssertion_with_source_oem_props(self): method test_WriteFingerprintAssertion_with_target_oem_props (line 147) | def test_WriteFingerprintAssertion_with_target_oem_props(self): method test_WriteFingerprintAssertion_with_both_oem_props (line 159) | def test_WriteFingerprintAssertion_with_both_oem_props(self): FILE: tools/releasetools/test_ota_from_target_files.py function construct_target_files (line 42) | def construct_target_files(secondary=False, compressedApex=False): class LoadOemDictsTest (line 92) | class LoadOemDictsTest(test_utils.ReleaseToolsTestCase): method test_NoneDict (line 94) | def test_NoneDict(self): method test_SingleDict (line 97) | def test_SingleDict(self): method test_MultipleDicts (line 107) | def test_MultipleDicts(self): class OtaFromTargetFilesTest (line 125) | class OtaFromTargetFilesTest(test_utils.ReleaseToolsTestCase): method setUp (line 180) | def setUp(self): method GetLegacyOtaMetadata (line 199) | def GetLegacyOtaMetadata(target_info, source_info=None): method test_GetPackageMetadata_abOta_full (line 203) | def test_GetPackageMetadata_abOta_full(self): method test_GetPackageMetadata_abOta_incremental (line 222) | def test_GetPackageMetadata_abOta_incremental(self): method test_GetPackageMetadata_nonAbOta_full (line 245) | def test_GetPackageMetadata_nonAbOta_full(self): method test_GetPackageMetadata_nonAbOta_incremental (line 261) | def test_GetPackageMetadata_nonAbOta_incremental(self): method test_GetPackageMetadata_wipe (line 281) | def test_GetPackageMetadata_wipe(self): method test_GetApexInfoFromTargetFiles (line 300) | def test_GetApexInfoFromTargetFiles(self): method construct_tf_with_apex_info (line 315) | def construct_tf_with_apex_info(infos): method test_ConstructOtaApexInfo_incremental_package (line 325) | def test_ConstructOtaApexInfo_incremental_package(self): method test_GetPackageMetadata_retrofitDynamicPartitions (line 343) | def test_GetPackageMetadata_retrofitDynamicPartitions(self): method _test_GetPackageMetadata_swapBuildTimestamps (line 362) | def _test_GetPackageMetadata_swapBuildTimestamps(target_info, source_i... method _test_GetPackageMetadata_swapVendorBuildTimestamps (line 369) | def _test_GetPackageMetadata_swapVendorBuildTimestamps(target_info, so... method test_GetPackageMetadata_unintentionalDowngradeDetected (line 375) | def test_GetPackageMetadata_unintentionalDowngradeDetected(self): method test_GetPackageMetadata_unintentionalVendorDowngradeDetected (line 387) | def test_GetPackageMetadata_unintentionalVendorDowngradeDetected(self): method test_GetPackageMetadata_downgrade (line 405) | def test_GetPackageMetadata_downgrade(self): method test_GetPackageMetadata_vendorDowngrade (line 439) | def test_GetPackageMetadata_vendorDowngrade(self): method test_GetTargetFilesZipForSecondaryImages (line 489) | def test_GetTargetFilesZipForSecondaryImages(self): method test_GetTargetFilesZipForSecondaryImages_skipPostinstall (line 511) | def test_GetTargetFilesZipForSecondaryImages_skipPostinstall(self): method test_GetTargetFilesZipForSecondaryImages_withoutRadioImages (line 530) | def test_GetTargetFilesZipForSecondaryImages_withoutRadioImages(self): method test_GetTargetFilesZipForSecondaryImages_dynamicPartitions (line 550) | def test_GetTargetFilesZipForSecondaryImages_dynamicPartitions(self): method test_GetTargetFilesZipForPartialUpdates_singlePartition (line 599) | def test_GetTargetFilesZipForPartialUpdates_singlePartition(self): method test_GetTargetFilesZipForPartialUpdates_unrecognizedPartition (line 622) | def test_GetTargetFilesZipForPartialUpdates_unrecognizedPartition(self): method test_GetTargetFilesZipForPartialUpdates_dynamicPartitions (line 628) | def test_GetTargetFilesZipForPartialUpdates_dynamicPartitions(self): method test_GetTargetFilesZipWithoutPostinstallConfig (line 679) | def test_GetTargetFilesZipWithoutPostinstallConfig(self): method test_GetTargetFilesZipWithoutPostinstallConfig_missingEntry (line 686) | def test_GetTargetFilesZipWithoutPostinstallConfig_missingEntry(self): method test_GetTargetFilesZipForCustomImagesUpdates_oemDefaultImage (line 694) | def test_GetTargetFilesZipForCustomImagesUpdates_oemDefaultImage(self): method test_GetTargetFilesZipForCustomImagesUpdates_oemTestImage (line 714) | def test_GetTargetFilesZipForCustomImagesUpdates_oemTestImage(self): method _test_FinalizeMetadata (line 733) | def _test_FinalizeMetadata(self, large_entry=False): method test_FinalizeMetadata (line 757) | def test_FinalizeMetadata(self): method test_FinalizeMetadata_withNoSigning (line 761) | def test_FinalizeMetadata_withNoSigning(self): method test_FinalizeMetadata_largeEntry (line 766) | def test_FinalizeMetadata_largeEntry(self): method test_FinalizeMetadata_largeEntry_withNoSigning (line 770) | def test_FinalizeMetadata_largeEntry_withNoSigning(self): method test_FinalizeMetadata_insufficientSpace (line 775) | def test_FinalizeMetadata_insufficientSpace(self): class TestPropertyFiles (line 801) | class TestPropertyFiles(PropertyFiles): method __init__ (line 804) | def __init__(self): class PropertyFilesTest (line 817) | class PropertyFilesTest(PropertyFilesTestCase): method test_Compute (line 820) | def test_Compute(self): method test_Compute_withOptionalEntries (line 834) | def test_Compute_withOptionalEntries(self): method test_Compute_missingRequiredEntry (line 850) | def test_Compute_missingRequiredEntry(self): method test_Finalize (line 860) | def test_Finalize(self): method test_Finalize_assertReservedLength (line 883) | def test_Finalize_assertReservedLength(self): method test_Verify (line 918) | def test_Verify(self): class StreamingPropertyFilesTest (line 942) | class StreamingPropertyFilesTest(PropertyFilesTestCase): method test_init (line 945) | def test_init(self): method test_Compute (line 963) | def test_Compute(self): method test_Finalize (line 979) | def test_Finalize(self): method test_Verify (line 1003) | def test_Verify(self): class AbOtaPropertyFilesTest (line 1027) | class AbOtaPropertyFilesTest(PropertyFilesTestCase): method setUp (line 1033) | def setUp(self): method test_init (line 1045) | def test_init(self): method test_GetPayloadMetadataOffsetAndSize (line 1064) | def test_GetPayloadMetadataOffsetAndSize(self): method construct_zip_package_withValidPayload (line 1128) | def construct_zip_package_withValidPayload(with_metadata=False): method test_Compute (line 1157) | def test_Compute(self): method test_Finalize (line 1171) | def test_Finalize(self): method test_Verify (line 1188) | def test_Verify(self): class PayloadSignerTest (line 1198) | class PayloadSignerTest(test_utils.ReleaseToolsTestCase): method setUp (line 1203) | def setUp(self): method _assertFilesEqual (line 1214) | def _assertFilesEqual(self, file1, file2): method test_init (line 1219) | def test_init(self): method test_init_withPassword (line 1225) | def test_init_withPassword(self): method test_init_withExternalSigner (line 1234) | def test_init_withExternalSigner(self): method test_GetMaximumSignatureSizeInBytes_512Bytes (line 1244) | def test_GetMaximumSignatureSizeInBytes_512Bytes(self): method test_GetMaximumSignatureSizeInBytes_ECKey (line 1251) | def test_GetMaximumSignatureSizeInBytes_ECKey(self): method test_Sign (line 1258) | def test_Sign(self): method test_Sign_withExternalSigner_openssl (line 1266) | def test_Sign_withExternalSigner_openssl(self): method test_Sign_withExternalSigner_script (line 1280) | def test_Sign_withExternalSigner_script(self): class PayloadTest (line 1296) | class PayloadTest(test_utils.ReleaseToolsTestCase): method setUp (line 1298) | def setUp(self): method _create_payload_full (line 1311) | def _create_payload_full(secondary=False): method _create_payload_incremental (line 1318) | def _create_payload_incremental(): method test_Generate_full (line 1326) | def test_Generate_full(self): method test_Generate_incremental (line 1331) | def test_Generate_incremental(self): method test_Generate_additionalArgs (line 1336) | def test_Generate_additionalArgs(self): method test_Generate_invalidInput (line 1347) | def test_Generate_invalidInput(self): method test_Sign_full (line 1354) | def test_Sign_full(self): method test_Sign_incremental (line 1368) | def test_Sign_incremental(self): method test_Sign_withDataWipe (line 1382) | def test_Sign_withDataWipe(self): method test_Sign_secondary (line 1394) | def test_Sign_secondary(self): method test_Sign_badSigner (line 1405) | def test_Sign_badSigner(self): method test_WriteToZip (line 1413) | def test_WriteToZip(self): method test_WriteToZip_secondary (line 1435) | def test_WriteToZip_secondary(self): class RuntimeFingerprintTest (line 1458) | class RuntimeFingerprintTest(test_utils.ReleaseToolsTestCase): method setUp (line 1503) | def setUp(self): method writeFiles (line 1509) | def writeFiles(self, contents_dict, out_dir): method constructFingerprint (line 1519) | def constructFingerprint(prefix): method test_CalculatePossibleFingerprints_no_dynamic_fingerprint (line 1523) | def test_CalculatePossibleFingerprints_no_dynamic_fingerprint(self): method test_CalculatePossibleFingerprints_single_override (line 1542) | def test_CalculatePossibleFingerprints_single_override(self): method test_CalculatePossibleFingerprints_multiple_overrides (line 1571) | def test_CalculatePossibleFingerprints_multiple_overrides(self): method test_GetPackageMetadata_full_package (line 1614) | def test_GetPackageMetadata_full_package(self): method CheckMetadataEqual (line 1646) | def CheckMetadataEqual(self, metadata_dict, metadata_proto): method test_GetPackageMetadata_incremental_package (line 1672) | def test_GetPackageMetadata_incremental_package(self): FILE: tools/releasetools/test_ota_utils.py class TestZipEntryOffset (line 22) | class TestZipEntryOffset(unittest.TestCase): method test_extra_length_differ (line 23) | def test_extra_length_differ(self): FILE: tools/releasetools/test_rangelib.py class RangeSetTest (line 21) | class RangeSetTest(ReleaseToolsTestCase): method test_union (line 23) | def test_union(self): method test_intersect (line 29) | def test_intersect(self): method test_subtract (line 35) | def test_subtract(self): method test_overlaps (line 41) | def test_overlaps(self): method test_size (line 45) | def test_size(self): method test_map_within (line 49) | def test_map_within(self): method test_first (line 61) | def test_first(self): method test_extend (line 72) | def test_extend(self): method test_equality (line 78) | def test_equality(self): method test_init (line 90) | def test_init(self): method test_str (line 99) | def test_str(self): method test_to_string_raw (line 105) | def test_to_string_raw(self): method test_monotonic (line 113) | def test_monotonic(self): method test_parse_raw (line 128) | def test_parse_raw(self): method test_next_item (line 142) | def test_next_item(self): FILE: tools/releasetools/test_sign_apex.py class SignApexTest (line 24) | class SignApexTest(test_utils.ReleaseToolsTestCase): method setUp (line 26) | def setUp(self): method test_SignApexFile (line 33) | def test_SignApexFile(self): method test_SignApexWithApk (line 46) | def test_SignApexWithApk(self): method test_SignCompressedApexFile (line 62) | def test_SignCompressedApexFile(self): FILE: tools/releasetools/test_sign_target_files_apks.py class SignTargetFilesApksTest (line 30) | class SignTargetFilesApksTest(test_utils.ReleaseToolsTestCase): method setUp (line 47) | def setUp(self): method test_EditTags (line 50) | def test_EditTags(self): method test_RewriteAvbProps (line 60) | def test_RewriteAvbProps(self): method test_RewriteProps (line 100) | def test_RewriteProps(self): method test_ReplaceCerts (line 157) | def test_ReplaceCerts(self): method test_ReplaceCerts_duplicateEntries (line 183) | def test_ReplaceCerts_duplicateEntries(self): method test_ReplaceCerts_skipNonExistentCerts (line 201) | def test_ReplaceCerts_skipNonExistentCerts(self): method test_WriteOtacerts (line 227) | def test_WriteOtacerts(self): method test_CheckApkAndApexKeysAvailable (line 243) | def test_CheckApkAndApexKeysAvailable(self): method test_CheckApkAndApexKeysAvailable_invalidApexKeys (line 267) | def test_CheckApkAndApexKeysAvailable_invalidApexKeys(self): method test_GetApkFileInfo (line 300) | def test_GetApkFileInfo(self): method test_GetApkFileInfo_withCompressedApks (line 319) | def test_GetApkFileInfo_withCompressedApks(self): method test_GetApkFileInfo_withSkippedPrefixes (line 338) | def test_GetApkFileInfo_withSkippedPrefixes(self): method test_GetApkFileInfo_checkSkippedPrefixesInput (line 377) | def test_GetApkFileInfo_checkSkippedPrefixesInput(self): method test_ReadApexKeysInfo (line 415) | def test_ReadApexKeysInfo(self): method test_ReadApexKeysInfo_mismatchingContainerKeys (line 432) | def test_ReadApexKeysInfo_mismatchingContainerKeys(self): method test_ReadApexKeysInfo_missingPayloadPrivateKey (line 448) | def test_ReadApexKeysInfo_missingPayloadPrivateKey(self): method test_ReadApexKeysInfo_missingPayloadPublicKey (line 471) | def test_ReadApexKeysInfo_missingPayloadPublicKey(self): method test_ReadApexKeysInfo_presignedKeys (line 494) | def test_ReadApexKeysInfo_presignedKeys(self): method test_ReadApexKeysInfo_presignedKeys (line 517) | def test_ReadApexKeysInfo_presignedKeys(self): method test_ParseAvbInfo (line 540) | def test_ParseAvbInfo(self): FILE: tools/releasetools/test_utils.py function SkipIfExternalToolsUnavailable (line 48) | def SkipIfExternalToolsUnavailable(): function get_testdata_dir (line 55) | def get_testdata_dir(): function get_current_dir (line 62) | def get_current_dir(): function get_search_path (line 69) | def get_search_path(): function append_avb_footer (line 96) | def append_avb_footer(file_path: str, partition_name: str = ""): function erase_avb_footer (line 106) | def erase_avb_footer(file_path: str): function construct_sparse_image (line 115) | def construct_sparse_image(chunks, partition_name: str = ""): class MockScriptWriter (line 180) | class MockScriptWriter(object): method __init__ (line 187) | def __init__(self, enable_comments=False): method Mount (line 191) | def Mount(self, *args): method AssertDevice (line 194) | def AssertDevice(self, *args): method AssertOemProperty (line 197) | def AssertOemProperty(self, *args): method AssertFingerprintOrThumbprint (line 200) | def AssertFingerprintOrThumbprint(self, *args): method AssertSomeFingerprint (line 203) | def AssertSomeFingerprint(self, *args): method AssertSomeThumbprint (line 206) | def AssertSomeThumbprint(self, *args): method Comment (line 209) | def Comment(self, comment): method AppendExtra (line 214) | def AppendExtra(self, extra): method __str__ (line 217) | def __str__(self): class ReleaseToolsTestCase (line 221) | class ReleaseToolsTestCase(unittest.TestCase): method tearDown (line 224) | def tearDown(self): class PropertyFilesTestCase (line 228) | class PropertyFilesTestCase(ReleaseToolsTestCase): method construct_zip_package (line 231) | def construct_zip_package(entries): method _parse_property_files_string (line 242) | def _parse_property_files_string(data): method setUp (line 249) | def setUp(self): method _verify_entries (line 252) | def _verify_entries(self, input_file, tokens, entries): FILE: tools/releasetools/test_validate_target_files.py class ValidateTargetFilesTest (line 31) | class ValidateTargetFilesTest(test_utils.ReleaseToolsTestCase): method setUp (line 33) | def setUp(self): method _generate_boot_image (line 36) | def _generate_boot_image(self, output_file): method test_ValidateVerifiedBootImages_bootImage (line 58) | def test_ValidateVerifiedBootImages_bootImage(self): method test_ValidateVerifiedBootImages_bootImage_wrongKey (line 73) | def test_ValidateVerifiedBootImages_bootImage_wrongKey(self): method test_ValidateVerifiedBootImages_bootImage_corrupted (line 90) | def test_ValidateVerifiedBootImages_bootImage_corrupted(self): method _generate_system_image (line 114) | def _generate_system_image(self, output_file, system_root=None, method test_ValidateVerifiedBootImages_systemRootImage (line 145) | def test_ValidateVerifiedBootImages_systemRootImage(self): method test_ValidateVerifiedBootImages_nonSystemRootImage (line 168) | def test_ValidateVerifiedBootImages_nonSystemRootImage(self): method test_ValidateVerifiedBootImages_nonSystemRootImage_mismatchingKeys (line 199) | def test_ValidateVerifiedBootImages_nonSystemRootImage_mismatchingKeys... method test_ValidateFileConsistency_incompleteRange (line 232) | def test_ValidateFileConsistency_incompleteRange(self): method test_ValidateFileConsistency_nonMonotonicRanges (line 285) | def test_ValidateFileConsistency_nonMonotonicRanges(self): method make_build_prop (line 332) | def make_build_prop(build_prop): method test_checkDuplicateProps_noDuplicate (line 341) | def test_checkDuplicateProps_noDuplicate(self): method test_checkDuplicateProps_withDuplicate (line 351) | def test_checkDuplicateProps_withDuplicate(self): FILE: tools/releasetools/test_verity_utils.py class VerifiedBootVersion2VerityImageBuilderTest (line 35) | class VerifiedBootVersion2VerityImageBuilderTest(ReleaseToolsTestCase): method test_init (line 45) | def test_init(self): method test_init_MissingProps (line 51) | def test_init_MissingProps(self): method test_Build (line 58) | def test_Build(self): method _test_CalculateMinPartitionSize_SetUp (line 83) | def _test_CalculateMinPartitionSize_SetUp(self): method test_CalculateMinPartitionSize_LinearFooterSize (line 101) | def test_CalculateMinPartitionSize_LinearFooterSize(self): method test_AVBCalcMinPartitionSize_SlowerGrowthFooterSize (line 112) | def test_AVBCalcMinPartitionSize_SlowerGrowthFooterSize(self): method test_CalculateMinPartitionSize_FasterGrowthFooterSize (line 133) | def test_CalculateMinPartitionSize_FasterGrowthFooterSize(self): method test_CalculateVbmetaDigest (line 156) | def test_CalculateVbmetaDigest(self): FILE: tools/releasetools/validate_target_files.py function _ReadFile (line 47) | def _ReadFile(file_name, unpacked_name, round_up=False): function ValidateFileAgainstSha1 (line 59) | def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sh... function ValidateFileConsistency (line 71) | def ValidateFileConsistency(input_zip, input_tmp, info_dict): function ValidateInstallRecoveryScript (line 146) | def ValidateInstallRecoveryScript(input_tmp, info_dict): function symlinkIfNotExists (line 253) | def symlinkIfNotExists(src, dst): function ValidatePartitionFingerprints (line 262) | def ValidatePartitionFingerprints(input_tmp, info_dict): function ValidateVerifiedBootImages (line 292) | def ValidateVerifiedBootImages(input_tmp, info_dict, options): function CheckDataInconsistency (line 471) | def CheckDataInconsistency(lines): function CheckBuildPropDuplicity (line 489) | def CheckBuildPropDuplicity(input_tmp): function main (line 510) | def main(): FILE: tools/releasetools/verity_utils.py class BuildVerityImageError (line 47) | class BuildVerityImageError(Exception): method __init__ (line 50) | def __init__(self, message): function CreateVerityImageBuilder (line 54) | def CreateVerityImageBuilder(prop_dict): class VerityImageBuilder (line 108) | class VerityImageBuilder(object): method CalculateMaxImageSize (line 120) | def CalculateMaxImageSize(self, partition_size): method CalculateDynamicPartitionSize (line 124) | def CalculateDynamicPartitionSize(self, image_size): method PadSparseImage (line 128) | def PadSparseImage(self, out_file): method Build (line 132) | def Build(self, out_file): class VerifiedBootVersion2VerityImageBuilder (line 137) | class VerifiedBootVersion2VerityImageBuilder(VerityImageBuilder): method __init__ (line 143) | def __init__(self, partition_name, partition_size, footer_type, avbtool, method CalculateMinPartitionSize (line 157) | def CalculateMinPartitionSize(self, image_size, size_calculator=None): method CalculateDynamicPartitionSize (line 220) | def CalculateDynamicPartitionSize(self, image_size): method CalculateMaxImageSize (line 224) | def CalculateMaxImageSize(self, partition_size=None): method PadSparseImage (line 260) | def PadSparseImage(self, out_file): method Build (line 264) | def Build(self, out_file): function CreateCustomImageBuilder (line 288) | def CreateCustomImageBuilder(info_dict, partition_name, partition_size, function GetDiskUsage (line 307) | def GetDiskUsage(path): function CalculateVbmetaDigest (line 321) | def CalculateVbmetaDigest(extracted_dir, avbtool): function main (line 345) | def main(argv): FILE: tools/sbom/compliance_metadata.py class MetadataDb (line 19) | class MetadataDb: method __init__ (line 20) | def __init__(self, db): method reorg (line 27) | def reorg(self): method dump_debug_db (line 120) | def dump_debug_db(self, debug_db): method get_installed_files (line 124) | def get_installed_files(self): method get_installed_file_in_dir (line 135) | def get_installed_file_in_dir(self, dir): method get_soong_modules (line 150) | def get_soong_modules(self): method get_package_licenses (line 161) | def get_package_licenses(self, package): method get_module_licenses (line 172) | def get_module_licenses(self, module_name, package): method get_soong_module_of_installed_file (line 195) | def get_soong_module_of_installed_file(self, installed_file): method get_soong_module_of_built_file (line 208) | def get_soong_module_of_built_file(self, built_file): FILE: tools/sbom/gen_notice_xml.py function get_args (line 47) | def get_args(): function log (line 60) | def log(*info): function new_file_name_tag (line 66) | def new_file_name_tag(file_metadata, package_name, content_id): function new_file_content_tag (line 74) | def new_file_content_tag(content_id, license_text): function get_metadata_file_path (line 78) | def get_metadata_file_path(file_metadata): function md5_file_content (line 91) | def md5_file_content(filepath): function get_transitive_static_dep_modules (line 97) | def get_transitive_static_dep_modules(installed_file_metadata, db): function main (line 131) | def main(): FILE: tools/sbom/gen_sbom.py function get_args (line 131) | def get_args(): function log (line 146) | def log(*info): function new_package_id (line 152) | def new_package_id(package_name, type): function new_file_id (line 156) | def new_file_id(file_path): function new_license_id (line 160) | def new_license_id(license_name): function checksum (line 164) | def checksum(file_path): function is_soong_prebuilt_module (line 174) | def is_soong_prebuilt_module(file_metadata): function is_source_package (line 179) | def is_source_package(file_metadata): function is_prebuilt_package (line 184) | def is_prebuilt_package(file_metadata): function get_source_package_info (line 198) | def get_source_package_info(file_metadata, metadata_file_path): function get_prebuilt_package_name (line 227) | def get_prebuilt_package_name(file_metadata, metadata_file_path): function get_metadata_file_path (line 249) | def get_metadata_file_path(file_metadata): function get_package_version (line 263) | def get_package_version(metadata_file_path): function get_package_homepage (line 271) | def get_package_homepage(metadata_file_path): function get_package_download_location (line 285) | def get_package_download_location(metadata_file_path): function get_license_text (line 300) | def get_license_text(license_files): function get_sbom_fragments (line 310) | def get_sbom_fragments(installed_file_metadata, metadata_file_path): function save_report (line 405) | def save_report(report_file_path, report): function installed_file_has_metadata (line 415) | def installed_file_has_metadata(installed_file_metadata, report): function validate_package_metadata (line 438) | def validate_package_metadata(metadata_file_path, package_metadata): function report_metadata_file (line 449) | def report_metadata_file(metadata_file_path, installed_file_metadata, re... function add_package_of_file (line 483) | def add_package_of_file(file_id, file_metadata, doc, report): function add_static_deps_of_file (line 504) | def add_static_deps_of_file(file_id, file_metadata, doc): function add_licenses_of_file (line 521) | def add_licenses_of_file(file_id, file_metadata, doc): function get_all_transitive_static_dep_files_of_installed_files (line 537) | def get_all_transitive_static_dep_files_of_installed_files(installed_fil... function main (line 574) | def main(): FILE: tools/sbom/generate-sbom-framework_res.py function get_args (line 31) | def get_args(): function main (line 43) | def main(): FILE: tools/sbom/generate-sbom.py function get_args (line 126) | def get_args(): function log (line 141) | def log(*info): function new_package_id (line 147) | def new_package_id(package_name, type): function new_file_id (line 151) | def new_file_id(file_path): function checksum (line 155) | def checksum(file_path): function is_soong_prebuilt_module (line 165) | def is_soong_prebuilt_module(file_metadata): function is_source_package (line 170) | def is_source_package(file_metadata): function is_prebuilt_package (line 175) | def is_prebuilt_package(file_metadata): function get_source_package_info (line 189) | def get_source_package_info(file_metadata, metadata_file_path): function get_prebuilt_package_name (line 218) | def get_prebuilt_package_name(file_metadata, metadata_file_path): function get_metadata_file_path (line 240) | def get_metadata_file_path(file_metadata): function get_package_version (line 254) | def get_package_version(metadata_file_path): function get_package_homepage (line 262) | def get_package_homepage(metadata_file_path): function get_package_download_location (line 276) | def get_package_download_location(metadata_file_path): function get_sbom_fragments (line 291) | def get_sbom_fragments(installed_file_metadata, metadata_file_path): function save_report (line 362) | def save_report(report_file_path, report): function installed_file_has_metadata (line 372) | def installed_file_has_metadata(installed_file_metadata, report): function validate_package_metadata (line 393) | def validate_package_metadata(metadata_file_path, package_metadata): function report_metadata_file (line 404) | def report_metadata_file(metadata_file_path, installed_file_metadata, re... function generate_sbom_for_unbundled_apk (line 437) | def generate_sbom_for_unbundled_apk(): function main (line 475) | def main(): FILE: tools/sbom/sbom_data.py class PackageExternalRefCategory (line 42) | class PackageExternalRefCategory: class PackageExternalRefType (line 49) | class PackageExternalRefType: class PackageExternalRef (line 55) | class PackageExternalRef: class Package (line 62) | class Package: class File (line 76) | class File: class RelationshipType (line 83) | class RelationshipType: class Relationship (line 92) | class Relationship: class DocumentExternalReference (line 99) | class DocumentExternalReference: class License (line 106) | class License: class Document (line 113) | class Document: method add_external_ref (line 126) | def add_external_ref(self, external_ref): method add_package (line 130) | def add_package(self, package): method add_relationship (line 139) | def add_relationship(self, rel): method add_license (line 144) | def add_license(self, license): method generate_packages_verification_code (line 148) | def generate_packages_verification_code(self): function encode_for_spdxid (line 162) | def encode_for_spdxid(s): FILE: tools/sbom/sbom_data_test.py class SBOMDataTest (line 39) | class SBOMDataTest(unittest.TestCase): method setUp (line 41) | def setUp(self): method test_package_verification_code (line 129) | def test_package_verification_code(self): method test_add_package_ (line 141) | def test_add_package_(self): FILE: tools/sbom/sbom_writers.py class Tags (line 28) | class Tags: class TagValueWriter (line 73) | class TagValueWriter: method marshal_doc_headers (line 75) | def marshal_doc_headers(sbom_doc): method marshal_package (line 93) | def marshal_package(sbom_doc, package, fragment): method marshal_packages (line 134) | def marshal_packages(sbom_doc, fragment): method marshal_file (line 164) | def marshal_file(file): method marshal_files (line 179) | def marshal_files(sbom_doc, fragment): method marshal_relationship (line 196) | def marshal_relationship(rel): method marshal_relationships (line 200) | def marshal_relationships(sbom_doc, marshaled_rels): method marshal_license (line 212) | def marshal_license(license): method marshal_licenses (line 220) | def marshal_licenses(sbom_doc): method write (line 228) | def write(sbom_doc, file, fragment=False): class PropNames (line 240) | class PropNames: class JSONWriter (line 292) | class JSONWriter: method marshal_doc_headers (line 294) | def marshal_doc_headers(sbom_doc): method marshal_packages (line 324) | def marshal_packages(sbom_doc): method marshal_files (line 363) | def marshal_files(sbom_doc): method marshal_relationships (line 382) | def marshal_relationships(sbom_doc): method marshal_licenses (line 396) | def marshal_licenses(sbom_doc): method write (line 407) | def write(sbom_doc, file): FILE: tools/sbom/sbom_writers_test.py class SBOMWritersTest (line 45) | class SBOMWritersTest(unittest.TestCase): method setUp (line 47) | def setUp(self): method test_tagvalue_writer (line 159) | def test_tagvalue_writer(self): method test_tagvalue_writer_doc_describes_file (line 166) | def test_tagvalue_writer_doc_describes_file(self): method test_tagvalue_writer_unbundled (line 174) | def test_tagvalue_writer_unbundled(self): method test_json_writer (line 181) | def test_json_writer(self): FILE: tools/signapk/src/com/android/signapk/CountingOutputStream.java class CountingOutputStream (line 20) | class CountingOutputStream extends OutputStream { method CountingOutputStream (line 24) | public CountingOutputStream(OutputStream base) { method close (line 28) | @Override method flush (line 33) | @Override method write (line 38) | @Override method write (line 44) | @Override method write (line 50) | @Override method getWrittenBytes (line 56) | public long getWrittenBytes() { FILE: tools/signapk/src/com/android/signapk/SignApk.java class SignApk (line 125) | class SignApk { method getDigestAlgorithmForOta (line 150) | private static int getDigestAlgorithmForOta(X509Certificate cert) { method getJcaSignatureAlgorithmForOta (line 168) | private static String getJcaSignatureAlgorithmForOta( method readPublicKey (line 192) | private static X509Certificate readPublicKey(File file) method readPassword (line 209) | private static char[] readPassword(String keyFileName) { method decryptPrivateKey (line 236) | private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedP... method readPrivateKey (line 260) | private static PrivateKey readPrivateKey(File file) method createKeyStore (line 290) | private static KeyStore createKeyStore(String keyStoreName, String key... method loadPrivateKeyFromKeyStore (line 301) | private static PrivateKey loadPrivateKeyFromKeyStore( method addOtacert (line 322) | private static void addOtacert(JarOutputStream outputJar, method writeSignatureBlock (line 341) | private static void writeSignatureBlock( method addV1Signature (line 375) | private static void addV1Signature( method copyFiles (line 402) | private static void copyFiles( method extractPinPatterns (line 616) | private static List extractPinPatterns(JarFile... method addPinByteRanges (line 627) | private static void addPinByteRanges(JarOutputStream outputJar, method shouldOutputApkEntry (line 636) | private static boolean shouldOutputApkEntry( method provideJarEntry (line 662) | private static void provideJarEntry( method getStoredEntryDataAlignment (line 681) | private static int getStoredEntryDataAlignment(String entryName, int d... class WholeFileSignerOutputStream (line 695) | private static class WholeFileSignerOutputStream extends FilterOutputS... method WholeFileSignerOutputStream (line 700) | public WholeFileSignerOutputStream(OutputStream out, OutputStream te... method notifyClosing (line 705) | public void notifyClosing() { method finish (line 709) | public void finish() throws IOException { method getTail (line 718) | public byte[] getTail() { method write (line 722) | @Override method write (line 727) | @Override method write (line 740) | @Override class CMSSigner (line 754) | private static class CMSSigner implements CMSTypedData { method CMSSigner (line 770) | public CMSSigner(JarFile inputJar, File publicKeyFile, method getContent (line 787) | @Override method getContentType (line 792) | @Override method write (line 797) | @Override method writeSignatureBlock (line 817) | public void writeSignatureBlock(ByteArrayOutputStream temp) method getSigner (line 825) | public WholeFileSignerOutputStream getSigner() { method signWholeFile (line 830) | private static void signWholeFile(JarFile inputJar, File publicKeyFile, method loadProviderIfNecessary (line 903) | private static void loadProviderIfNecessary(String providerClassName, ... method createSignerConfigs (line 965) | private static List createSignerC... class ZipSections (line 987) | private static class ZipSections { method findMainZipSections (line 996) | private static ZipSections findMainZipSections(DataSource apk) method getMinSdkVersion (line 1031) | private static final int getMinSdkVersion(JarFile apk) throws MinSdkVe... method toByteArray (line 1047) | private static byte[] toByteArray(InputStream in) throws IOException { method usage (line 1057) | private static void usage() { method main (line 1074) | public static void main(String[] args) { FILE: tools/signtos/SignTos.java class SignTos (line 59) | public class SignTos { method readPassword (line 76) | private static String readPassword(File keyFile) { method decryptPrivateKey (line 97) | private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedP... method readPrivateKey (line 124) | private static PrivateKey readPrivateKey(File file) throws IOException, method loadProviderIfNecessary (line 155) | private static void loadProviderIfNecessary(String providerClassName) { method getSignatureAlgorithm (line 203) | private static String getSignatureAlgorithm(Key key) { method signWholeFile (line 223) | private static void signWholeFile(InputStream input, OutputStream outp... method usage (line 256) | private static void usage() { method main (line 264) | public static void main(String[] args) throws Exception { FILE: tools/soong_to_convert.py function count_deps (line 56) | def count_deps(depsdb, module, seen): function process (line 70) | def process(reader): function filter (line 100) | def filter(results, module_type): function display (line 103) | def display(results): function main (line 111) | def main(filename): FILE: tools/stub_diff_analyzer.py class DifferCodes (line 30) | class DifferCodes: class FilesDiffAnalyzer (line 36) | class FilesDiffAnalyzer: method __init__ (line 37) | def __init__(self, args) -> None: method get_files (line 52) | def get_files(self, dir: str) -> List[str]: method map_common_files (line 80) | def map_common_files(self, files: List[str], dir: str) -> None: method compare_file_contents (line 86) | def compare_file_contents(self, first_file: str, second_file: str) -> ... method lines_differ (line 151) | def lines_differ(self, line1: str, line2: str) -> bool: method analyze (line 183) | def analyze(self) -> None: method write (line 207) | def write(self, lines: List[str]) -> None: function sort_methods (line 217) | def sort_methods(lines: List[str]) -> List[str]: function get_file_contents (line 282) | def get_file_contents(file_path: str) -> List[str]: function pprint (line 289) | def pprint(l: List[str]) -> None: function write_lines (line 293) | def write_lines(out_dir: str, lines: List[str]) -> None: function dir_exists (line 299) | def dir_exists(dir: str) -> bool: FILE: tools/test_extract_kernel.py class ExtractKernelTest (line 20) | class ExtractKernelTest(unittest.TestCase): method test_extract_version (line 21) | def test_extract_version(self): method test_dump_self (line 27) | def test_dump_self(self): FILE: tools/test_post_process_props.py class PropTestCase (line 24) | class PropTestCase(unittest.TestCase): method test_createFromLine (line 25) | def test_createFromLine(self): method test_makeAsComment (line 49) | def test_makeAsComment(self): class PropListTestcase (line 58) | class PropListTestcase(unittest.TestCase): method setUp (line 59) | def setUp(self): method tearDown (line 72) | def tearDown(self): method test_readFromFile (line 76) | def test_readFromFile(self): method test_putNewProp (line 99) | def test_putNewProp(self): method test_putExistingNonOptionalProp (line 108) | def test_putExistingNonOptionalProp(self): method test_putExistingOptionalProp (line 119) | def test_putExistingOptionalProp(self): method test_deleteNonOptionalProp (line 130) | def test_deleteNonOptionalProp(self): method test_deleteOptionalProp (line 138) | def test_deleteOptionalProp(self): method test_overridingNonOptional (line 146) | def test_overridingNonOptional(self): method test_overridingOptional (line 162) | def test_overridingOptional(self): method test_overridingDuplicated (line 189) | def test_overridingDuplicated(self): method test_overridingDuplicatedWithSameValue (line 210) | def test_overridingDuplicatedWithSameValue(self): method test_allowDuplicates (line 235) | def test_allowDuplicates(self): method test_validateGrfProps (line 254) | def test_validateGrfProps(self): FILE: tools/tool_event_logger/tool_event_logger.py class ToolEventLogger (line 33) | class ToolEventLogger: method __init__ (line 36) | def __init__( method create (line 57) | def create(cls, tool_tag: str): method __enter__ (line 69) | def __enter__(self): method __exit__ (line 72) | def __exit__(self, exc_type, exc_val, exc_tb): method log_invocation_started (line 75) | def log_invocation_started(self, event_time: datetime, command_args: s... method log_invocation_stopped (line 88) | def log_invocation_stopped( method flush (line 106) | def flush(self): method _create_tool_event (line 111) | def _create_tool_event(self): method _log_clearcut_event (line 120) | def _log_clearcut_event( class ArgumentParserWithLogging (line 130) | class ArgumentParserWithLogging(argparse.ArgumentParser): method error (line 132) | def error(self, message): function create_arg_parser (line 137) | def create_arg_parser(): function configure_logging (line 201) | def configure_logging(): function main (line 213) | def main(argv: list[str]): FILE: tools/tool_event_logger/tool_event_logger_test.py class ToolEventLoggerTest (line 36) | class ToolEventLoggerTest(unittest.TestCase): method setUp (line 38) | def setUp(self): method test_log_event_timestamp (line 52) | def test_log_event_timestamp(self): method test_log_event_basic_information (line 62) | def test_log_event_basic_information(self): method test_log_invocation_started (line 74) | def test_log_invocation_started(self): method test_log_invocation_stopped (line 92) | def test_log_invocation_stopped(self): method test_log_multiple_events (line 110) | def test_log_multiple_events(self): class MainTest (line 118) | class MainTest(unittest.TestCase): method test_log_and_exit_with_missing_required_args (line 132) | def test_log_and_exit_with_missing_required_args(self): method test_log_and_exit_with_invalid_args (line 146) | def test_log_and_exit_with_invalid_args(self): method test_log_and_exit_with_dry_run (line 160) | def test_log_and_exit_with_dry_run(self): method test_log_and_exit_with_unexpected_exception (line 168) | def test_log_and_exit_with_unexpected_exception(self, mock_cc): method test_success (line 179) | def test_success(self, mock_cc): class FakeClearcutClient (line 188) | class FakeClearcutClient: method __init__ (line 190) | def __init__(self, raise_log_exception=False): method log (line 195) | def log(self, log_event): method flush_events (line 200) | def flush_events(self): method get_number_of_sent_events (line 204) | def get_number_of_sent_events(self): method get_last_sent_event (line 207) | def get_last_sent_event(self): FILE: tools/warn.py function main (line 29) | def main(): FILE: tools/warn/android_project_list.py function create_pattern (line 19) | def create_pattern(name, pattern=None): FILE: tools/warn/chrome_project_list.py function create_pattern (line 10) | def create_pattern(pattern): FILE: tools/warn/cpp_warn_patterns.py function cpp_warn (line 27) | def cpp_warn(severity, description, pattern_list): function fixmenow (line 36) | def fixmenow(description, pattern_list): function high (line 40) | def high(description, pattern_list): function medium (line 44) | def medium(description, pattern_list): function low (line 48) | def low(description, pattern_list): function skip (line 52) | def skip(description, pattern_list): function harmless (line 56) | def harmless(description, pattern_list): function compile_patterns (line 523) | def compile_patterns(patterns): FILE: tools/warn/html_writer.py function make_writer (line 110) | def make_writer(output_stream): function html_big (line 118) | def html_big(param): function dump_html_prologue (line 122) | def dump_html_prologue(title, writer, warn_patterns, project_names): function dump_html_epilogue (line 132) | def dump_html_epilogue(writer): function sort_warnings (line 136) | def sort_warnings(warn_patterns): function create_warnings (line 141) | def create_warnings(warn_patterns, project_names): function get_total_by_project (line 162) | def get_total_by_project(warnings, project_names): function get_total_by_severity (line 170) | def get_total_by_severity(warnings, project_names): function emit_table_header (line 178) | def emit_table_header(total_by_severity): function emit_row_counts_per_project (line 191) | def emit_row_counts_per_project(warnings, total_by_project, total_by_sev... function emit_row_counts_per_severity (line 221) | def emit_row_counts_per_severity(total_by_severity, stats_header, stats_... function emit_stats_by_project (line 248) | def emit_stats_by_project(writer, warn_patterns, project_names): function dump_stats (line 261) | def dump_stats(writer, warn_patterns): function emit_buttons (line 297) | def emit_buttons(writer): function all_patterns (line 309) | def all_patterns(category): function dump_fixed (line 317) | def dump_fixed(writer, warn_patterns): function write_severity (line 346) | def write_severity(csvwriter, sev, kind, warn_patterns): function dump_csv (line 363) | def dump_csv(csvwriter, warn_patterns): function dump_csv_with_description (line 373) | def dump_csv_with_description(csvwriter, warning_records, warning_messages, function escape_string (line 393) | def escape_string(line): function strip_escape_string (line 398) | def strip_escape_string(line): function emit_warning_array (line 405) | def emit_warning_array(name, writer, warn_patterns): function emit_warning_arrays (line 415) | def emit_warning_arrays(writer, warn_patterns): function emit_const_number (line 572) | def emit_const_number(name, value, writer): function emit_const_string (line 577) | def emit_const_string(name, value, writer): function emit_const_int_array (line 582) | def emit_const_int_array(name, array, writer): function emit_const_string_array (line 590) | def emit_const_string_array(name, array, writer): function emit_const_html_string_array (line 598) | def emit_const_html_string_array(name, array, writer): function emit_const_object_array (line 606) | def emit_const_object_array(name, array, writer): function emit_js_data (line 613) | def emit_js_data(writer, flags, warning_messages, warning_links, function dump_boxed_section (line 791) | def dump_boxed_section(writer, func): function dump_section_header (line 797) | def dump_section_header(writer, table_name, section_title): function dump_table_section (line 803) | def dump_table_section(writer, table_name, section_title): function dump_dir_file_section (line 808) | def dump_dir_file_section(writer, dir_file, table_name, section_title): function dump_html (line 835) | def dump_html(flags, output_stream, warning_messages, warning_links, function write_html (line 883) | def write_html(flags, project_names, warn_patterns, html_path, warning_m... function write_out_csv (line 892) | def write_out_csv(flags, warn_patterns, warning_messages, warning_links, FILE: tools/warn/java_warn_patterns.py function java_warn (line 26) | def java_warn(severity, description, pattern_list): function java_high (line 35) | def java_high(description, pattern_list): function java_medium (line 39) | def java_medium(description, pattern_list): function warn_with_name (line 43) | def warn_with_name(name, severity, description=None): function high (line 51) | def high(name, description=None): function medium (line 55) | def medium(name, description=None): function low (line 59) | def low(name, description=None): FILE: tools/warn/other_warn_patterns.py function warn (line 26) | def warn(name, severity, description, pattern_list): function aapt (line 35) | def aapt(description, pattern_list): function misc (line 39) | def misc(description, pattern_list): function asm (line 43) | def asm(description, pattern_list): function kotlin (line 47) | def kotlin(description, pattern): function yacc (line 52) | def yacc(description, pattern_list): function rust (line 56) | def rust(severity, description, pattern): FILE: tools/warn/severity.py class SeverityInfo (line 23) | class SeverityInfo: method __init__ (line 26) | def __init__(self, value, color, column_header, header): class Severity (line 34) | class Severity: FILE: tools/warn/tidy_warn_patterns.py function tidy_warn (line 26) | def tidy_warn(description, patterns): function tidy_warn_pattern (line 35) | def tidy_warn_pattern(description, pattern): function simple_tidy_warn_pattern (line 39) | def simple_tidy_warn_pattern(description): function group_tidy_warn_pattern (line 43) | def group_tidy_warn_pattern(description): function analyzer_high (line 47) | def analyzer_high(description, patterns): function analyzer_high_check (line 56) | def analyzer_high_check(check): function analyzer_group_high (line 60) | def analyzer_group_high(check): function analyzer_warn (line 64) | def analyzer_warn(description, patterns): function analyzer_warn_check (line 73) | def analyzer_warn_check(check): function analyzer_group_check (line 77) | def analyzer_group_check(check): FILE: tools/warn/warn.py function classify_warnings (line 28) | def classify_warnings(args): function create_and_launch_subprocesses (line 52) | def create_and_launch_subprocesses(num_cpu, classify_warnings_fn, arg_gr... function main (line 63) | def main(): FILE: tools/warn/warn_common.py function parse_args (line 71) | def parse_args(use_google3): function get_project_names (line 116) | def get_project_names(project_list): function find_project_index (line 121) | def find_project_index(line, project_patterns): function classify_one_warning (line 129) | def classify_one_warning(warning, link, results, project_patterns, function remove_prefix (line 143) | def remove_prefix(src, sub): function generate_cs_link (line 153) | def generate_cs_link(warning_line, flags, android_root=None): function generate_android_cs_link (line 162) | def generate_android_cs_link(warning_line, flags, android_root): function generate_chrome_cs_link (line 175) | def generate_chrome_cs_link(warning_line, flags): function find_this_file_and_android_root (line 224) | def find_this_file_and_android_root(path): function find_android_root_top_dirs (line 235) | def find_android_root_top_dirs(root_dir): function find_android_root (line 245) | def find_android_root(buildlog): function remove_android_root_prefix (line 288) | def remove_android_root_prefix(path, android_root): function normalize_path (line 295) | def normalize_path(path, flags, android_root=None): function normalize_warning_line (line 312) | def normalize_warning_line(line, flags, android_root=None): function parse_input_file_chrome (line 323) | def parse_input_file_chrome(infile, flags): function add_normalized_line_to_warnings (line 361) | def add_normalized_line_to_warnings(line, flags, android_root, unique_wa... function parse_input_file_android (line 370) | def parse_input_file_android(infile, flags): function parse_input_file (line 502) | def parse_input_file(infile, flags): function parse_compiler_output (line 512) | def parse_compiler_output(compiler_output): function get_warn_patterns (line 522) | def get_warn_patterns(platform): function get_project_list (line 541) | def get_project_list(platform): function parallel_classify_warnings (line 550) | def parallel_classify_warnings(warning_data, args, project_names, function process_log (line 611) | def process_log(logfile, flags, project_names, project_patterns, warn_pa... function common_main (line 644) | def common_main(use_google3, create_launch_subprocs_fn, classify_warning... FILE: tools/zipalign/ZipAlign.cpp type android (line 24) | namespace android { function isDirectory (line 28) | static bool isDirectory(ZipEntry* entry) { function getAlignment (line 39) | static int getAlignment(bool pageAlignSharedLibs, int defaultAlignment, function copyAndAlign (line 56) | static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment, ... function process (line 108) | int process(const char* inFileName, const char* outFileName, function verify (line 152) | int verify(const char* fileName, int alignment, bool verbose, FILE: tools/zipalign/ZipAlignMain.cpp function usage (line 32) | void usage(void) function main (line 55) | int main(int argc, char* const argv[]) FILE: tools/zipalign/ZipEntry.cpp type android (line 34) | namespace android { function status_t (line 43) | status_t ZipEntry::initFromCDE(FILE* fp) function status_t (line 145) | status_t ZipEntry::initFromExternal(const ZipEntry* pEntry) function status_t (line 198) | status_t ZipEntry::addPadding(int padding) function time_t (line 338) | time_t ZipEntry::getModWhen(void) const type tm (line 363) | struct tm type tm (line 364) | struct tm function status_t (line 400) | status_t ZipEntry::LocalFileHeader::read(FILE* fp) function status_t (line 467) | status_t ZipEntry::LocalFileHeader::write(FILE* fp) function status_t (line 534) | status_t ZipEntry::CentralDirEntry::read(FILE* fp) function status_t (line 625) | status_t ZipEntry::CentralDirEntry::write(FILE* fp) FILE: tools/zipalign/ZipEntry.h function namespace (line 32) | namespace android { FILE: tools/zipalign/ZipFile.cpp type android (line 40) | namespace android { function status_t (line 50) | static status_t errnoToStatus(int err) function status_t (line 63) | status_t ZipFile::open(const char* zipFileName, int flags) function ZipEntry (line 139) | ZipEntry* ZipFile::getEntryByIndex(int idx) const function ZipEntry (line 150) | ZipEntry* ZipFile::getEntryByName(const char* fileName) const function status_t (line 208) | status_t ZipFile::readCentralDir(void) function status_t (line 350) | status_t ZipFile::addCommon(const char* fileName, const void* data, si... function status_t (line 501) | status_t ZipFile::alignEntry(android::ZipEntry* pEntry, uint32_t align... function status_t (line 528) | status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSour... function status_t (line 633) | status_t ZipFile::addRecompress(const ZipFile* pSourceZip, const ZipEn... function status_t (line 760) | status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, uint32_t* pCRC32) function status_t (line 793) | status_t ZipFile::copyDataToFp(FILE* dstFp, function status_t (line 816) | status_t ZipFile::copyPartialFpToFp(FILE* dstFp, FILE* srcFp, size_t l... function status_t (line 862) | status_t ZipFile::compressFpToFp(FILE* dstFp, FILE* srcFp, function status_t (line 938) | status_t ZipFile::remove(ZipEntry* pEntry) function status_t (line 957) | status_t ZipFile::flush(void) function status_t (line 1009) | status_t ZipFile::crunchArchive(void) function status_t (line 1108) | status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) function time_t (line 1168) | time_t ZipFile::getModTime(int fd) class BufferWriter (line 1216) | class BufferWriter : public zip_archive::Writer { method BufferWriter (line 1218) | BufferWriter(void* buf, size_t size) : Writer(), method Append (line 1221) | bool Append(uint8_t* buf, size_t buf_size) override { class FileReader (line 1237) | class FileReader : public zip_archive::Reader { method FileReader (line 1239) | FileReader(FILE* fp) : Reader(), fp_(fp), current_offset_(0) { method ReadAtOffset (line 1242) | bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const { function status_t (line 1340) | status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len) function status_t (line 1382) | status_t ZipFile::EndOfCentralDir::write(FILE* fp) FILE: tools/zipalign/ZipFile.h function namespace (line 30) | namespace android { FILE: tools/zipalign/include/ZipAlign.h function namespace (line 20) | namespace android { FILE: tools/zipalign/tests/src/align_test.cpp function sameContent (line 16) | static bool sameContent(const std::string& path1, const std::string& pat... function GetTestPath (line 37) | static std::string GetTestPath(const std::string& filename) { function GetTempPath (line 42) | static std::string GetTempPath(const std::string& filename) { function TEST (line 48) | TEST(Align, Unaligned) { function TEST (line 60) | TEST(Align, DoubleAligment) { function TEST (line 92) | TEST(Align, Holes) { function TEST (line 105) | TEST(Align, DifferenteOrders) { function TEST (line 117) | TEST(Align, DirectoryEntryDoNotRequireAlignment) { function TEST (line 124) | TEST(Align, DirectoryEntry) { class UncompressedSharedLibsTest (line 137) | class UncompressedSharedLibsTest : public ::testing::Test { method SetUpTestSuite (line 139) | static void SetUpTestSuite() { function TEST_F (line 151) | TEST_F(UncompressedSharedLibsTest, Unaligned) { function TEST_F (line 161) | TEST_F(UncompressedSharedLibsTest, AlignedPageSize4kB) { function TEST_F (line 171) | TEST_F(UncompressedSharedLibsTest, AlignedPageSize16kB) { function TEST_F (line 181) | TEST_F(UncompressedSharedLibsTest, AlignedPageSize64kB) { FILE: tools/ziptime/ZipEntry.cpp function status_t (line 44) | status_t ZipEntry::initAndRewriteFromCDE(FILE* fp) function status_t (line 84) | status_t ZipEntry::LocalFileHeader::rewrite(FILE* fp) function status_t (line 121) | status_t ZipEntry::CentralDirEntry::rewrite(FILE* fp) FILE: tools/ziptime/ZipEntry.h type status_t (line 29) | typedef int status_t; function namespace (line 31) | namespace android { FILE: tools/ziptime/ZipFile.cpp function status_t (line 36) | status_t ZipFile::rewrite(const char* zipFileName) function status_t (line 72) | status_t ZipFile::rewriteCentralDir(void) function status_t (line 187) | status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len) FILE: tools/ziptime/ZipFile.h function namespace (line 27) | namespace android { FILE: tools/ziptime/ZipTime.cpp function usage (line 27) | static void usage(void) function main (line 34) | int main(int argc, char* const argv[])