Searched refs:memoryContent (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/ |
H A D | ashmem_fuzzer.cpp | 40 string memoryContent = dataProvider->ConsumeRandomLengthString(MAX_MEMORY_SIZE); in AshmemTestFunc() local 41 ret = ashmem->WriteToAshmem(memoryContent.c_str(), memoryContent.size(), 0); in AshmemTestFunc() 47 … ret = ashmem->WriteToAshmem(memoryContent2.c_str(), memoryContent2.size(), memoryContent.size()); in AshmemTestFunc() 52 ashmem->ReadFromAshmem(memoryContent.size(), 0); in AshmemTestFunc() 54 ashmem->ReadFromAshmem(memoryContent2.size(), memoryContent.size()); in AshmemTestFunc()
|
/ohos5.0/foundation/ability/ability_runtime/services/appdfr/src/ |
H A D | appfreeze_manager.cpp | 125 std::string memoryContent = ""; in AppfreezeHandle() local 126 CollectFreezeSysMemory(memoryContent); in AppfreezeHandle() 128 AcquireStack(faultData, appInfo, memoryContent); in AppfreezeHandle() 130 NotifyANR(faultData, appInfo, "", memoryContent); in AppfreezeHandle() 141 OHOS::LoadStringFromFile(memInfoPath, memoryContent); in CollectFreezeSysMemory() 170 std::string memoryContent = ""; in AppfreezeHandleWithStack() local 171 CollectFreezeSysMemory(memoryContent); in AppfreezeHandleWithStack() 191 AcquireStack(faultNotifyData, appInfo, memoryContent); in AppfreezeHandleWithStack() 193 NotifyANR(faultNotifyData, appInfo, "", memoryContent); in AppfreezeHandleWithStack() 300 const std::string& binderInfo, const std::string& memoryContent) in NotifyANR() argument [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/abilityappfreezemanager_fuzzer/ |
H A D | abilityappfreezemanager_fuzzer.cpp | 80 std::string memoryContent(data, size); in DoSomethingInterestingWithMyAPI() local 81 freeze->AcquireStack(faultData, appInfo, memoryContent); in DoSomethingInterestingWithMyAPI() 83 freeze->NotifyANR(faultData, appInfo, binderInfo, memoryContent); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/services/appdfr/include/ |
H A D | appfreeze_manager.h | 103 …AcquireStack(const FaultData& faultData, const AppInfo& appInfo, const std::string& memoryContent); 105 const std::string& binderInfo, const std::string& memoryContent); 111 void CollectFreezeSysMemory(std::string& memoryContent);
|