/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutGetLineLeftRightTest.java | 62 final CharSequence mText; field in StaticLayoutGetLineLeftRightTest 104 mText = ss; in StaticLayoutGetLineLeftRightTest() 106 mText = TEST_STR; in StaticLayoutGetLineLeftRightTest() 113 mWidth = mLeadingMargin + (int) mPaint.measureText(mText, 0, mText.length()) / 10; in StaticLayoutGetLineLeftRightTest() 114 mLayout = StaticLayout.Builder.obtain(mText, 0, mText.length(), mPaint, mWidth) in StaticLayoutGetLineLeftRightTest() 149 final float textWidth = mPaint.measureText(mText, start, end); in testGetLineLeft() 173 final float textWidth = mPaint.measureText(mText, start, end); in testGetLineRight()
|
D | StaticLayoutTest.java | 1013 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToRightCursorableOffset() 1021 StaticLayout layout = StaticLayout.Builder.obtain(state.mText, 0, state.mText.length(), in moveCursorToLeftCursorableOffset()
|
D | TextUtilsTest.java | 1122 private char mText[]; field in TextUtilsTest.MockCharSequence 1125 mText = text.toCharArray(); in MockCharSequence() 1129 if (arg0 >= 0 && arg0 < mText.length) { in charAt() 1130 return mText[arg0]; in charAt() 1136 return mText.length; in length()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxNeverallowRule.java | 45 public String mText; field in SELinuxNeverallowRule 52 mText = text; in SELinuxNeverallowRule() 68 return "Rule [text= " + mText in toString() 168 mText); in testNeverallowRule() 181 + "neverallow rule:\n" + mText + "\n" + errorString, in testNeverallowRule()
|
D | SELinuxNeverallowRulesParserTest.java | 47 assertEquals("neverallow d1 d2:c1 p;", rules.get(0).mText); in testParsingWithoutConditions() 52 assertEquals("neverallow d2 d3:c2 p2;", rules.get(1).mText); in testParsingWithoutConditions() 79 assertEquals(rules.get(0).mText, "neverallow d1 { d2 d3 }:file { p1 p2 };"); in testParsingMultiLinesNeverallow()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | EditorState.java | 55 public Editable mText; field in EditorState 175 mText = Editable.Factory.getInstance().newEditable(spannable); in setByString() 182 Assert.assertEquals(expected.mText.toString(), mText.toString()); in assertEquals()
|
D | ForwardDeleteTest.java | 48 mTextView.setText(state.mText, BufferType.EDITABLE); in forwardDelete() 59 state.mText = mTextView.getText(); in forwardDelete()
|
D | BackspaceTest.java | 48 mTextView.setText(state.mText, BufferType.EDITABLE); in backspace() 59 state.mText = mTextView.getText(); in backspace()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | VisualVoicemailServiceTest.java | 552 private final String mText; field in VisualVoicemailServiceTest.SmsBroadcastReceiver 557 mText = text; in SmsBroadcastReceiver() 589 if (!TextUtils.equals(mText, messageBody.toString())) { in onReceive() 618 private final String mText; field in VisualVoicemailServiceTest.SentSmsObserver 625 mText = text; in SentSmsObserver() 652 .equals(cursor.getString(1), mText)) { in onChange()
|
D | SmsManagerTest.java | 126 private String mText; field in SmsManagerTest 159 mText = "This is a test message"; in setUp() 305 String composedText = "testprefix1" + mText + token; in testSmsRetriever() 383 assertEquals(mReceivedText, mText); in sendDataSms() 721 byte[] data = mText.getBytes(); in sendDataMessageIfSupported()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | SatelliteManagerTestOnMockService.java | 371 String mText = "This is test provision data."; in testProvisionSatelliteService() local 372 byte[] testProvisionData = mText.getBytes(); in testProvisionSatelliteService() 813 String mText = "This is a test datagram message from user"; in testSendKeepAliveDatagramInNotConnectedState() local 814 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in testSendKeepAliveDatagramInNotConnectedState() 903 String mText = "This is a test datagram message from user"; in sendDatagramWithoutResponse() local 904 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in sendDatagramWithoutResponse() 986 String mText = "This is a test datagram message from user"; in verifyNbIotStateTransitionsWithTransferringFailureOnIdle() local 987 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in verifyNbIotStateTransitionsWithTransferringFailureOnIdle() 1089 String mText = "This is a test datagram message from user"; in verifyNbIotStateTransitionsWithSendingAborted() local 1090 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in verifyNbIotStateTransitionsWithSendingAborted() [all …]
|
D | SatelliteManagerTest.java | 234 String mText = "This is test provision data."; in testProvisionSatelliteService() local 235 byte[] testProvisionData = mText.getBytes(); in testProvisionSatelliteService() 519 String mText = "This is a test datagram message"; in testSatelliteModemStateChanged() local 520 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in testSatelliteModemStateChanged() 616 String mText = "This is a test datagram message"; in testSendSatelliteDatagram() local 617 SatelliteDatagram datagram = new SatelliteDatagram(mText.getBytes()); in testSendSatelliteDatagram()
|
D | SatelliteManagerTestBase.java | 809 String mText = "This is test provision data."; in provisionSatellite() local 810 byte[] testProvisionData = mText.getBytes(); in provisionSatellite()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerTest.java | 381 CharSequence mText; field in ClipboardManagerTest.ExpectedClipItem 386 mText = text; in ExpectedClipItem() 403 && expectedClipItems[0].mText != null) { in assertSetPrimaryClip() 444 assertEquals(expectedItem.mText, item.getText()); in assertClipItem()
|
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/ |
D | PlatformInspectableProcessorTest.java | 395 private final String mText; field in PlatformInspectableProcessorTest.ObjectPropertiesTest 405 mText = stringBuilder.toString(); in ObjectPropertiesTest() 410 return mText; in getText()
|