Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 5572) sorted by relevance

12345678910>>...223

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.java54 if (indexObj == null) { in getText()
59 final String text = (index < textsTable.length) ? textsTable[index] : null; in getText()
60 if (text != null) { in getText()
521 /* keylabel_to_alpha */ null,
534 null, null, null, null, null,
544 null, null, null, null,
553 null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
554 null, null, null, null, null, null, null, null, null, null, null, null,
592 /* morekeys_nordic_row2_11 */ null,
593 /* morekeys_punctuation */ null,
[all …]
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt8 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/
Dexpected_data.txt8 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 …]
Dexpected_raw_contacts.txt7 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/testUnsynced/
Dexpected_data.txt8 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/
DNameSplitterTest.java54 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 …]
DPostalSplitterTest.java48 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 …]
DEnterpriseContactsCursorWrapperTest.java58 new int[] {0, 1}, null); in testWrappedResults()
66 null, // PhoneLookup.LOOKUP_KEY, in testWrappedResults()
67 null, // PhoneLookup.DISPLAY_NAME, in testWrappedResults()
68 null, // PhoneLookup.LAST_TIME_CONTACTED, in testWrappedResults()
69 null, // PhoneLookup.TIMES_CONTACTED, in testWrappedResults()
70 null, // PhoneLookup.STARRED, in testWrappedResults()
71 null, // PhoneLookup.IN_DEFAULT_DIRECTORY, in testWrappedResults()
72 null, // PhoneLookup.IN_VISIBLE_GROUP, in testWrappedResults()
73 null, // PhoneLookup.PHOTO_FILE_ID, in testWrappedResults()
74 null, // PhoneLookup.PHOTO_ID, in testWrappedResults()
[all …]
DPostalSplitterForJapaneseTest.java64 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 …]
DContactsDatabaseHelperUpgradeTest.java155 try (Cursor c = mDb.rawQuery("select * from contacts order by _id", null)) { in upgradeTo1201() argument
171 try (Cursor c = mDb.rawQuery("select * from raw_contacts order by _id", null)) { in upgradeTo1201() argument
187 try (Cursor c = mDb.rawQuery("select * from data_usage_stat", null)) { in upgradeTo1201() argument
219 new TableColumn(PropertyUtils.PropertiesColumns.PROPERTY_KEY, TEXT, false, null),
220 new TableColumn(PropertyUtils.PropertiesColumns.PROPERTY_VALUE, TEXT, false, null),
224 new TableColumn(AccountsColumns._ID, INTEGER, false, null),
225 new TableColumn(AccountsColumns.ACCOUNT_NAME, TEXT, false, null),
226 new TableColumn(AccountsColumns.ACCOUNT_TYPE, TEXT, false, null),
227 new TableColumn(AccountsColumns.DATA_SET, TEXT, false, null),
231 new TableColumn(BaseColumns._ID, INTEGER, false, null),
[all …]
DSearchIndexManagerTest.java69 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 …]
DVoicemailProviderTest.java90 DbModifierWithNotification.setVoicemailNotifierForTest(null); in tearDown()
132 Cursor c = mResolver.query(uri, projection, Voicemails.NEW + "=0", null, in testInsertReadMessageIsNotNew()
133 null); in testInsertReadMessageIsNotNew()
190 int count = mResolver.update(uri, values, null, null); in testUpdate()
200 mResolver.update(uri, updateValues, null, null); in testUpdateOwnPackageVoicemail_NotDirty()
204 .query(uri, new String[] {Voicemails.DIRTY}, null, null, null)) { in testUpdateOwnPackageVoicemail_NotDirty() argument
220 values, null, null); in testUpdateOtherPackageCallLog_NotDirty()
223 .query(uri, new String[] {Voicemails.DIRTY}, null, null, null)) { in testUpdateOtherPackageCallLog_NotDirty() argument
235 mResolver.update(uri, updateValues, null, null); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
252 mResolver.update(uri, retainDirty, null, null); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DParticipantRefreshTest.java56 provider.attachInfo(mContext, null); in setUp()
73 phoneLookup.addOverrideData(uri, null, null, ContactUtil.PhoneLookupQuery.PROJECTION, in addPhoneLookup()
93 db.insert(DatabaseHelper.PARTICIPANTS_TABLE, null, values); in addParticipant()
112 ParticipantsQuery.PROJECTION, selection, selectionArgs, null, null, null); in verifyParticipant()
114 if (cursor == null || cursor.getCount() != 1) { in verifyParticipant()
153 null, null); in testIncrementalRefreshNotResolvedSingleMatch()
155 { 1L, "John", "content://photo/john", "650-123-1233", null, null, null } in testIncrementalRefreshNotResolvedSingleMatch()
167 null, null); in testIncrementalRefreshNotResolvedMultiMatch()
169 { 1L, "John", "content://photo/john", "650-123-1233", null, null, null }, in testIncrementalRefreshNotResolvedMultiMatch()
170 { 2L, "Joe", "content://photo/joe", "650-123-1233", null, null, null } in testIncrementalRefreshNotResolvedMultiMatch()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyDatabaseHelperTest.java75 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasApnSetIdField()
90 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCarrierIdField()
103 Cursor cursor = db.query("simInfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCountryIsoField()
116 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasProfileClassField()
130 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSkip464XlatField()
146 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
150 cursor = db.query("carriers_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
160 cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
164 cursor = db.query("siminfo_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
180 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSubscriptionTypeField()
[all …]
DRcsProviderUpdateTest.java87 assertThat(mContentResolver.insert(groupInsertionUri, null)).isEqualTo(groupInsertionUri); in setUp()
134 null)).isEqualTo(1); in testUpdate1To1ThreadWithSelection()
138 new String[]{FALLBACK_THREAD_ID_COLUMN}, "rcs_fallback_thread_id=2", null, null); in testUpdate1To1ThreadWithSelection()
151 assertThat(mContentResolver.update(p2pThreadUri, contentValues, null, null)).isEqualTo(1); in testUpdate1To1ThreadWithId()
155 new String[]{FALLBACK_THREAD_ID_COLUMN}, null, null, null); in testUpdate1To1ThreadWithId()
169 null)).isEqualTo(1); in testUpdateGroupThreadWithSelection()
173 "group_name=\"New name\"", null, null); in testUpdateGroupThreadWithSelection()
186 assertThat(mContentResolver.update(groupThreadUri, contentValues, null, null)).isEqualTo(1); in testUpdateGroupThreadWithId()
190 null, null, null); in testUpdateGroupThreadWithId()
204 assertThat(mContentResolver.update(participantUri, contentValues, null, null)).isEqualTo(1); in testUpdateParticipantWithId()
[all …]
DRcsProviderDeleteTest.java80 assertThat(mContentResolver.insert(addParticipantToGroupThread, null)).isEqualTo( in setUp()
129 assertThat(mContentResolver.delete(Uri.parse("content://rcs/p2p_thread/1"), null, in testDelete1To1ThreadWithId()
130 null)).isEqualTo(1); in testDelete1To1ThreadWithId()
137 "rcs_fallback_thread_id=1", null)).isEqualTo(1); in testDelete1To1ThreadWithSelection()
143 assertThat(mContentResolver.delete(Uri.parse("content://rcs/group_thread/2"), null, in testDeleteGroupThreadWithId()
144 null)).isEqualTo(1); in testDeleteGroupThreadWithId()
151 "group_name=\"name\"", null)).isEqualTo(1); in testDeleteGroupThreadWithSelection()
157 assertThat(mContentResolver.delete(Uri.parse("content://rcs/participant/1"), null, in testDeleteParticipantWithIdWhileParticipatingInAThread()
158 null)).isEqualTo(0); in testDeleteParticipantWithIdWhileParticipatingInAThread()
165 null, null)).isEqualTo(1); in testDeleteParticipantAfterLeavingThreads()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DCharsetUtil.java798 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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java34 private String mSubject = null;
36 private String mSenderName = null;
37 private String mSenderAddressing = null;
38 private String mReplytoAddressing = null;
39 private String mRecipientName = null;
40 private String mRecipientAddressing = null;
41 private TYPE mType = null;
44 private String mText = null;
45 private String mReceptionStatus = null;
46 private String mDeliveryStatus = null;
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserTestsBase.java85 "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 …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java235 null,
236 null,
237 null,
238 null,
239 null,
240 null,
241 null,
242 null,
243 null,
244 null,
[all …]
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java93 String manufacturerName = null; in read()
94 String productName = null; in read()
95 String serialNumber = null; in read()
97 String aoapManufacturer = null; in read()
98 String aoapModel = null; in read()
99 String aoapDescription = null; in read()
100 String aoapVersion = null; in read()
101 String aoapUri = null; in read()
102 String aoapSerial = null; in read()
103 String aoapService = null; in read()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java194 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { in getSubscriptionIdForPhoneAccount()
214 if (userSelected != null) { in getOutgoingPhoneAccountForScheme()
228 return null; in getOutgoingPhoneAccountForScheme()
234 return null; in getOutgoingPhoneAccountForScheme()
248 if (userHandle == null) { in getUserSelectedOutgoingPhoneAccount()
249 return null; in getUserSelectedOutgoingPhoneAccount()
253 if (defaultPhoneAccountHandle == null) { in getUserSelectedOutgoingPhoneAccount()
254 return null; in getUserSelectedOutgoingPhoneAccount()
260 if (account != null) { in getUserSelectedOutgoingPhoneAccount()
263 return null; in getUserSelectedOutgoingPhoneAccount()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBlockPreferenceControllerTest.java94 mController.onSwitchChanged(null, false); in testNoCrashIfNoOnResume()
99 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull()
109 mController.onResume(appRow, channel, null, null); in testIsAvailable_channelNotBlockable()
119 mController.onResume(appRow, channel, null, null); in testIsAvailable_channelNonDefault()
129 mController.onResume(appRow, channel, null, null); in testIsAvailable_ifChannelDefault()
137 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null); in testIsAvailable_GroupNotBlockable()
145 mController.onResume(appRow, null, null, null); in testIsAvailable_AppNotBlockable()
155 mController.onResume(appRow, channel, null, null); in testIsAvailable_systemApp()
165 mController.onResume(appRow, channel, null, null); in testIsAvailable_nonSystemApp()
174 mController.onResume(appRow, null, null, null); in testIsEnabled_lockedApp()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java78 private ByteArrayInputStream mPduDataStream = null;
83 private PduHeaders mHeaders = null;
88 private PduBody mBody = null;
93 private static byte[] mTypeParam = null;
98 private static byte[] mStartParam = null;
123 if (mPduDataStream == null) { in parse()
124 return null; in parse()
129 if (null == mHeaders) { in parse()
131 return null; in parse()
140 return null; in parse()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java56 private ByteArrayInputStream mPduDataStream = null;
61 private PduHeaders mHeaders = null;
66 private PduBody mBody = null;
71 private static byte[] mTypeParam = null;
76 private static byte[] mStartParam = null;
108 if (mPduDataStream == null) { in parse()
109 return null; in parse()
114 if (null == mHeaders) { in parse()
116 return null; in parse()
125 return null; in parse()
[all …]

12345678910>>...223