/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSet.java | 58 if (mTexts == null) { in setLanguage() 80 if (text != null) { in getText() 84 if (id == null) throw new RuntimeException("Unknown label: " + name); in getText() 85 text = (id < mTexts.length) ? mTexts[id] : null; in getText() 86 return (text == null) ? LANGUAGE_DEFAULT[id] : text; in getText() 438 /* 5 */ null, 442 /* 7 */ null, 451 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 452 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 453 null, null, null, null, null, null, null, null, null, null, null, null, null, [all …]
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
D | expected_data.txt | 8 8 data4=null 9 9 data5=null 10 10 data6=null 11 11 data7=null 12 12 data8=null 13 13 data9=null 16 16 data12=null 17 17 data13=null 18 18 data14=null 19 19 data15=null [all …]
|
D | expected_groups.txt | 8 8 res_package=null 13 13 sync1=null 14 14 sync2=null 15 15 sync3=null 16 16 sync4=null 25 25 res_package=null 27 27 system_id=null 30 30 sync1=null 31 31 sync2=null 32 32 sync3=null [all …]
|
D | expected_raw_contacts.txt | 7 7 sourceid=null 9 9 sync1=null 10 10 sync2=null 11 11 sync3=null 12 12 sync4=null 28 28 sync2=null 29 29 sync3=null 30 30 sync4=null 46 46 sync2=null 47 47 sync3=null [all …]
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
D | expected_data.txt | 8 8 data4=null 9 9 data5=null 10 10 data6=null 11 11 data7=null 12 12 data8=null 13 13 data9=null 16 16 data12=null 17 17 data13=null 18 18 data14=null 19 19 data15=null [all …]
|
D | expected_raw_contacts.txt | 7 7 sourceid=null 9 9 sync1=null 10 10 sync2=null 11 11 sync3=null 12 12 sync4=null 28 28 sync2=null 29 29 sync3=null 30 30 sync4=null 46 46 sync2=null 47 47 sync3=null [all …]
|
D | expected_contacts.txt | 5 5 photo_id=null 8 8 custom_ringtone=null 20 20 photo_id=null 23 23 custom_ringtone=null 35 35 photo_id=null 38 38 custom_ringtone=null 50 50 photo_id=null 53 53 custom_ringtone=null 65 65 photo_id=null 68 68 custom_ringtone=null [all …]
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
D | expected_data.txt | 8 8 data4=null 10 10 data6=null 11 11 data7=null 12 12 data8=null 16 16 data12=null 17 17 data13=null 18 18 data14=null 19 19 data15=null 23 23 data_sync1=null 24 24 data_sync2=null [all …]
|
D | expected_raw_contacts.txt | 3 3 account_name=null 4 4 account_type=null 7 7 sourceid=null 9 9 sync1=null 10 10 sync2=null 11 11 sync3=null 12 12 sync4=null 21 21 account_name=null 22 22 account_type=null 25 25 sourceid=null [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 54 assertSplitName(null, null, null, null, null, null); in testNull() 55 assertJoinedName(null, null, null, null, null, null); in testNull() 59 assertSplitName("", null, null, null, null, null); in testEmpty() 60 assertJoinedName(null, null, null, null, null, null); in testEmpty() 64 assertSplitName(" ", null, null, null, null, null); in testSpaces() 65 assertJoinedName(null, null, null, null, null, null); in testSpaces() 69 assertSplitName("Smith", null, "Smith", null, null, null); in testFamilyName() 70 assertJoinedName("Smith", null, "Smith", null, null, null); in testFamilyName() 74 assertSplitName("Ms MD", "Ms", null, null, "MD", null); in testIgnoreSuffix() 75 assertJoinedName("Ms MD", "Ms", null, null, "MD", null); in testIgnoreSuffix() [all …]
|
D | PostalSplitterTest.java | 48 assertSplitPostal(null, null, null, null, null, null, null, null); in testNull() 49 assertJoinedPostal(null, null, null, null, null, null, null, null); in testNull() 53 assertSplitPostal("", null, null, null, null, null, null, null); in testEmpty() 54 assertJoinedPostal(null, null, null, null, null, null, null, null); in testEmpty() 58 assertSplitPostal(" ", " ", null, null, null, null, null, null); in testSpaces() 59 assertJoinedPostal(" ", " ", null, null, null, null, null, null); in testSpaces() 63 assertJoinedPostal("PO Box 2600\nImaginationland", null, "PO Box 2600", null, in testPobox() 64 "Imaginationland", null, null, null); in testPobox() 69 "1600 Amphitheatre Parkway", null, null, "Mountain View", "CA", "94043", null); in testNormal() 74 "1600 Amphitheatre Parkway", null, null, "Mountain View", null, "94043", null); in testMissingRegion() [all …]
|
D | PostalSplitterForJapaneseTest.java | 64 assertSplitPostal(null, null, null, null, null, null, null, null); in testNull() 65 assertJoinedPostal(null, null, null, null, null, null, null, null); in testNull() 69 assertSplitPostal("", null, null, null, null, null, null, null); in testEmpty() 70 assertJoinedPostal(null, null, null, null, null, null, null, null); in testEmpty() 74 assertSplitPostal(" ", " ", null, null, null, null, null, null); in testSpaces() 75 assertJoinedPostal(" ", " ", null, null, null, null, null, null); in testSpaces() 79 assertJoinedPostal(CITY + "\n" + POBOX, null, POBOX, null, CITY, null, null, null); in testPobox() 84 STREET, null, null, CITY, REGION, POSTCODE, null); in testNormal() 89 STREET, null, null, REGION, null, POSTCODE, null); in testMissingRegion() 92 STREET, null, null, null, null, POSTCODE, null); in testMissingRegion() [all …]
|
D | SearchIndexManagerTest.java | 66 contactId, null, "John Doe Bob I Parr Helen I Parr PhD par helen parhelen", null); in testSearchIndexForStructuredName() 82 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null); in testSearchIndexForChineseName() 96 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 97 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 98 assertStoredValue(buildSearchUri("CI"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 99 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 100 assertStoredValue(buildSearchUri("CC"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 101 assertStoredValue(buildSearchUri("C"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 116 assertSearchIndex(contactId, null, in testSearchIndexForKoreanName() 117 "\uC774\uC0C1\uC77C \uC0C1\uC77C \u1109\u110B \u110B\u1109\u110B", null); in testSearchIndexForKoreanName() [all …]
|
D | FastScrollingIndexCacheTest.java | 94 assertNull(mCache.get(null, null, null, null, null)); in testPutAndGet() 101 b = putAndGetBundle(mCache, null, null, null, null, null, TITLES_0, COUNTS_0); in testPutAndGet() 114 assertBundle(TITLES_0, COUNTS_0, mCache.get(null, null, null, null, null)); in testPutAndGet() 123 assertNull(mCache.get(null, null, null, null, null)); in testPutAndGet() 129 b = putAndGetBundle(mCache, null, null, null, null, null, TITLES_0, COUNTS_0); in testPutAndGet() 145 assertBundle(TITLES_0, COUNTS_0, cache2.get(null, null, null, null, null)); in testPutAndGet() 154 assertNull(mCache.get(null, null, null, null, null)); in testMalformedPreferences()
|
D | VoicemailProviderTest.java | 117 int count = mResolver.update(uri, values, null, null); in testUpdate() 125 + ContentUris.parseId(uri), null); in testDelete() 127 assertEquals(0, getCount(uri, null, null)); in testDelete() 160 mResolver.update(Voicemails.CONTENT_URI, getTestVoicemailValues(), null, null); in testMustUsePackageUriWithoutFullPermission() 167 mResolver.query(Voicemails.CONTENT_URI, null, null, null, null); in testMustUsePackageUriWithoutFullPermission() 174 mResolver.delete(Voicemails.CONTENT_URI, null, null); in testMustUsePackageUriWithoutFullPermission() 184 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery() 188 assertEquals(1, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery() 205 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_UpdateAndDelete() 211 getTestVoicemailValues(), null, null); in testPermissions_UpdateAndDelete() local [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParserTests.java | 100 "a", null, ICON_UNDEFINED, 'a'); in testSingleLetter() 102 PAIR1, null, ICON_UNDEFINED, CODE1); in testSingleLetter() 104 "|", null, ICON_UNDEFINED, '|'); in testSingleLetter() 106 "\\", null, ICON_UNDEFINED, '\\'); in testSingleLetter() 108 ",", null, ICON_UNDEFINED, ','); in testSingleLetter() 110 ",", null, ICON_UNDEFINED, ','); in testSingleLetter() 112 "a", null, ICON_UNDEFINED, 'a'); in testSingleLetter() 114 PAIR2, null, ICON_UNDEFINED, CODE2); in testSingleLetter() 116 "!", null, ICON_UNDEFINED, '!'); in testSingleLetter() 118 "!", null, ICON_UNDEFINED, '!'); in testSingleLetter() [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
D | CharsetUtil.java | 797 private String canonical = null; 798 private String mime = null; 799 private String[] aliases = null; 943 new Charset("Cp737", null, new String[] {}), 944 new Charset("Cp856", null, new String[] {}), 945 new Charset("Cp875", null, new String[] {}), 946 new Charset("Cp921", null, new String[] {}), 947 new Charset("Cp922", null, new String[] {}), 948 new Charset("Cp930", null, new String[] {}), 949 new Charset("Cp933", null, new String[] {}), [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 50 return (mEmail == null) ? 0 : mEmail.hashCode(); in hashCode() 83 this(name, email, Attendees.ATTENDEE_STATUS_NONE, null, null); in Attendee() 198 public String mUri = null; 208 public String mSyncId = null; 209 public String mSyncAccount = null; 210 public String mSyncAccountType = null; 213 public String mOwnerAccount = null; 214 public String mTitle = null; 215 public String mLocation = null; 216 public String mDescription = null; [all …]
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | XmlKeyboardLoader.java | 328 if (null == mContext || 0 == resourceId) { in loadSkbTemplate() 329 return null; in loadSkbTemplate() 349 Drawable skbBg = getDrawable(xrp, XMLATTR_SKB_BG, null); in loadSkbTemplate() 351 XMLATTR_BALLOON_BG, null); in loadSkbTemplate() 353 null); in loadSkbTemplate() 354 if (null == skbBg || null == balloonBg in loadSkbTemplate() 355 || null == popupBg) { in loadSkbTemplate() 356 return null; in loadSkbTemplate() 372 Drawable bg = getDrawable(xrp, XMLATTR_KEYTYPE_BG, null); in loadSkbTemplate() 374 null); in loadSkbTemplate() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | MessageComposeTests.java | 171 ContentUris.withAppendedId(Account.CONTENT_URI, mCreatedAccountId), null, null); in tearDown() local 189 int sigLength = (mSignature == null) ? 0 : (1 + mSignature.length()); in testPreconditions() 213 a.setInitialComposeText(null, null); in testProcessSourceMessageReply() 214 checkFields(SENDER + ", ", null, null, "Re: " + SUBJECT, null, null); in testProcessSourceMessageReply() 219 message.mFrom = null; in testProcessSourceMessageReply() 226 a.setInitialComposeText(null, null); in testProcessSourceMessageReply() 227 checkFields(REPLYTO + ", ", null, null, "Re: " + SUBJECT, null, null); in testProcessSourceMessageReply() 257 a.setInitialComposeText(null, null); in testRepliesWithREplyToFields() 258 checkFields(RECIPIENT_TO + ", ", null, null, "Re: " + SUBJECT, null, null); in testRepliesWithREplyToFields() 263 message.mFrom = null; in testRepliesWithREplyToFields() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 31 assertFalse(ContactsUtils.isGraphic(null)); in testIsGraphicNull() 47 assertTrue("null:null", ContactsUtils.areObjectsEqual(null, null)); in testAreObjectsEqual() 50 assertFalse("null:1", ContactsUtils.areObjectsEqual(null, 1)); in testAreObjectsEqual() 51 assertFalse("1:null", ContactsUtils.areObjectsEqual(1, null)); in testAreObjectsEqual() 56 assertCollapses("1", true, null, null, null, null); in testShouldCollapse() 59 assertCollapses("11", false, "a", null, null, null); in testShouldCollapse() 60 assertCollapses("12", false, null, "a", null, null); in testShouldCollapse() 61 assertCollapses("13", false, null, null, "a", null); in testShouldCollapse() 62 assertCollapses("14", false, null, null, null, "a"); in testShouldCollapse() 64 assertCollapses("21", false, "a", "b", null, null); in testShouldCollapse() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionData.java | 94 if (mIntentAction != null) return mIntentAction; in getSuggestionIntentAction() 224 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode()); in hashCode() 225 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode()); in hashCode() 226 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode()); in hashCode() 227 result = prime * result + ((mIntentAction == null) ? 0 : mIntentAction.hashCode()); in hashCode() 228 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); in hashCode() 229 result = prime * result + ((mIntentExtraData == null) ? 0 : mIntentExtraData.hashCode()); in hashCode() 230 result = prime * result + ((mLogType == null) ? 0 : mLogType.hashCode()); in hashCode() 231 result = prime * result + ((mShortcutId == null) ? 0 : mShortcutId.hashCode()); in hashCode() 232 result = prime * result + ((mSource == null) ? 0 : mSource.hashCode()); in hashCode() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | DownloadTouchIcon.java | 79 mTab = null; in DownloadTouchIcon() 82 mOriginalUrl = null; in DownloadTouchIcon() 84 mUserAgent = null; in DownloadTouchIcon() 95 mContentResolver = null; in DownloadTouchIcon() 96 mOriginalUrl = null; in DownloadTouchIcon() 97 mUrl = null; in DownloadTouchIcon() 103 if (mContentResolver != null) { in doInBackground() 108 boolean inDatabase = mCursor != null && mCursor.getCount() > 0; in doInBackground() 112 if (inDatabase || mMessage != null) { in doInBackground() 113 AndroidHttpClient client = null; in doInBackground() [all …]
|
/packages/apps/Mms/src/com/android/mms/dom/ |
D | DocumentImpl.java | 43 super(null); in DocumentImpl() 57 return null; in createAttributeNS() 62 return null; in createCDATASection() 67 return null; in createComment() 72 return null; in createDocumentFragment() 80 return null; in createElementNS() 85 return null; in createEntityReference() 91 return null; in createProcessingInstruction() 96 return null; in createTextNode() 101 return null; in getDoctype() [all …]
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 78 protected String[] mExcludeMimes = null; 158 this(context, null); in ContactHeaderWidget() 215 if (mListener != null) { in performPhotoClick() 221 if (mListener != null) { in performDisplayNameClick() 243 Bitmap photoBitmap = null; in onQueryComplete() 244 if (cursor != null && cursor.moveToFirst() in onQueryComplete() 248 photoData.length, null); in onQueryComplete() 251 if (photoBitmap == null) { in onQueryComplete() 252 photoBitmap = loadPlaceholderPhoto(null); in onQueryComplete() 255 if (cookie != null && cookie instanceof Uri) { in onQueryComplete() [all …]
|