/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 | 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 | EnterpriseContactsCursorWrapperTest.java | 58 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 …]
|
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 | 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 …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilderTest.java | 70 context.openOrCreateDatabase(DATABASE_FILE, Context.MODE_PRIVATE, null)); in setUp() 97 null, null, null, null, null); in testSetDistinct() 107 null, null, null, null, null); in testSetDistinct() 117 null, null, null, null, null); in testSetDistinct() 135 null, null, null, null, null); in testSetProjectionMap() 138 sql = sqliteQueryBuilder.buildQuery(null, // projectionIn is null in testSetProjectionMap() 139 null, null, null, null, null); in testSetProjectionMap() 147 sqliteQueryBuilder.setProjectionMap(null); in testSetProjectionMap() 149 null, null, null, null, null); in testSetProjectionMap() 171 null, null, null, null, null); in testAllowRowid() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 104 mController.onSwitchChanged(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 | 130 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in isAvailable_notIfAppBlocked() 140 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_notIfChannelBlocked() 151 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_channel_notIfAppOff() 159 mController.onResume(appRow, null, null, null, null, null, null); in isNotAvailable_ifOffGlobally_app() 169 mController.onResume(appRow, null, null, null, null, null, null); in isNotAvailable_ifLowRam() 183 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_notIfOffGlobally_channel() 193 mController.onResume(appRow, null, null, null, null, null, null); in isAvailable_ifNotLowRam() 205 mAppPageController.onResume(appRow, null, null, null, null, null, null); in isAvailable_app_evenIfOffGlobally() 215 mController.onResume(appRow, null, null, null, null, null, null); in isAvailable_app() 228 mController.onResume(appRow, channel, null, null, null, null, null); in isAvailable_defaultChannel() [all …]
|
D | HeaderPreferenceControllerTest.java | 92 mController.onResume(null, null, null, null, null, null, null); in testIsAvailable_notIfNull() 100 mController.onResume(appRow, null, null, null, null, null, null); in testIsAvailable() 108 mController.onResume(appRow, null, null, null, null, null, new ArrayList<>()); in testIsAvailable_ignoredFilter() 116 mController.onResume(appRow, null, null, null, null, null, null); in testGetLabel() 120 mController.onResume(appRow, null, group, null, null, null, null); in testGetLabel() 124 mController.onResume(appRow, channel, group, null, null, null, null); in testGetLabel() 129 mController.onResume(appRow, defaultChannel, null, null, null, null, null); in testGetLabel() 137 mController.onResume(appRow, null, null, null, null, null, null); in testGetSummary() 143 mController.onResume(appRow, channel, group, null, null, null, null); in testGetSummary() 147 mController.onResume(appRow, channel, null, null, null, null, null); in testGetSummary() [all …]
|
D | BubbleSummaryPreferenceControllerTest.java | 93 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in isAvailable_appBlocked_shouldReturnFalse() 100 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_NOTIFICATION_BUBBLESisOn_shouldReturnTrue() 108 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_NOTIFICATION_BUBBLESisOn_neverSentBubble_shouldReturnFalse() 118 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_NOTIFICATION_BUBBLESisOff_shouldReturnFalse() 129 mController.onResume(mAppRow, channel, null, null, null, null, null); in isAvailable_nonNullChannelNOTIFICATION_BUBBLESisOff_shouldReturnFalse() 140 mController.onResume(mAppRow, channel, null, null, null, null, null); in isAvailable_defaultChannelNOTIFICATION_BUBBLESisOn_shouldReturnTrue() 148 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_lowRam_shouldReturnFalse() 159 mController.onResume(mAppRow, null, null, null, null, null, null); in isAvailable_notLowRam_shouldReturnTrue() 170 mController.onResume(mAppRow, null, null, null, null, null, null); in updateState_setsIntent() 183 mController.onResume(appRow, null, null, null, null, null, null); in getSummary_NOTIFICATION_BUBBLESIsOff_returnsNoneString() [all …]
|
D | BadgePreferenceControllerTest.java | 101 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in testIsAvailable_notIfAppBlocked() 110 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked() 120 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channel_notIfAppOff() 130 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfOffGlobally() 139 mController.onResume(appRow, null, null, null, null, null, null); in testIsAvailable_app() 152 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_defaultChannel() 164 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channel() 176 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channelAppOff() 188 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut() 200 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn() [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 …]
|
D | ImportancePreferenceControllerTest.java | 101 mController.onResume(null, null, null, null, null, null, null); in testIsAvailable_notIfNull() 109 mController.onResume(appRow, mock(NotificationChannel.class), null, null, null, null, null); in testIsAvailable_ifAppBlocked() 120 mController.onResume(appRow, channel, group, null, null, null, null); in testIsAvailable_isGroupBlocked() 129 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_ifChannelBlocked() 139 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notForDefaultChannel() 148 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable() 157 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn() 167 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut() 175 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin() 176 RestrictedLockUtils.EnforcedAdmin.class), null); in testUpdateState_disabledByAdmin() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormatTest.java | 41 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/ |
D | TelephonyDatabaseHelperTest.java | 76 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() 130 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasPortIndexField() 144 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSkip464XlatField() 160 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 164 cursor = db.query("carriers_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 174 cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 178 cursor = db.query("siminfo_full", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MetadataTest.java | 84 private static final Image DEFAULT_IMAGE = null; 94 private Image mSongImage = null; /* to be set to Image(mTestBitmap) once context is set */ 96 private Bitmap mTestBitmap = null; 97 private Bitmap mTestBitmap2 = null; 118 return null; in setUp() 131 mSongImage = null; in tearDown() 132 mTestContentResolver = null; in tearDown() 133 mTestBitmap = null; in tearDown() 134 mTestBitmap2 = null; in tearDown() 135 mTestResources = null; in tearDown() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | QosPolicyRequestHandlerTest.java | 96 return null; in setUp() 104 return null; in setUp() 114 srcIp != null, srcIp, in createQosPolicyRequest() 115 dstIp != null, dstIp, in createQosPolicyRequest() 116 srcPort != null ? srcPort : DscpPolicy.SOURCE_PORT_ANY, in createQosPolicyRequest() 117 dstPortRange != null ? dstPortRange : new int[]{0, 65535}, in createQosPolicyRequest() 118 protocol != null ? protocol : DscpPolicy.PROTOCOL_ANY); in createQosPolicyRequest() 129 TEST_INET_ADDR /* srcIp */, null, null, null, null)); in testSingleQosPolicyRequestEvent() 131 null, null, 1337 /* srcPort */, null, null)); in testSingleQosPolicyRequestEvent() 133 null, null, null, null, null)); in testSingleQosPolicyRequestEvent() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecManagerTest.java | 123 IpSecManager.SecurityParameterIndex randomSpi = null, droidSpi = null; in testAllocSpi() 179 GenericUdpSocket sockLeft = null, sockRight = null; in checkUnconnectedUdp() 209 GenericTcpSocket client = null, accepted = null; in checkTcp() 452 return authOrAead == null ? 0 : authOrAead.getTruncationLengthBits(); in getTruncLenBits() 456 if (cryptOrAead == null) { return 0; } in getIvLen() 476 if (cryptOrAead == null) { return 4; } in getBlkSize() 512 if (crypt != null) { in checkTransform() 515 if (auth != null) { in checkTransform() 518 if (aead != null) { in checkTransform() 552 getIvLen(crypt != null ? crypt : aead), in checkTransform() [all …]
|