Home
last modified time | relevance | path

Searched refs:string8 (Results 1 – 9 of 9) sorted by relevance

/aosp12/system/core/libutils/
H A DString8_test.cpp87 String8 string8(string16); in TEST_F() local
89 EXPECT_EQ(4U, string8.length()); in TEST_F()
96 String8 string8(string32); in TEST_F() local
97 EXPECT_EQ(10U, string8.length()); in TEST_F()
/aosp12/frameworks/base/libs/androidfw/
H A DResourceUtils.cpp59 if (base::expected<StringPiece, NullOrIOError> type_str = type_string_ref.string8(); in ToResourceName()
77 if (base::expected<StringPiece, NullOrIOError> entry_str = entry_string_ref.string8(); in ToResourceName()
H A DResourceTypes.cpp4421 outName->type8 = UnpackOptionalString(entry.typeStr.string8(), &outName->typeLen); in getResourceName()
4422 outName->name8 = UnpackOptionalString(entry.keyStr.string8(), &outName->nameLen); in getResourceName()
6363 base::expected<StringPiece, NullOrIOError> StringPoolRef::string8() const { in string8() function in android::StringPoolRef
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_net_NetworkStatsFactory.cpp294 ScopedUtfChars string8(env, string); in readNetworkStatsDetail() local
295 if (string8.c_str() != NULL) { in readNetworkStatsDetail()
296 limitIfaces.push_back(std::string(string8.c_str())); in readNetworkStatsDetail()
/aosp12/frameworks/native/libs/sensor/
H A DSensor.cpp597 const String8& string8) { in flattenString8() argument
598 uint32_t len = static_cast<uint32_t>(string8.length()); in flattenString8()
600 memcpy(static_cast<char*>(buffer), string8.string(), len); in flattenString8()
/aosp12/frameworks/native/libs/sensor/include/sensor/
H A DSensor.h139 static void flattenString8(void*& buffer, size_t& size, const String8& string8);
/aosp12/hardware/ril/libril/
H A Dril_service.cpp7491 char* string8 = NULL; in cdmaInfoRecInd() local
7522 if (string8 == NULL) { in cdmaInfoRecInd()
7532 free(string8); in cdmaInfoRecInd()
7533 string8 = NULL; in cdmaInfoRecInd()
7547 if (string8 == NULL) { in cdmaInfoRecInd()
7556 record->number[0].number = string8; in cdmaInfoRecInd()
7557 free(string8); in cdmaInfoRecInd()
7558 string8 = NULL; in cdmaInfoRecInd()
7586 if (string8 == NULL) { in cdmaInfoRecInd()
7597 free(string8); in cdmaInfoRecInd()
[all …]
/aosp12/frameworks/native/libs/binder/rust/src/parcel/
H A Dparcelable.rs710 let string8 = "Custom Parcelable".to_string(); in test_custom_parcelable() localVariable
718 let custom = Custom(123_456_789, true, string8, strs); in test_custom_parcelable()
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h578 base::expected<StringPiece, NullOrIOError> string8() const;