Home
last modified time | relevance | path

Searched refs:keyIndex (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp410 for (int32_t keyIndex = 0; keyIndex < KEY_MAX; keyIndex++) { in ResetVirtualDevicePressedKeys() local
411 if (BitIsSet(keyState, keyIndex)) { in ResetVirtualDevicePressedKeys()
412 DHLOGI("key index: %{public}d pressed.", keyIndex); in ResetVirtualDevicePressedKeys()
413 pressedKeys.push_back(keyIndex); in ResetVirtualDevicePressedKeys()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_common_utils.c49 int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen) in LnnEncryptAesGcm() argument
54 (void)keyIndex; in LnnEncryptAesGcm()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_common_mock.cpp85 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 Dauth_manager_test.cpp768 int32_t keyIndex = KEY_INDEX; variable
771 int32_t ret = ProcessEmptySessionKey(&info, keyIndex, false, &sessionKey);
773 ret = AuthProcessEmptySessionKey(&info, keyIndex);
776 ret = AuthProcessEmptySessionKey(&info, keyIndex);
780 keyIndex = 0;
781 ret = ProcessEmptySessionKey(&info, keyIndex, false, &sessionKey);
H A Dauth_common_mock.h48 …virtual int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *…
H A Dauth_session_message_test.cpp108 deviceCommKey.keyIndex = 12345;
199 deviceKey.keyIndex = 12345;
805 deviceCommKey.keyIndex = 12345;
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c430 keyInfo->keyIndex = GenSeq(keyInfo->isServerSide); in FillAuthSessionInfo()
433 info->connId = (uint64_t)keyInfo->keyIndex; in FillAuthSessionInfo()
436 info->normalizedIndex = keyInfo->keyIndex; in FillAuthSessionInfo()
454 …if (AuthManagerSetSessionKey(keyInfo->keyIndex, info, &sessionKey, false, keyInfo->isOldKey) != SO… in AuthDirectOnlineProcessSessionKey()
455 AUTH_LOGE(AUTH_KEY, "set sessionkey fail, index=%{public}" PRId64, keyInfo->keyIndex); in AuthDirectOnlineProcessSessionKey()
473 if (AuthDirectOnlineCreateAuthManager(keyInfo->keyIndex, info) != SOFTBUS_OK) { in AuthDirectOnlineWithoutSessionKey()
474 AUTH_LOGE(AUTH_KEY, "create auth manager fail, index=%{public}" PRId64, keyInfo->keyIndex); in AuthDirectOnlineWithoutSessionKey()
H A Dauth_session_json.c241 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()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_tool_command.cpp478 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()
/ohos5.0/drivers/hdf_core/framework/include/wifi/
H A Dwifi_mac80211_ops.h501 …struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr, struct KeyParam…
516 …int32_t (*DelKey)(struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAdd…
531 … int32_t (*SetDefaultKey)(struct NetDevice *netDev, uint8_t keyIndex, bool unicast, bool multicas);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/include/
H A Dlnn_common_utils.h36 int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen);
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_common_key.h36 int64_t keyIndex; member
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp372 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()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/transproxyonmessagereceived_fuzzer/
H A Dtransproxyonmessagereceived_fuzzer.cpp66 proxyMessage->keyIndex = *(reinterpret_cast<const int32_t *>(data)); in InitProxyMessage()
/ohos5.0/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.cpp1535 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() local
1574 if (IsLengthExceeds(keyState, len, keyIndex)) { in CheckTargetKeyState()
1577 if (BitIsSet(keyState, keyIndex) != 0) { in CheckTargetKeyState()
1578 SavePressedKeyState(dev, keyIndex); in CheckTargetKeyState()
H A Dinput_hub.h102 bool IsLengthExceeds(const unsigned long *keyState, const unsigned long len, int keyIndex);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/
H A Dsoftbus_proxychannel_message.h82 int32_t keyIndex; member
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/
H A Dtable_info.h97 void SetPrimaryKey(const FieldName &fieldName, int keyIndex);
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/core/module/
H A Dwifi_base.c76 …struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr, struct KeyParam… in AddKey() argument
84 return chipDriver->ops->AddKey(netDev, keyIndex, pairwise, macAddr, params); in AddKey()
87 static uint32_t DelKey(struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *ma… in DelKey() argument
95 return chipDriver->ops->DelKey(netDev, keyIndex, pairwise, macAddr); in DelKey()
98 static uint32_t SetDefaultKey(struct NetDevice *netDev, uint8_t keyIndex, bool unicast, bool multic… in SetDefaultKey() argument
106 return chipDriver->ops->SetDefaultKey(netDev, keyIndex, unicast, multicast); in SetDefaultKey()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/
H A Ddbm_kv_store.c729 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()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_relational_schema_object_test.cpp912 int keyIndex = -1; variable
913 table1.SetPrimaryKey("test", keyIndex);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/
H A Ddialog.js2501 this.keyIndex = 0;
2564 if (params.keyIndex !== undefined) {
2565 this.keyIndex = params.keyIndex;
3474 Button.key(`advanced_dialog_button_${this.keyIndex++}`);
3490 Button.key(`advanced_dialog_button_${this.keyIndex++}`);
3505 Button.key(`advanced_dialog_button_${this.keyIndex++}`);
3520 Button.key(`advanced_dialog_button_${this.keyIndex++}`);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/
H A Ddialog.ets993 keyIndex: number = 0;
1326 .key(`advanced_dialog_button_${this.keyIndex++}`)
1333 .key(`advanced_dialog_button_${this.keyIndex++}`)
1339 .key(`advanced_dialog_button_${this.keyIndex++}`)
1345 .key(`advanced_dialog_button_${this.keyIndex++}`)
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_executor.cpp487 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 Dsqlite_utils.cpp867 int keyIndex = sqlite3_column_int(statement, 5); // 5 means primary key index in SetFieldInfo() local
868 if (keyIndex != 0) { // not 0 means is a primary key in SetFieldInfo()
869 table.SetPrimaryKey(field.GetFieldName(), keyIndex); in SetFieldInfo()

12