/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLinkLayerStats.java | 333 public String toString() { in toString() method in WifiLinkLayerStats 338 sbuf.append(" my bss beacon rx: ").append(Integer.toString(this.beacon_rx)).append('\n'); in toString() 339 sbuf.append(" RSSI mgmt: ").append(Integer.toString(this.rssi_mgmt)).append('\n'); in toString() 340 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be)) in toString() 341 .append(" tx=").append(Long.toString(this.txmpdu_be)) in toString() 342 .append(" lost=").append(Long.toString(this.lostmpdu_be)) in toString() 343 .append(" retries=").append(Long.toString(this.retries_be)).append('\n') in toString() 345 .append(Long.toString(this.contentionTimeMinBeInUsec)) in toString() 347 .append(Long.toString(this.contentionTimeMaxBeInUsec)).append('\n') in toString() 349 .append(Long.toString(this.contentionTimeAvgBeInUsec)) in toString() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientStackEventTest.java | 33 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/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | FrameworkAppSearchConfigTest.java | 73 Long.toString(minTimeIntervalBetweenSamplesMillis), in testCustomizedValue_minTimeIntervalBetweenSamplesMillis() 87 Long.toString(minTimeIntervalBetweenSamplesMillis), in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis() 94 Long.toString(minTimeIntervalBetweenSamplesMillis), in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis() 113 Integer.toString(samplingIntervalDefault), in testCustomizedValue_allSamplingIntervals() 117 Integer.toString(samplingIntervalPutDocumentStats), in testCustomizedValue_allSamplingIntervals() 121 Integer.toString(samplingIntervalBatchCallStats), in testCustomizedValue_allSamplingIntervals() 125 Integer.toString(samplingIntervalInitializeStats), in testCustomizedValue_allSamplingIntervals() 129 Integer.toString(samplingIntervalSearchStats), in testCustomizedValue_allSamplingIntervals() 133 Integer.toString(samplingIntervalGlobalSearchStats), in testCustomizedValue_allSamplingIntervals() 137 Integer.toString(samplingIntervalOptimizeStats), in testCustomizedValue_allSamplingIntervals() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 186 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/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | LogcatLogTest.java | 54 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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTests.java | 49 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 …]
|
D | PunctuationTests.java | 48 EXPECTED_RESULT, mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromStripTwice() 60 mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromKeyboardTwice() 74 mEditText.getText().toString()); in testManualPickThenPunctuationFromStripTwiceThenType() 85 mEditText.getText().toString()); in testManualPickThenManualPickWithPunctAtStart() 96 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenColon() 107 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenOpenParen() 118 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenCloseParen() 129 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenSmiley() 140 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenDotCom() 150 EXPECTED_RESULT, mEditText.getText().toString()); in testTypeWordTypeDotThenPressDotCom() [all …]
|
/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 153 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 …]
|
D | device_port_proxy_hidl.cc | 167 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/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupSkipDialogTest.java | 63 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported() 65 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported() 76 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenSupported() 78 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in frpMessages_areShownCorrectly_whenSupported() 89 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 91 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 102 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 104 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 115 assertThat(shadowAlertDialog.getTitle().toString()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() 117 assertThat(shadowAlertDialog.getMessage().toString()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueueTests.java | 65 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/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleGearTest.java | 75 assertThat(VehicleGear.toString(VehicleGear.GEAR_UNKNOWN)).isEqualTo("GEAR_UNKNOWN"); in testToString() 77 assertThat(VehicleGear.toString(VehicleGear.GEAR_NEUTRAL)).isEqualTo("GEAR_NEUTRAL"); in testToString() 79 assertThat(VehicleGear.toString(VehicleGear.GEAR_REVERSE)).isEqualTo("GEAR_REVERSE"); in testToString() 81 assertThat(VehicleGear.toString(VehicleGear.GEAR_PARK)).isEqualTo("GEAR_PARK"); in testToString() 83 assertThat(VehicleGear.toString(VehicleGear.GEAR_DRIVE)).isEqualTo("GEAR_DRIVE"); in testToString() 85 assertThat(VehicleGear.toString(VehicleGear.GEAR_FIRST)).isEqualTo("GEAR_FIRST"); in testToString() 87 assertThat(VehicleGear.toString(VehicleGear.GEAR_SECOND)).isEqualTo("GEAR_SECOND"); in testToString() 89 assertThat(VehicleGear.toString(VehicleGear.GEAR_THIRD)).isEqualTo("GEAR_THIRD"); in testToString() 91 assertThat(VehicleGear.toString(VehicleGear.GEAR_FOURTH)).isEqualTo("GEAR_FOURTH"); in testToString() 93 assertThat(VehicleGear.toString(VehicleGear.GEAR_FIFTH)).isEqualTo("GEAR_FIFTH"); in testToString() [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogPerfService.cpp | 93 constexpr const char* toString(std::variant<EventType, SwitchMessage> what) { in toString() function 130 constexpr const char* toString(SystemState systemState) { in toString() function 143 std::string WatchdogPerfService::EventMetadata::toString() const { in toString() function in android::automotive::watchdog::WatchdogPerfService::EventMetadata 230 toString(mCurrCollectionEvent), toString(expected)); in start() 246 ALOGI("Starting %s performance data collection", toString(mCurrCollectionEvent)); in start() 293 ALOGI("%s switching from %s to %s", kServiceName, toString(mSystemState), in setSystemState() 294 toString(systemState)); in setSystemState() 308 ALOGE("Current performance data collection event %s != %s", toString(mCurrCollectionEvent), in onBootFinished() 309 toString(expected)); in onBootFinished() 338 toString(EventType::USER_SWITCH_COLLECTION), toString(mCurrCollectionEvent)); in onUserStateChange() [all …]
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Log.java | 59 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/ |
D | BipTransformationTest.java | 35 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/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 62 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() 99 assertThat(wifiSsidUtf8.toString()).isEqualTo(TEST_SSID_UTF_8_QUOTED); in testFromUtf8String() 104 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromUtf8String() 105 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromUtf8String() 110 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromUtf8String() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MailToTest.java | 47 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/ |
D | Utf8ByteLengthFilterTest.java | 43 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/ |
D | SettingsContextualCardProvider.java | 37 .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 …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsProfilesController.java | 112 pref.setKey(profile.toString()); in createProfilePreference() 133 Log.d(TAG, "LE is enabled, gray out " + profile.toString()); in refreshProfilePreference() 137 profile.toString()); in refreshProfilePreference() 144 profile.toString()); in refreshProfilePreference() 198 leAudio.toString()); in isLeAudioEnabled() 210 SwitchPreference pref = mProfilesContainer.findPreference(profile.toString()); in grayOutPreferenceWhenLeAudioIsEnabled() 212 Log.d(TAG, "LE is enabled, gray out " + profile.toString()); in grayOutPreferenceWhenLeAudioIsEnabled() 269 if (TextUtils.equals(preference.getKey(), psp.toString())) { in onPreferenceClick() 297 if (mProfileDeviceMap.containsKey(profile.toString())) { in getProfiles() 298 mProfileDeviceMap.get(profile.toString()).add(cachedItem); in getProfiles() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 125 spannableString.toString(), " ", true /* preserveTrailingEmptySegmengs */); in testSplitCharSequenceWithSpan() 135 assertEquals("", charSequencesFromString[0].toString()); in testSplitCharSequenceWithSpan() 137 assertEquals("", charSequencesFromSpanned[0].toString()); in testSplitCharSequenceWithSpan() 146 assertEquals("a", charSequencesFromString[1].toString()); in testSplitCharSequenceWithSpan() 148 assertEquals("a", charSequencesFromSpanned[1].toString()); in testSplitCharSequenceWithSpan() 157 assertEquals("bcd", charSequencesFromString[2].toString()); in testSplitCharSequenceWithSpan() 159 assertEquals("bcd", charSequencesFromSpanned[2].toString()); in testSplitCharSequenceWithSpan() 168 assertEquals("efg", charSequencesFromString[3].toString()); in testSplitCharSequenceWithSpan() 170 assertEquals("efg", charSequencesFromSpanned[3].toString()); in testSplitCharSequenceWithSpan() 177 assertEquals("hij", charSequencesFromString[4].toString()); in testSplitCharSequenceWithSpan() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioStackEvent.java | 90 public String toString() { in toString() method in LeAudioStackEvent 112 return result.toString(); in toString() 168 return "{group_id:" + Integer.toString(value) + "}"; in eventTypeValue1ToString() 185 return Integer.toString(value); in eventTypeValue1ToString() 212 return "{group_id:" + Integer.toString(value) + "}"; in eventTypeValue2ToString() 218 return Integer.toString(value); in eventTypeValue2ToString() 229 return Integer.toString(value); in eventTypeValue3ToString() 240 return Integer.toString(value); in eventTypeValue4ToString() 250 return Integer.toString(value); in eventTypeValue5ToString() 325 return meta.toString(); in eventTypeValueBroadcastMetadataToString() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageProperties.java | 305 public String toString() { in toString() method in BipImageProperties 324 error("Native format " + format.toString() + " is invalid."); in toString() 328 xmlMsgElement.attribute(null, "encoding", encoding.toString()); in toString() 329 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString() 331 xmlMsgElement.attribute(null, "size", Integer.toString(size)); in toString() 342 error("Variant format " + format.toString() + " is invalid."); in toString() 346 xmlMsgElement.attribute(null, "encoding", encoding.toString()); in toString() 347 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString() 349 xmlMsgElement.attribute(null, "maxsize", Integer.toString(maxSize)); in toString() 352 xmlMsgElement.attribute(null, "transformation", trans.toString()); in toString() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | Utf8ByteLengthFilterTest.java | 88 assertThat(dest.toString()).isEqualTo(expectedString1); in exerciseFilter() 92 assertThat(dest.toString()).isEqualTo(expectedString2); in exerciseFilter() 95 assertThat(dest.toString()).isEqualTo(expectedString2); in exerciseFilter() 99 assertThat(dest.toString()).isEqualTo(expectedString3); in exerciseFilter() 103 assertThat(dest.toString()).isEqualTo(expectedString4); in exerciseFilter() 107 assertThat(dest.toString()).isEqualTo(expectedString3); in exerciseFilter() 111 assertThat(dest.toString()).isEqualTo(expectedString5); in exerciseFilter() 115 assertThat(dest.toString()).isEqualTo(expectedString6); in exerciseFilter() 121 assertThat(dest.toString()).isEqualTo(expectedString7); in exerciseFilter() 125 assertThat(dest.toString()).isEqualTo(expectedString8); in exerciseFilter() [all …]
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | UidStatsCollectorTest.cpp | 57 std::string toString(const UidStats& uidStats) { in toString() function 60 uidStats.packageInfo.toString().c_str(), uidStats.cpuTimeMillis, in toString() 61 uidStats.ioStats.toString().c_str(), uidStats.procStats.toString().c_str()); in toString() 64 std::string toString(const std::vector<UidStats>& uidStats) { in toString() function 68 StringAppendF(&buffer, "%s\n", toString(stats).c_str()); in toString() 278 << "Latest UID stats doesn't match.\nExpected: " << toString(expected) in TEST_F() 279 << "\nActual: " << toString(actual); in TEST_F() 283 EXPECT_THAT(actual, IsEmpty()) << "Delta UID stats isn't empty.\nActual: " << toString(actual); in TEST_F() 306 << "Delta UID stats doesn't match.\nExpected: " << toString(expected) in TEST_F() 307 << "\nActual: " << toString(actual); in TEST_F() [all …]
|