Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 4049) sorted by relevance

12345678910>>...162

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLinkLayerStats.java465 public String toString() { in toString() method in WifiLinkLayerStats
470 sbuf.append(" my bss beacon rx: ").append(Integer.toString(this.beacon_rx)).append('\n'); in toString()
471 sbuf.append(" RSSI mgmt: ").append(Integer.toString(this.rssi_mgmt)).append('\n'); in toString()
472 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be)) in toString()
473 .append(" tx=").append(Long.toString(this.txmpdu_be)) in toString()
474 .append(" lost=").append(Long.toString(this.lostmpdu_be)) in toString()
475 .append(" retries=").append(Long.toString(this.retries_be)).append('\n') in toString()
477 .append(Long.toString(this.contentionTimeMinBeInUsec)) in toString()
479 .append(Long.toString(this.contentionTimeMaxBeInUsec)).append('\n') in toString()
481 .append(Long.toString(this.contentionTimeAvgBeInUsec)) in toString()
[all …]
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DFrameworkAppSearchConfigTest.java115 Long.toString(minTimeIntervalBetweenSamplesMillis), in testCustomizedValue_minTimeIntervalBetweenSamplesMillis()
129 Long.toString(minTimeIntervalBetweenSamplesMillis), in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis()
136 Long.toString(minTimeIntervalBetweenSamplesMillis), in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis()
155 Integer.toString(samplingIntervalDefault), in testCustomizedValue_allSamplingIntervals()
159 Integer.toString(samplingIntervalPutDocumentStats), in testCustomizedValue_allSamplingIntervals()
163 Integer.toString(samplingIntervalBatchCallStats), in testCustomizedValue_allSamplingIntervals()
167 Integer.toString(samplingIntervalInitializeStats), in testCustomizedValue_allSamplingIntervals()
171 Integer.toString(samplingIntervalSearchStats), in testCustomizedValue_allSamplingIntervals()
175 Integer.toString(samplingIntervalGlobalSearchStats), in testCustomizedValue_allSamplingIntervals()
179 Integer.toString(samplingIntervalOptimizeStats), in testCustomizedValue_allSamplingIntervals()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientStackEventTest.java33 eventStr = event.toString(); in toString_containsProperSubStrings()
37 eventStr = event.toString(); in toString_containsProperSubStrings()
42 eventStr = event.toString(); in toString_containsProperSubStrings()
47 eventStr = event.toString(); in toString_containsProperSubStrings()
51 eventStr = event.toString(); in toString_containsProperSubStrings()
55 eventStr = event.toString(); in toString_containsProperSubStrings()
59 eventStr = event.toString(); in toString_containsProperSubStrings()
63 eventStr = event.toString(); in toString_containsProperSubStrings()
68 eventStr = event.toString(); in toString_containsProperSubStrings()
74 eventStr = event.toString(); in toString_containsProperSubStrings()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java186 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), in initEffectsPreferences()
188 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in initEffectsPreferences()
192 final boolean isVIEnabled = prefs.getBoolean(Key.virt_enabled.toString(), in initEffectsPreferences()
195 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), in initEffectsPreferences()
198 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); in initEffectsPreferences()
199 editor.putInt(Key.virt_strength.toString(), vIStrength); in initEffectsPreferences()
206 editor.putBoolean(Key.virt_strength_supported.toString(), in initEffectsPreferences()
218 final boolean isBBEnabled = prefs.getBoolean(Key.bb_enabled.toString(), in initEffectsPreferences()
220 final int bBStrength = prefs.getInt(Key.bb_strength.toString(), in initEffectsPreferences()
222 editor.putBoolean(Key.bb_enabled.toString(), isBBEnabled); in initEffectsPreferences()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DMeasurementApiParamsCtsTest.java69 assertEquals("https://d-foo.com", deletionRequest.getDomainUris().get(0).toString()); in testDeletionRequest()
70 assertEquals("https://d-bar.com", deletionRequest.getDomainUris().get(1).toString()); in testDeletionRequest()
71 assertEquals("https://o-foo.com", deletionRequest.getOriginUris().get(0).toString()); in testDeletionRequest()
72 assertEquals("https://o-bar.com", deletionRequest.getOriginUris().get(1).toString()); in testDeletionRequest()
84 assertEquals("https://registration-uri", webSourceParams.getRegistrationUri().toString()); in testWebSourceParams()
98 exampleParams.getRegistrationUri().toString(), in testWebSourceParamsParceling()
99 webSourceParams.getRegistrationUri().toString()); in testWebSourceParamsParceling()
125 request.getSourceParams().get(0).getRegistrationUri().toString()); in testWebSourceRegistrationRequest()
127 assertEquals("https://top-origin", request.getTopOriginUri().toString()); in testWebSourceRegistrationRequest()
131 assertEquals("https://verified-destination", request.getVerifiedDestination().toString()); in testWebSourceRegistrationRequest()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DLogcatLogTest.java54 assertEquals("hello world", logMessage.toString()); in logMessageWorksWithParameterlessFormat()
62 assertEquals("", logMessage.toString()); in logMessageWorksWithEmptyFormat()
70 assertEquals("1", logMessage.toString()); in logMessageWorksWithValueOnly()
81 assertEquals("%", logMessage.toString()); in logMessageIsNotConfusedByPlaceholderInValue()
89 assertEquals("1stuff", logMessage.toString()); in logMessageWorksWithValueAtBegin()
97 assertEquals("s1uff", logMessage.toString()); in logMessageWorksWithValueInMiddle()
105 assertEquals("stuff1", logMessage.toString()); in logMessageWorksWithValueAtEnd()
113 assertEquals("hello world", logMessage.toString()); in logMessageWorksWithMultipleValues()
121 assertEquals("first:hello second:world", logMessage.toString()); in logMessageWorksWithMultipleValuesAndLiterals()
129 assertEquals("helloworld", logMessage.toString()); in logMessageWorksWithAdjacentValues()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/app/
DChannelListPreferenceControllerTest.java106 group1.getPreference(0).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
108 assertEquals("Channel 1A", group1.getPreference(1).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
121 group1.getPreference(0).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
123 assertEquals("Channel 1A", group1.getPreference(1).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
125 assertEquals("Channel 1B", group1.getPreference(2).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
138 group1.getPreference(0).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
140 assertEquals("Channel 1A", group1.getPreference(1).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
142 assertEquals("Channel 1B - Renamed", group1.getPreference(2).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
158 group0.getPreference(0).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
160 assertEquals("Channel 0B", group0.getPreference(1).getTitle().toString()); in testUpdateFullList_incrementalUpdates()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java49 assertEquals("type word", WORD_TO_TYPE, mEditText.getText().toString()); in testTypeWord()
60 mEditText.getText().toString()); in testPickSuggestionThenBackspace()
72 mEditText.getText().toString()); in testPickAutoCorrectionThenBackspace()
75 mEditText.getText().toString()); in testPickAutoCorrectionThenBackspace()
86 mEditText.getText().toString()); in testPickTypedWordOverAutoCorrectionThenBackspace()
89 mEditText.getText().toString()); in testPickTypedWordOverAutoCorrectionThenBackspace()
101 mEditText.getText().toString()); in testPickDifferentSuggestionThenBackspace()
104 mEditText.getText().toString()); in testPickDifferentSuggestionThenBackspace()
125 assertEquals("delete selection", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelection()
147 assertEquals("delete selection twice", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelectionTwice()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DXnaSourceCreatorTest.java96 .toString(); in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
111 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
114 .setAggregateSource(aggregatableSource.toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
116 new JSONArray(Arrays.asList("key2", "key3")).toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
124 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
129 .toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
135 new JSONArray(Arrays.asList("key2", "key3")).toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
136 .setAggregateSource(derivedAggregatableSource1.toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
140 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
144 .setAggregateSource(aggregatableSource.toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportPayloadTest.java78 assertEquals(ATTRIBUTION_DESTINATIONS.get(0).toString(), (String) obj); in toJson_success()
80 assertEquals(SOURCE_EVENT_ID.toString(), eventPayloadReportJson.get("source_event_id")); in toJson_success()
81 assertEquals(TRIGGER_DATA.toString(), eventPayloadReportJson.get("trigger_data")); in toJson_success()
86 assertEquals(SOURCE_DEBUG_KEY.toString(), eventPayloadReportJson.get("source_debug_key")); in toJson_success()
87 assertEquals(TRIGGER_DEBUG_KEY.toString(), eventPayloadReportJson.get("trigger_debug_key")); in toJson_success()
99 assertEquals(DESTINATION_1.toString(), ((JSONArray) obj).getString(0)); in toJson_multipleAttributionDestinations_setsDestinationsAsOrderedJSONArray()
100 assertEquals(DESTINATION_2.toString(), ((JSONArray) obj).getString(1)); in toJson_multipleAttributionDestinations_setsDestinationsAsOrderedJSONArray()
102 assertEquals(SOURCE_EVENT_ID.toString(), eventPayloadReportJson.get("source_event_id")); in toJson_multipleAttributionDestinations_setsDestinationsAsOrderedJSONArray()
103 assertEquals(TRIGGER_DATA.toString(), eventPayloadReportJson.get("trigger_data")); in toJson_multipleAttributionDestinations_setsDestinationsAsOrderedJSONArray()
116 ATTRIBUTION_DESTINATIONS.get(0).toString(), in testEventPayloadJsonSerializationWithNullDebugKeys()
[all …]
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy.cc153 LOG(INFO) << __func__ << ": session_type=" << toString(session_type_) in SetUp()
211 << ", session_type=" << toString(session_type_) in init_session_type()
220 LOG(ERROR) << __func__ << ": session_type=" << toString(session_type_) in TearDown()
226 LOG(INFO) << __func__ << ": session_type=" << toString(session_type_) in TearDown()
242 LOG(INFO) << "control_result_cb: session_type=" << toString(session_type_) in ControlResultHandler()
245 << ", status=" << toString(status); in ControlResultHandler()
255 LOG(WARNING) << "control_result_cb: status=" << toString(status) in ControlResultHandler()
256 << " failure for session_type=" << toString(session_type_) in ControlResultHandler()
266 LOG(WARNING) << "control_result_cb: status=" << toString(status) in ControlResultHandler()
267 << " failure for session_type=" << toString(session_type_) in ControlResultHandler()
[all …]
Ddevice_port_proxy_hidl.cc167 LOG(INFO) << __func__ << ": session_type=" << toString(session_type_hidl_) in SetUp()
217 << ", session_type=" << toString(session_type_hidl_) in init_session_type()
226 LOG(ERROR) << __func__ << ": session_type=" << toString(session_type_hidl_) in TearDown()
232 LOG(INFO) << __func__ << ": session_type=" << toString(session_type_hidl_) in TearDown()
248 << toString(session_type_hidl_) in ControlResultHandler()
251 << ", status=" << toString(status); in ControlResultHandler()
260 LOG(WARNING) << "control_result_cb: status=" << toString(status) in ControlResultHandler()
262 << toString(session_type_hidl_) in ControlResultHandler()
272 LOG(WARNING) << "control_result_cb: status=" << toString(status) in ControlResultHandler()
274 << toString(session_type_hidl_) in ControlResultHandler()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueueTests.java65 public String toString() { in toString() method in PointerTrackerQueueTests.Element
66 return Integer.toString(mId); in toString()
79 assertEquals("[]", mQueue.toString()); in testEmpty()
86 assertEquals("[1]", mQueue.toString()); in testAdd()
89 assertEquals("[1 2]", mQueue.toString()); in testAdd()
92 assertEquals("[1 2 3]", mQueue.toString()); in testAdd()
95 assertEquals("[1 2 3 4]", mQueue.toString()); in testAdd()
109 assertEquals("[1 3 4]", mQueue.toString()); in testRemove()
112 assertEquals("[1 3]", mQueue.toString()); in testRemove()
115 assertEquals("[1 3]", mQueue.toString()); in testRemove()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DPhFlagsTest.java452 Long.toString(phOverridingValue), in testGetTopicsEpochJobPeriodMs()
462 Long.toString(illegalPhOverridingValue), in testGetTopicsEpochJobPeriodMs()
482 Long.toString(phOverridingValue), in testGetTopicsEpochJobFlexMs()
494 Long.toString(illegalPhOverridingValue), in testGetTopicsEpochJobFlexMs()
513 Long.toString(phOverridingValue), in testGetTopicsPercentageForRandomTopic()
524 Long.toString(illegalPhOverridingValue), in testGetTopicsPercentageForRandomTopic()
543 Long.toString(phOverridingValue), in testGetTopicsNumberOfRandomTopics()
554 Long.toString(illegalPhOverridingValue), in testGetTopicsNumberOfRandomTopics()
573 Long.toString(phOverridingValue), in testGetTopicsNumberOfTopTopics()
584 Long.toString(illegalPhOverridingValue), in testGetTopicsNumberOfTopTopics()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/
DPhFlagsFixture.java87 Long.toString(phOverridingValue), in configureFledgeBackgroundFetchEligibleUpdateBaseIntervalS()
102 Boolean.toString(value), in overrideFledgeAdSelectionFilteringEnabled()
114 Boolean.toString(value), in overrideForegroundStatusForFledgeRunAdSelection()
126 Boolean.toString(value), in overrideForegroundStatusForFledgeReportImpression()
138 Boolean.toString(value), in overrideForegroundStatusForFledgeReportInteraction()
150 Boolean.toString(value), in overrideForegroundStatusForFledgeOverrides()
162 Boolean.toString(value), in overrideForegroundStatusForFledgeCustomAudience()
175 Boolean.toString(enable), in overrideEnableEnrollmentSeed()
188 Boolean.toString(!enable), in overrideFledgeEnrollmentCheck()
196 Boolean.toString(value), in overrideEnforceIsolateMaxHeapSize()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleGearTest.java85 assertThat(VehicleGear.toString(VehicleGear.GEAR_UNKNOWN)).isEqualTo("GEAR_UNKNOWN"); in testToString()
87 assertThat(VehicleGear.toString(VehicleGear.GEAR_NEUTRAL)).isEqualTo("GEAR_NEUTRAL"); in testToString()
89 assertThat(VehicleGear.toString(VehicleGear.GEAR_REVERSE)).isEqualTo("GEAR_REVERSE"); in testToString()
91 assertThat(VehicleGear.toString(VehicleGear.GEAR_PARK)).isEqualTo("GEAR_PARK"); in testToString()
93 assertThat(VehicleGear.toString(VehicleGear.GEAR_DRIVE)).isEqualTo("GEAR_DRIVE"); in testToString()
95 assertThat(VehicleGear.toString(VehicleGear.GEAR_FIRST)).isEqualTo("GEAR_FIRST"); in testToString()
97 assertThat(VehicleGear.toString(VehicleGear.GEAR_SECOND)).isEqualTo("GEAR_SECOND"); in testToString()
99 assertThat(VehicleGear.toString(VehicleGear.GEAR_THIRD)).isEqualTo("GEAR_THIRD"); in testToString()
101 assertThat(VehicleGear.toString(VehicleGear.GEAR_FOURTH)).isEqualTo("GEAR_FOURTH"); in testToString()
103 assertThat(VehicleGear.toString(VehicleGear.GEAR_FIFTH)).isEqualTo("GEAR_FIFTH"); in testToString()
[all …]
DVehicleHalStatusCodeTest.java28 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_OK)) in testToString()
30 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_TRY_AGAIN)) in testToString()
32 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_INVALID_ARG)) in testToString()
34 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_NOT_AVAILABLE)) in testToString()
36 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_ACCESS_DENIED)) in testToString()
38 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_INTERNAL_ERROR)) in testToString()
40 assertThat(VehicleHalStatusCode.toString( in testToString()
43 assertThat(VehicleHalStatusCode.toString( in testToString()
46 assertThat(VehicleHalStatusCode.toString( in testToString()
49 assertThat(VehicleHalStatusCode.toString( in testToString()
[all …]
/packages/apps/Camera2/src/com/android/camera/debug/
DLog.java59 public String toString() { in toString() method in Log.Tag
66 android.util.Log.d(tag.toString(), msg); in d()
72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); in d()
78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags)); in d()
84 android.util.Log.d(tag.toString(), msg, tr); in d()
90 android.util.Log.e(tag.toString(), msg); in e()
96 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg)); in e()
102 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg, tags)); in e()
108 android.util.Log.e(tag.toString(), msg, tr); in e()
114 android.util.Log.i(tag.toString(), msg); in i()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipTransformationTest.java35 Assert.assertEquals(null, trans.toString()); in testCreateEmpty()
45 Assert.assertEquals("crop", trans.toString()); in testAddTransformation()
51 Assert.assertEquals("stretch crop", trans.toString()); in testAddTransformation()
61 Assert.assertEquals("crop", trans.toString()); in testAddExistingTransformation()
67 Assert.assertEquals("crop", trans.toString()); in testAddExistingTransformation()
90 Assert.assertEquals("crop", trans.toString()); in testRemoveOnlyTransformation()
97 Assert.assertEquals(null, trans.toString()); in testRemoveOnlyTransformation()
108 Assert.assertEquals("stretch crop", trans.toString()); in testRemoveOneTransformation()
114 Assert.assertEquals("stretch", trans.toString()); in testRemoveOneTransformation()
126 Assert.assertEquals("stretch crop", trans.toString()); in testRemoveInvalidTransformation()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogPerfService.cpp95 constexpr const char* toString(std::variant<EventType, SwitchMessage> what) { in toString() function
132 constexpr const char* toString(SystemState systemState) { in toString() function
150 std::string WatchdogPerfService::EventMetadata::toString() const { in toString() function in android::automotive::watchdog::WatchdogPerfService::EventMetadata
236 toString(mCurrCollectionEvent), toString(expected)); in start()
252 ALOGI("Starting %s performance data collection", toString(mCurrCollectionEvent)); in start()
300 ALOGI("%s switching from %s to %s", kServiceName, toString(mSystemState), in setSystemState()
301 toString(systemState)); in setSystemState()
327 ALOGE("Current performance data collection event %s != %s", toString(mCurrCollectionEvent), in onBootFinished()
328 toString(expected)); in onBootFinished()
348 toString(EventType::USER_SWITCH_COLLECTION), toString(mCurrCollectionEvent)); in onUserStateChange()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiSsidTest.java62 assertThat(wifiSsidUtf8.toString()).isEqualTo(TEST_SSID_UTF_8_QUOTED); in testFromByteArray()
68 assertThat(wifiSsidNonUtf8.toString()).isEqualTo(TEST_SSID_NON_UTF_8_HEX); in testFromByteArray()
73 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromByteArray()
74 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromByteArray()
79 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromByteArray()
80 assertThat(wifiSsidNull.toString()).isEmpty(); in testFromByteArray()
92 assertThat(wifiSsidUtf8.toString()).isEqualTo(TEST_SSID_UTF_8_QUOTED); in testFromUtf8String()
97 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromUtf8String()
98 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromUtf8String()
103 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromUtf8String()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupSkipDialogTest.java117 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported()
119 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported()
133 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenSupported()
135 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenSupported()
152 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()
154 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()
171 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()
173 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()
191 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()
193 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DMailToTest.java47 Log.d("Trace", mailTo_1.toString()); in testParseMailToURI()
53 assertEquals("mailto:?to=chris%40example.com&", mailTo_1.toString()); in testParseMailToURI()
57 Log.d("Trace", mailTo_2.toString()); in testParseMailToURI()
63 String stringUrl = mailTo_2.toString(); in testParseMailToURI()
70 Log.d("Trace", mailTo_3.toString()); in testParseMailToURI()
76 stringUrl = mailTo_3.toString(); in testParseMailToURI()
83 Log.d("Trace", mailTo_4.toString() + " " + mailTo_4.getBody()); in testParseMailToURI()
89 stringUrl = mailTo_4.toString(); in testParseMailToURI()
97 Log.d("Trace", mailTo_5.toString() + mailTo_5.getHeaders().toString() in testParseMailToURI()
104 stringUrl = mailTo_5.toString(); in testParseMailToURI()
[all …]
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java43 assertEquals(expectedString1, dest.toString()); in testFilter()
47 assertEquals(expectedString2, dest.toString()); in testFilter()
50 assertEquals(expectedString2, dest.toString()); in testFilter()
54 assertEquals(expectedString3, dest.toString()); in testFilter()
58 assertEquals(expectedString4, dest.toString()); in testFilter()
62 assertEquals(expectedString3, dest.toString()); in testFilter()
66 assertEquals(expectedString5, dest.toString()); in testFilter()
70 assertEquals(expectedString6, dest.toString()); in testFilter()
76 assertEquals(expectedString7, dest.toString()); in testFilter()
80 assertEquals(expectedString8, dest.toString()); in testFilter()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DSettingsContextualCardProvider.java37 .setSliceUri(CustomSliceRegistry.CONTEXTUAL_WIFI_SLICE_URI.toString()) in getContextualCards()
38 .setCardName(CustomSliceRegistry.CONTEXTUAL_WIFI_SLICE_URI.toString()) in getContextualCards()
43 .setSliceUri(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI.toString()) in getContextualCards()
44 .setCardName(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI.toString()) in getContextualCards()
49 .setSliceUri(CustomSliceRegistry.LOW_STORAGE_SLICE_URI.toString()) in getContextualCards()
50 .setCardName(CustomSliceRegistry.LOW_STORAGE_SLICE_URI.toString()) in getContextualCards()
54 CustomSliceRegistry.CONTEXTUAL_ADAPTIVE_SLEEP_URI.toString(); in getContextualCards()
63 .setSliceUri(CustomSliceRegistry.FACE_ENROLL_SLICE_URI.toString()) in getContextualCards()
64 .setCardName(CustomSliceRegistry.FACE_ENROLL_SLICE_URI.toString()) in getContextualCards()
69 .setSliceUri(CustomSliceRegistry.DARK_THEME_SLICE_URI.toString()) in getContextualCards()
[all …]

12345678910>>...162