| /base/update/packaging_tools/test/ |
| D | test_build_update.py | 40 def setUp(self): argument 43 def tearDown(self): argument 46 def test_update_pkg(self): argument 71 def test_updater_partitions(self): argument 97 def test_updater_partitions2(self): argument 125 def test_update_pkg_nozip(self): argument 148 def test_type_check(self): argument 174 def test_check_update_package(self): argument 201 def test_check_update_package1(self): argument 210 def test_check_update_package2(self): argument [all …]
|
| D | test_utils.py | 39 def setUp(self): argument 42 def tearDown(self): argument 45 def test_unzip_package(self): argument 75 def test_parse_update_config(self): argument 96 def test_clear_resource(self): argument 110 def test_get_update_info(self): argument 129 def test_get_update_info_2(self): argument 147 def test_parse_partition_file_xml(self): argument 161 def test_apply_zero_type(self): argument
|
| D | test_image_class.py | 31 def setUp(self): argument 34 def tearDown(self): argument 37 def test_update_full_image(self): argument 60 def test_get_file_data(self): argument 85 def test_get_blocks_list(self): argument 112 def test_get_file_map(self): argument 130 def test_read_ranges(self): argument 152 def test_get_range_data(self): argument
|
| D | test_script_generator.py | 30 def setUp(self): argument 33 def tearDown(self): argument 36 def test_get_proportion_value_list(self): argument 46 def test_proportion_value_list(self): argument 59 def test_proportion_value_list1(self): argument 69 def test_script_command_content(self): argument 106 def test_get_progress_value(self): argument 126 def __init__(self): argument
|
| D | test_vendor_script.py | 30 def setUp(self): argument 33 def tearDown(self): argument 36 def test_vendor_script(self): argument 52 def __init__(self): argument 57 def __init__(self): argument 62 def __init__(self): argument 67 def __init__(self): argument
|
| D | test_log_exception.py | 26 def setUp(self): argument 29 def tearDown(self): argument 32 def test_print_log_error_type(self): argument 39 def test_handle_exception1(self): argument 48 def test_handle_exception2(self): argument
|
| D | test_update_package.py | 78 def setUp(self): argument 81 def tearDown(self): argument 84 def test_create_update_bin_failed(self): argument 130 def test_get_hash_content(self): argument 143 def test_signing_package(self): argument
|
| /base/web/webview/ohos_interface/ohos_glue/scripts/ |
| D | file_parser.py | 522 def __init__(self): argument 529 def set_root_directory(self, root_directory): argument 533 def get_root_directory(self): argument 537 def add_directory(self, directory, excluded_files=[]): argument 544 def add_file(self, filepath): argument 560 def add_data(self, filename, data): argument 652 def __repr__(self): argument 675 def get_file_names(self): argument 679 def get_typedefs(self): argument 683 def get_funcs(self, filename=None): argument [all …]
|
| /base/startup/hvb/tools/ |
| D | hvbtool.py | 53 def __init__(self, sig_algo, hash_algo, bit_length, sig_bytes, hash_bytes, pubkey_bytes): argument 76 def __init__(self, footer=None): argument 86 def info_footer(self): argument 111 def __init__(self, cert=None): argument 145 def info_cert(self): argument 180 def __init__(self, pubkey): argument 200 def get_bit_length(self, pubkey): argument 211 def calc_egcd(self, num1, num2): argument 217 def calc_modinv(self, num1, modulo): argument 223 def incode_long(self, num_bits, value): argument [all …]
|
| /base/update/packaging_tools/ |
| D | blocks_manager.py | 27 def __init__(self, range_data=None): argument 40 def __iter__(self): argument 44 def __eq__(self, other): argument 47 def __ne__(self, other): argument 50 def __parse_data_text(self, text): argument 95 def to_string_raw(self): argument 101 def get_union_with_other(self, other): argument 118 def get_intersect_with_other(self, other): argument 139 def get_subtract_with_other(self, other): argument 150 def is_overlaps(self, other): argument [all …]
|
| D | script_generator.py | 38 def __init__(self): argument 43 def add_command(self, cmd=None): argument 51 def get_script(self): argument 58 def sha_check(self, *args, **kwargs): argument 61 def image_sha_check(self, *args, **kwargs): argument 64 def first_block_check(self, *args, **kwargs): argument 67 def image_patch(self, *args, **kwargs): argument 70 def abort(self, *args, **kwargs): argument 73 def show_progress(self, *args, **kwargs): argument 76 def block_update(self, *args, **kwargs): argument [all …]
|
| D | gigraph_process.py | 25 def __init__(self, actions_list, src_image, tgt_image): argument 38 def generate_digraph(self): argument 56 def get_intersections_dict(self, source_ranges): argument 118 def stash_process(self): argument 145 def __init__(self, graph): argument 153 def __init__(self, graph): argument 161 def dfs(self): argument 174 def sort_vertices(self): argument 179 def __init__(self, graph): argument 186 def stack(self): argument
|
| D | vendor_script.py | 50 def __init__(self): argument 55 def __init__(self): argument 60 def __init__(self): argument 65 def __init__(self): argument 70 def __init__(self): argument 83 def generate_register_cmd_script(self): argument
|
| D | create_hashdata.py | 67 def __init__(self, hash_type, count): argument 80 def write_hashinfo(self): argument 93 def write_hashdata(self): argument 107 def write_signdata(self, signdata): argument 120 def calculate_hash_data(self, data): argument 125 def write_component_hash_data(self, component): argument 155 def parse_hashinfo(self, data): argument 169 def parse_hashdata(self, data): argument 191 def parse_signdata(self, data): argument 197 def parse_print_hashdata(self, save_path): argument
|
| D | patch_package_process.py | 37 def __init__(self, partition, tgt_image, src_image, argument 49 def patch_process(self): argument 103 def apply_new_type(self, each_action, new_dat_file_obj, tgt_size, argument 118 def apply_zero_type(self, each_action, total_blocks_count, argument 132 def apply_diff_style(self, *args): argument 182 def after_for_process(self, max_stashed_blocks, total_blocks_count, argument 232 def add_diff_command(self, *args): argument 248 def compute_diff_patch(self, each_action, patch_dat_file_obj): argument 284 def add_move_command(self, *args): argument 313 def add_free_command(self, each_action, stashes): argument [all …]
|
| /base/startup/init/services/modules/seccomp/scripts/ |
| D | generate_code_from_policy.py | 69 def __init__(self, msg): argument 183 def __init__(self, arch, function_name_nr_table, is_debug): argument 212 def clear_list(self): argument 221 def update_list(self, function_name, to_update_list): argument 227 def update_priority(self, function_name): argument 230 def update_allow_list(self, function_name): argument 233 def update_blocklist(self, function_name): argument 236 def update_priority_with_args(self, function_name_with_args): argument 244 def update_allow_list_with_args(self, function_name_with_args): argument 252 def update_head_files(self, head_files): argument [all …]
|
| /base/security/certificate_framework/frameworks/core/v1.0/certificate/ |
| D | x509_certificate.c | 63 static void DestroyX509Certificate(CfObjectBase *self) in DestroyX509Certificate() 78 static CfResult Verify(HcfCertificate *self, void *key) in Verify() 92 static CfResult GetEncoded(HcfCertificate *self, CfEncodingBlob *encodedByte) in GetEncoded() 106 static CfResult GetPublicKey(HcfCertificate *self, void **keyOut) in GetPublicKey() 120 static CfResult CheckValidityWithDate(HcfX509Certificate *self, const char *date) in CheckValidityWithDate() 134 static long GetVersion(HcfX509Certificate *self) in GetVersion() 148 static CfResult GetSerialNumber(HcfX509Certificate *self, CfBlob *out) in GetSerialNumber() 162 static CfResult GetIssuerName(HcfX509Certificate *self, CfBlob *out) in GetIssuerName() 176 static CfResult GetSubjectName(HcfX509Certificate *self, CfBlob *out) in GetSubjectName() 190 static CfResult GetSubjectNameEx(HcfX509Certificate *self, CfEncodinigType encodingType, CfBlob *ou… in GetSubjectNameEx() [all …]
|
| D | x509_crl.c | 72 static void DestroyX509Crl(CfObjectBase *self) in DestroyX509Crl() 87 static const char *GetType(HcfCrl *self) in GetType() 101 static bool IsRevoked(HcfCrl *self, const HcfCertificate *cert) in IsRevoked() 115 static CfResult Verify(HcfX509Crl *self, void *key) in Verify() 129 static CfResult GetEncoded(HcfX509Crl *self, CfEncodingBlob *encodedByte) in GetEncoded() 143 static long GetVersion(HcfX509Crl *self) in GetVersion() 157 static CfResult GetIssuerName(HcfX509Crl *self, CfBlob *out) in GetIssuerName() 171 static CfResult GetLastUpdate(HcfX509Crl *self, CfBlob *out) in GetLastUpdate() 185 static CfResult GetNextUpdate(HcfX509Crl *self, CfBlob *out) in GetNextUpdate() 199 static CfResult GetRevokedCert(HcfX509Crl *self, const CfBlob *serialNumber, HcfX509CrlEntry **entr… in GetRevokedCert() [all …]
|
| /base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/ |
| D | iso_protocol_test.cpp | 95 BaseProtocol *self; variable 211 BaseProtocol *self; variable 225 BaseProtocol *self; variable 233 BaseProtocol *self; variable 240 BaseProtocol *self; variable 253 BaseProtocol *self; variable 266 BaseProtocol *self; variable 280 BaseProtocol *self; variable 294 BaseProtocol *self; variable 308 BaseProtocol *self; variable [all …]
|
| D | ec_speke_protocol_test.cpp | 98 BaseProtocol *self; variable 272 BaseProtocol *self; variable 286 BaseProtocol *self; variable 294 BaseProtocol *self; variable 301 BaseProtocol *self; variable 314 BaseProtocol *self; variable 327 BaseProtocol *self; variable 341 BaseProtocol *self; variable 355 BaseProtocol *self; variable 369 BaseProtocol *self; variable [all …]
|
| D | dl_speke_protocol_test.cpp | 98 BaseProtocol *self; variable 272 BaseProtocol *self; variable 286 BaseProtocol *self; variable 293 BaseProtocol *self; variable 306 BaseProtocol *self; variable 319 BaseProtocol *self; variable 333 BaseProtocol *self; variable 347 BaseProtocol *self; variable 361 BaseProtocol *self; variable 374 BaseProtocol *self; variable [all …]
|
| /base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/ |
| D | auth_code_import_test.cpp | 95 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 137 BaseCmd *self = CreateAuthCodeImportCmd(nullptr, true, ABORT_IF_ERROR); variable 144 BaseCmd *self = CreateAuthCodeImportCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 151 BaseCmd *self = CreateAuthCodeImportCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 158 BaseCmd *self = CreateAuthCodeImportCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 166 BaseCmd *self = CreateAuthCodeImportCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 172 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 180 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 191 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 201 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable [all …]
|
| D | pub_key_exchange_test.cpp | 95 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 137 BaseCmd *self = CreatePubKeyExchangeCmd(nullptr, true, ABORT_IF_ERROR); variable 144 BaseCmd *self = CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 151 BaseCmd *self = CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 158 BaseCmd *self = CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 166 BaseCmd *self = CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); variable 172 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 180 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 191 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 201 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable [all …]
|
| /base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/ |
| D | expand_sub_session_test.cpp | 105 ExpandSubSession *self = NULL; variable 160 ExpandSubSession *self; variable 168 ExpandSubSession *self; variable 175 ExpandSubSession *self; variable 183 ExpandSubSession *self; variable 196 ExpandSubSession *self = nullptr; variable 207 ExpandSubSession *self; variable 220 ExpandSubSession *self; variable 233 ExpandSubSession *self; variable 248 ExpandSubSession *self; variable [all …]
|
| /base/security/device_auth/test/fuzztest/protocol/iso_fuzzer/ |
| D | iso_fuzzer.cpp | 51 BaseProtocol *self; in IsoTest01() local 142 BaseProtocol *self; in IsoTest04() local 156 BaseProtocol *self; in IsoTest06() local 164 BaseProtocol *self; in IsoTest07() local 171 BaseProtocol *self; in IsoTest08() local 180 BaseProtocol *self; in IsoTest09() local 189 BaseProtocol *self; in IsoTest10() local 199 BaseProtocol *self; in IsoTest11() local 209 BaseProtocol *self; in IsoTest12() local 219 BaseProtocol *self; in IsoTest13() local [all …]
|