/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() 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/ |
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 | 55 assertSplitName(null, null, null, null, null, null); in testNull() 56 assertJoinedName(null, null, null, null, null, null); in testNull() 60 assertSplitName("", null, null, null, null, null); in testEmpty() 61 assertJoinedName(null, null, null, null, null, null); in testEmpty() 65 assertSplitName(" ", null, null, null, null, null); in testSpaces() 66 assertJoinedName(null, null, null, null, null, null); in testSpaces() 70 assertSplitName("Smith", null, "Smith", null, null, null); in testFamilyName() 71 assertJoinedName("Smith", null, "Smith", null, null, null); in testFamilyName() 75 assertSplitName("Ms MD", "Ms", null, null, "MD", null); in testIgnoreSuffix() 76 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 | EnterpriseContactsCursorWrapperTest.java | 57 new int[] {0, 1}, null); in testWrappedResults() 65 null, // PhoneLookup.LOOKUP_KEY, in testWrappedResults() 66 null, // PhoneLookup.DISPLAY_NAME, in testWrappedResults() 67 null, // PhoneLookup.LAST_TIME_CONTACTED, in testWrappedResults() 68 null, // PhoneLookup.TIMES_CONTACTED, in testWrappedResults() 69 null, // PhoneLookup.STARRED, in testWrappedResults() 70 null, // PhoneLookup.IN_DEFAULT_DIRECTORY, in testWrappedResults() 71 null, // PhoneLookup.IN_VISIBLE_GROUP, in testWrappedResults() 72 null, // PhoneLookup.PHOTO_FILE_ID, in testWrappedResults() 73 null, // PhoneLookup.PHOTO_ID, in testWrappedResults() [all …]
|
D | ContactsDatabaseHelperUpgradeTest.java | 151 try (Cursor c = mDb.rawQuery("select * from contacts order by _id", null)) { in upgradeTo1201() argument 167 try (Cursor c = mDb.rawQuery("select * from raw_contacts order by _id", null)) { in upgradeTo1201() argument 183 try (Cursor c = mDb.rawQuery("select * from data_usage_stat", null)) { in upgradeTo1201() argument 205 + "from accounts order by _id", null)) { in upgradeTo1600() argument 208 "account_name", null, in upgradeTo1600() 209 "account_type", null, in upgradeTo1600() 210 "data_set", null, in upgradeTo1600() 217 "data_set", null, in upgradeTo1600() 231 "data_set", null, in upgradeTo1600() 238 "data_set", null, in upgradeTo1600() [all …]
|
D | SearchIndexManagerTest.java | 70 contactId, null, "John Doe Bob I Parr Helen I Parr PhD par helen parhelen", null); in testSearchIndexForStructuredName() 90 assertSearchIndex(contactId, null, "yamada taro", null); in testSearchIndexForStructuredName_phoneticOnly() 106 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null); in testSearchIndexForChineseName() 121 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 122 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 123 assertStoredValue(buildSearchUri("CI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 124 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 125 assertStoredValue(buildSearchUri("CC"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 126 assertStoredValue(buildSearchUri("C"), SearchSnippets.SNIPPET, null); in testSearchByChineseName() 141 assertSearchIndex(contactId, null, in testSearchIndexForKoreanName() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilderTest.java | 74 context.openOrCreateDatabase(DATABASE_FILE, Context.MODE_PRIVATE, null)); in setUp() 135 null, null, null, null, null); in testSetDistinct() 145 null, null, null, null, null); in testSetDistinct() 155 null, null, null, null, null); in testSetDistinct() 173 null, null, null, null, null); in testSetProjectionMap() 176 sql = sqliteQueryBuilder.buildQuery(null, // projectionIn is null in testSetProjectionMap() 177 null, null, null, null, null); in testSetProjectionMap() 185 sqliteQueryBuilder.setProjectionMap(null); in testSetProjectionMap() 187 null, null, null, null, null); in testSetProjectionMap() 209 null, null, null, null, null); in testAllowRowid() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyDatabaseHelperTest.java | 82 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasApnSetIdField() 97 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCarrierIdField() 110 Cursor cursor = db.query("simInfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCountryIsoField() 123 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasProfileClassField() 136 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasPortIndexField() 150 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSkip464XlatField() 166 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 170 cursor = db.query("carriers_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 180 cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 184 cursor = db.query("siminfo_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 104 mController.onCheckedChanged(null, false); in testNoCrashIfNoOnResume() 109 mController.onResume(null, null, null, null, null, null, null); in testIsAvailable_notIfNull() 119 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channelNotBlockable() 129 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channelNonDefault() 139 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_ifChannelDefault() 147 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null, null, null, in testIsAvailable_GroupNotBlockable() 148 null); in testIsAvailable_GroupNotBlockable() 156 mController.onResume(appRow, null, null, null, null, null, null); in testIsAvailable_AppNotBlockable() 166 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_systemApp() 176 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_nonSystemApp_noFilter() [all …]
|
D | NotificationPreferenceControllerTest.java | 97 mController.onResume(null, null, null, null, null, null, null); in isAvailable_notIfNull() 106 mock(NotificationChannelGroup.class), null, null, null, null); in isAvailable_notIfAppBlocked() 118 mController.onResume(appRow, channel, group, null, null, null, null); in isAvailable_notIfChannelBlocked() 129 mController.onResume(appRow, channel, group, null, null, null, null); in isAvailable_notIfChannelGroupBlocked() 144 mController.onResume(appRow, channel, group, null, null, null, filter); in isAvailable_notIfFailsFilterCheck() 156 mController.onResume(appRow, channel, group, null, null, null, null); in isAvailable() 167 mController.onResume(appRow, channel, group, null, null, admin, null); in testOnResume() 181 mController.onResume(appRow, channel, null, null, null, null, null); in testCanBeVisible_unspecified() 191 mController.onResume(appRow, channel, null, null, null, null, null); in testCanBeVisible_sameImportance() 201 mController.onResume(appRow, channel, null, null, null, null, null); in testCanBeVisible_greaterImportance() [all …]
|
D | BubblePreferenceControllerTest.java | 137 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in isAvailable_notIfAppBlocked() 147 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_notIfChannelBlocked() 158 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_channel_notIfAppOff() 166 mController.onResume(appRow, null, null, null, null, null, null); in isNotAvailable_ifOffGlobally_app() 176 mController.onResume(appRow, null, null, null, null, null, null); in isNotAvailable_ifLowRam() 190 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_notIfOffGlobally_channel() 200 mController.onResume(appRow, null, null, null, null, null, null); in isAvailable_ifNotLowRam() 212 mAppPageController.onResume(appRow, null, null, null, null, null, null); in isAvailable_app_evenIfOffGlobally() 222 mController.onResume(appRow, null, null, null, null, null, null); in isAvailable_app() 235 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_defaultChannel() [all …]
|
D | BubbleSummaryPreferenceControllerTest.java | 101 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in isAvailable_appBlocked_shouldReturnFalse() 108 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_NOTIFICATION_BUBBLESisOn_shouldReturnTrue() 116 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_NOTIFICATION_BUBBLESisOn_neverSentBubble_shouldReturnFalse() 126 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_NOTIFICATION_BUBBLESisOff_shouldReturnFalse() 137 mController.onResume(mAppRow, channel, null, null, null, null, null); in isAvailable_nonNullChannelNOTIFICATION_BUBBLESisOff_shouldReturnFalse() 148 mController.onResume(mAppRow, channel, null, null, null, null, null); in isAvailable_defaultChannelNOTIFICATION_BUBBLESisOn_shouldReturnTrue() 156 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_lowRam_shouldReturnFalse() 165 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_notLowRam_shouldReturnTrue() 174 mController.onResume(mAppRow, null, null, null, null, null, null); in updateState_setsIntent() 187 mController.onResume(appRow, null, null, null, null, null, null); in getSummary_NOTIFICATION_BUBBLESIsOff_returnsNoneString() [all …]
|
D | BadgePreferenceControllerTest.java | 102 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in testIsAvailable_notIfAppBlocked() 112 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked() 123 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channel_notIfAppOff() 134 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfOffGlobally() 144 mController.onResume(appRow, null, null, null, null, null, null); in testIsAvailable_app() 154 mController.onResume(appRow, null, null, null, null, null, null); in testIsAvailable_appNoChannels() 168 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_defaultChannel() 181 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channel() 193 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channelAppOff() 206 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut() [all …]
|
D | ConversationHeaderPreferenceControllerTest.java | 98 mController.onResume(null, null, null, null, null, null, null); in testIsAvailable_notIfNull() 106 mController.onResume(appRow, null, null, null, null, null, null); in testIsAvailable() 114 mController.onResume(appRow, null, null, null, null, null, new ArrayList<>()); in testIsAvailable_ignoresFilter() 123 mController.onResume(appRow, null, null, null, si, null, null); in testGetLabel() 127 mController.onResume(appRow, channel, null, null, null, null, null); in testGetLabel() 130 mController.onResume(appRow, null, null, null, null, null, null); in testGetLabel() 138 mController.onResume(appRow, null, null, null, null, null, null); in testGetSummary() 142 mController.onResume(appRow, null, group, null, null, null, null); in testGetSummary() 146 mController.onResume(appRow, channel, group, null, null, null, null); in testGetSummary() 150 mController.onResume(appRow, channel, null, null, null, null, null); in testGetSummary() [all …]
|
D | MinImportancePreferenceControllerTest.java | 95 mController.onResume(null, null, null, null, null, null, null); in testIsAvailable_notIfNull() 103 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in testIsAvailable_ifAppBlocked() 112 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked() 122 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notForDefaultChannel() 131 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable() 140 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn() 150 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut() 158 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin() 159 RestrictedLockUtils.EnforcedAdmin.class), null); in testUpdateState_disabledByAdmin() 161 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_disabledByAdmin() [all …]
|
D | HighImportancePreferenceControllerTest.java | 95 mController.onResume(null, null, null, null, null, null, null); in testIsAvailable_notIfNull() 103 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in testIsAvailable_ifAppBlocked() 112 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked() 122 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notForDefaultChannel() 131 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable() 140 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn() 150 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut() 158 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin() 159 RestrictedLockUtils.EnforcedAdmin.class), null); in testUpdateState_disabledByAdmin() 161 Preference pref = new RestrictedSwitchPreference(mContext, null); in testUpdateState_disabledByAdmin() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormatTest.java | 45 if (tz != null) builder.setTimeZone(tz); in makeDate() 50 return makeDate(month, day, year, hours, min, sec, null); in makeDate() 65 int expectedSize = (size != null ? Integer.parseInt(size) : -1); in testParse() 73 if (expectedCreated != null) { in testParse() 80 if (expectedModified != null) { in testParse() 103 if (created != null) { in testCreate() 110 if (modified != null) { in testCreate() 171 null, in testParseAttachment() 174 null, in testParseAttachment() 183 null, in testParseAttachment() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MetadataTest.java | 75 private static final Image DEFAULT_IMAGE = null; 85 private Image mSongImage = null; /* to be set to Image(mTestBitmap) once context is set */ 87 private Bitmap mTestBitmap = null; 108 return null; in setUp() 120 mSongImage = null; in tearDown() 121 mTestContentResolver = null; in tearDown() 122 mTestBitmap = null; in tearDown() 123 mTestResources = null; in tearDown() 124 mTargetContext = null; in tearDown() 125 mMockContext = null; in tearDown() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/ |
D | DebugKeyAccessorTest.java | 109 null, in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 110 null, in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 111 null); in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 118 null, in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 119 null, in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 120 null); in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 136 null, in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent() 137 null, in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent() 138 null); in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent() 145 null, in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent() [all …]
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/compat/widget/ |
D | SliceContent.java | 81 if (slice == null) { in SliceContent() 84 init(new SliceItem(slice, FORMAT_SLICE, null, slice.getHints())); in SliceContent() 92 if (item == null) { in SliceContent() 103 SliceQuery.findTopLevelItem(item.getSlice(), FORMAT_INT, SUBTYPE_COLOR, null, null); in init() 106 item.getSlice(), FORMAT_INT, SUBTYPE_LAYOUT_DIRECTION, null, null); in init() 125 return mColorItem != null ? mColorItem.getInt() : -1; in getAccentColor() 133 return mLayoutDirItem != null ? resolveLayoutDirection(mLayoutDirItem.getInt()) : -1; in getLayoutDir() 142 return mContentDescr != null ? mContentDescr.getText() : null; in getContentDescription() 167 return mSliceItem != null; in isValid() 176 if (mSliceItem == null) { in getShortcut() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | ParticipantRefreshTest.java | 57 provider.attachInfo(mContext, null); in setUp() 74 phoneLookup.addOverrideData(uri, null, null, ContactUtil.PhoneLookupQuery.PROJECTION, in addPhoneLookup() 94 db.insert(DatabaseHelper.PARTICIPANTS_TABLE, null, values); in addParticipant() 113 ParticipantsQuery.PROJECTION, selection, selectionArgs, null, null, null); in verifyParticipant() 115 if (cursor == null || cursor.getCount() != 1) { in verifyParticipant() 154 null, null); in testIncrementalRefreshNotResolvedSingleMatch() 156 { 1L, "John", "content://photo/john", "650-123-1233", null, null, null } in testIncrementalRefreshNotResolvedSingleMatch() 168 null, null); in testIncrementalRefreshNotResolvedMultiMatch() 170 { 1L, "John", "content://photo/john", "650-123-1233", null, null, null }, in testIncrementalRefreshNotResolvedMultiMatch() 171 { 2L, "Joe", "content://photo/joe", "650-123-1233", null, null, null } in testIncrementalRefreshNotResolvedMultiMatch() [all …]
|