/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsTable.java | 54 if (indexObj == null) { in getText() 59 final String text = (index < textsTable.length) ? textsTable[index] : null; in getText() 60 if (text != null) { in getText() 497 /* keylabel_to_alpha */ null, 514 /* morekeys_c */ null, 515 /* double_quotes */ null, 520 null, null, null, 530 null, null, null, 539 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 540 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 …]
|
/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 …]
|
/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 …]
|
/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 | 69 contactId, null, "John Doe Bob I Parr Helen I Parr PhD par helen parhelen", null); in testSearchIndexForStructuredName() 89 assertSearchIndex(contactId, null, "yamada taro", null); in testSearchIndexForStructuredName_phoneticOnly() 105 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null); in testSearchIndexForChineseName() 120 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 121 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 122 assertStoredValue(buildSearchUri("CI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 123 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 124 assertStoredValue(buildSearchUri("CC"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 125 assertStoredValue(buildSearchUri("C"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 140 assertSearchIndex(contactId, null, in testSearchIndexForKoreanName() [all …]
|
D | ContactsProvider2Test.java | 869 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID); in assertDataRows() 892 insertImHandle(rawContactId1, Im.PROTOCOL_GOOGLE_TALK, null, "gtalk"); in testContactEntitiesWithIdBasedUri() 893 insertStatusUpdate(Im.PROTOCOL_GOOGLE_TALK, null, "gtalk", StatusUpdates.IDLE, "Busy", 90, in testContactEntitiesWithIdBasedUri() 914 insertImHandle(rawContactId1, Im.PROTOCOL_GOOGLE_TALK, null, "gtalk"); in testContactEntitiesWithLookupUri() 915 insertStatusUpdate(Im.PROTOCOL_GOOGLE_TALK, null, "gtalk", StatusUpdates.IDLE, "Busy", 90, in testContactEntitiesWithLookupUri() 945 Cursor cursor = mResolver.query(entityUri, null, null, null, in assertEntityRows() 1162 getCount(Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "1234"), null, null)); in testPhonesNormalizedNumber() 1164 getCount(Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "5678"), null, null)); in testPhonesNormalizedNumber() 1175 mResolver.update(dataUri, values, null, null); in testPhonesNormalizedNumber() 1177 getCount(Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "1234"), null, null)); in testPhonesNormalizedNumber() [all …]
|
D | VoicemailProviderTest.java | 118 int count = mResolver.update(uri, values, null, null); in testUpdate() 126 + ContentUris.parseId(uri), null); in testDelete() 128 assertEquals(0, getCount(uri, null, null)); in testDelete() 161 mResolver.update(Voicemails.CONTENT_URI, getTestVoicemailValues(), null, null); in testMustUsePackageUriWithoutFullPermission() 168 mResolver.query(Voicemails.CONTENT_URI, null, null, null, null); in testMustUsePackageUriWithoutFullPermission() 175 mResolver.delete(Voicemails.CONTENT_URI, null, null); in testMustUsePackageUriWithoutFullPermission() 185 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery() 189 assertEquals(1, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery() 204 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery() 220 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_UpdateAndDelete() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 159 private MediaThumbRequest mCurrentThumbRequest = null; 266 if (database != null) { 293 Audio.Media.getContentUri(EXTERNAL_VOLUME), null); 295 Images.Media.getContentUri(EXTERNAL_VOLUME), null); 297 Video.Media.getContentUri(EXTERNAL_VOLUME), null); 299 Files.getContentUri(EXTERNAL_VOLUME), null); 330 if (mtpService != null) { 366 super(context, name, null, getDatabaseVersion(context)); in DatabaseHelper() 395 SQLiteDatabase result = null; in getWritableDatabase() 402 return null; in getWritableDatabase() [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 142 return null; in startService() 269 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); in execute() 285 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); in execute() 357 if (dates == null) { in VerifyAllInstances() 374 if (instances != null) { in execute() 382 if (instances == null) { in execute() 525 } else if (timezone != null) { in init() 533 mDuration = null; in init() 534 mRrule = null; in init() 538 mUid2445 = null; in init() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 51 return (mEmail == null) ? 0 : mEmail.hashCode(); in hashCode() 84 this(name, email, Attendees.ATTENDEE_STATUS_NONE, null, null); in Attendee() 200 public String mUri = null; 213 public String mSyncId = null; 214 public String mSyncAccount = null; 215 public String mSyncAccountType = null; 222 public String mOwnerAccount = null; 223 public String mTitle = null; 224 public String mLocation = null; 225 public String mDescription = null; [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 96 private ContentProviderClient mProviderClient = null; 98 private BluetoothMapMasInstance mMasInstance = null; 103 private String mAuthority = null; 106 new BluetoothMapFolderElement("DUMMY", null); // Will be set by the MAS when generated. 107 private Uri mMessageUri = null; 162 if(account != null) { in BluetoothMapContentObserver() 166 if (mProviderClient == null) { in BluetoothMapContentObserver() 186 TYPE smsType = null; in getSmsType() 201 onChange(selfChange, null); 247 if (folder != null) { in Event() [all …]
|
D | BluetoothMapbMessageMms.java | 36 public String mContentType = null; /* The mime type, e.g. text/plain */ 37 public String mContentId = null; 38 public String mContentLocation = null; 39 public String mContentDisposition = null; 40 public String mPartName = null; /* e.g. text_1.txt*/ 41 … public String mCharsetName = null; /* This seems to be a number e.g. 106 for UTF-8 CharacterSets 43 public String mFileName = null; /* Do not seem to be used */ 44 …public byte[] mData = null; /* The raw un-encoded data e.g. the raw jpeg data or the text.g… 48 String result = null; in getDataAsString() 52 if(charset == null){ in getDataAsString() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 202 private static SendOrSaveCallback sTestSendOrSaveCallback = null; 215 private static ConcurrentHashMap<Integer, Long> sRequestMessageIdMap = null; 317 private ContentValues mExtraValues = null; 343 launch(launcher, account, message, EDIT_DRAFT, null, null, null, null, in editDraft() 344 null /* extraValues */); in editDraft() 351 launch(launcher, account, null, COMPOSE, null, null, null, null, null /* extraValues */); in compose() 358 launch(launcher, account, null, COMPOSE, toAddress, null, null, null, in composeToAddress() 359 null /* extraValues */); in composeToAddress() 367 launch(launcher, account, null, COMPOSE, null, null, null, subject, extraValues); in composeWithExtraValues() 410 launch(launcher, account, message, REPLY, null, null, null, null, null /* extraValues */); in reply() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 174 private FolderObserver mFolderObserver = null; 176 private AccountObserver mAccountObserver = null; 178 private FolderOrAccountListener mFolderOrAccountListener = null; 180 private AllAccountObserver mAllAccountsObserver = null; 193 private Account mNextAccount = null; 195 private Folder mNextFolder = null; 197 private FolderWatcher mFolderWatcher = null; 227 sb.append(mMergedAdapter != null ? mMergedAdapter.getCount() : -1); in toString() 240 fragment.setArguments(getBundleFromArgs(folder, folder.childFoldersListUri, null)); in ofTree() 254 fragment.setArguments(getBundleFromArgs(null, folderListUri, excludedFolderTypes)); in ofTopLevelTree() [all …]
|
D | AbstractActivityController.java | 208 private SuppressNotificationReceiver mNewEmailReceiver = null; 243 private Runnable mLogServiceChecker = null; 482 private Conversation mConversationToShow = null; 492 private Runnable mAutoAdvanceOp = null; 513 if (mConversationListCursor != null) { 561 return !(in == null || in.getActivity() == null || in.getView() == null); in isValidFragment() 580 return null; in getConversationListFragment() 600 return null; in getFolderListFragment() 609 if (actionBar == null) { in initializeActionBar() 613 final boolean isSearch = mActivity.getIntent() != null in initializeActionBar() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataDbHelper.java | 154 private static TreeMap<String, MetadataDbHelper> sInstanceMap = null; 162 final String clientId = null != clientIdOrNull ? clientIdOrNull : ""; in getInstance() 163 if (null == sInstanceMap) sInstanceMap = new TreeMap<>(); in getInstance() 165 if (null == helper) { in getInstance() 174 null, CURRENT_METADATA_DATABASE_VERSION); in MetadataDbHelper() 205 db.insert(CLIENT_TABLE_NAME, null, defaultMetadataValues); in createClientTable() 315 return null != getMetadataUriAsString(context, clientId); in isClientKnown() 329 SQLiteDatabase defaultDb = MetadataDbHelper.getDb(context, null); in getMetadataUriAsString() 334 null, null, null, null); in getMetadataUriAsString() 336 if (!cursor.moveToFirst()) return null; in getMetadataUriAsString() [all …]
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 134 mProvider.injectAttachmentService(null); in tearDown() 153 db.update(Mailbox.TABLE_NAME, values, null, null); in setMinusOneToMessageCounts() 161 null, in getMessageCount() 162 null, in getMessageCount() 163 null, in getMessageCount() 247 account.mHostAuthSend = null; in testAccountGetHostAuthSend() 255 account.mHostAuthSend = null; in testAccountGetHostAuthSend() 281 account.mHostAuthRecv = null; in testAccountGetHostAuthRecv() 289 account.mHostAuthRecv = null; in testAccountGetHostAuthRecv() 365 String text = null; in getUnreadCount() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallCardPresenter.java | 85 if (presenter != null) { in onContactInfoComplete() 93 if (presenter != null) { in onImageLoadComplete() 114 if (call != null) { in init() 121 updateContactEntry(null, true, true); in init() 131 if (mPrimaryContactInfo != null) { in onUiReady() 152 mPrimary = null; in onUiUnready() 153 mPrimaryContactInfo = null; in onUiUnready() 154 mSecondaryContactInfo = null; in onUiUnready() 167 if (ui == null) { in onStateChange() 171 Call primary = null; in onStateChange() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | CharsetUtil.java | 798 private String canonical = null; 799 private String mime = null; 800 private String[] aliases = null; 944 new Charset("Cp737", null, new String[] {}), 945 new Charset("Cp856", null, new String[] {}), 946 new Charset("Cp875", null, new String[] {}), 947 new Charset("Cp921", null, new String[] {}), 948 new Charset("Cp922", null, new String[] {}), 949 new Charset("Cp930", null, new String[] {}), 950 new Charset("Cp933", null, new String[] {}), [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | Tab.java | 204 if (sDefaultFavicon == null) { in getDefaultFavicon() 274 if (mQueuedErrors == null) { in processNextError() 280 mQueuedErrors = null; in processNextError() 295 if (mQueuedErrors == null) { in queueError() 322 .setPositiveButton(R.string.ok, null) in showError() 355 if (mTouchIconLoader != null) { 356 mTouchIconLoader.mTab = null; 357 mTouchIconLoader = null; 361 if (mErrorConsole != null) { 369 if (mDeviceAccountLogin != null) { [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 124 if (sAdapterService != null && !sAdapterService.mCleaningUp) { in getAdapterService() 129 if (sAdapterService == null) { in getAdapterService() 135 return null; in getAdapterService() 139 if (instance != null && !instance.mCleaningUp) { in setAdapterService() 144 if (sAdapterService == null) { in setAdapterService() 154 sAdapterService = null; in clearAdapterService() 198 if(mUuids == null) return; in initProfilePriorities() 217 if ((hidService != null) && in processInitProfilePriorities() 225 if ((a2dpService != null) && in processInitProfilePriorities() 232 if ((headsetService != null) && in processInitProfilePriorities() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParserTestsBase.java | 85 "a", null, ICON_UNDEFINED, 'a'); in testSingleLetter() 87 SURROGATE_PAIR1, null, ICON_UNDEFINED, SURROGATE_CODE1); in testSingleLetter() 89 "|", null, ICON_UNDEFINED, '|'); in testSingleLetter() 91 "|", null, ICON_UNDEFINED, '|'); in testSingleLetter() 93 "\\", null, ICON_UNDEFINED, '\\'); in testSingleLetter() 95 ",", null, ICON_UNDEFINED, ','); in testSingleLetter() 97 ",", null, ICON_UNDEFINED, ','); in testSingleLetter() 99 "a", null, ICON_UNDEFINED, 'a'); in testSingleLetter() 101 SURROGATE_PAIR2, null, ICON_UNDEFINED, SURROGATE_CODE2); in testSingleLetter() 103 "!", null, ICON_UNDEFINED, '!'); in testSingleLetter() [all …]
|