Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 14 of 14) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUser.java137 StringBuilder stringBuilder = new StringBuilder("User{"); in toString() local
138 stringBuilder.append("id=" + mMutableUser.mId); in toString()
139 stringBuilder.append(", serialNo=" + mMutableUser.mSerialNo); in toString()
140 stringBuilder.append(", name=" + mMutableUser.mName); in toString()
141 stringBuilder.append(", type=" + mMutableUser.mType); in toString()
142 stringBuilder.append(", hasProfileOwner" + mMutableUser.mHasProfileOwner); in toString()
143 stringBuilder.append(", isPrimary=" + mMutableUser.mIsPrimary); in toString()
144 stringBuilder.append(", state=" + mMutableUser.mState); in toString()
145 stringBuilder.append(", parent=" + mMutableUser.mParent); in toString()
146 stringBuilder.append("}"); in toString()
[all …]
DUserType.java87 StringBuilder stringBuilder = new StringBuilder("UserType{"); in toString() local
88 stringBuilder.append("name=" + mMutableUserType.mName); in toString()
89 stringBuilder.append(", baseType=" + mMutableUserType.mBaseType); in toString()
90 stringBuilder.append(", enabled=" + mMutableUserType.mEnabled); in toString()
91 stringBuilder.append(", maxAllowed=" + mMutableUserType.mMaxAllowed); in toString()
92 stringBuilder.append(", maxAllowedPerParent=" + mMutableUserType.mMaxAllowedPerParent); in toString()
93 return stringBuilder.toString(); in toString()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/exceptions/
DAdbException.java72 StringBuilder stringBuilder = new StringBuilder(super.toString()); in toString() local
74 stringBuilder.append("[command=\"").append(mCommand).append("\""); in toString()
76 stringBuilder.append(", output=\"").append(mOutput).append("\""); in toString()
79 stringBuilder.append(", err=\"").append(mErr).append("\""); in toString()
81 stringBuilder.append("]"); in toString()
83 return stringBuilder.toString(); in toString()
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoTest.java52 StringBuilder stringBuilder = new StringBuilder(); in readFile() local
56 stringBuilder.append(line); in readFile()
57 stringBuilder.append('\n'); in readFile()
60 return stringBuilder.toString(); in readFile()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackage.java114 StringBuilder stringBuilder = new StringBuilder("Package{"); in toString() local
115 stringBuilder.append("packageName=" + mMutablePackage.mPackageName); in toString()
116 stringBuilder.append(", installedOnUsers=" + mMutablePackage.mInstalledOnUsers); in toString()
117 stringBuilder.append("}"); in toString()
118 return stringBuilder.toString(); in toString()
DComponentReference.java170 StringBuilder stringBuilder = new StringBuilder("ComponentReference{"); in toString() local
171 stringBuilder.append("package=" + mPackage); in toString()
172 stringBuilder.append(", component=" + mClassName); in toString()
173 stringBuilder.append("}"); in toString()
174 return stringBuilder.toString(); in toString()
DPackage.java860 StringBuilder stringBuilder = new StringBuilder("PackageReference{"); in toString() local
861 stringBuilder.append("packageName=" + mPackageName); in toString()
862 stringBuilder.append("}"); in toString()
863 return stringBuilder.toString(); in toString()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityShortcutSettingsRule.java149 final StringBuilder stringBuilder = new StringBuilder(); in getComponentIdString() local
154 if (stringBuilder.length() != 0) { in getComponentIdString()
155 stringBuilder.append(DELIMITER); in getComponentIdString()
157 stringBuilder.append(componentId); in getComponentIdString()
159 return stringBuilder.toString(); in getComponentIdString()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDeviceOwner.java66 StringBuilder stringBuilder = new StringBuilder("DeviceOwner{"); in toString() local
67 stringBuilder.append("user=").append(user()); in toString()
68 stringBuilder.append(", package=").append(pkg()); in toString()
69 stringBuilder.append(", componentName=").append(componentName()); in toString()
70 stringBuilder.append("}"); in toString()
72 return stringBuilder.toString(); in toString()
DProfileOwner.java197 StringBuilder stringBuilder = new StringBuilder("ProfileOwner{"); in toString() local
198 stringBuilder.append("user=").append(user()); in toString()
199 stringBuilder.append(", package=").append(pkg()); in toString()
200 stringBuilder.append(", componentName=").append(componentName()); in toString()
201 stringBuilder.append("}"); in toString()
203 return stringBuilder.toString(); in toString()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DClassUtils.java135 StringBuilder stringBuilder = new StringBuilder(); in getResrouceContentString() local
141 stringBuilder.append(line); in getResrouceContentString()
145 return stringBuilder.toString(); in getResrouceContentString()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1345 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf1() local
1346 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuilder, 'r')); in testIndexOf1()
1379 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf2() local
1381 TextUtils.indexOf(stringBuilder, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2()
1425 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf3() local
1426 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuilder, 'r', in testIndexOf3()
1451 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf4() local
1452 assertEquals(SEARCH_INDEX, TextUtils.indexOf(stringBuilder, "search")); in testIndexOf4()
1493 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf5() local
1494 assertEquals(INDEX_OF_SECOND_STRING, TextUtils.indexOf(stringBuilder, "string", in testIndexOf5()
[all …]
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java398 final StringBuilder stringBuilder = new StringBuilder(); in ObjectPropertiesTest() local
402 stringBuilder.append(randomLetter(seed)); in ObjectPropertiesTest()
405 mText = stringBuilder.toString(); in ObjectPropertiesTest()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java2382 StringBuilder stringBuilder = new StringBuilder(); in testNetworkSettingsPermission() local
2397 stringBuilder.append("The NETWORK_SETTINGS permission must not be held by " in testNetworkSettingsPermission()
2401 if (stringBuilder.length() > 0) { in testNetworkSettingsPermission()
2402 fail(stringBuilder.toString()); in testNetworkSettingsPermission()