/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 167 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), in initEffectsPreferences() 169 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in initEffectsPreferences() 173 final boolean isVIEnabled = prefs.getBoolean(Key.virt_enabled.toString(), in initEffectsPreferences() 176 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), in initEffectsPreferences() 179 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); in initEffectsPreferences() 180 editor.putInt(Key.virt_strength.toString(), vIStrength); in initEffectsPreferences() 187 editor.putBoolean(Key.virt_strength_supported.toString(), in initEffectsPreferences() 199 final boolean isBBEnabled = prefs.getBoolean(Key.bb_enabled.toString(), in initEffectsPreferences() 201 final int bBStrength = prefs.getInt(Key.bb_strength.toString(), in initEffectsPreferences() 203 editor.putBoolean(Key.bb_enabled.toString(), isBBEnabled); in initEffectsPreferences() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTests.java | 49 assertEquals("type word", WORD_TO_TYPE, mEditText.getText().toString()); in testTypeWord() 60 mEditText.getText().toString()); in testPickSuggestionThenBackspace() 72 mEditText.getText().toString()); in testPickAutoCorrectionThenBackspace() 75 mEditText.getText().toString()); in testPickAutoCorrectionThenBackspace() 86 mEditText.getText().toString()); in testPickTypedWordOverAutoCorrectionThenBackspace() 89 mEditText.getText().toString()); in testPickTypedWordOverAutoCorrectionThenBackspace() 101 mEditText.getText().toString()); in testPickDifferentSuggestionThenBackspace() 104 mEditText.getText().toString()); in testPickDifferentSuggestionThenBackspace() 125 assertEquals("delete selection", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelection() 147 assertEquals("delete selection twice", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelectionTwice() [all …]
|
D | PunctuationTests.java | 48 EXPECTED_RESULT, mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromStripTwice() 60 mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromKeyboardTwice() 74 mEditText.getText().toString()); in testManualPickThenPunctuationFromStripTwiceThenType() 85 mEditText.getText().toString()); in testManualPickThenManualPickWithPunctAtStart() 96 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenColon() 107 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenOpenParen() 118 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenCloseParen() 129 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenSmiley() 140 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenDotCom() 150 EXPECTED_RESULT, mEditText.getText().toString()); in testTypeWordTypeDotThenPressDotCom() [all …]
|
D | InputLogicTestsDeadKeys.java | 61 assertEquals("simple dead circumflex", EXPECTED_RESULT, mEditText.getText().toString()); in testDeadCircumflexSimple() 75 assertEquals("dead circumflex backspace", EXPECTED_RESULT, mEditText.getText().toString()); in testDeadCircumflexBackspace() 88 mEditText.getText().toString()); in testDeadCircumflexFeedback() 106 mEditText.getText().toString()); in testDeadDiaeresisSpace() 120 assertEquals("dead acute on a typed", EXPECTED_RESULT1, mEditText.getText().toString()); in testDeadAcuteLetterBackspace() 124 assertEquals("a with acute deleted", EXPECTED_RESULT2, mEditText.getText().toString()); in testDeadAcuteLetterBackspace() 140 mEditText.getText().toString()); in testFinnishStroke() 163 mEditText.getText().toString()); in testDoubleDeadOgonek() 179 mEditText.getText().toString()); in testDeadCircumflexDeadDiaeresis() 196 mEditText.getText().toString()); in testDeadCircumflexDeadDiaeresisBackspace() [all …]
|
D | RichInputMethodSubtypeTests.java | 94 Locale.US.toString(), "qwerty")); in setUp() 96 Locale.UK.toString(), "qwerty")); in setUp() 100 Locale.FRENCH.toString(), "azerty")); in setUp() 102 Locale.CANADA_FRENCH.toString(), "qwerty")); in setUp() 106 Locale.GERMAN.toString(), "qwertz")); in setUp() 117 Locale.GERMAN.toString(), "qwerty")); in setUp() 120 Locale.FRENCH.toString(), "qwertz")); in setUp() 123 Locale.US.toString(), "azerty")); in setUp() 126 Locale.UK.toString(), "dvorak")); in setUp() 168 .getSubtypeLocaleDisplayName(subtype.getLocale().toString()); in testAllFullDisplayNameForSpacebar() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueueTests.java | 57 public String toString() { in toString() method in PointerTrackerQueueTests.Element 58 return Integer.toString(mId); in toString() 70 assertEquals("[]", mQueue.toString()); in testEmpty() 76 assertEquals("[1]", mQueue.toString()); in testAdd() 79 assertEquals("[1 2]", mQueue.toString()); in testAdd() 82 assertEquals("[1 2 3]", mQueue.toString()); in testAdd() 85 assertEquals("[1 2 3 4]", mQueue.toString()); in testAdd() 98 assertEquals("[1 3 4]", mQueue.toString()); in testRemove() 101 assertEquals("[1 3]", mQueue.toString()); in testRemove() 104 assertEquals("[1 3]", mQueue.toString()); in testRemove() [all …]
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Log.java | 59 public String toString() { in toString() method in Log.Tag 66 android.util.Log.d(tag.toString(), msg); in d() 72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); in d() 78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags)); in d() 84 android.util.Log.d(tag.toString(), msg, tr); in d() 90 android.util.Log.e(tag.toString(), msg); in e() 96 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg)); in e() 102 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg, tags)); in e() 108 android.util.Log.e(tag.toString(), msg, tr); in e() 114 android.util.Log.i(tag.toString(), msg); in i() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | Log.java | 56 android.util.Log.v(LOG_TAG, toString(message, null)); in trace() 61 android.util.Log.v(LOG_TAG, toString(message, t)); in trace() 66 android.util.Log.d(LOG_TAG, toString(message, null)); in debug() 71 android.util.Log.d(LOG_TAG, toString(message, t)); in debug() 76 android.util.Log.i(LOG_TAG, toString(message, null)); in info() 81 android.util.Log.i(LOG_TAG, toString(message, t)); in info() 85 android.util.Log.w(LOG_TAG, toString(message, null)); in warn() 89 android.util.Log.w(LOG_TAG, toString(message, t)); in warn() 93 android.util.Log.e(LOG_TAG, toString(message, null)); in error() 97 android.util.Log.e(LOG_TAG, toString(message, t)); in error() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
D | MockUiProvider.java | 72 resultMap.put(inboxfolderDetailsMap.get(FolderColumns.URI).toString(), in initializeAccount() 77 resultMap.put(((Uri) accountDetailsMap.get(AccountColumns.URI)).toString(), in initializeAccount() 82 resultMap.put(secondFolderDetailsMap.get(FolderColumns.URI).toString(), in initializeAccount() 86 inboxfolderDetailsMap.get(FolderColumns.CHILD_FOLDERS_LIST_URI).toString(), in initializeAccount() 96 resultMap.put(inboxfolderDetailsMap.get(FolderColumns.CONVERSATION_LIST_URI).toString(), in initializeAccount() 101 resultMap.put(message0.get(MessageColumns.URI).toString(), ImmutableList.of(message0)); in initializeAccount() 102 resultMap.put(conversations.get(0).get(ConversationColumns.MESSAGE_LIST_URI).toString(), in initializeAccount() 104 resultMap.put(message0.get(MessageColumns.ATTACHMENT_LIST_URI).toString(), in initializeAccount() 108 resultMap.put(message1.get(MessageColumns.URI).toString(), ImmutableList.of(message1)); in initializeAccount() 111 resultMap.put(message1a.get(MessageColumns.URI).toString(), ImmutableList.of(message1a)); in initializeAccount() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 108 spannableString.toString(), " ", true /* preserveTrailingEmptySegmengs */); in testSplitCharSequenceWithSpan() 118 assertEquals("", charSequencesFromString[0].toString()); in testSplitCharSequenceWithSpan() 120 assertEquals("", charSequencesFromSpanned[0].toString()); in testSplitCharSequenceWithSpan() 129 assertEquals("a", charSequencesFromString[1].toString()); in testSplitCharSequenceWithSpan() 131 assertEquals("a", charSequencesFromSpanned[1].toString()); in testSplitCharSequenceWithSpan() 140 assertEquals("bcd", charSequencesFromString[2].toString()); in testSplitCharSequenceWithSpan() 142 assertEquals("bcd", charSequencesFromSpanned[2].toString()); in testSplitCharSequenceWithSpan() 151 assertEquals("efg", charSequencesFromString[3].toString()); in testSplitCharSequenceWithSpan() 153 assertEquals("efg", charSequencesFromSpanned[3].toString()); in testSplitCharSequenceWithSpan() 160 assertEquals("hij", charSequencesFromString[4].toString()); in testSplitCharSequenceWithSpan() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilterTest.java | 45 assertEquals(expectedString1, dest.toString()); in testFilter() 49 assertEquals(expectedString2, dest.toString()); in testFilter() 52 assertEquals(expectedString2, dest.toString()); in testFilter() 56 assertEquals(expectedString3, dest.toString()); in testFilter() 60 assertEquals(expectedString4, dest.toString()); in testFilter() 64 assertEquals(expectedString3, dest.toString()); in testFilter() 68 assertEquals(expectedString5, dest.toString()); in testFilter() 72 assertEquals(expectedString6, dest.toString()); in testFilter() 78 assertEquals(expectedString7, dest.toString()); in testFilter() 82 assertEquals(expectedString8, dest.toString()); in testFilter() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | TrackInfo.java | 94 public String toString() { in toString() method in TrackInfo 97 Long.toString(mTrackNum) + " track_len : "+ Long.toString(mTrackLen) + in toString() 98 " TotalTracks " + Long.toString(mTotalTracks) + "]"; in toString() 102 if (DBG) Log.d(TAG, " TrackInfo " + toString()); in getMediaMetaData() 126 sb.append(metaData.getDescription().toString() + " "); in displayMetaData() 132 … sb.append(Long.toString(metaData.getLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER)) + " "); in displayMetaData() 134 sb.append(Long.toString(metaData.getLong(MediaMetadata.METADATA_KEY_NUM_TRACKS)) + " "); in displayMetaData() 136 sb.append(Long.toString(metaData.getLong(MediaMetadata.METADATA_KEY_DURATION)) + " "); in displayMetaData() 138 sb.append(Long.toString(metaData.getLong(MediaMetadata.METADATA_KEY_DURATION)) + " "); in displayMetaData() 139 return sb.toString(); in displayMetaData()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Address.java | 140 name = tokenizedName != null ? Html.fromHtml(tokenizedName.trim()).toString() in getEmailAddress() 142 address = Html.fromHtml(tokens[0].getAddress()).toString(); in getEmailAddress() 146 "" : Html.fromHtml(rawAddress).toString(); in getEmailAddress() 283 public String toString() { in toString() method in Address 327 public static String toString(Address[] addresses) { in toString() method in Address 328 return toString(addresses, ADDRESS_DELIMETER); in toString() 338 public static String toString(Address[] addresses, String separator) { in toString() method in Address 343 return addresses[0].toString(); in toString() 345 StringBuilder sb = new StringBuilder(addresses[0].toString()); in toString() 349 sb.append(addresses[i].toString().trim()); in toString() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Address.java | 130 name = tokenizedName != null ? Html.fromHtml(tokenizedName.trim()).toString() : ""; in getEmailAddress() 131 address = Html.fromHtml(tokens[0].getAddress()).toString(); in getEmailAddress() 134 address = rawAddress == null ? "" : Html.fromHtml(rawAddress).toString(); in getEmailAddress() 267 public String toString() { in toString() method in Address 305 public static String toString(Address[] addresses) { in toString() method in Address 306 return toString(addresses, ADDRESS_DELIMETER); in toString() 316 public static String toString(Address[] addresses, String separator) { in toString() method in Address 321 return addresses[0].toString(); in toString() 323 StringBuilder sb = new StringBuilder(addresses[0].toString()); in toString() 327 sb.append(addresses[i].toString().trim()); in toString() [all …]
|
D | MailTransport.java | 122 LogUtils.d(TAG, ioe.toString()); in open() 124 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open() 150 LogUtils.d(TAG, ioe.toString()); in open() 154 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open() 162 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open() 196 LogUtils.d(TAG, ioe.toString()); in createSocket() 197 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in createSocket() 218 LogUtils.d(TAG, e.toString()); in reopenTls() 221 LogUtils.d(TAG, ioe.toString()); in reopenTls() 222 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in reopenTls() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | CharMatcher.java | 281 return retval.toString(); 335 return sequence.toString(); 339 return sequence.toString(); 344 return sequence.toString(); 348 return sequence.toString(); 351 return sequence.toString(); 387 return sequence.toString().replace(match, replacement); in is() 458 final char[] chars = sequence.toString().toCharArray(); 842 String string = sequence.toString(); 901 String string = sequence.toString(); [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DebugLogUtils.java | 36 return null == o ? "null" : o.toString(); in s() 60 sb.append(frames[j].toString() + "\n"); in getStackTrace() 63 return sb.toString(); in getStackTrace() 75 sb.append(frames[j].toString() + "\n"); in getStackTrace() 77 return sb.toString(); in getStackTrace() 92 sb.append(s(o).toString()); in l() 95 Log.e(TAG, sb.toString()); in l() 109 sb.append(s(o).toString()); in r() 113 Log.e(TAG, sb.toString()); in r()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | IOUtils.java | 115 LINE_SEPARATOR = buf.toString(); 358 public static String toString(InputStream input) throws IOException { in toString() method in IOUtils 361 return sw.toString(); in toString() 380 public static String toString(InputStream input, String encoding) in toString() method in IOUtils 384 return sw.toString(); in toString() 398 public static String toString(Reader input) throws IOException { in toString() method in IOUtils 401 return sw.toString(); in toString() 415 public static String toString(byte[] input) throws IOException { in toString() method in IOUtils 434 public static String toString(byte[] input, String encoding) in toString() method in IOUtils 832 output.write(data.toString()); in write() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 238 .append((value == null) ? "null" : value.toString()); in toDebugString() 240 return sb.toString(); in toDebugString() 255 .append((value == null) ? "null" : value.toString()); in toDebugString() 257 return sb.toString(); in toDebugString() 269 new String[] {Long.toString(id)}, null, null, null); in queryWithId() 291 return db.delete(mTableName, "_id=?", new String[] { Long.toString(id) }) == 1; in deleteWithId() 327 logExecSql(db, sql.toString()); in createTables() 343 logExecSql(db, sql.toString()); in createTables() 364 logExecSql(db, sql.toString()); in createTables() 386 String insertSqlString = insertSql.toString(); in createTables() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 271 fail("No cursor for " + uri.toString()); in setUp() 309 return stringBuilder.toString(); in makeJsonArray() 451 assertEquals(EMPTY_JSON_ARRAY, mStringWriter.toString()); in testBackupSms_NoSms() 462 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSms() 473 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSmsWithExactFileLimit() 485 assertEquals("[" + mSmsJson[0] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile() 489 assertEquals("[" + mSmsJson[1] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile() 493 assertEquals("[" + mSmsJson[2] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile() 497 assertEquals("[" + mSmsJson[3] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile() 506 assertEquals(EMPTY_JSON_ARRAY, mStringWriter.toString()); in testBackupMms_NoMms() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoSurfaceTextureImpl.java | 50 LogUtil.i("VideoSurfaceTextureImpl.setDelegate", "delegate: " + delegate + " " + toString()); in setDelegate() 68 "surfaceDimensions: " + surfaceDimensions + " " + toString()); in setSurfaceDimensions() 95 LogUtil.i("VideoSurfaceTextureImpl.attachToTextureView", toString()); in attachToTextureView() 119 LogUtil.i("VideoSurfaceTextureImpl.setDoneWithSurface", toString()); in setDoneWithSurface() 138 "width: " + width + ", height: " + height + " " + toString()); in createSurface() 151 LogUtil.e("VideoSurfaceTextureImpl.onSurfaceCreated", "delegate is null. " + toString()); in onSurfaceCreated() 159 LogUtil.e("VideoSurfaceTextureImpl.onSurfaceReleased", "delegate is null. " + toString()); in onSurfaceReleased() 164 public String toString() { in toString() method in VideoSurfaceTextureImpl 184 + VideoSurfaceTextureImpl.this.toString()); in onSurfaceTextureAvailable() 214 + VideoSurfaceTextureImpl.this.toString()); in onSurfaceTextureDestroyed()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataKind.java | 105 public String toString() { in toString() method in DataKind 120 sb.append(" typeList=").append(toString(typeList)); in toString() 121 sb.append(" fieldList=").append(toString(fieldList)); in toString() 123 sb.append(" dateFormatWithoutYear=").append(toString(dateFormatWithoutYear)); in toString() 124 sb.append(" dateFormatWithYear=").append(toString(dateFormatWithYear)); in toString() 126 return sb.toString(); in toString() 129 public static String toString(SimpleDateFormat format) { in toString() method in DataKind 133 public static String toString(Iterable<?> list) { in toString() method in DataKind 137 return Iterators.toString(list.iterator()); in toString()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataKind.java | 92 public static String toString(SimpleDateFormat format) { in toString() method in DataKind 96 public static String toString(Iterable<?> list) { in toString() method in DataKind 100 return Iterators.toString(list.iterator()); in toString() 109 public String toString() { in toString() method in DataKind 124 sb.append(" typeList=").append(toString(typeList)); in toString() 125 sb.append(" fieldList=").append(toString(fieldList)); in toString() 127 sb.append(" dateFormatWithoutYear=").append(toString(dateFormatWithoutYear)); in toString() 128 sb.append(" dateFormatWithYear=").append(toString(dateFormatWithYear)); in toString() 130 return sb.toString(); in toString()
|
/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/ |
D | AddressUnitTests.java | 366 assertEquals("no name 1", "noname1@dom1.com", addresses[0].toString()); in testToStringSingle() 367 assertEquals("no name 2", "noname2@dom2.com", addresses[1].toString()); in testToStringSingle() 368 assertEquals("simple name", "simple name <address3@dom3.org>", addresses[2].toString()); in testToStringSingle() 370 "\"name,4\" <address4@dom4.org>", addresses[3].toString()); in testToStringSingle() 371 assertEquals("quoted name", "\"big \"G\"\" <bigG@dom5.net>", addresses[4].toString()); in testToStringSingle() 373 addresses[5].toString()); in testToStringSingle() 375 addresses[6].toString()); in testToStringSingle() 377 addresses[7].toString()); in testToStringSingle() 379 addresses[8].toString()); in testToStringSingle() 380 assertEquals("name==address", "noname@dom.com", addresses[9].toString()); in testToStringSingle() [all …]
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
D | MailTransport.java | 126 "open", Boolean.toString(canTrustAllCertificates()), 0); in open() 140 LogUtils.d(Logging.LOG_TAG, e.toString()); in open() 145 LogUtils.d(Logging.LOG_TAG, ioe.toString()); in open() 147 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open() 150 LogUtils.d(Logging.LOG_TAG, iae.toString()); in open() 152 throw new MessagingException(MessagingException.UNSPECIFIED_EXCEPTION, iae.toString()); in open() 174 "reopenTls", Boolean.toString(canTrustAllCertificates()), 0); in reopenTls() 183 LogUtils.d(Logging.LOG_TAG, e.toString()); in reopenTls() 188 LogUtils.d(Logging.LOG_TAG, ioe.toString()); in reopenTls() 190 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in reopenTls() [all …]
|