Searched refs:bundleRecords (Results 1 – 12 of 12) sorted by relevance
/base/security/access_token/frameworks/privacy/src/ |
D | permission_used_result_parcel.cpp | 29 RETURN_IF_FALSE(out.WriteUint32(this->result.bundleRecords.size())); in Marshalling() 30 for (const auto& bundRecord : this->result.bundleRecords) { in Marshalling() 54 resultParcel->result.bundleRecords.emplace_back(bunRecordParcel->bundleRecord); in Unmarshalling()
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | privacy_kit_test.cpp | 234 ASSERT_EQ(request.tokenId, result.bundleRecords[0].tokenId); in CheckPermissionUsedResult() 235 ASSERT_EQ(request.isRemote, result.bundleRecords[0].isRemote); in CheckPermissionUsedResult() 236 ASSERT_EQ(request.deviceId, result.bundleRecords[0].deviceId); in CheckPermissionUsedResult() 237 ASSERT_EQ(request.bundleName, result.bundleRecords[0].bundleName); in CheckPermissionUsedResult() 238 … ASSERT_EQ(permRecordSize, static_cast<int32_t>(result.bundleRecords[0].permissionRecords.size())); in CheckPermissionUsedResult() 240 successCount += result.bundleRecords[0].permissionRecords[i].accessCount; in CheckPermissionUsedResult() 241 failCount += result.bundleRecords[0].permissionRecords[i].rejectCount; in CheckPermissionUsedResult() 305 ASSERT_EQ(static_cast<uint32_t>(0), result.bundleRecords.size()); 328 ASSERT_EQ(static_cast<uint32_t>(0), result.bundleRecords.size()); 332 ASSERT_EQ(static_cast<uint32_t>(0), result.bundleRecords.size()); [all …]
|
D | privacy_kit_test.h | 46 …ST_LOG_(INFO) << "TestCallBack, code :" << code << ", bundleSize :" << result.bundleRecords.size(); in OnQueried()
|
D | permission_deny_test.cpp | 130 …ST_LOG_(INFO) << "TestCallBack, code :" << code << ", bundleSize :" << result.bundleRecords.size(); in OnQueried()
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 192 if (result.bundleRecords.empty() || result.bundleRecords[0].permissionRecords.empty()) { in ResponseDumpCommand() 196 for (size_t index = 0; index < result.bundleRecords[0].permissionRecords.size(); index++) { in ResponseDumpCommand() 199 infos.append(R"( "bundleName": )" + result.bundleRecords[0].bundleName + ",\n"); in ResponseDumpCommand() 200 … infos.append(R"( "isRemote": )" + std::to_string(result.bundleRecords[0].isRemote) + ",\n"); in ResponseDumpCommand() 203 …time_t lastAccessTime = static_cast<time_t>(result.bundleRecords[0].permissionRecords[index].lastA… in ResponseDumpCommand() 206 … std::to_string(result.bundleRecords[0].permissionRecords[index].lastAccessDuration) + ",\n"); in ResponseDumpCommand()
|
/base/security/access_token/tools/accesstoken/src/ |
D | to_string.cpp | 86 if (result.bundleRecords.empty()) { in PermissionUsedResultToString() 92 for (const auto& res : result.bundleRecords) { in PermissionUsedResultToString()
|
/base/security/access_token/interfaces/innerkits/privacy/include/ |
D | permission_used_result.h | 108 std::vector<BundleUsedRecord> bundleRecords; member
|
/base/security/access_token/frameworks/test/unittest/ |
D | privacy_parcel_test.cpp | 289 permissionUsedResultParcel.result.bundleRecords.emplace_back(g_bundleUsedRecord1); 290 permissionUsedResultParcel.result.bundleRecords.emplace_back(g_bundleUsedRecord2); 468 permissionUsedResultParcel.result.bundleRecords.emplace_back(g_bundleUsedRecord1); 482 permissionUsedResultParcel.result.bundleRecords.emplace_back(g_bundleUsedRecord1);
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/privacy_mock_test/ |
D | privacy_kit_test.cpp | 156 …ST_LOG_(INFO) << "TestCallBack, code :" << code << ", bundleSize :" << result.bundleRecords.size(); in OnQueried()
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 224 result.bundleRecords.emplace_back(bundleRecord); in GetRecordsFromLocalDB()
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | permission_record_manager_napi.cpp | 318 for (const auto& bundleRecord : result.bundleRecords) { in ProcessRecordResult()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | privacy_manager_service_test.cpp | 790 …ST_LOG_(INFO) << "TestCallBack, code :" << code << ", bundleSize :" << result.bundleRecords.size(); in OnQueried()
|