/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityViewTreeReportingTest.java | 38 getString(R.string.firstFrameLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder1() 44 .getRootInActiveWindow().findAccessibilityNodeInfosByText(getString( in testDescendantsOfNotImportantViewReportedInOrder1() 50 .getRootInActiveWindow().findAccessibilityNodeInfosByText(getString( in testDescendantsOfNotImportantViewReportedInOrder1() 57 getString(R.string.firstButton)).get(0); in testDescendantsOfNotImportantViewReportedInOrder1() 65 getString(R.string.secondFrameLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 72 getString(R.string.secondTextView)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 78 getString(R.string.secondEditText)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 84 getString(R.string.secondButton)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 92 getString(R.string.rootLinearLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder3() 99 getString(R.string.firstFrameLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder3() [all …]
|
D | AccessibilityTextTraversalTest.java | 51 view.setContentDescription(getString(R.string.a_b)); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 57 getString(R.string.a_b)).get(0); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 87 getString(R.string.a_b)) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 117 getString(R.string.a_b)) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 147 getString(R.string.a_b)) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 181 getString(R.string.a_b)) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 211 getString(R.string.a_b)) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 241 getString(R.string.a_b)) in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() 266 view.setContentDescription(getString(R.string.foo_bar_baz)); in testActionNextAndPreviousAtGranularityWordOverContentDescription() 272 getString(R.string.foo_bar_baz)).get(0); in testActionNextAndPreviousAtGranularityWordOverContentDescription() [all …]
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 96 assertTrue(cursor1.getString(0).compareTo(cursor2.getString(0)) < 0); in testCursorJoinerAndIterator() 97 addValueIntoTable(TABLE_NAME_2, cursor1.getString(0)); in testCursorJoinerAndIterator() 101 assertTrue(cursor1.getString(0).compareTo(cursor2.getString(0)) > 0); in testCursorJoinerAndIterator() 102 addValueIntoTable(TABLE_NAME_1, cursor2.getString(0)); in testCursorJoinerAndIterator() 106 assertEquals(cursor1.getString(0), cursor2.getString(0)); in testCursorJoinerAndIterator() 107 deleteValueFromTable(TABLE_NAME_1, cursor1.getString(0)); in testCursorJoinerAndIterator() 108 deleteValueFromTable(TABLE_NAME_2, cursor2.getString(0)); in testCursorJoinerAndIterator() 125 cursor1.getString(0)); in testCursorJoinerAndIterator() 126 assertEquals(cursor1.getString(0), cursor2.getString(0)); in testCursorJoinerAndIterator() 150 .getString(0)); in testNext() [all …]
|
D | MatrixCursorTest.java | 142 assertEquals("value0", mMatrixCursor.getString(COLUMN0_INDEX)); in testAddRow() 144 assertEquals("value1", mMatrixCursor.getString(COLUMN1_INDEX)); in testAddRow() 146 assertEquals("value2", mMatrixCursor.getString(COLUMN2_INDEX)); in testAddRow() 199 assertEquals("-32768", mMatrixCursor.getString(COLUMN0_INDEX)); in testGetters() 200 assertEquals("0", mMatrixCursor.getString(COLUMN1_INDEX)); in testGetters() 201 assertEquals("32767", mMatrixCursor.getString(COLUMN2_INDEX)); in testGetters() 230 assertEquals(Double.toString(Double.MIN_VALUE), mMatrixCursor.getString(COLUMN0_INDEX)); in testGetters() 231 assertEquals(Double.toString(0d), mMatrixCursor.getString(COLUMN1_INDEX)); in testGetters() 232 assertEquals(Double.toString(Double.MAX_VALUE), mMatrixCursor.getString(COLUMN2_INDEX)); in testGetters() 260 assertEquals("-1", mMatrixCursor.getString(COLUMN0_INDEX)); in testGetters() [all …]
|
D | CursorWindowTest.java | 52 String s = window.getString(i, j); in testWriteCursorToWindow() 66 String s = window.getString(i, j); in testWriteCursorToWindow() 83 assertNull(window.getString(0, 0)); in testNull() 94 assertEquals("", window.getString(0, 0)); in testEmptyString() 123 assertEquals(TEST_STRING, cursorWindow.getString(TEST_NUMBER, 0)); in testConstructors() 153 assertEquals(TEST_STRING, cursorWindow.getString(0, 0)); in testDataStructureOperations() 199 assertEquals(Long.toString(NUMBER_LONG_INTEGER), cursorWindow.getString(0, 0)); in testAccessDataValues() 213 assertEquals("", cursorWindow.getString(0, 0)); in testAccessDataValues() 225 assertNull(cursorWindow.getString(0, 1)); in testAccessDataValues() 240 assertEquals(Long.toString(NUMBER_LONG_INTEGER), cursorWindow.getString(0, 2)); in testAccessDataValues() [all …]
|
D | DatabaseCursorTest.java | 141 assertEquals(s, testCursor.getString(sCol)); in testBlob() 188 String s = testCursor.getString(dataColumn); in testCursor1() 192 s = testCursor.getString(dataColumn); in testCursor1() 196 s = testCursor.getString(dataColumn); in testCursor1() 201 s = testCursor.getString(dataColumn); in testCursor1() 205 s = testCursor.getString(dataColumn); in testCursor1() 279 String largeString = testCursor.getString(testCursor.getColumnIndexOrThrow("data")); in testLargeField() 371 assertEquals(randomString.toString(), testCursor.getString(0)); in testManyRowsTxt() 407 assertEquals(randomString.toString(), testCursor.getString(0)); in testManyRowsTxtLong() 439 assertEquals(sString1, testCursor.getString(0)); in testRequeryWithSelection() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ConnectReqTestCase.java | 96 mReason = mContext.getString(R.string.p2p_discover_peers_error); in connectTest() 102 mReason = mContext.getString(R.string.p2p_target_not_found_error); in connectTest() 108 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); in connectTest() 112 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); in connectTest() 130 mReason = mContext.getString(R.string.p2p_connect_error); in connectTest() 139 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() 148 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() 157 mReason = mContext.getString(R.string.p2p_remove_group_error); in connectTest() 168 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() 175 mReason = mContext.getString(R.string.p2p_detect_disconnection_error); in connectTest()
|
D | ServReqRemoveRequestTestCase.java | 57 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 62 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 67 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 72 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 81 mReason = mContext.getString(R.string.p2p_remove_service_request_error); in executeTest() 86 mReason = mContext.getString(R.string.p2p_remove_service_request_error); in executeTest() 91 mReason = mContext.getString(R.string.p2p_remove_service_request_error); in executeTest() 113 mReason = mContext.getString(R.string.p2p_discover_services_error); in executeTest()
|
D | ServReqClearRequestTestCase.java | 57 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 62 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 67 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 72 mReason = mContext.getString(R.string.p2p_add_service_request_error); in executeTest() 81 mReason = mContext.getString(R.string.p2p_clear_service_requests_error); in executeTest() 90 mReason = mContext.getString(R.string.p2p_no_service_requests_error); in executeTest()
|
D | GoTestCase.java | 54 mReason = mContext.getString(R.string.p2p_add_local_service_error); in executeTest() 64 mReason = mContext.getString(R.string.p2p_add_local_service_error); in executeTest() 74 mReason = mContext.getString(R.string.p2p_add_local_service_error); in executeTest() 83 mReason = mContext.getString(R.string.p2p_ceate_group_error); in executeTest() 92 mReason = mContext.getString(R.string.p2p_ceate_group_error); in executeTest()
|
D | ServRespTestCase.java | 56 mReason = mContext.getString(R.string.p2p_add_local_service_error); in executeTest() 66 mReason = mContext.getString(R.string.p2p_add_local_service_error); in executeTest() 76 mReason = mContext.getString(R.string.p2p_add_local_service_error); in executeTest() 85 mReason = mContext.getString(R.string.p2p_discover_peers_error); in executeTest()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsTest.java | 104 assertEquals(insertPeopleName, cursor.getString(NAME_INDEX)); in testPeopleTable() 105 assertEquals(insertPeopleNotes, cursor.getString(NOTES_INDEX)); in testPeopleTable() 107 assertNull(cursor.getString(CUSTOM_RINGTONE_INDEX)); in testPeopleTable() 126 assertEquals(updatePeopleName, cursor.getString(NAME_INDEX)); in testPeopleTable() 127 assertEquals(updatePeopleNotes, cursor.getString(NOTES_INDEX)); in testPeopleTable() 129 assertNull(cursor.getString(CUSTOM_RINGTONE_INDEX)); in testPeopleTable() 176 assertEquals(insertGroupsName, cursor.getString(NAME_INDEX)); in testGroupsTable() 177 assertEquals(insertGroupsNotes, cursor.getString(NOTES_INDEX)); in testGroupsTable() 178 assertEquals(Groups.GROUP_MY_CONTACTS, cursor.getString(SYSTEM_ID_INDEX)); in testGroupsTable() 191 assertEquals(updateGroupsNotes, cursor.getString(NOTES_INDEX)); in testGroupsTable() [all …]
|
D | Settings_SecureTest.java | 50 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in assertSettingsForTests() 52 String value = Secure.getString(cr, STRING_VALUE_SETTING); in assertSettingsForTests() 68 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutInt() 90 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutFloat() 112 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutLong() 134 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString() 142 assertNotNull(Secure.getString(cr, STRING_VALUE_SETTING)); in testGetPutString() 144 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString()
|
D | MediaStore_Video_MediaTest.java | 117 assertEquals("cts", c.getString(c.getColumnIndex(Media.ALBUM))); in testStoreVideoMediaExternal() 118 assertEquals("cts team", c.getString(c.getColumnIndex(Media.ARTIST))); in testStoreVideoMediaExternal() 119 assertEquals("test", c.getString(c.getColumnIndex(Media.CATEGORY))); in testStoreVideoMediaExternal() 123 c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testStoreVideoMediaExternal() 124 assertEquals("en", c.getString(c.getColumnIndex(Media.LANGUAGE))); in testStoreVideoMediaExternal() 129 assertEquals("176x144", c.getString(c.getColumnIndex(Media.RESOLUTION))); in testStoreVideoMediaExternal() 130 assertEquals("cts, test", c.getString(c.getColumnIndex(Media.TAGS))); in testStoreVideoMediaExternal() 131 assertEquals(externalVideoPath, c.getString(c.getColumnIndex(Media.DATA))); in testStoreVideoMediaExternal() 132 assertEquals("testvideo.3gp", c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreVideoMediaExternal() 133 assertEquals("video/3gpp", c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testStoreVideoMediaExternal() [all …]
|
D | MediaStore_Audio_MediaTest.java | 97 assertEquals(expected, c.getString(c.getColumnIndex(Media.DATA))); in testStoreAudioMedia() 101 assertEquals(Audio1.FILE_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreAudioMedia() 102 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testStoreAudioMedia() 104 assertEquals(Audio1.TITLE, c.getString(c.getColumnIndex(Media.TITLE))); in testStoreAudioMedia() 105 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Media.ALBUM))); in testStoreAudioMedia() 106 String albumKey = c.getString(c.getColumnIndex(Media.ALBUM_KEY)); in testStoreAudioMedia() 110 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Media.ARTIST))); in testStoreAudioMedia() 111 String artistKey = c.getString(c.getColumnIndex(Media.ARTIST_KEY)); in testStoreAudioMedia() 115 assertEquals(Audio1.COMPOSER, c.getString(c.getColumnIndex(Media.COMPOSER))); in testStoreAudioMedia() 123 String titleKey = c.getString(c.getColumnIndex(Media.TITLE_KEY)); in testStoreAudioMedia() [all …]
|
D | MediaStore_Images_MediaTest.java | 123 assertEquals(TEST_TITLE2, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 124 assertEquals(TEST_DESCRIPTION2, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() 125 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 135 assertEquals(TEST_TITLE2, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 136 assertEquals(TEST_DESCRIPTION2, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() 137 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 139 assertEquals(TEST_TITLE1, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 140 assertEquals(TEST_DESCRIPTION1, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() 141 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 150 assertEquals(TEST_DESCRIPTION2, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() [all …]
|
D | UserDictionary_WordsTest.java | 73 cursor.getString(ID_INDEX))); in testAddWord_deprecated() 76 assertEquals(word, cursor.getString(WORD_INDEX)); in testAddWord_deprecated() 78 assertNull(cursor.getString(LOCALE_INDEX)); in testAddWord_deprecated() 97 cursor.getString(ID_INDEX))); in assertWord() 100 assertEquals(word, cursor.getString(WORD_INDEX)); in assertWord() 102 assertEquals(locale.toString(), cursor.getString(LOCALE_INDEX)); in assertWord()
|
D | SearchRecentSuggestionsTest.java | 77 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_QUERY_INDEX)); in testSearchRecentSuggestions() 79 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_DISPLAY2_INDEX)); in testSearchRecentSuggestions() 104 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_QUERY_INDEX)); in testSearchRecentSuggestions() 106 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_DISPLAY2_INDEX)); in testSearchRecentSuggestions() 109 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_QUERY_INDEX)); in testSearchRecentSuggestions() 111 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_DISPLAY2_INDEX)); in testSearchRecentSuggestions() 148 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_DISPLAY2_INDEX)); in testSuggestionsTable() 150 .getString(SearchRecentSuggestions.QUERIES_PROJECTION_QUERY_INDEX)); in testSuggestionsTable()
|
D | VoicemailContractTest.java | 105 assertEquals(insertCallsNumber, cursor.getString(NUMBER_INDEX)); in testVoicemailsTable() 108 assertEquals(mSourcePackageName, cursor.getString(SOURCE_PACKAGE_INDEX)); in testVoicemailsTable() 109 assertEquals(insertSourceData, cursor.getString(SOURCE_DATA_INDEX)); in testVoicemailsTable() 110 assertEquals(insertMimeType, cursor.getString(MIME_TYPE_INDEX)); in testVoicemailsTable() 129 assertEquals(mSourcePackageName, cursor.getString(SOURCE_PACKAGE_INDEX)); in testVoicemailsTable() 130 assertEquals(updateCallsNumber, cursor.getString(NUMBER_INDEX)); in testVoicemailsTable() 133 assertEquals(updateSourceData, cursor.getString(SOURCE_DATA_INDEX)); in testVoicemailsTable() 180 final String data = cursor.getString(0); in assertDataNotEquals() 239 assertEquals(mSourcePackageName, cursor.getString(SOURCE_PACKAGE_INDEX)); in testStatusTable() 244 assertEquals(insertSettingsUri, cursor.getString(SETTINGS_URI_INDEX)); in testStatusTable() [all …]
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | SwitchPreferenceTest.java | 47 String titleExp = mResources.getString(R.string.title_switch_preference); in testGetTitle() 53 String summaryExp = mResources.getString(R.string.summary_switch_preference); in testGetSummary() 59 String summaryOnExp = mResources.getString( in testGetSummaryOn() 66 String summaryOffExp = mResources.getString( in testSummaryOff() 83 final CharSequence switchOffExp = mResources.getString( in testSetSwitchTextOff_Two() 101 final CharSequence switchOnExp = mResources.getString( in testSetSwitchTextOn_Two()
|
D | DialogPreferenceTest.java | 45 String titleExp = mActivity.getResources().getString(R.string.title_dialog_preference); in testGetTitle() 51 String titleExp = mActivity.getResources().getString( in testGetDialogTitle() 64 CharSequence dialogMessageExp = mActivity.getResources().getString( in testGetDialogMessage() 71 CharSequence postiveButtonTextExp = mActivity.getResources().getString( in testGetPositiveButtonText() 78 CharSequence negativeButtonTextExp = mActivity.getResources().getString( in testGetNegativeButtonText()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteDatabaseTest.java | 351 assertEquals(name, cursor.getString(COLUMN_NAME_INDEX)); in testCompileStatement() 353 assertEquals(address, cursor.getString(COLUMN_ADDR_INDEX)); in testCompileStatement() 383 assertEquals("Jack", cursor.getString(COLUMN_NAME_INDEX)); in testDelete() 385 assertEquals("London", cursor.getString(COLUMN_ADDR_INDEX)); in testDelete() 387 assertEquals("Jim", cursor.getString(COLUMN_NAME_INDEX)); in testDelete() 389 assertEquals("Chicago", cursor.getString(COLUMN_ADDR_INDEX)); in testDelete() 402 assertEquals("Jim", cursor.getString(COLUMN_NAME_INDEX)); in testDelete() 404 assertEquals("Chicago", cursor.getString(COLUMN_ADDR_INDEX)); in testDelete() 432 assertEquals("Mike", cursor.getString(COLUMN_NAME_INDEX)); in testExecSQL() 434 assertEquals("LA", cursor.getString(COLUMN_ADDR_INDEX)); in testExecSQL() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TtsSpanTest.java | 40 assertEquals("value.one", args.getString("argument.one")); in testGetArgs() 41 assertEquals("value.two", args.getString("argument.two")); in testGetArgs() 73 assertEquals("value.one", args.getString("argument.one")); in testWriteAndReadParcel() 74 assertEquals("value.two", args.getString("argument.two")); in testWriteAndReadParcel()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | PrimitiveTest.java | 117 mResources.getString(R.string.formattedStringNone), in testFormattedString() 120 mResources.getString(R.string.formattedStringOne), in testFormattedString() 123 mResources.getString(R.string.formattedStringTwo), in testFormattedString() 127 mResources.getString(R.string.formattedStringNone), in testFormattedString() 130 mResources.getString(R.string.formattedStringOne, 42), in testFormattedString() 133 mResources.getString(R.string.formattedStringTwo, "unused", "hi", 43), in testFormattedString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | ISensorTestStateContainer.java | 42 String getString(int resId); in getString() method 49 String getString(int resId, Object ... params); in getString() method
|