Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/vr/virtual_touchpad/tests/
DVirtualTouchpad_test.cpp36 const std::string& GetString() const { return s_; } in GetString() function in android::dvr::__anon4fe9d4610111::UInputRecorder
172 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
186 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
200 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
213 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
222 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
234 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
245 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
254 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
265 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F()
[all …]
/frameworks/base/cmds/idmap2/include/idmap2/
DLogInfo.h44 std::string GetString() const { in GetString() function
57 lines_.push_back("I " + msg.GetString()); in Info()
62 LOG(WARNING) << msg.GetString(); in Warning()
64 std::cerr << "W " << msg.GetString() << '\n'; in Warning()
66 lines_.push_back("W " + msg.GetString()); in Warning()
69 inline std::string GetString() const { in GetString() function
/frameworks/base/libs/androidfw/tests/
DStringPool_test.cpp272 EXPECT_THAT(android::util::GetString(test, 1), Eq("hello")); in TEST()
275 EXPECT_THAT(android::util::GetString(test, 2), Eq("goodbye")); in TEST()
278 EXPECT_THAT(android::util::GetString(test, 3), Eq(sLongString)); in TEST()
283 EXPECT_THAT(android::util::GetString(test, 0), Eq("style")); in TEST()
290 EXPECT_THAT(android::util::GetString(test, span->name.index), Eq("b")); in TEST()
297 EXPECT_THAT(android::util::GetString(test, span->name.index), Eq("i")); in TEST()
335 EXPECT_THAT(android::util::GetString(test, 0), Eq("\xF0\x90\x90\x80")); in TEST()
336 EXPECT_THAT(android::util::GetString(test, 1), Eq("foo \xF0\x90\x90\xB7 bar")); in TEST()
337 EXPECT_THAT(android::util::GetString(test, 2), Eq("\xF0\x90\x90\x80\xF0\x90\x90\xB7")); in TEST()
353 EXPECT_THAT(android::util::GetString(test, 0), Eq("aaaaaaaaaa")); in TEST()
[all …]
/frameworks/libs/binary_translation/tiny_loader/
Dtiny_symbol_table.cc103 const char* TinySymbolTable::GetString(ElfWord index) const { in GetString() function in TinySymbolTable
141 if (((gnu_chain_[n] ^ hash) >> 1) == 0 && strcmp(GetString(s->st_name), name) == 0 && in FindGnuSymbol()
159 if (strcmp(GetString(s->st_name), name) == 0 && is_symbol_global_and_defined(s)) { in FindSysvSymbol()
196 symbol_handler(GetString(s->st_name), reinterpret_cast<void*>(load_bias_ + s->st_value), s); in ForEachSymbol()
/frameworks/libs/binary_translation/tools/nogrod/
Dstring_table.h45 [[nodiscard]] const char* GetString(size_t index) const { in GetString() function
Delf_reader.cc358 if (strcmp(name, strtab_.GetString(shdr_table_[i].sh_name)) == 0) { in FindSectionHeaderByName()
414 symbols->push_back(strtab.GetString(sym->st_name)); in ReadExportedSymbols()
Ddwarf_abbrev.cc805 std::string value = context->debug_str_table()->GetString(offset); in ReadAttribute()
991 string_.emplace(context->debug_str_table()->GetString(string_offset)); in Resolve()
/frameworks/libs/binary_translation/tiny_loader/include/berberis/tiny_loader/
Dtiny_symbol_table.h55 const char* GetString(ElfWord index) const;
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h115 std::string GetString(const android::ResStringPool& pool, size_t idx);
/frameworks/base/tools/aapt2/
DDebug.cpp676 android::util::GetString(type_pool_, android::util::DeviceToHost32(chunk->id) - 1) in PrintTableType()
689 android::util::GetString(type_pool_, android::util::DeviceToHost32(chunk->id) - 1)); in PrintTableType()
710 " name: %s", android::util::GetString(key_pool_, entry->key()).c_str())); in PrintTableType()
730 android::util::GetString(key_pool_, android::util::DeviceToHost32(maps[i].name.ident)) in PrintTableType()
769 printer_->Print(StringPrintf("#%zd : %s\n", i, android::util::GetString(*pool, i).c_str())); in PrintStringPool()
DResourceUtils.cpp772 const std::string str = android::util::GetString(src_pool, data); in ParseBinaryResValue()
782 android::Span{android::util::GetString(src_pool, spans->name.index), spans->firstChar, in ParseBinaryResValue()
/frameworks/base/libs/androidfw/
DUtil.cpp210 std::string GetString(const android::ResStringPool& pool, size_t idx) { in GetString() function
/frameworks/base/tools/aapt2/cmd/
DConvert_test.cpp109 EXPECT_THAT(android::util::GetString(tree.getStrings(), static_cast<size_t>(raw_index)), in TEST_F()
DLink_test.cpp89 EXPECT_THAT(android::util::GetString(tree.getStrings(), static_cast<size_t>(raw_index)), in TEST_F()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp372 const std::string type_str = android::util::GetString(type_pool_, type->id - 1); in ParseType()
388 android::util::GetString(key_pool_, entry->key())); in ParseType()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp404 header->debug_info_ = log_info.GetString(); in FromContainers()
/frameworks/compile/slang/
Dslang_rs_pragma_handler.cpp499 this->handleItem(std::string(StringLiteral.GetString())); in handleOptionalStringLiteralParamPragma()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp363 out_source->path = android::util::GetString(src_pool, pb_source.path_idx()); in DeserializeSourceFromPb()