/base/security/device_security_level/baselib/utils/src/ |
D | utils_base64.c | 57 static int32_t Base64Encode(const uint8_t *from, uint32_t fromLen, uint8_t *to, uint32_t toCheckLen) in Base64Encode() argument 59 bool isInvalidParam = ((from == NULL) || (to == NULL) || (fromLen == 0)); in Base64Encode() 86 to[j++] = g_base64EncodeTable[(byte >> 18) & 0x3F]; /* get the 1st block by shift 18 */ in Base64Encode() 87 to[j++] = g_base64EncodeTable[(byte >> 12) & 0x3F]; /* get the 2nd block by shift 12 */ in Base64Encode() 88 to[j++] = g_base64EncodeTable[(byte >> 6) & 0x3F]; /* get the 3rd block by shift 6 */ in Base64Encode() 89 to[j++] = g_base64EncodeTable[(byte >> 0) & 0x3F]; in Base64Encode() 93 to[toLen - 1] = '='; /* padding the -1 to "=" */ in Base64Encode() 96 to[toLen - 2] = '='; /* padding the -2 to "=" */ in Base64Encode() 105 static int32_t Base64Decode(const uint8_t *from, uint8_t *to, uint32_t toCheckLen) in Base64Decode() argument 107 bool isInvalidParam = ((from == NULL) || (to == NULL)); in Base64Decode() [all …]
|
/base/useriam/user_auth_framework/ |
D | CODEOWNERS | 8 # Unless required by applicable law or agreed to in writing, software 14 #any change to frameworks/native/ipc/common_defines/co_auth_interface_ipc_interface_code.h needs to… 16 #any change to frameworks/native/ipc/common_defines/executor_callback_interface_ipc_interface_code.… 18 #any change to frameworks/native/ipc/common_defines/executor_messenger_interface_ipc_interface_code… 20 #any change to frameworks/native/ipc/common_defines/idm_callback_interface_ipc_interface_code.h nee… 22 #any change to frameworks/native/ipc/common_defines/idm_get_cred_info_callback_interface_ipc_interf… 24 #any change to frameworks/native/ipc/common_defines/idm_get_secure_user_info_callback_interface_ipc… 26 #any change to frameworks/native/ipc/common_defines/user_auth_interface_ipc_interface_code.h needs … 28 #any change to frameworks/native/ipc/common_defines/user_idm_interface_ipc_interface_code.h needs t…
|
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/hiviewdfx/hidumper/ |
D | README.md | 6 - [How to Use](#section129654513264) 11 …collection tool provided by OpenHarmony for development and test personnel to analyze and locate f… 52 …ou can use HiDumper to query system information, service information, and process stack informatio… 55 ### How to Use<a name="section129654513264"></a> 57 …r helps you export basic system information to locate and analyze faults. When passing complex par… 61 1. Access the device CLI, and run the **hidumper -h** command to obtain the help information, whic… 67 2. Run the **hidumper -lc** command to obtain the system information cluster list. 73 3. Run the **hidumper -c** command to obtain all information that is classified by **base** and **… 79 4. Run the **hidumper -c [base | system]** to obtain the system cluster information that is classi… 86 5. Run the **hidumper -ls** command to obtain the system ability list. [all …]
|
/base/theme/screenlock_mgr/ |
D | README.md | 4 …ovide three-party APP with the ability to request unlockScreen, query the screenlock status, and q… 5 …switching callback, and screenlock manager service running status callback to the operation manage… 13 #### Introduction to framework code 17 │ ├── js/napi # the js interface resolves to the napi interface 29 function isSecureMode(callback: AsyncCallback<boolean>): void; query whether to set screenlock pass… 30 function isSecureMode(): Promise<boolean>; query whether to set screenlock password (gesture, digit… 42 console.log(`success to screenLock.isScreenLocked: ${value}`); 44 console.error(`failed to screenLock.isScreenLocked because ${err.message}`) 51 console.error(`failed to screenLock.isScreenLocked because ${err.message}`); 54 console.log(`success to screenLock.isScreenLocked: ${value}`); [all …]
|
/base/useriam/pin_auth/ |
D | CODEOWNERS | 8 # Unless required by applicable law or agreed to in writing, software 14 #any change to frameworks/ipc/common_defines/inputer_get_data_ipc_interface_code.h needs to be revi… 16 #any change to frameworks/ipc/common_defines/inputer_set_data_ipc_interface_code.h needs to be revi… 18 #any change to frameworks/ipc/common_defines/pin_auth_interface_ipc_interface_code.h needs to be re…
|
/base/hiviewdfx/hiview/ |
D | CODEOWNERS | 8 # Unless required by applicable law or agreed to in writing, software 14 # any changes to plugins/faultlogger/service/idl/include/hiviewfaultlogger_ipc_interface_code.h 15 # needs to be reviewed by @leonchan5 18 # any changes to adapter/service/idl/include/hiview_service_ipc_interface_code.h needs to be review… 21 # any changes to adapter/plugins/eventservice/service/idl/include/sys_event_service_ipc_interface_c…
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/ |
D | last_kmsg | 9 * Unless required by applicable law or agreed to in writing, software 17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish 22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m… 23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic… 26 <11>[ 3.821266] [pid=1][PARAM][ERROR][param_manager.c:654]Forbid to access const.cust.config_dir… 28 <11>[ 3.821404] [pid=1][PARAM][ERROR][param_manager.c:654]Forbid to access const.cust.follow_x_r… 33 <11>[ 3.825979] [pid=1][Init][ERROR][init_common_cmds.c:456]Failed to mount for /eng_system, err… 35 <11>[ 3.826481] [pid=1][Init][ERROR][init_common_cmds.c:456]Failed to mount for /eng_chipset, er… 47 <11>[ 3.832337] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter musl.log.enable 49 <11>[ 3.832362] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter musl.ld.debug.… [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/ |
D | last_kmsg | 9 * Unless required by applicable law or agreed to in writing, software 17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish 22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m… 23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic… 26 <11>[ 3.821266] [pid=1][PARAM][ERROR][param_manager.c:654]Forbid to access const.cust.config_dir… 28 <11>[ 3.821404] [pid=1][PARAM][ERROR][param_manager.c:654]Forbid to access const.cust.follow_x_r… 33 <11>[ 3.825979] [pid=1][Init][ERROR][init_common_cmds.c:456]Failed to mount for /eng_system, err… 35 <11>[ 3.826481] [pid=1][Init][ERROR][init_common_cmds.c:456]Failed to mount for /eng_chipset, er… 47 <11>[ 3.832337] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter musl.log.enable 49 <11>[ 3.832362] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter musl.ld.debug.… [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/ |
D | last_kmsg | 9 * Unless required by applicable law or agreed to in writing, software 17 <14>[ 3.770177] [pid=1][Init][INFO][switch_root.c:186]SwitchRoot to /usr finish 22 <11>[ 3.820134] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /m… 23 <14>[ 3.820153] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by devic… 26 <11>[ 3.821266] [pid=1][PARAM][ERROR][param_manager.c:654]Forbid to access const.cust.config_dir… 28 <11>[ 3.821404] [pid=1][PARAM][ERROR][param_manager.c:654]Forbid to access const.cust.follow_x_r… 33 <11>[ 3.825979] [pid=1][Init][ERROR][init_common_cmds.c:456]Failed to mount for /eng_system, err… 35 <11>[ 3.826481] [pid=1][Init][ERROR][init_common_cmds.c:456]Failed to mount for /eng_chipset, er… 47 <11>[ 3.832337] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter musl.log.enable 49 <11>[ 3.832362] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter musl.ld.debug.… [all …]
|
/base/security/dataclassification/ |
D | README.md | 6 …f of APIs to provide management and control policies for cross-device data transmission and obtain… 14 …s-device data transmission and obtains the highest risk level of data to be sent to the peer devic… 18 … the security level of the peer device supports the risk level of the data to be transferred. The … 24 | **Data Risk Level**| **S0 to S4** | **S0 to S4** | **S0 to S3** | **S0 to S2** | **S0 to S1** | 26 … module. Before data transmission is denied, a dialog box can be displayed to ask for user's permi…
|
/base/request/request/ |
D | README.md | 20 IDL: enables NAPIs to communicate with each other. 39 File acquisition: obtains the file to be uploaded based on the file path specified in the upload re… 43 DataAbility capability: used to obtain files in the DataAbility file protocol path. 72 … This API uses an asynchronous callback to return the **DownloadTask** instance. You can then use … 73 …ownloads files. This API uses a promise to return the **DownloadTask** instance. You can then use … 74 …. This API uses an asynchronous callback to return the **UploadTask** instance. You can then use t… 75 …| Uploads files. This API uses a promise to return the **UploadTask** instance. You can then use t… 76 … This API uses an asynchronous callback to return the **DownloadTask** instance. You can then use … 77 …ownloads files. This API uses a promise to return the **DownloadTask** instance. You can then use … 78 …. This API uses an asynchronous callback to return the **UploadTask** instance. You can then use t… [all …]
|
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/startup/hvb/ |
D | README.md | 5 …**armony **V**erified **B**oot (HVB) component is used to verify and authenticate system images to… 9 - can not roll back to old versions with vulnerabilities 19 …ility library. It will be integrated by Bootloader to verify initial images, and integrated by ini… 20 - hvbtool is used to sign system images, it will be integrated by Building system.
|
/base/security/certificate_framework/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/inputmethod/imf/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/security/dlp_permission_service/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/startup/init/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/global/timezone/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/telephony/core_service/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/time/time_service/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/notification/eventhandler/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/telephony/sms_mms/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/powermgr/battery_lite/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|
/base/iothardware/peripheral/ |
D | LICENSE | 19 "control" means (i) the power, direct or indirect, to cause the 28 including but not limited to software source code, documentation 33 not limited to compiled object code, generated documentation, 34 and conversions to other media types. 38 copyright notice that is included in or attached to the work 46 separable from, or merely link (or bind by name) to the interfaces of, 51 to that Work or Derivative Works thereof, that is intentionally 52 submitted to Licensor for inclusion in the Work by the copyright owner 53 or by an individual or Legal Entity authorized to submit on behalf of 56 to the Licensor or its representatives, including but not limited to [all …]
|