Home
last modified time | relevance | path

Searched refs:mString (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/mtp/
DMtpStringBuffer.h35 std::string mString;
54 inline bool isEmpty() const { return mString.empty(); } in isEmpty()
55 inline int size() const { return mString.length(); } in size()
57 inline operator const char*() const { return mString.c_str(); }
61 mString += other; in append()
65 mString += other.mString; in append()
DMtpStringBuffer.cpp55 mString = src.mString; in MtpStringBuffer()
59 mString = std::string(src); in set()
63 mString = utf16ToUtf8(std::u16string((const char16_t*)src)); in set()
84 mString = utf16ToUtf8(std::u16string(buffer.data())); in readFromPacket()
89 std::u16string src16 = utf8ToUtf16(mString); in writeToPacket()
/frameworks/native/libs/gui/
DSyncFeatures.cpp57 mString.append("[using:"); in SyncFeatures()
59 mString.append(" EGL_ANDROID_native_fence_sync"); in SyncFeatures()
62 mString.append(" EGL_KHR_fence_sync"); in SyncFeatures()
65 mString.append(" EGL_KHR_wait_sync"); in SyncFeatures()
67 mString.append("]"); in SyncFeatures()
91 return mString; in toString()
/frameworks/base/core/tests/coretests/src/android/text/
DTextLayoutTest.java32 private String mString; field in TextLayoutTest
37 mString = "The quick brown fox"; in setup()
43 new StaticLayout(mString, mPaint, 200, in testStaticLayout()
50 new DynamicLayout(mString, mPaint, 200, in testDynamicLayoutTest()
DTextUtilsTest.java498 private CharSequence mString; field in TextUtilsTest.Wrapper
501 mString = s; in Wrapper()
506 return mString.length(); in length()
511 return mString.charAt(off); in charAt()
516 return mString.toString(); in toString()
521 return new Wrapper(mString.subSequence(start, end)); in subSequence()
/frameworks/minikin/libs/minikin/
DStringPiece.h91 : mStarted(false), mCurrent(0), mString(string), mDelimiter(delimiter) {} in SplitIterator()
99 mCurrent = mString.find(searchFrom, mDelimiter); in next()
100 return mString.substr(searchFrom, mCurrent - searchFrom); in next()
102 inline bool hasNext() const { return mCurrent < mString.size(); } in hasNext()
107 StringPiece mString; variable
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPerformanceTest.java39 private String mString = "The quick brown fox"; field in TextViewPerformanceTest
55 mLabelView.setText(mString); in setUp()
65 mTextView.setText(mString); in setUp()
88 CharSequence charSeq = new SpannedString(mString); in testSpan()
106 mCanvas.drawText(mString, 30, 30, mPaint); in testCanvasDrawText()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
DStringSource.java33 private String mString; field in StringSource
50 output.setObjectValue(mString); in process()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DCarrierDefaultReceiverTest.java55 private ArgumentCaptor<String> mString; field in CarrierDefaultReceiverTest
99 verify(mNotificationMgr, times(1)).notify(mString.capture(), mInt.capture(), in testOnReceiveRedirection()
102 assertEquals(PORTAL_NOTIFICATION_TAG, mString.getValue()); in testOnReceiveRedirection()
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp45 String8 mString; member in android::renderengine::gl::Formatter
54 String8 getString() const { return mString; } in getString()
58 out.mString.append(" "); in operator <<()
60 out.mString.append(in); in operator <<()
61 out.mString.append("\n"); in operator <<()
/frameworks/native/libs/gui/include/private/gui/
DSyncFeatures.h32 String8 mString; variable
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamObjectTest.java35 public String mString; field in ProtoInputStreamObjectTest.SimpleObject
59 mString = pi.readString(stringId); in parseProto()
312 assertEquals("abcdefghijkl", obj.mString); in testComplexObject()
375 assertEquals("abcdefghijkl", obj.mNested.mNested.mString); in testDeepObjects()
/frameworks/rs/rsov/driver/
DrsovScript.cpp670 : mString(s), mMapping(map) {} in ParseMD()
674 mString = removeBraces(mString); in parse()
675 if (mString.empty()) { in parse()
679 mString = removeBraces(mString); in parse()
680 if (mString.empty()) { in parse()
686 split<','>(mString, [&](auto s) { in parse()
736 std::string mString; member in __anon0fcb97670211::ParseMD
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java669 shortcutRepresentation.mString)); in populateKeyboardShortcuts()
671 } else if (shortcutRepresentation.mString != null) { in populateKeyboardShortcuts()
676 shortcutKeyTextView.setText(shortcutRepresentation.mString); in populateKeyboardShortcuts()
679 shortcutRepresentation.mString)); in populateKeyboardShortcuts()
776 public String mString; field in KeyboardShortcuts.StringDrawableContainer
781 mString = string; in StringDrawableContainer()
/frameworks/base/core/java/android/text/
DTextUtils.java479 private String mString; field in TextUtils.SimpleStringSplitter
497 mString = string; in setString()
499 mLength = mString.length(); in setString()
511 int end = mString.indexOf(mDelimiter, mPosition); in next()
515 String nextString = mString.substring(mPosition, end); in next()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp73 jfieldID mString; member
315 env->SetObjectField(out_typed_value, gTypedValueOffsets.mString, nullptr); in CopyValue()
1617 gTypedValueOffsets.mString = in register_android_content_AssetManager()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3010 private String mString; in testNetworkSpecifier() field in ConnectivityServiceTest.LocalStringNetworkSpecifier
3013 mString = string; in testNetworkSpecifier()
3019 return TextUtils.equals(mString, in testNetworkSpecifier()
3020 ((LocalStringNetworkSpecifier) other).mString); in testNetworkSpecifier()