Searched refs:TakeData (Results 1 – 5 of 5) sorted by relevance
256 HWTEST_F(SharedMemoryBlockTest, TakeData, TestSize.Level1)265 EXPECT_FALSE(shareMemoryBlock.TakeData(function));273 EXPECT_FALSE(shareMemoryBlock.TakeData(function));280 EXPECT_FALSE(shareMemoryBlock.TakeData(function));287 EXPECT_FALSE(shareMemoryBlock.TakeData(functionErr));294 EXPECT_TRUE(shareMemoryBlock.TakeData(function));
41 EXPORT_API bool TakeData(const DataHandler& func);
419 … bool ret = context.shareMemoryBlock->TakeData([&](const int8_t data[], uint32_t size) -> bool { in ReadShareMemoryOffline()457 … bool ret = context.shareMemoryBlock->TakeData([&](const int8_t data[], uint32_t size) -> bool { in ReadShareMemoryOnline()
327 bool ShareMemoryBlock::TakeData(const DataHandler& func) in TakeData() function in ShareMemoryBlock
278 bool ret = shareMemoryBlock_->TakeData([&](const int8_t data[], uint32_t size) -> bool { in ReadShareMemory()