/ohos5.0/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() 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 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()
|
/ohos5.0/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_manager_test.cpp | 768 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 D | auth_common_mock.h | 48 …virtual int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *…
|
H A D | auth_session_message_test.cpp | 108 deviceCommKey.keyIndex = 12345; 199 deviceKey.keyIndex = 12345; 805 deviceCommKey.keyIndex = 12345;
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_interface.c | 430 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 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()
|
/ohos5.0/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()
|
/ohos5.0/drivers/hdf_core/framework/include/wifi/ |
H A D | wifi_mac80211_ops.h | 501 …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 D | lnn_common_utils.h | 36 int32_t LnnEncryptAesGcm(AesGcmInputParam *in, int32_t keyIndex, uint8_t **out, uint32_t *outLen);
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_device_common_key.h | 36 int64_t keyIndex; member
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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() 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 D | input_hub.h | 102 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 D | softbus_proxychannel_message.h | 82 int32_t keyIndex; member
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/ |
H A D | table_info.h | 97 void SetPrimaryKey(const FieldName &fieldName, int keyIndex);
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/core/module/ |
H A D | wifi_base.c | 76 …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 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()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_relational_schema_object_test.cpp | 912 int keyIndex = -1; variable 913 table1.SetPrimaryKey("test", keyIndex);
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/ |
H A D | dialog.js | 2501 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 D | dialog.ets | 993 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 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 | 867 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()
|