Home
last modified time | relevance | path

Searched refs:FileReference (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp48 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
51 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
54 EXPECT_NE(nullptr, test::GetValueForConfig<FileReference>( in TEST()
57 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
89 EXPECT_NE(nullptr, test::GetValueForConfig<FileReference>( in TEST()
93 EXPECT_NE(nullptr, test::GetValueForConfig<FileReference>( in TEST()
99 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
102 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
138 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
141 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
[all …]
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp287 if (FileReference* f = ValueCast<FileReference>(src_config_value->value.get())) { in DoMerge()
288 std::unique_ptr<FileReference> new_file_ref; in DoMerge()
292 new_file_ref = std::unique_ptr<FileReference>(f->Clone(&master_table_->string_pool)); in DoMerge()
315 std::unique_ptr<FileReference> TableMerger::CloneAndMangleFile( in CloneAndMangleFile()
316 const std::string& package, const FileReference& file_ref) { in CloneAndMangleFile()
321 std::unique_ptr<FileReference> new_file_ref = in CloneAndMangleFile()
322 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile()
329 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool)); in CloneAndMangleFile()
335 std::unique_ptr<FileReference> file_ref = in MergeFile()
336 util::make_unique<FileReference>(table.string_pool.MakeRef(path)); in MergeFile()
DTableMerger.h91 std::unique_ptr<FileReference> CloneAndMangleFile(const std::string& package,
92 const FileReference& value);
/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_message_writer.h13 Status<FileReference>(const LocalHandle& handle));
15 Status<FileReference>(const BorrowedHandle& handle));
17 Status<FileReference>(const RemoteHandle& handle));
Dmessage_writer.h13 virtual Status<FileReference> PushFileHandle(const LocalHandle& handle) = 0;
14 virtual Status<FileReference> PushFileHandle(
16 virtual Status<FileReference> PushFileHandle(const RemoteHandle& handle) = 0;
Dmock_service_endpoint.h44 Status<FileReference>(Message* message,
47 Status<FileReference>(Message* message,
50 Status<FileReference>(Message* message,
62 LocalHandle(Message* message, FileReference ref));
Dservice_endpoint.h112 virtual Status<FileReference> PushFileHandle(Message* message,
114 virtual Status<FileReference> PushFileHandle(
116 virtual Status<FileReference> PushFileHandle(Message* message,
128 FileReference ref) const = 0;
Dmock_client_channel.h37 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
39 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
48 bool(void* transaction_state, FileReference ref,
Dclient_channel.h54 virtual FileReference PushFileHandle(void* transaction_state,
56 virtual FileReference PushFileHandle(void* transaction_state,
62 virtual bool GetFileHandle(void* transaction_state, FileReference ref,
Dutility.h155 Status<FileReference> PushFileHandle(const LocalHandle& handle) override {
159 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override {
163 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override {
185 bool GetFileHandle(FileReference ref, LocalHandle* handle) override {
283 Status<FileReference> PushFileHandle(const LocalHandle& handle) override {
293 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override {
303 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override {
Dclient.h257 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
258 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
259 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
268 bool GetFileHandle(FileReference ref, LocalHandle* handle) override;
Dmock_message_reader.h12 MOCK_METHOD2(GetFileHandle, bool(FileReference ref, LocalHandle* handle));
Dmessage_reader.h14 virtual bool GetFileHandle(FileReference ref, LocalHandle* handle) = 0;
/frameworks/native/libs/vr/libpdx/fuzz/
Dhelpers.h221 Status<FileReference> PushFileHandle(Message* message, in PushFileHandle()
225 return Status<FileReference>(); in PushFileHandle()
228 Status<FileReference> PushFileHandle(Message* message, in PushFileHandle()
232 return Status<FileReference>(); in PushFileHandle()
235 Status<FileReference> PushFileHandle(Message* message, in PushFileHandle()
239 return Status<FileReference>(); in PushFileHandle()
265 LocalHandle GetFileHandle(Message* message, FileReference ref) const { in GetFileHandle()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h67 FileReference PushFileHandle(void* transaction_state,
69 FileReference PushFileHandle(void* transaction_state,
75 bool GetFileHandle(void* transaction_state, FileReference ref,
Dservice_endpoint.h65 Status<FileReference> PushFileHandle(Message* message,
67 Status<FileReference> PushFileHandle(Message* message,
69 Status<FileReference> PushFileHandle(Message* message,
77 LocalHandle GetFileHandle(Message* message, FileReference ref) const override;
Dipc_helper.h70 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
71 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
72 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
99 bool GetFileHandle(FileReference ref, LocalHandle* handle) override;
/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener.cpp80 std::unordered_set<FileReference*> file_refs; in Consume()
85 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); in Consume()
DResourcePathShortener_test.cpp54 FileReference* ref = in TEST()
55 GetValue<FileReference>(table.get(), "android:drawable/xmlfile"); in TEST()
/frameworks/native/libs/vr/libpdx/
Dclient.cpp230 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle()
236 Status<FileReference> Transaction::PushFileHandle( in PushFileHandle()
243 Status<FileReference> Transaction::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle()
266 bool Transaction::GetFileHandle(FileReference ref, LocalHandle* handle) { in GetFileHandle()
/frameworks/base/tools/aapt2/
DResourceValues.h256 struct FileReference : public BaseItem<FileReference> { struct
267 FileReference() = default; argument
268 explicit FileReference(const StringPool::Ref& path);
272 FileReference* Clone(StringPool* new_pool) const override;
DResourceValues.cpp339 FileReference::FileReference(const StringPool::Ref& _path) : path(_path) { in FileReference() function in aapt::FileReference
342 bool FileReference::Equals(const Value* value) const { in Equals()
343 const FileReference* other = ValueCast<FileReference>(value); in Equals()
350 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten()
360 FileReference* FileReference::Clone(StringPool* new_pool) const { in Clone()
361 FileReference* fr = new FileReference(new_pool->MakeRef(path)); in Clone()
369 void FileReference::Print(std::ostream* out) const { in Print()
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp52 virtual bool SerializeFile(FileReference* file, IArchiveWriter* writer) = 0;
95 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile()
166 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile()
292 FileReference* file = ValueCast<FileReference>(config_value->value.get()); in Convert()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp46 FileReference PushFileHandle(BorrowedHandle handle) { in PushFileHandle()
259 FileReference ClientChannel::PushFileHandle(void* transaction_state, in PushFileHandle()
265 FileReference ClientChannel::PushFileHandle(void* transaction_state, in PushFileHandle()
283 bool ClientChannel::GetFileHandle(void* transaction_state, FileReference ref, in GetFileHandle()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp436 static pb::FileReference::Type SerializeFileReferenceTypeToPb(const ResourceFile::Type& type) { in SerializeFileReferenceTypeToPb()
439 return pb::FileReference::BINARY_XML; in SerializeFileReferenceTypeToPb()
441 return pb::FileReference::PROTO_XML; in SerializeFileReferenceTypeToPb()
443 return pb::FileReference::PNG; in SerializeFileReferenceTypeToPb()
445 return pb::FileReference::UNKNOWN; in SerializeFileReferenceTypeToPb()
482 void Visit(const FileReference* file) override { in Visit()
483 pb::FileReference* pb_file = out_value_->mutable_item()->mutable_file(); in Visit()

12