Lines Matching refs:stringBuilder
694 StringBuilder stringBuilder = new StringBuilder();
695 appendEventTypes(stringBuilder, eventTypes);
696 stringBuilder.append(", ");
697 appendPackageNames(stringBuilder, packageNames);
698 stringBuilder.append(", ");
699 appendFeedbackTypes(stringBuilder, feedbackType);
700 stringBuilder.append(", ");
701 stringBuilder.append("notificationTimeout: ").append(notificationTimeout);
702 stringBuilder.append(", ");
703 appendFlags(stringBuilder, flags);
704 stringBuilder.append(", ");
705 stringBuilder.append("id: ").append(mId);
706 stringBuilder.append(", ");
707 stringBuilder.append("resolveInfo: ").append(mResolveInfo);
708 stringBuilder.append(", ");
709 stringBuilder.append("settingsActivityName: ").append(mSettingsActivityName);
710 stringBuilder.append(", ");
711 appendCapabilities(stringBuilder, mCapabilities);
712 return stringBuilder.toString();
715 private static void appendFeedbackTypes(StringBuilder stringBuilder, int feedbackTypes) {
716 stringBuilder.append("feedbackTypes:");
717 stringBuilder.append("[");
720 stringBuilder.append(feedbackTypeToString(feedbackTypeBit));
723 stringBuilder.append(", ");
726 stringBuilder.append("]");
729 private static void appendPackageNames(StringBuilder stringBuilder, String[] packageNames) {
730 stringBuilder.append("packageNames:");
731 stringBuilder.append("[");
735 stringBuilder.append(packageNames[i]);
737 stringBuilder.append(", ");
741 stringBuilder.append("]");
744 private static void appendEventTypes(StringBuilder stringBuilder, int eventTypes) {
745 stringBuilder.append("eventTypes:");
746 stringBuilder.append("[");
749 stringBuilder.append(AccessibilityEvent.eventTypeToString(eventTypeBit));
752 stringBuilder.append(", ");
755 stringBuilder.append("]");
758 private static void appendFlags(StringBuilder stringBuilder, int flags) {
759 stringBuilder.append("flags:");
760 stringBuilder.append("[");
763 stringBuilder.append(flagToString(flagBit));
766 stringBuilder.append(", ");
769 stringBuilder.append("]");
772 private static void appendCapabilities(StringBuilder stringBuilder, int capabilities) {
773 stringBuilder.append("capabilities:");
774 stringBuilder.append("[");
777 stringBuilder.append(capabilityToString(capabilityBit));
780 stringBuilder.append(", ");
783 stringBuilder.append("]");
794 StringBuilder builder = new StringBuilder();