/foundation/communication/dsoftbus/core/bus_center/utils/include/ |
H A D | lnn_common_utils.h | 36 int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen);
|
/foundation/distributedhardware/distributed_input/utils/src/ |
H A D | dinput_utils_tool.cpp | 410 for (int32_t keyIndex = 0; keyIndex < KEY_MAX; keyIndex++) { in ResetVirtualDevicePressedKeys() 411 if (BitIsSet(keyState, keyIndex)) { in ResetVirtualDevicePressedKeys() 412 DHLOGI("key index: %{public}d pressed.", keyIndex); in ResetVirtualDevicePressedKeys() 413 pressedKeys.push_back(keyIndex); in ResetVirtualDevicePressedKeys()
|
/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_common_mock.cpp | 85 int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen) in LnnEncryptAesGcm() argument 87 return GetCommonInterface()->LnnEncryptAesGcm(in, keyIndex, out, outLen); in LnnEncryptAesGcm()
|
H A D | auth_common_mock.h | 48 virtual int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen) = 0;
|
H A D | auth_manager_test.cpp | 774 int32_t keyIndex = KEY_INDEX; in HWTEST_F() local 777 int32_t ret = ProcessEmptySessionKey(&info, keyIndex, false, &sessionKey); in HWTEST_F() 779 ret = AuthProcessEmptySessionKey(&info, keyIndex); in HWTEST_F() 782 ret = AuthProcessEmptySessionKey(&info, keyIndex); in HWTEST_F() 786 keyIndex = 0; in HWTEST_F() 787 ret = ProcessEmptySessionKey(&info, keyIndex, false, &sessionKey); in HWTEST_F()
|
H A D | auth_session_message_test.cpp | 108 deviceCommKey.keyIndex = 12345; in HWTEST_F() 199 deviceKey.keyIndex = 12345; in HWTEST_F() 805 deviceCommKey.keyIndex = 12345; in HWTEST_F()
|
/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_common_utils.c | 49 int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen) in LnnEncryptAesGcm() argument 54 (void)keyIndex; in LnnEncryptAesGcm()
|
/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_device_common_key.h | 36 int64_t keyIndex; member
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_interface.c | 427 keyInfo->keyIndex = GenSeq(keyInfo->isServerSide); in FillAuthSessionInfo() 430 info->connId = (uint64_t)keyInfo->keyIndex; in FillAuthSessionInfo() 433 info->normalizedIndex = keyInfo->keyIndex; in FillAuthSessionInfo() 451 if (AuthManagerSetSessionKey(keyInfo->keyIndex, info, &sessionKey, false, keyInfo->isOldKey) != SOFTBUS_OK) { in AuthDirectOnlineProcessSessionKey() 452 AUTH_LOGE(AUTH_KEY, "set sessionkey fail, index=%{public}" PRId64, keyInfo->keyIndex); in AuthDirectOnlineProcessSessionKey() 470 if (AuthDirectOnlineCreateAuthManager(keyInfo->keyIndex, info) != SOFTBUS_OK) { in AuthDirectOnlineWithoutSessionKey() 471 AUTH_LOGE(AUTH_KEY, "create auth manager fail, index=%{public}" PRId64, keyInfo->keyIndex); in AuthDirectOnlineWithoutSessionKey()
|
H A D | auth_session_json.c | 241 int32_t ret = LnnEncryptAesGcm(&aesParam, (int32_t)deviceCommKey->keyIndex, &data, &dataLen); in PackFastAuthValue() 499 info->normalizedIndex = deviceKey.keyIndex; in PackNormalizedKey() 676 info->normalizedIndex = deviceKey.keyIndex; in UnpackNormalizedKey()
|
H A D | auth_session_fsm.c | 448 deviceKey.keyIndex = authFsm->authSeq; in SaveDeviceKey() 744 authFsm->info.oldIndex = key.keyIndex; in RecoveryFastAuthKey()
|
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_tool_command.cpp | 478 int keyIndex = isOption ? argListIndex : argListIndex - 1; in GetKeyAndValueByOpt() local 480 if (keyIndex >= static_cast<int>(argList_.size()) || keyIndex < 0 || in GetKeyAndValueByOpt() 488 key = argList_[keyIndex]; in GetKeyAndValueByOpt()
|
/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/transproxyonmessagereceived_fuzzer/ |
H A D | transproxyonmessagereceived_fuzzer.cpp | 66 proxyMessage->keyIndex = *(reinterpret_cast<const int32_t *>(data)); in InitProxyMessage()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | table_info.cpp | 372 void TableInfo::SetPrimaryKey(const FieldName &fieldName, int keyIndex) in SetPrimaryKey() argument 374 if (keyIndex <= 0) { in SetPrimaryKey() 375 LOGW("Set primary key index %d less than or equal to 0", keyIndex); in SetPrimaryKey() 379 primaryKey_[keyIndex - 1] = fieldName; in SetPrimaryKey()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_message.h | 82 int32_t keyIndex; member
|
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/ |
H A D | buffer_dispatcher.cpp | 1084 uint32_t keyIndex = circularBuffer_.size() - 1; in WriteDataIntoBuffer() local 1087 keyIndexList_.push_back(keyIndex); in WriteDataIntoBuffer() 1090 MEDIA_LOGD("BufferDispatcher ActivateReceiverIndex By KeyVideo Frame index: %{public}d.", keyIndex); in WriteDataIntoBuffer() 1091 ActivateReceiverIndex(keyIndex, MEDIA_TYPE_VIDEO); in WriteDataIntoBuffer() 1132 for (auto &keyIndex : keyIndexList_) { in EraseOldGopDatas() 1133 indexs += std::to_string(keyIndex) + ", "; in EraseOldGopDatas() 1134 MEDIA_LOGD("keyIndex update to %{public}d.", keyIndex); in EraseOldGopDatas() 1137 MEDIA_LOGD("current keyIndex: %{public}s.", indexs.c_str()); in EraseOldGopDatas() 1189 MEDIA_LOGD("BufferDispatcher pop out first 0 keyIndex afte in UpdateIndex() [all...] |
/foundation/distributedhardware/distributed_input/common/include/ |
H A D | input_hub.cpp | 1535 bool InputHub::IsLengthExceeds(const unsigned long *keyState, const unsigned long len, int keyIndex) in IsLengthExceeds() argument 1537 if (len < (keyIndex / LONG_BITS) + 1) { in IsLengthExceeds() 1538 DHLOGE("Length exceeds for key index: %{public}d", keyIndex); in IsLengthExceeds() 1573 for (int32_t keyIndex = 0; keyIndex < KEY_MAX; keyIndex++) { in CheckTargetKeyState() 1574 if (IsLengthExceeds(keyState, len, keyIndex)) { in CheckTargetKeyState() 1577 if (BitIsSet(keyState, keyIndex) != 0) { in CheckTargetKeyState() 1578 SavePressedKeyState(dev, keyIndex); in CheckTargetKeyState()
|
H A D | input_hub.h | 102 bool IsLengthExceeds(const unsigned long *keyState, const unsigned long len, int keyIndex);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/ |
H A D | table_info.h | 97 void SetPrimaryKey(const FieldName &fieldName, int keyIndex);
|
/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/ |
H A D | dbm_kv_store.c | 729 char keyIndex[KV_SUM_BLOCK_SIZE] = {0}; in IsNeedTransferValue() local 730 int ret = memcpy_s(keyIndex, KV_SUM_BLOCK_SIZE - 1, fileRead, KV_SUM_BLOCK_SIZE - 1); in IsNeedTransferValue() 736 *isNeed = IsDataItemMatched(db, key, atoi(keyIndex)); in IsNeedTransferValue()
|
/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/ |
H A D | dialog.js | 2489 this.keyIndex = 0; 2552 if (w19.keyIndex !== undefined) { 2553 this.keyIndex = w19.keyIndex; 3456 Button.key(`advanced_dialog_button_${this.keyIndex++}`); 3472 Button.key(`advanced_dialog_button_${this.keyIndex++}`); 3487 Button.key(`advanced_dialog_button_${this.keyIndex++}`); 3502 Button.key(`advanced_dialog_button_${this.keyIndex++}`);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_relational_schema_object_test.cpp | 912 int keyIndex = -1; in HWTEST_F() local 913 table1.SetPrimaryKey("test", keyIndex); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_storage_executor.cpp | 487 int keyIndex = SYNC_RES_KEY_INDEX; in GetDataItemForSync() local 490 keyIndex = SYNC_RES_HASH_KEY_INDEX; in GetDataItemForSync() 492 errCode = SQLiteUtils::GetColumnBlobValue(statement, keyIndex, dataItem.key); in GetDataItemForSync() 1094 int keyIndex = identifier->origDevice ? BIND_ORI_DEVICE_ID : BIND_PRE_DEVICE_ID; in GetDeviceIdentifier() local 1103 errCode = SQLiteUtils::GetColumnBlobValue(statement, keyIndex, deviceId); in GetDeviceIdentifier()
|
H A D | sqlite_utils.cpp | 860 int keyIndex = sqlite3_column_int(statement, 5); // 5 means primary key index in SetFieldInfo() local 861 if (keyIndex != 0) { // not 0 means is a primary key in SetFieldInfo() 862 table.SetPrimaryKey(field.GetFieldName(), keyIndex); in SetFieldInfo()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 1294 TRANS_LOGE(TRANS_CTRL, "clear bad key cipher=%{public}d, authId=%{public}" PRId64 ", keyIndex=%{public}d", in TransProxyProcessResetMsgHelper() 1295 msg->msgHead.cipher, msg->authHandle.authId, msg->keyIndex); in TransProxyProcessResetMsgHelper() 1296 RemoveAuthSessionKeyByIndex(msg->authHandle.authId, msg->keyIndex, (AuthLinkType)msg->authHandle.type); in TransProxyProcessResetMsgHelper()
|