Home
last modified time | relevance | path

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

123

/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/optimize/
DResourcePathShortener.cpp79 bool operator() (const FileReference* lhs, const FileReference* rhs) const { in operator ()()
87 std::set<FileReference*, PathComparator> file_refs; in Consume()
92 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); in Consume()
/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/base/tools/aapt2/link/
DTableMerger.cpp296 if (FileReference* f = ValueCast<FileReference>(src_config_value->value.get())) { in DoMerge()
297 std::unique_ptr<FileReference> new_file_ref; in DoMerge()
301 new_file_ref = std::unique_ptr<FileReference>(f->Transform(cloner)); in DoMerge()
323 std::unique_ptr<FileReference> TableMerger::CloneAndMangleFile( in CloneAndMangleFile()
324 const std::string& package, const FileReference& file_ref) { in CloneAndMangleFile()
329 std::unique_ptr<FileReference> new_file_ref = in CloneAndMangleFile()
330 util::make_unique<FileReference>(main_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile()
339 return std::unique_ptr<FileReference>(file_ref.Transform(cloner)); in CloneAndMangleFile()
345 std::unique_ptr<FileReference> file_ref = in MergeFile()
346 util::make_unique<FileReference>(table.string_pool.MakeRef(path)); in MergeFile()
DTableMerger.h93 std::unique_ptr<FileReference> CloneAndMangleFile(const std::string& package,
94 const FileReference& value);
/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/
DResourceValues.h259 struct FileReference : public TransformableItem<FileReference, BaseItem<FileReference>> { struct
270 FileReference() = default; argument
271 explicit FileReference(const StringPool::Ref& path);
410 std::unique_ptr<FileReference> TransformDerived(const FileReference* value) override;
DValueTransformer.h33 struct FileReference;
93 AAPT_TRANSFORM_ITEM(FileReference);
DResourceValues.cpp319 FileReference::FileReference(const StringPool::Ref& _path) : path(_path) { in FileReference() function in aapt::FileReference
322 bool FileReference::Equals(const Value* value) const { in Equals()
323 const FileReference* other = ValueCast<FileReference>(value); in Equals()
330 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten()
340 void FileReference::Print(std::ostream* out) const { in Print()
1109 std::unique_ptr<FileReference> CloningValueTransformer::TransformDerived( in TransformDerived()
1110 const FileReference* value) { in TransformDerived()
1111 auto new_value = std::make_unique<FileReference>(pool_->MakeRef(value->path)); in TransformDerived()
DValueTransformer.cpp41 VALUE_CREATE_ITEM_DECL(FileReference);
/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/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()
298 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()

123