Home
last modified time | relevance | path

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

12345678910>>...268

/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/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormatTest.java41 if (tz != null) builder.setTimeZone(tz); in makeDate()
46 return makeDate(month, day, year, hours, min, sec, null); in makeDate()
52 int expectedSize = (size != null ? Integer.parseInt(size) : -1); in testParse()
60 if (expectedCreated != null) { in testParse()
64 Assert.assertEquals(null, attachment.getCreatedDate()); in testParse()
67 if (expectedModified != null) { in testParse()
71 Assert.assertEquals(null, attachment.getModifiedDate()); in testParse()
84 if (created != null) { in testCreate()
88 Assert.assertEquals(null, attachment.getCreatedDate()); in testCreate()
91 if (modified != null) { in testCreate()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyDatabaseHelperTest.java76 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasApnSetIdField()
91 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCarrierIdField()
104 Cursor cursor = db.query("simInfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCountryIsoField()
117 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasProfileClassField()
131 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSkip464XlatField()
147 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
151 cursor = db.query("carriers_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
161 cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
165 cursor = db.query("siminfo_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
181 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSubscriptionTypeField()
[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/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/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java188 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { in getSubscriptionIdForPhoneAccount()
208 if (userSelected != null) { in getOutgoingPhoneAccountForScheme()
222 return null; in getOutgoingPhoneAccountForScheme()
228 return null; in getOutgoingPhoneAccountForScheme()
242 if (userHandle == null) { in getUserSelectedOutgoingPhoneAccount()
243 return null; in getUserSelectedOutgoingPhoneAccount()
247 if (defaultPhoneAccountHandle == null) { in getUserSelectedOutgoingPhoneAccount()
248 return null; in getUserSelectedOutgoingPhoneAccount()
254 if (account != null) { in getUserSelectedOutgoingPhoneAccount()
257 return null; in getUserSelectedOutgoingPhoneAccount()
[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/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/com/android/messaging/datamodel/action/
DSyncCursorPair.java80 return isSynchronized(db, LOCAL_MESSAGES_SELECTION, null, in allSynchronized()
81 getSmsTypeSelectionSql(), null, getMmsTypeSelectionSql(), null); in allSynchronized()
90 null /* threadColumn */, null /* threadId */); in SyncCursorPair()
96 null /* threadColumn */, null /* threadId */); in SyncCursorPair()
102 null /* threadColumn */, null /* threadId */); in SyncCursorPair()
136 return isSynchronized(db, mLocalSelection, null, mRemoteSmsSelection, in isSynchronized()
137 null, mRemoteMmsSelection, null); in isSynchronized()
141 if (mLocalCursorIterator != null) { in close()
144 if (mRemoteCursorsIterator != null) { in close()
169 if (remoteMessage == null && localMessage == null) { in scan()
[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 …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java133 private String mImageHandle = null;
138 private String mVersion = null;
143 private String mFriendlyName = null;
176 mVersion = xpp.getAttributeValue(null, "version"); in parse()
177 mImageHandle = xpp.getAttributeValue(null, "handle"); in parse()
178 mFriendlyName = xpp.getAttributeValue(null, "friendly-name"); in parse()
180 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
181 String pixel = xpp.getAttributeValue(null, "pixel"); in parse()
182 String size = xpp.getAttributeValue(null, "size"); in parse()
185 String encoding = xpp.getAttributeValue(null, "encoding"); in parse()
[all …]

12345678910>>...268