/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSet.java | 58 if (mTexts == null) { in setLanguage() 81 if (text != null) { in getText() 85 if (id == null) throw new RuntimeException("Unknown label: " + name); in getText() 86 text = (id < mTexts.length) ? mTexts[id] : null; in getText() 87 return (text == null) ? LANGUAGE_DEFAULT[id] : text; in getText() 487 /* 5 */ null, 491 /* 7 */ null, 500 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 501 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 502 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() 85 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null); in testSearchIndexForChineseName() 100 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 101 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 102 assertStoredValue(buildSearchUri("CI"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 103 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 104 assertStoredValue(buildSearchUri("CC"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 105 assertStoredValue(buildSearchUri("C"), SearchSnippetColumns.SNIPPET, null); in testSearchByChineseName() 120 assertSearchIndex(contactId, null, in testSearchIndexForKoreanName() 121 "\uC774\uC0C1\uC77C \uC0C1\uC77C \u1109\u110B \u110B\u1109\u110B", null); in testSearchIndexForKoreanName() [all …]
|
D | ContactsProvider2Test.java | 811 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID); in assertDataRows() 834 insertImHandle(rawContactId1, Im.PROTOCOL_GOOGLE_TALK, null, "gtalk"); in testContactEntitiesWithIdBasedUri() 835 insertStatusUpdate(Im.PROTOCOL_GOOGLE_TALK, null, "gtalk", StatusUpdates.IDLE, "Busy", 90, in testContactEntitiesWithIdBasedUri() 856 insertImHandle(rawContactId1, Im.PROTOCOL_GOOGLE_TALK, null, "gtalk"); in testContactEntitiesWithLookupUri() 857 insertStatusUpdate(Im.PROTOCOL_GOOGLE_TALK, null, "gtalk", StatusUpdates.IDLE, "Busy", 90, in testContactEntitiesWithLookupUri() 887 Cursor cursor = mResolver.query(entityUri, null, null, null, in assertEntityRows() 1078 getCount(Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "1234"), null, null)); in testPhonesNormalizedNumber() 1080 getCount(Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "5678"), null, null)); in testPhonesNormalizedNumber() 1091 mResolver.update(dataUri, values, null, null); in testPhonesNormalizedNumber() 1093 getCount(Uri.withAppendedPath(Phone.CONTENT_FILTER_URI, "1234"), null, null)); in testPhonesNormalizedNumber() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | ApiService.java | 247 if (item == null) { // Last callback uses null in onProgress() 262 completeRequest(intent, null, null, null, null, true); in onProgress() 466 if (pp != null && pp.equals(projectPath)) { in isProjectBeingEdited() 1361 if (projectPath != null) { in startCommand() 1499 if (mThumbnailThread != null) { in onDestroy() 1501 mThumbnailThread = null; in onDestroy() 1504 if (mAudioThread != null) { in onDestroy() 1506 mAudioThread = null; in onDestroy() 1509 if (mVideoThread != null) { in onDestroy() 1511 mVideoThread = null; in onDestroy() [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/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/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 147 private MediaThumbRequest mCurrentThumbRequest = null; 248 if (database != null) { 275 Audio.Media.getContentUri(EXTERNAL_VOLUME), null); 277 Images.Media.getContentUri(EXTERNAL_VOLUME), null); 279 Video.Media.getContentUri(EXTERNAL_VOLUME), null); 281 Files.getContentUri(EXTERNAL_VOLUME), null); 313 if (mtpService != null) { 349 super(context, name, null, getDatabaseVersion(context)); in DatabaseHelper() 378 SQLiteDatabase result = null; in getWritableDatabase() 385 return null; in getWritableDatabase() [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 …]
|
D | AllInOneActivity.java | 203 if (cursor == null || cursor.getCount() > 0 || isFinishing()) { in onQueryComplete() 207 if (cursor != null) { in onQueryComplete() 218 am.addAccount("com.google", CalendarContract.AUTHORITY, null, options, in onQueryComplete() 241 }, null); in onQueryComplete() 294 if (millis != -1 && mViewEventId == -1 && mController != null) { in onNewIntent() 310 if (icicle != null && icicle.containsKey(BUNDLE_KEY_CHECK_ACCOUNTS)) { in onCreate() 319 mHandler.startQuery(0, null, Calendars.CONTENT_URI, new String[] { in onCreate() 321 }, null, null /* selection args */, null /* sort order */); in onCreate() 332 if (icicle != null) { in onCreate() 355 if (icicle != null && intent != null) { in onCreate() [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/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParserTests.java | 102 "a", null, ICON_UNDEFINED, 'a'); in testSingleLetter() 104 PAIR1, null, ICON_UNDEFINED, CODE1); in testSingleLetter() 106 "|", null, ICON_UNDEFINED, '|'); in testSingleLetter() 108 "\\", null, ICON_UNDEFINED, '\\'); in testSingleLetter() 110 ",", null, ICON_UNDEFINED, ','); in testSingleLetter() 112 ",", null, ICON_UNDEFINED, ','); in testSingleLetter() 114 "a", null, ICON_UNDEFINED, 'a'); in testSingleLetter() 116 PAIR2, null, ICON_UNDEFINED, CODE2); in testSingleLetter() 118 "!", null, ICON_UNDEFINED, '!'); in testSingleLetter() 120 "!", null, ICON_UNDEFINED, '!'); in testSingleLetter() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | ExchangeService.java | 202 private WakeLock mWakeLock = null; 220 private static Thread sServiceThread = null; 222 private static String sDeviceId = null; 238 private ConnectivityReceiver mConnectivityReceiver = null; 239 private ConnectivityReceiver mBackgroundDataSettingReceiver = null; 268 (INSTANCE == null) ? null: INSTANCE.mCallbackList; 269 if (callbackList != null) { 365 if (exchangeService == null) return; 368 if (m == null) return; 370 if (acct == null) return; [all …]
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
D | PhotoProviderTest.java | 92 Cursor cursor = db.query(Metadata.TABLE, projection, null, null, null, null, null); in setUp() 106 mDBHelper = null; in tearDown() 113 mResolver.delete(NO_TABLE_URI, null, null); in testDelete() 119 mResolver.delete(BAD_TABLE_URI, null, null); in testDelete() 132 assertEquals(1, mResolver.delete(photoUri, null, null)); in testDelete() 134 assertEquals(1, mResolver.delete(albumUri, null, null)); in testDelete() 136 assertEquals(0, mResolver.delete(photoUri, null, null)); in testDelete() 141 assertEquals(1, mResolver.delete(metadataUri, null, null)); in testDeleteMetadataId() 142 Cursor cursor = mResolver.query(Metadata.CONTENT_URI, null, null, null, null); in testDeleteMetadataId() 151 mResolver.delete(albumUri, null, null); in testDeleteAlbumCascade() [all …]
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailProvider.java | 233 null, // UI 242 null, // Attachment 244 null, // Updated message 245 null, // Deleted message 247 null, // Quick response 248 null, // Body 249 null // UI 257 null, // Attachment 259 null, // Updated message 260 null, // Deleted message [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/Browser/src/com/android/browser/ |
D | Tab.java | 198 if (sDefaultFavicon == null) { in getDefaultFavicon() 268 if (mQueuedErrors == null) { in processNextError() 274 mQueuedErrors = null; in processNextError() 289 if (mQueuedErrors == null) { in queueError() 316 .setPositiveButton(R.string.ok, null) in showError() 349 if (mTouchIconLoader != null) { 350 mTouchIconLoader.mTab = null; 351 mTouchIconLoader = null; 355 if (mErrorConsole != null) { 363 if (mDeviceAccountLogin != null) { [all …]
|
/packages/apps/Email/src/com/android/email/ |
D | MessagingController.java | 128 private static MessagingController sInstance = null; 145 private String mLastSearchServerId = null; 146 private Mailbox mLastSearchRemoteMailbox = null; 161 if (sInstance == null) { in getInstance() 189 if (command.listener == null || isActiveListener(command.listener)) { in run() 249 if (account == null) { in listFolders() 262 Cursor localFolderCursor = null; in listFolders() 278 null); in listFolders() 307 mContext.getContentResolver().delete(uri, null, null); in listFolders() 315 if (localFolderCursor != null) { in listFolders() [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | MusicUtils.java | 153 public static IMediaPlaybackService sService = null; 164 return bindToService(context, null); in bindToService() 169 if (realActivity == null) { in bindToService() 180 return null; in bindToService() 184 if (token == null) { in unbindFromService() 190 if (sb == null) { in unbindFromService() 198 sService = null; in unbindFromService() 211 if (mCallback != null) { in onServiceConnected() 217 if (mCallback != null) { in onServiceDisconnected() 220 sService = null; in onServiceDisconnected() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | MediaLinearLayout.java | 148 if (effect != null) { in onPrepareActionMode() 175 aomi.setTitle((mMediaItem.getOverlay() == null) ? in onPrepareActionMode() 180 romi.setVisible(mMediaItem.getOverlay() != null); in onPrepareActionMode() 181 romi.setEnabled(enable && mMediaItem.getOverlay() != null); in onPrepareActionMode() 184 btmi.setVisible(mMediaItem.getBeginTransition() == null); in onPrepareActionMode() 185 btmi.setEnabled(enable && mMediaItem.getBeginTransition() == null); in onPrepareActionMode() 188 etmi.setVisible(mMediaItem.getEndTransition() == null); in onPrepareActionMode() 189 etmi.setEnabled(enable && mMediaItem.getEndTransition() == null); in onPrepareActionMode() 270 if (mSelectedView != null) { in onDestroyActionMode() 276 mMediaItemActionMode = null; in onDestroyActionMode() [all …]
|