/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | sqlite_storage.cpp | 59 TokenFiledConst::FIELD_TOKEN_ID, TokenFiledConst::FIELD_USER_ID, in SqliteStorage() 69 TokenFiledConst::FIELD_TOKEN_ID, TokenFiledConst::FIELD_PROCESS_NAME, in SqliteStorage() 77 TokenFiledConst::FIELD_TOKEN_ID, TokenFiledConst::FIELD_PERMISSION_NAME, in SqliteStorage() 88 TokenFiledConst::FIELD_TOKEN_ID, TokenFiledConst::FIELD_PERMISSION_NAME, in SqliteStorage() 294 .append(TokenFiledConst::FIELD_TOKEN_ID) in CreateHapTokenInfoTable() 317 .append(TokenFiledConst::FIELD_TOKEN_ID) in CreateHapTokenInfoTable() 330 .append(TokenFiledConst::FIELD_TOKEN_ID) in CreateNativeTokenInfoTable() 345 .append(TokenFiledConst::FIELD_TOKEN_ID) in CreateNativeTokenInfoTable() 358 .append(TokenFiledConst::FIELD_TOKEN_ID) in CreatePermissionDefinitionTable() 381 .append(TokenFiledConst::FIELD_TOKEN_ID) in CreatePermissionDefinitionTable() [all …]
|
D | token_field_const.cpp | 20 const std::string TokenFiledConst::FIELD_TOKEN_ID = "token_id"; member in OHOS::Security::AccessToken::TokenFiledConst
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record.cpp | 24 values.Put(PrivacyFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(record.tokenId)); in TranslationIntoGenericValues() 35 record.tokenId = values.GetInt(PrivacyFiledConst::FIELD_TOKEN_ID); in TranslationIntoPermissionRecord()
|
D | permission_used_record_cache.cpp | 243 record.Put(PrivacyFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenId)); in RemoveFromPersistQueueAndDatabase() 255 AccessTokenID tokenId = andConditionValues.GetInt(PrivacyFiledConst::FIELD_TOKEN_ID); in GetRecords() 288 AccessTokenID tokenId = andConditionValues.GetInt(PrivacyFiledConst::FIELD_TOKEN_ID); in GetFromPersistQueueAndDatabase()
|
D | permission_record_manager.cpp | 185 …ecordRepository::GetInstance().GetAllRecordValuesByKey(PrivacyFiledConst::FIELD_TOKEN_ID, results); in GetLocalRecordTokenIdList() 188 tokenIdList.emplace(res.GetInt(PrivacyFiledConst::FIELD_TOKEN_ID)); in GetLocalRecordTokenIdList() 211 andConditionValues.Put(PrivacyFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenId)); in GetRecordsFromLocalDB() 215 andConditionValues.Remove(PrivacyFiledConst::FIELD_TOKEN_ID); in GetRecordsFromLocalDB()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_db_test.cpp | 116 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TOKEN_ID); 132 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TOKEN_ID); 149 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TOKEN_ID); 166 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TOKEN_ID); 371 value1.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); 378 value2.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); 400 value1.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); 409 value2.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 1); 449 value.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); 507 value.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); [all …]
|
/base/security/access_token/services/common/database/test/unittest/ |
D | database_test.cpp | 183 AccessTokenID tokenId = (AccessTokenID)hapInfoValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID); in RemoveTestTokenHapInfo() 205 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 236 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 257 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 277 conditions.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 287 AccessTokenID tokenId = (AccessTokenID)hapInfoValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID); 311 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 361 conditions.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID); 390 modifyColumns.emplace_back(TokenFiledConst::FIELD_TOKEN_ID); 495 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, TEST_TOKEN_ID);
|
/base/security/access_token/services/privacymanager/include/common/ |
D | privacy_field_const.h | 26 const static std::string FIELD_TOKEN_ID;
|
/base/security/access_token/services/privacymanager/src/common/ |
D | privacy_field_const.cpp | 20 const std::string PrivacyFiledConst::FIELD_TOKEN_ID = "token_id"; member in OHOS::Security::AccessToken::PrivacyFiledConst
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/ |
D | token_field_const.h | 26 const static std::string FIELD_TOKEN_ID;
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_definition_cache.cpp | 132 … genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(it->second.tokenId)); in StorePermissionDef() 156 AccessTokenID tokenId = (AccessTokenID)defValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID); in RestorePermDefInfo()
|
D | permission_policy_set.cpp | 92 if ((AccessTokenID)stateValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID) == tokenId) { in RestorePermissionPolicy() 127 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenId_)); in StorePermissionState() 136 genericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenId_)); in StorePermissionState()
|
/base/security/access_token/services/privacymanager/src/database/ |
D | permission_used_record_db.cpp | 61 PrivacyFiledConst::FIELD_TOKEN_ID, in PermissionUsedRecordDb() 156 if (statement.GetColumnName(i) == PrivacyFiledConst::FIELD_TOKEN_ID) { in GetDistinctValue() 388 .append(PrivacyFiledConst::FIELD_TOKEN_ID) in CreatePermissionRecordTable() 403 .append(PrivacyFiledConst::FIELD_TOKEN_ID) in CreatePermissionRecordTable()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | native_token_info_inner.cpp | 106 …outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenInfoBasic_.tokenID… in TranslationIntoGenericValues()
|
D | hap_token_info_inner.cpp | 109 …outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(tokenInfoBasic_.tokenID… in TranslationIntoGenericValues()
|
D | accesstoken_info_manager.cpp | 90 AccessTokenID tokenId = (AccessTokenID)tokenValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID); in InitHapTokenInfos() 131 … AccessTokenID tokenId = (AccessTokenID)nativeTokenValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID); in InitNativeTokenInfos()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 1659 value1.Put(TokenFiledConst::FIELD_TOKEN_ID, 123); // 123 is random input 1676 value2.Put(TokenFiledConst::FIELD_TOKEN_ID, 123); // 123 is random input 1683 value3.Put(TokenFiledConst::FIELD_TOKEN_ID, 123); // 123 is random input
|
D | native_token_receptor_test.cpp | 298 … AccessTokenID tokenId = (AccessTokenID)nativeTokenValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID);
|
/base/security/access_token/services/privacymanager/ |
D | libprivacy_map | 22 "OHOS::Security::AccessToken::PrivacyFiledConst::FIELD_TOKEN_ID";
|