| /developtools/packing_tool/adapter/ohos/ |
| D | CommandParser.java | 106 commandFuncs.put(CMD_MODE, entry -> { in initCommandFuncs() 110 commandFuncs.put(CMD_JSON_PATH, entry -> { in initCommandFuncs() 114 commandFuncs.put(CMD_PROFILE_PATH, entry -> { in initCommandFuncs() 118 commandFuncs.put(CMD_INDEX_PATH, entry -> { in initCommandFuncs() 122 commandFuncs.put(CMD_JS_PATH, entry -> { in initCommandFuncs() 126 commandFuncs.put(CMD_ETS_PATH, entry -> { in initCommandFuncs() 130 commandFuncs.put(CMD_RPCID_PATH, entry -> { in initCommandFuncs() 134 commandFuncs.put(CMD_RPCID, entry -> { in initCommandFuncs() 138 commandFuncs.put(CMD_SO_PATH, entry -> { in initCommandFuncs() 142 commandFuncs.put(CMD_SO_DIR, entry -> { in initCommandFuncs() [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/ |
| D | CertTest.java | 106 options.put(Options.ISSUER, subject); in testRootCaCert() 107 options.put(Options.SIGN_ALG, SHA_384_WITH_RSA); in testRootCaCert() 108 options.put(Options.VALIDITY, VALIDITY_365); in testRootCaCert() 109 options.put(Options.BASIC_CONSTRAINTS_PATH_LEN, 0); in testRootCaCert() 128 options.put(Options.ISSUER, null); in testRootCaCert() 129 options.put(Options.SIGN_ALG, ""); in testRootCaCert() 146 options.put(Options.SUBJECT, APP1_RELEASE); in testSubCaCert() 147 options.put(Options.ISSUER, APP_CA); in testSubCaCert() 148 options.put(Options.SIGN_ALG, SHA_384_WITH_RSA); in testSubCaCert() 149 options.put(Options.VALIDITY, VALIDITY_365); in testSubCaCert() [all …]
|
| D | ProfileTest.java | 155 options.put(Options.MODE, REMOTE_SIGN); in testProfile() 182 options.put(Options.KEY_ALIAS, KEY_ALIAS); in putParams() 183 options.put(Options.KEY_RIGHTS, PWD.toCharArray()); in putParams() 184 options.put(Options.MODE, LOCAL_SIGN); in putParams() 185 options.put(Options.PROFILE_CERT_FILE, CERT_PATH); in putParams() 186 options.put(Options.IN_FILE, IN_FILE_PATH); in putParams() 187 options.put(Options.SIGN_ALG, SHA_256_WITH_ECC); in putParams() 188 options.put(Options.KEY_STORE_FILE, KEY_STORE_PATH); in putParams() 189 options.put(Options.KEY_STORE_RIGHTS, PWD.toCharArray()); in putParams() 190 options.put(Options.OUT_FILE, OUT_PATH); in putParams()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/ |
| D | FsVerityDescriptor.java | 150 bf.put(bytes); in fromByteArray() 189 buffer.put(VERSION); in toByteArray() 190 buffer.put(hashAlgorithm); in toByteArray() 191 buffer.put(log2BlockSize); in toByteArray() 195 buffer.put(this.saltSize); in toByteArray() 204 buffer.put(csVersion); in toByteArray() 216 buffer.put(CODE_SIGN_VERSION); in getByteForGenerateDigest() 217 buffer.put(hashAlgorithm); in getByteForGenerateDigest() 218 buffer.put(log2BlockSize); in getByteForGenerateDigest() 222 buffer.put(this.saltSize); in getByteForGenerateDigest() [all …]
|
| D | FsVerityDigest.java | 46 buffer.put(FSVERITY_DIGEST_MAGIC.getBytes(StandardCharsets.UTF_8)); in getFsVerityDigest() 49 buffer.put(digest); in getFsVerityDigest()
|
| D | FsVerityDescriptorWithSign.java | 89 buffer.put(fsVerityDescriptor.toByteArray()); in toByteArray() 90 buffer.put(signature); in toByteArray()
|
| D | MerkleTreeBuilder.java | 103 byteBuffer.put(buffer, 0, num); in transInputStreamToHashData() 120 outputBuffer.put(hash, 0, hash.length); in transInputStreamToHashData() 226 outputBuffer.put(hash, 0, hash.length); in transInputDataToHashData() 328 data.put(padding, 0, padding.length); in dataRoundupChunkSize()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/ |
| D | CodeSignBlock.java | 89 this.merkleTreeMap.put(key, new byte[0]); in addOneMerkleTree() 91 this.merkleTreeMap.put(key, merkleTree); in addOneMerkleTree() 188 bf.put(this.codeSignBlockHeader.toByteArray()); in toByteArray() 190 bf.put(sh.toByteArray()); in toByteArray() 192 bf.put(this.zeroPadding); in toByteArray() 195 bf.put(merkleTreeMap.get("Hap")); in toByteArray() 197 bf.put(this.fsVerityInfoSegment.toByteArray()); in toByteArray() 198 bf.put(this.hapInfoSegment.toByteArray()); in toByteArray() 199 bf.put(this.nativeLibInfoSegment.toByteArray()); in toByteArray()
|
| D | FsVerityInfoSegment.java | 104 bf.put(version); in toByteArray() 105 bf.put(hashAlgorithm); in toByteArray() 106 bf.put(log2BlockSize); in toByteArray() 107 bf.put(reserved); in toByteArray() 123 bf.put(bytes); in fromByteArray()
|
| D | MerkleTreeExtension.java | 103 bf.put(super.toByteArray()); in toByteArray() 106 bf.put(this.rootHash); in toByteArray() 119 bf.put(bytes); in fromByteArray()
|
| D | SignInfo.java | 202 bf.put(this.salt); in toByteArray() 205 bf.put(this.signature); in toByteArray() 206 bf.put(this.zeroPadding); in toByteArray() 209 bf.put(ext.toByteArray()); in toByteArray() 223 bf.put(bytes); in fromByteArray()
|
| D | ElfSignBlock.java | 155 bf.put(merkleTreeWithPadding); in toByteArray() 156 bf.put(descriptorWithSign.toByteArray()); in toByteArray() 169 bf.put(bytes); in fromByteArray()
|
| D | HapInfoSegment.java | 94 bf.put(hapSignInfoByteArray); in toByteArray() 107 bf.put(bytes); in fromByteArray()
|
| D | NativeLibInfoSegment.java | 193 bf.put(fileName.getBytes(StandardCharsets.UTF_8)); in toByteArray() 195 bf.put(this.zeroPadding); in toByteArray() 197 bf.put(signInfo.toByteArray()); in toByteArray() 211 bf.put(bytes); in fromByteArray()
|
| D | CodeSignBlockHeader.java | 123 bf.put(reserved); in toByteArray() 139 bf.put(bytes); in fromByteArray()
|
| /developtools/hdc/hdc_rust/src/daemon/ |
| D | auth.rs | 70 async fn put(session_id: u32, auth_status: AuthStatus) { in put() method 120 AuthStatusMap::put(recv.session_id, AuthStatus::Init(buf.clone())).await; in handshake_init() 157 AuthStatusMap::put(session_id, AuthStatus::Ok).await; in make_ok_message() 201 transfer::put(session_id, make_ok_message(session_id, channel_id).await).await; in handshake_task() 245 AuthStatusMap::put(session_id, AuthStatus::Pubk((plain, pubkey))).await; in handshake_task() 246 transfer::put( in handshake_task() 267 AuthStatusMap::put(session_id, AuthStatus::Pubk((plain, pubkey))).await; in handshake_task() 268 transfer::put( in handshake_task() 276 AuthStatusMap::put(session_id, AuthStatus::Pubk((plain, pubkey))).await; in handshake_task() 277 transfer::put( in handshake_task() [all …]
|
| D | task.rs | 55 PtyMap::put(task_message.channel_id, pty_task).await; in daemon_shell_task() 65 PtyMap::put(task_message.channel_id, pty_task).await; in daemon_shell_task() 105 transfer::put(session_id, message).await; in daemon_channel_close() 115 AppTaskMap::put(session_id, task_message.channel_id, task).await; in daemon_file_task() 142 FileTaskMap::put(session_id, task_message.channel_id, task).await; in daemon_file_task() 234 PtyMap::put(task_message.channel_id, pty_task).await; in daemon_hilog_task() 245 PtyMap::put(task_message.channel_id, pty_task).await; in daemon_bug_report_task() 309 transfer::put( in dispatch_task()
|
| D | main.rs | 88 transfer::put(session_id, send_msg).await; in tcp_handle_client() 90 transfer::put( in tcp_handle_client() 147 transfer::put( in uart_handshake() 274 transfer::put(session_id, send_msg).await; in usb_handle_client() 277 transfer::put( in usb_handle_client() 299 transfer::put(new_session_id, new_send_msg).await; in usb_handle_client() 302 transfer::put( in usb_handle_client()
|
| /developtools/hdc/hdc_rust/src/transfer/ |
| D | buffer.rs | 50 async fn put(session_id: u32, conn_type: ConnectType) { in put() method 77 async fn put(session_id: u32, data: TaskMessage) { in put() method 108 ConnectTypeMap::put(id, ConnectType::Tcp).await; in start() 136 async fn put(session_id: u32, data: TaskMessage) -> io::Result<()> { in put() method 156 ConnectTypeMap::put(session_id, ConnectType::Usb("some_mount_point".to_string())).await; in start() 175 pub async fn put(session_id: u32, data: Vec<u8>) -> io::Result<()> { in put() method 193 ConnectTypeMap::put(session_id, ConnectType::Uart).await; in start() 197 pub async fn put(session_id: u32, data: TaskMessage) { in put() function 200 TcpMap::put(session_id, data).await; in put() 203 if let Err(e) = UsbMap::put(session_id, data).await { in put()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/ |
| D | HwSignHead.java | 103 bf.put((byte) c); in getSignHeadLittleEndian() 106 bf.put((byte) c); in getSignHeadLittleEndian() 111 bf.put((byte) c); in getSignHeadLittleEndian()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
| D | UnsignedDecimalUtil.java | 75 bf.put(bytes); in setUnsignedInt() 89 bf.put(bytes); in setUnsignedShort()
|
| D | CentralDirectory.java | 231 bf.put(fileName.getBytes(StandardCharsets.UTF_8)); in toBytes() 234 bf.put(extraData); in toBytes() 237 bf.put(extraData); in toBytes()
|
| /developtools/hdc/hdc_rust/src/host/ |
| D | task.rs | 101 transfer::put( in channel_hilog_task() 116 transfer::put( in channel_bug_report_task() 196 transfer::put( in channel_unity_task() 219 transfer::put( in channel_shell_task() 230 transfer::put( in channel_shell_task() 242 transfer::put( in channel_shell_task() 296 ConnectMap::put( in channel_connect_task() 442 transfer::put(session_id, message).await; in session_channel_close() 489 async fn put(connect_key: String, daemon_info: DaemonInfo) { in put() method
|
| /developtools/hdc/hdc_rust/src/ |
| D | transfer.rs | 23 pub use buffer::put;
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/ |
| D | LocalJKSSignProvider.java | 101 signParams.put(paramKey, new String(options.getChars(paramKey))); in checkParams() 103 signParams.put(paramKey, options.getString(paramKey)); in checkParams()
|