Home
last modified time | relevance | path

Searched refs:stringData (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkSpecifierTest.kt35 val stringData: String = "init" constant in android.net.NetworkSpecifierTest.TestNetworkSpecifier
41 stringData.equals(other.stringData) in canBeSatisfiedBy()
52 assertNotEquals(ns.stringData, redactNs.stringData) in canBeSatisfiedBy()
53 assertTrue("redact".equals(redactNs.stringData)) in canBeSatisfiedBy()
65 assertFalse(target.canBeSatisfiedBy(TestNetworkSpecifier(stringData = "diff"))) in testcanBeSatisfiedBy()
/frameworks/rs/
DrsStream.cpp98 char *stringData = reinterpret_cast<char *>(&mData[mPos]); in addString() local
99 memcpy(stringData, s, len); in addString()
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_parcel_utils.h256 static inline bool AParcel_stdStringAllocator(void* stringData, int32_t length, char** buffer) { in AParcel_stdStringAllocator() argument
259 std::string* str = static_cast<std::string*>(stringData); in AParcel_stdStringAllocator()
270 static inline bool AParcel_nullableStdStringAllocator(void* stringData, int32_t length, in AParcel_nullableStdStringAllocator() argument
274 std::optional<std::string>* str = static_cast<std::optional<std::string>*>(stringData); in AParcel_nullableStdStringAllocator()
355 void* stringData = static_cast<void*>(str); in AParcel_readString() local
356 return AParcel_readString(parcel, stringData, AParcel_stdStringAllocator); in AParcel_readString()
376 void* stringData = static_cast<void*>(str); in AParcel_readString() local
377 return AParcel_readString(parcel, stringData, AParcel_nullableStdStringAllocator); in AParcel_readString()
Dbinder_parcel.h105 typedef bool (*AParcel_stringAllocator)(void* stringData, int32_t length, char** buffer);
519 binder_status_t AParcel_readString(const AParcel* parcel, void* stringData,
/frameworks/native/libs/binder/ndk/
Dparcel.cpp325 binder_status_t AParcel_readString(const AParcel* parcel, void* stringData, in AParcel_readString() argument
331 if (allocator(stringData, -1, nullptr)) { in AParcel_readString()
352 bool success = allocator(stringData, len8, &str8); in AParcel_readString()
391 static bool Allocator(void* stringData, int32_t length, char** buffer) { in Allocator()
393 static_cast<StringArrayElementAllocationAdapter*>(stringData); in Allocator()