Home
last modified time | relevance | path

Searched refs:unique (Results 1 – 25 of 60) sorted by relevance

123

/system/core/libappfuse/include/libappfuse/
DFuseAppLoop.h34 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 …]
DFuseBuffer.h70 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/
DFuseAppLoop.cc37 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 …]
DFuseBuffer.cc190 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 …]
DFuseBridgeLoop.cc64 << " header.unique=" << response.header.unique; in LogResponseError()
148 auto it = opcode_map_.find(buffer_.response.header.unique); in ReadFromProxy()
182 const uint64_t unique = buffer_.request.header.unique; in ReadFromDevice() local
183 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique; in ReadFromDevice()
184 if (unique == 0) { in ReadFromDevice()
200 opcode_map_.emplace(buffer_.request.header.unique, opcode); in ReadFromDevice()
233 << " header.unique=" << buffer_.request.header.unique in WriteToProxy()
/system/core/libappfuse/tests/
DFuseBridgeLoopTest.cc70 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()
DFuseBufferTest.cc72 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()
DFuseAppLoopTest.cc50 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/tpm/trunks/
Dsession_manager_test.cc105 public_data.public_area.unique.rsa = GetValidRSAPublicKey(); in TEST_F()
121 public_data.public_area.unique.rsa.size = 32; in TEST_F()
128 public_data.public_area.unique.rsa.size = 256; in TEST_F()
139 public_data.public_area.unique.rsa = GetValidRSAPublicKey(); in TEST_F()
154 public_data.public_area.unique.rsa = GetValidRSAPublicKey(); in TEST_F()
Dsession_manager_impl.cc149 public_data.public_area.unique.rsa.size = 0; in EncryptSalt()
159 public_data.public_area.unique.rsa.size != 256) { in EncryptSalt()
171 BN_bin2bn(public_data.public_area.unique.rsa.buffer, in EncryptSalt()
172 public_data.public_area.unique.rsa.size, nullptr); in EncryptSalt()
/system/core/sdcard/
Dfuse.cpp471 static void fuse_status(struct fuse *fuse, __u64 unique, int err) in fuse_status() argument
476 hdr.unique = unique; in fuse_status()
486 static void fuse_reply(struct fuse *fuse, __u64 unique, void *data, int len) in fuse_reply() argument
491 hdr.unique = unique; in fuse_reply()
508 static int fuse_reply_entry(struct fuse* fuse, __u64 unique, in fuse_reply_entry() argument
533 fuse_reply(fuse, unique, &out, sizeof(out)); in fuse_reply_entry()
537 static int fuse_reply_attr(struct fuse* fuse, __u64 unique, const struct node* node, in fuse_reply_attr() argument
549 fuse_reply(fuse, unique, &out, sizeof(out)); in fuse_reply_attr()
560 hdr.unique = 0; in fuse_notify_delete()
610 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path); in handle_lookup()
[all …]
/system/core/logd/
DLogTags.cpp441 bool& unique) { in nameToTag_locked() argument
445 unique = write; in nameToTag_locked()
461 unique = false; in nameToTag_locked()
476 unique = !!it->second.compare(localKey); in nameToTag_locked()
477 if (!unique) return Tag; // unlikely except in a race in nameToTag_locked()
685 bool unique; in nameToTag() local
691 Tag = nameToTag_locked(Name, format, unique); in nameToTag()
692 if (updateUid && (Tag != emptyTag) && !unique) { in nameToTag()
697 unique = write; // write passthrough to update uid counts in nameToTag()
701 unique = write && (ut != tag2uid.end()); in nameToTag()
[all …]
/system/sepolicy/prebuilts/api/26.0/public/
Dadbd.te2 # it lives in the rootfs and has no unique file type.
Dslideshow.te2 # it lives in the rootfs and has no unique file type.
Dservicemanager.te6 # servicemanager is unique in that it only provides
Dcharger.te2 # it lives in the rootfs and has no unique file type.
/system/sepolicy/public/
Dadbd.te2 # it lives in the rootfs and has no unique file type.
Dslideshow.te2 # it lives in the rootfs and has no unique file type.
Dservicemanager.te6 # servicemanager is unique in that it only provides
Dcharger.te2 # it lives in the rootfs and has no unique file type.
/system/extras/libpagemap/
Dpm_memusage.c118 su->proportional = su->unique = 0; in pm_memusage_pswap_get_usage()
121 su->unique += mu->p_swap->offset_array[elem->offset] == 1 ? pagesize : 0; in pm_memusage_pswap_get_usage()
/system/ca-certificates/
DREADME.cacerts6 and the "n" is a unique integer identifier starting at 0 to deal
/system/sepolicy/prebuilts/api/26.0/private/
Ddomain.te17 # Limit ability to generate hardware unique device ID attestations to priv_apps
/system/sepolicy/private/
Ddomain.te17 # Limit ability to generate hardware unique device ID attestations to priv_apps
/system/bt/service/doc/
DIBluetoothGattServer.txt23 * Registers a client application with this interface. This creates a unique
52 * a unique |request_id| which must be passed to this method along with the

123