Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUser.java138 StringBuilder stringBuilder = new StringBuilder("User{"); in toString() local
139 stringBuilder.append("id=" + mMutableUser.mId); in toString()
140 stringBuilder.append(", serialNo=" + mMutableUser.mSerialNo); in toString()
141 stringBuilder.append(", name=" + mMutableUser.mName); in toString()
142 stringBuilder.append(", type=" + mMutableUser.mType); in toString()
143 stringBuilder.append(", hasProfileOwner" + mMutableUser.mHasProfileOwner); in toString()
144 stringBuilder.append(", isPrimary=" + mMutableUser.mIsPrimary); in toString()
145 stringBuilder.append(", state=" + mMutableUser.mState); in toString()
146 stringBuilder.append(", parent=" + mMutableUser.mParent); in toString()
147 stringBuilder.append("}"); in toString()
[all …]
DUserType.java82 StringBuilder stringBuilder = new StringBuilder("UserType{"); in toString() local
83 stringBuilder.append("name=" + mMutableUserType.mName); in toString()
84 stringBuilder.append(", baseType=" + mMutableUserType.mBaseType); in toString()
85 stringBuilder.append(", enabled=" + mMutableUserType.mEnabled); in toString()
86 stringBuilder.append(", maxAllowed=" + mMutableUserType.mMaxAllowed); in toString()
87 stringBuilder.append(", maxAllowedPerParent=" + mMutableUserType.mMaxAllowedPerParent); in toString()
88 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/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DProfileOwner.java59 StringBuilder stringBuilder = new StringBuilder("ProfileOwner{"); in toString() local
60 stringBuilder.append("user=").append(user()); in toString()
61 stringBuilder.append(", package=").append(pkg()); in toString()
62 stringBuilder.append(", componentName=").append(componentName()); in toString()
63 stringBuilder.append("}"); in toString()
65 return stringBuilder.toString(); in toString()
DDeviceOwner.java58 StringBuilder stringBuilder = new StringBuilder("DeviceOwner{"); in toString() local
59 stringBuilder.append("user=").append(user()); in toString()
60 stringBuilder.append(", package=").append(pkg()); in toString()
61 stringBuilder.append(", componentName=").append(componentName()); in toString()
62 stringBuilder.append("}"); in toString()
64 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/
DPackage.java109 StringBuilder stringBuilder = new StringBuilder("Package{"); in toString() local
110 stringBuilder.append("packageName=" + mMutablePackage.mPackageName); in toString()
111 stringBuilder.append(", installedOnUsers=" + mMutablePackage.mInstalledOnUsers); in toString()
112 stringBuilder.append("}"); in toString()
113 return stringBuilder.toString(); in toString()
DComponentReference.java132 StringBuilder stringBuilder = new StringBuilder("ComponentReference{"); in toString() local
133 stringBuilder.append("package=" + mPackage); in toString()
134 stringBuilder.append(", component=" + mClassName); in toString()
135 stringBuilder.append("}"); in toString()
136 return stringBuilder.toString(); in toString()
DPackageReference.java405 StringBuilder stringBuilder = new StringBuilder("PackageReference{"); in toString() local
406 stringBuilder.append("packageName=" + mPackageName); in toString()
407 stringBuilder.append("}"); in toString()
408 return stringBuilder.toString(); in toString()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityShortcutSettingsRule.java145 final StringBuilder stringBuilder = new StringBuilder(); in getComponentIdString() local
150 if (stringBuilder.length() != 0) { in getComponentIdString()
151 stringBuilder.append(DELIMITER); in getComponentIdString()
153 stringBuilder.append(componentId); in getComponentIdString()
155 return stringBuilder.toString(); in getComponentIdString()
/cts/tests/tests/permission3/PermissionPolicyApp25/src/android/permission3/cts/permissionpolicy/
DTestProtectionFlagsActivity.kt78 val stringBuilder = StringBuilder() in <lambda>() constant
81 stringBuilder.apply { in <lambda>()
106 return stringBuilder.toString() in <lambda>()
/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.java1308 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf1() local
1309 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuilder, 'r')); in testIndexOf1()
1342 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf2() local
1344 TextUtils.indexOf(stringBuilder, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2()
1388 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf3() local
1389 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuilder, 'r', in testIndexOf3()
1414 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf4() local
1415 assertEquals(SEARCH_INDEX, TextUtils.indexOf(stringBuilder, "search")); in testIndexOf4()
1456 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf5() local
1457 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.java1715 StringBuilder stringBuilder = new StringBuilder(); in testNetworkSettingsPermission() local
1730 stringBuilder.append("The NETWORK_SETTINGS permission must not be held by " in testNetworkSettingsPermission()
1734 if (stringBuilder.length() > 0) { in testNetworkSettingsPermission()
1735 fail(stringBuilder.toString()); in testNetworkSettingsPermission()