/cts/tests/tests/text/src/android/text/style/cts/ |
D | TtsSpanTest.java | 50 assertEquals("value.one", args.getString("argument.one")); in testGetArgs() 51 assertEquals("value.two", args.getString("argument.two")); in testGetArgs() 87 assertEquals("value.one", args.getString("argument.one")); in testWriteAndReadParcel() 88 assertEquals("value.two", args.getString("argument.two")); in testWriteAndReadParcel() 106 assertEquals("value", args.getString("argument.string")); in testBuilder() 122 assertEquals(TtsSpan.GENDER_FEMALE, args.getString(TtsSpan.ARG_GENDER)); in testSemioticClassBuilder() 123 assertEquals(TtsSpan.ANIMACY_ANIMATE, args.getString(TtsSpan.ARG_ANIMACY)); in testSemioticClassBuilder() 124 assertEquals(TtsSpan.MULTIPLICITY_SINGLE, args.getString(TtsSpan.ARG_MULTIPLICITY)); in testSemioticClassBuilder() 125 assertEquals(TtsSpan.CASE_NOMINATIVE, args.getString(TtsSpan.ARG_CASE)); in testSemioticClassBuilder() 137 assertEquals("text", args.getString(TtsSpan.ARG_TEXT)); in testTextBuilder() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceReaderTestActivity.java | 49 getString(R.string.nfc_hce_single_payment_reader), in onCreate() 53 getString(R.string.nfc_hce_dual_payment_reader), in onCreate() 57 getString(R.string.nfc_hce_change_default_reader), in onCreate() 61 getString(R.string.nfc_hce_foreground_payment_reader), in onCreate() 65 getString(R.string.nfc_hce_single_non_payment_reader), in onCreate() 69 getString(R.string.nfc_hce_dual_non_payment_reader), in onCreate() 73 getString(R.string.nfc_hce_conflicting_non_payment_reader), in onCreate() 77 getString(R.string.nfc_hce_foreground_non_payment_reader), in onCreate() 81 getString(R.string.nfc_hce_throughput_reader), in onCreate() 85 getString(R.string.nfc_hce_tap_test_reader), in onCreate() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
D | DataPathOutOfBandTestCase.java | 121 setFailureReason(mContext.getString(R.string.aware_status_attach_timeout)); in executeTest() 125 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeTest() 131 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeTest() 135 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_attached)); in executeTest() 141 setFailureReason(mContext.getString(R.string.aware_status_identity_fail)); in executeTest() 145 mListener.onTestMsgReceived(mResources.getString(R.string.aware_status_identity, in executeTest() 200 setFailureReason(mContext.getString(R.string.aware_status_publish_timeout)); in executeTestResponder() 204 setFailureReason(mContext.getString(R.string.aware_status_publish_failed)); in executeTestResponder() 211 setFailureReason(mContext.getString(R.string.aware_status_publish_null_session)); in executeTestResponder() 215 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_publish_started)); in executeTestResponder() [all …]
|
D | DiscoveryBaseTestCase.java | 102 setFailureReason(mContext.getString(R.string.aware_status_attach_timeout)); in executeAttach() 106 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeAttach() 112 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeAttach() 116 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_attached)); in executeAttach() 125 setFailureReason(mContext.getString(R.string.aware_status_identity_fail)); in executeAttach() 130 mListener.onTestMsgReceived(mResources.getString(R.string.aware_status_identity, in executeAttach() 171 setFailureReason(mContext.getString(R.string.aware_status_subscribe_timeout)); in executeSubscribe() 175 setFailureReason(mContext.getString(R.string.aware_status_subscribe_failed)); in executeSubscribe() 181 setFailureReason(mContext.getString(R.string.aware_status_subscribe_null_session)); in executeSubscribe() 185 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_subscribe_started)); in executeSubscribe() [all …]
|
D | DataPathInBandTestCase.java | 101 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_lifecycle_ok)); in executeTest() 116 setFailureReason(mContext.getString(R.string.aware_status_receive_timeout)); in executeTestSubscriber() 120 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_received)); in executeTestSubscriber() 125 setFailureReason(mContext.getString(R.string.aware_status_receive_failure)); in executeTestSubscriber() 142 mContext.getString(R.string.aware_status_network_requested)); in executeTestSubscriber() 147 setFailureReason(mContext.getString(R.string.aware_status_network_failed)); in executeTestSubscriber() 151 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_network_success)); in executeTestSubscriber() 174 mContext.getString(R.string.aware_status_network_requested)); in executeTestPublisher() 184 setFailureReason(mContext.getString(R.string.aware_status_send_timeout)); in executeTestPublisher() 188 setFailureReason(mContext.getString(R.string.aware_status_send_failed)); in executeTestPublisher() [all …]
|
D | DiscoveryWithRangingTestCase.java | 121 mContext.getString(R.string.aware_status_waiting_for_peer_rtt)); in executeTestLocal() 128 setFailureReason(mContext.getString(R.string.aware_status_receive_failure)); in executeTestLocal() 136 mContext.getString(R.string.aware_status_received_peer_rtt_done)); in executeTestLocal() 144 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_starting_rtt)); in executeTestLocal() 159 mContext.getString(R.string.aware_status_ranging_peer_failure, in executeTestLocal() 163 mContext.getString(R.string.aware_status_ranging_peer_success, in executeTestLocal() 180 mContext.getString(R.string.aware_status_ranging_mac_failure, in executeTestLocal() 184 mContext.getString(R.string.aware_status_ranging_mac_success, in executeTestLocal() 195 setFailureReason(mContext.getString(R.string.aware_status_send_timeout)); in executeTestLocal() 199 setFailureReason(mContext.getString(R.string.aware_status_send_failed)); in executeTestLocal() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 88 assertThat(resources.getString(R.string.base_string), equalTo("Base String Default")); in shouldLoadDefault() 102 assertThat(resources.getString(R.string.base_string), equalTo("Base String Polish")); in shouldLoadPolishLocale() 117 assertThat(resources.getString(R.string.base_string), equalTo("Base String Default")); in shouldLoadFeatureADefault() 120 assertThat(resources.getString(resourceId), equalTo("Feature A String Default")); in shouldLoadFeatureADefault() 133 assertThat(resources.getString(R.string.base_string), equalTo("Base String Polish")); in shouldLoadFeatureAPolishLocale() 136 assertThat(resources.getString(resourceId), equalTo("Feature A String Polish")); in shouldLoadFeatureAPolishLocale() 147 assertThat(results.getString("base"), equalTo("Base String Default")); in shouldLoadFeatureAReceivers() 148 assertThat(results.getString("feature_a"), equalTo("Feature A String Default")); in shouldLoadFeatureAReceivers() 149 assertThat(results.getString("feature_b"), nullValue()); in shouldLoadFeatureAReceivers() 150 assertThat(results.getString("feature_c"), nullValue()); in shouldLoadFeatureAReceivers() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SecureTest.java | 51 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in assertSettingsForTests() 53 String value = Secure.getString(cr, STRING_VALUE_SETTING); in assertSettingsForTests() 69 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutInt() 91 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutFloat() 113 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutLong() 135 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString() 143 assertNotNull(Secure.getString(cr, STRING_VALUE_SETTING)); in testGetPutString() 145 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString() 169 assertNull(Settings.Secure.getString(cr, BLUETOOTH_MAC_ADDRESS_SETTING_NAME)); in testBluetoothAddressNotAvailable() 174 String name = c.getString(1); in testBluetoothAddressNotAvailable() [all …]
|
D | MediaStore_Video_MediaTest.java | 118 assertEquals("cts", c.getString(c.getColumnIndex(Media.ALBUM))); in testStoreVideoMediaExternal() 119 assertEquals("cts team", c.getString(c.getColumnIndex(Media.ARTIST))); in testStoreVideoMediaExternal() 120 assertEquals("test", c.getString(c.getColumnIndex(Media.CATEGORY))); in testStoreVideoMediaExternal() 124 c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testStoreVideoMediaExternal() 125 assertEquals("en", c.getString(c.getColumnIndex(Media.LANGUAGE))); in testStoreVideoMediaExternal() 130 assertEquals("176x144", c.getString(c.getColumnIndex(Media.RESOLUTION))); in testStoreVideoMediaExternal() 131 assertEquals("cts, test", c.getString(c.getColumnIndex(Media.TAGS))); in testStoreVideoMediaExternal() 132 assertEquals(externalVideoPath, c.getString(c.getColumnIndex(Media.DATA))); in testStoreVideoMediaExternal() 133 assertEquals("testvideo.3gp", c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreVideoMediaExternal() 134 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 | 138 assertEquals(TEST_TITLE2, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 139 assertEquals(TEST_DESCRIPTION2, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() 140 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 150 assertEquals(TEST_TITLE2, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 151 assertEquals(TEST_DESCRIPTION2, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() 152 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 154 assertEquals(TEST_TITLE1, c.getString(c.getColumnIndex(Media.TITLE))); in testInsertImageWithImagePath() 155 assertEquals(TEST_DESCRIPTION1, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() 156 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); in testInsertImageWithImagePath() 165 assertEquals(TEST_DESCRIPTION2, c.getString(c.getColumnIndex(Media.DESCRIPTION))); in testInsertImageWithImagePath() [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 …]
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_DirectoryTest.java | 65 private static String getString(Cursor c, String column) { in getString() method in ContactsContract_DirectoryTest 66 return c.getString(c.getColumnIndex(column)); in getString() 85 assertEquals(getContext().getPackageName(), getString(c, Directory.PACKAGE_NAME)); in waitForDirectorySetup() 87 getString(c, Directory.DIRECTORY_AUTHORITY)); in waitForDirectorySetup() 88 assertEquals(DummyGalProvider.DISPLAY_NAME, getString(c, Directory.DISPLAY_NAME)); in waitForDirectorySetup() 89 assertEquals(DummyGalProvider.ACCOUNT_NAME, getString(c, Directory.ACCOUNT_NAME)); in waitForDirectorySetup() 90 assertEquals(DummyGalProvider.ACCOUNT_TYPE, getString(c, Directory.ACCOUNT_TYPE)); in waitForDirectorySetup() 128 final JSONObject result = new JSONObject(getString(c, Contacts.DISPLAY_NAME)); in testQueryParameters() 131 fail(result.getString(DummyGalProvider.ERROR_MESSAGE_KEY)); in testQueryParameters() 134 assertEquals("12", result.getString(DummyGalProvider.LIMIT_KEY)); in testQueryParameters() [all …]
|
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 …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleEncryptedClientBaseActivity.java | 165 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog() 183 …showErrorDialog(getString(R.string.ble_bluetooth_disable_title), getString(R.string.ble_bluetooth_… 214 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 217 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 220 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 223 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 227 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 230 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 233 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl… 236 …showErrorDialog(getString(R.string.ble_encrypted_client_name), getString(R.string.ble_encrypted_cl…
|
/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 | 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 | 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 | 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()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | VisualVoicemailServiceTest.java | 182 assertEquals("R", result.getFields().getString("st")); in testFilter() 183 assertEquals("0", result.getFields().getString("rc")); in testFilter() 184 assertEquals("1", result.getFields().getString("srv")); in testFilter() 185 assertEquals("1", result.getFields().getString("dn")); in testFilter() 186 assertEquals("1", result.getFields().getString("ipt")); in testFilter() 187 assertEquals("0", result.getFields().getString("spt")); in testFilter() 188 assertEquals("eg@example.com", result.getFields().getString("u")); in testFilter() 189 assertEquals("1", result.getFields().getString("pw")); in testFilter() 209 assertEquals("R", result.getFields().getString("st")); in testFilter_data() 210 assertEquals("0", result.getFields().getString("rc")); in testFilter_data() [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/content/src/android/content/cts/ |
D | BroadcastReceiverTest.java | 209 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverPackage() 211 resultExtras.getString(MockReceiver.RESULT_EXTRAS_ADD_KEY)); in testManifestReceiverPackage() 212 assertNull(resultExtras.getString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY)); in testManifestReceiverPackage() 237 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverComponent() 239 resultExtras.getString(MockReceiver.RESULT_EXTRAS_ADD_KEY)); in testManifestReceiverComponent() 240 assertNull(resultExtras.getString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY)); in testManifestReceiverComponent() 264 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverPermission() 266 resultExtras.getString(MockReceiver.RESULT_EXTRAS_ADD_KEY)); in testManifestReceiverPermission() 267 assertNull(resultExtras.getString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY)); in testManifestReceiverPermission() 290 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testNoManifestReceiver() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | OffBodySensorTestActivity.java | 164 eventArrivalMessage = getString(R.string.snsr_offbody_event_arrival, false); in awaitAndVerifyEvent() 170 eventArrivalMessage = getString(R.string.snsr_offbody_event_arrival, event != null); in awaitAndVerifyEvent() 180 String eventTypeMessage = getString( in verifyEvent() 196 String valuesLengthMessage = getString( in verifyEvent() 203 String valuesMessage = getString( in verifyEvent() 213 String responseViolationMessage = getString( in verifyEvent() 227 String.format(getString(R.string.snsr_offbody_event_invalid_value), in verifyOffbodyEventNotInvalid() 399 getString(R.string.snsr_offbody_sensor_registration, success), in runOffbodyDetectResponseTimeTest() 402 eventArrivalMessage = getString(R.string.snsr_offbody_event_arrival, event != null); in runOffbodyDetectResponseTimeTest() 412 eventArrivalMessage = getString(R.string.snsr_offbody_event_arrival, in runOffbodyDetectResponseTimeTest() [all …]
|