/system/core/libappfuse/include/libappfuse/ |
D | FuseAppLoop.h | 34 virtual void OnLookup(uint64_t unique, uint64_t inode) = 0; 35 virtual void OnGetAttr(uint64_t unique, uint64_t inode) = 0; 36 virtual void OnFsync(uint64_t unique, uint64_t inode) = 0; 37 virtual void OnWrite(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size, 39 virtual void OnRead(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size) = 0; 40 virtual void OnOpen(uint64_t unique, uint64_t inode) = 0; 41 virtual void OnRelease(uint64_t unique, uint64_t inode) = 0; 52 bool ReplySimple(uint64_t unique, int32_t result); 53 bool ReplyLookup(uint64_t unique, uint64_t inode, int64_t size); 54 bool ReplyGetAttr(uint64_t unique, uint64_t inode, int64_t size, int mode); [all …]
|
D | FuseBuffer.h | 70 void Reset(uint32_t data_length, uint32_t opcode, uint64_t unique); 92 void Reset(uint32_t data_length, int32_t error, uint64_t unique); 93 void ResetHeader(uint32_t data_length, int32_t error, uint64_t unique);
|
/system/core/libappfuse/ |
D | FuseAppLoop.cc | 37 return loop->ReplySimple(buffer->request.header.unique, -ENOENT); in HandleLookUp() 44 return loop->ReplySimple(buffer->request.header.unique, -ENOENT); in HandleLookUp() 50 return loop->ReplySimple(buffer->request.header.unique, -ENOENT); in HandleLookUp() 53 callback->OnLookup(buffer->request.header.unique, inode); in HandleLookUp() 59 return loop->ReplyGetAttr(buffer->request.header.unique, buffer->request.header.nodeid, 0, in HandleGetAttr() 62 callback->OnGetAttr(buffer->request.header.unique, buffer->request.header.nodeid); in HandleGetAttr() 69 return loop->ReplySimple(buffer->request.header.unique, -EINVAL); in HandleRead() 72 callback->OnRead(buffer->request.header.unique, buffer->request.header.nodeid, in HandleRead() 79 return loop->ReplySimple(buffer->request.header.unique, -EINVAL); in HandleWrite() 82 callback->OnWrite(buffer->request.header.unique, buffer->request.header.nodeid, in HandleWrite() [all …]
|
D | FuseBuffer.cc | 190 uint32_t data_length, uint32_t opcode, uint64_t unique) { in Reset() argument 194 header.unique = unique; in Reset() 198 void FuseResponseBase<N>::ResetHeader(uint32_t data_length, int32_t error, uint64_t unique) { in ResetHeader() argument 202 header.unique = unique; in ResetHeader() 206 void FuseResponseBase<N>::Reset(uint32_t data_length, int32_t error, uint64_t unique) { in Reset() argument 208 ResetHeader(data_length, error, unique); in Reset() 215 const uint64_t unique = request.header.unique; in HandleInit() local 227 response.Reset(0, -EPERM, unique); in HandleInit() 240 response.Reset(response_size, kFuseSuccess, unique); in HandleInit() 253 << request.header.unique << " nid=" << request.header.nodeid; in HandleNotImpl() [all …]
|
D | FuseBridgeLoop.cc | 64 << " header.unique=" << response.header.unique; in LogResponseError() 149 auto it = opcode_map_.find(buffer_.response.header.unique); in ReadFromProxy() 183 const uint64_t unique = buffer_.request.header.unique; in ReadFromDevice() local 184 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique; in ReadFromDevice() 185 if (unique == 0) { in ReadFromDevice() 201 opcode_map_.emplace(buffer_.request.header.unique, opcode); in ReadFromDevice() 234 << " header.unique=" << buffer_.request.header.unique in WriteToProxy()
|
/system/core/libappfuse/tests/ |
D | FuseBridgeLoopTest.cc | 70 request_.header.unique = 1; in CheckNotImpl() 83 request_.header.unique = opcode; // Use opcode as unique. in CheckProxy() 90 EXPECT_EQ(opcode, request_.header.unique); in CheckProxy() 94 response_.header.unique = opcode; // Use opcode as unique. in CheckProxy() 100 EXPECT_EQ(opcode, response_.header.unique); in CheckProxy() 104 void SendInitRequest(uint64_t unique) { in SendInitRequest() argument 107 request_.header.unique = unique; in SendInitRequest() 138 EXPECT_EQ(1u, response_.header.unique); in TEST_F() 148 request_.header.unique = 1u; in TEST_F() 156 EXPECT_EQ(2u, response_.header.unique) << in TEST_F()
|
D | FuseBufferTest.cc | 72 request.header.unique = 2; in TEST() 87 EXPECT_EQ(2u, request.header.unique); in TEST() 123 EXPECT_EQ(2u, response.header.unique); in TEST() 130 EXPECT_EQ(3u, response.header.unique); in TEST() 147 EXPECT_EQ(2u, response.header.unique); in TEST() 154 EXPECT_EQ(3u, response.header.unique); in TEST()
|
D | FuseAppLoopTest.cc | 50 void OnLookup(uint64_t unique, uint64_t inode) override { in OnLookup() argument 52 EXPECT_TRUE(loop->ReplyLookup(unique, inode, kTestFileSize)); in OnLookup() 113 EXPECT_EQ(1u, response_.header.unique); in CheckCallback() 146 EXPECT_EQ(1u, response_.header.unique); in TEST_F() 183 EXPECT_EQ(1u, response_.header.unique); in TEST_F() 196 EXPECT_EQ(1u, response_.header.unique); in TEST_F() 209 EXPECT_EQ(1u, response_.header.unique); in TEST_F() 242 EXPECT_EQ(1u, response_.header.unique); in TEST_F()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/logging/logd/ |
D | LogTags.cpp | 430 bool& unique) { in nameToTag_locked() argument 434 unique = write; in nameToTag_locked() 450 unique = false; in nameToTag_locked() 465 unique = !!it->second.compare(localKey); in nameToTag_locked() 466 if (!unique) return Tag; // unlikely except in a race in nameToTag_locked() 686 bool unique; in nameToTag() local 692 Tag = nameToTag_locked(Name, format, unique); in nameToTag() 693 if (updateUid && (Tag != emptyTag) && !unique) { in nameToTag() 697 unique = write; // write passthrough to update uid counts in nameToTag() 705 if (!unique) return Tag; in nameToTag() [all …]
|
/system/ca-certificates/ |
D | README.cacerts | 6 and the "n" is a unique integer identifier starting at 0 to deal
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/sepolicy/public/ |
D | adbd.te | 2 # it lives in the rootfs and has no unique file type.
|
D | slideshow.te | 2 # it lives in the rootfs and has no unique file type.
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | domain.te | 17 # Limit ability to generate hardware unique device ID attestations to priv_apps
|