Searched refs:str (Results 1 - 25 of 306) sorted by relevance

1234567891011>>

/frameworks/base/tools/split-select/
H A DRule.cpp25 inline static void indentStr(String8& str, int indent) { argument
27 str.append(" ");
43 String8 str; local
44 indentStr(str, indent);
45 str.append("{\n");
47 indentStr(str, indent);
48 str.append("\"op\": \"");
51 str.append("ALWAYS_TRUE");
54 str.append("GREATER_THAN");
57 str
[all...]
/frameworks/base/tools/aapt/
H A DAaptConfig.h37 bool parse(const android::String8& str, ConfigDescription* out = NULL);
45 bool parseCommaSeparatedList(const android::String8& str, std::set<ConfigDescription>* outSet);
55 bool parseMcc(const char* str, android::ResTable_config* out = NULL);
56 bool parseMnc(const char* str, android::ResTable_config* out = NULL);
57 bool parseLayoutDirection(const char* str, android::ResTable_config* out = NULL);
58 bool parseSmallestScreenWidthDp(const char* str, android::ResTable_config* out = NULL);
59 bool parseScreenWidthDp(const char* str, android::ResTable_config* out = NULL);
60 bool parseScreenHeightDp(const char* str, android::ResTable_config* out = NULL);
61 bool parseScreenLayoutSize(const char* str, android::ResTable_config* out = NULL);
62 bool parseScreenLayoutLong(const char* str, androi
[all...]
/frameworks/base/tools/aapt/tests/
H A DTestHelper.h27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { argument
28 return stream << str.string();
/frameworks/base/core/java/android/net/
H A DDhcpInfo.java53 StringBuffer str = new StringBuffer();
55 str.append("ipaddr "); putAddress(str, ipAddress);
56 str.append(" gateway "); putAddress(str, gateway);
57 str.append(" netmask "); putAddress(str, netmask);
58 str.append(" dns1 "); putAddress(str, dns1);
59 str
[all...]
/frameworks/compile/libbcc/include/bcc/Support/
H A DProperties.h27 static inline uint32_t getProperty(const char *str) { argument
30 property_get(str, buf, "0");
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DDurationTest.java26 private void verifyDuration(String str, argument
31 duration.parse(str);
33 assertEquals("Duration sign is not equal for " + str, sign, duration.sign);
34 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks);
35 assertEquals("Duration days is not equal for " + str, days, duration.days);
36 assertEquals("Duration hours is not equal for " + str, hours, duration.hours);
37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes);
38 assertEquals("Duration seconds is not equal for " + str, seconds, duration.seconds);
/frameworks/wilhelm/src/
H A Dtrace.c49 const char *str = slesutResultToString(result); local
50 if (NULL != str) {
51 SL_LOGW("Leaving %s (%s)", function, str);
112 const char *str = slesutResultToString(result); local
114 if (NULL != str) {
116 &underscore[1], str);
122 if (NULL != str) {
123 SL_LOGW("Leaving %s (%s)", function, str);
/frameworks/base/core/java/android/util/
H A DAtomicFile.java100 FileOutputStream str = null;
102 str = new FileOutputStream(mBaseName);
113 str = new FileOutputStream(mBaseName);
118 return str;
127 public void finishWrite(FileOutputStream str) { argument
128 if (str != null) {
129 FileUtils.sync(str);
131 str.close();
144 public void failWrite(FileOutputStream str) { argument
145 if (str !
[all...]
H A DPrefixPrinter.java47 public void println(String str) { argument
48 mPrinter.println(mPrefix + str);
H A DSpline.java216 StringBuilder str = new StringBuilder();
218 str.append("MonotoneCubicSpline{[");
221 str.append(", ");
223 str.append("(").append(mX[i]);
224 str.append(", ").append(mY[i]);
225 str.append(": ").append(mM[i]).append(")");
227 str.append("]}");
228 return str.toString();
279 StringBuilder str = new StringBuilder();
281 str
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java68 FileOutputStream str = null;
70 str = new FileOutputStream(mBaseName);
81 str = new FileOutputStream(mBaseName);
86 return str;
89 public void finishWrite(FileOutputStream str) { argument
90 if (str != null) {
91 FileUtils.sync(str);
93 str.close();
101 public void failWrite(FileOutputStream str) { argument
102 if (str !
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java98 FileOutputStream str = null;
100 str = new FileOutputStream(mBaseName);
107 str = new FileOutputStream(mBaseName);
112 return str;
121 public void finishWrite(FileOutputStream str) { argument
122 if (str != null) {
123 sync(str);
125 str.close();
138 public void failWrite(FileOutputStream str) { argument
139 if (str !
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp38 char *str = new char[keyValuePairs.length()+1]; local
42 strcpy(str, keyValuePairs.string());
43 char *pair = strtok_r(str, ";", &last);
65 delete[] str;
75 String8 str = String8(""); local
79 str += mParameters.keyAt(i);
80 str += "=";
81 str += mParameters.valueAt(i);
82 if (i < (size - 1)) str += ";";
84 return str;
100 char str[12]; local
111 char str[23]; local
[all...]
H A DStringArray.cpp45 bool StringArray::push_back(const char* str) { argument
63 int len = strlen(str);
65 memcpy(mArray[mCurrent], str, len+1);
103 void StringArray::setEntry(int idx, const char* str) { argument
107 int len = strlen(str);
109 memcpy(mArray[idx], str, len+1);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_container.h60 char str[H264DEC_TRACE_STR_LEN]; member in struct:__anon593
H A DH264SwDecApi.c68 #define DEC_API_TRC(str) H264SwDecTrace(str)
70 #define DEC_API_TRC(str)
155 sprintf(pDecCont->str, "H264SwDecInit# decInst %p noOutputReordering %d",
157 DEC_API_TRC(pDecCont->str);
171 sprintf(pDecCont->str, "H264SwDecInit# OK: return %p", (void*)pDecCont);
172 DEC_API_TRC(pDecCont->str);
225 sprintf(((decContainer_t*)decInst)->str,
227 DEC_API_TRC(((decContainer_t*)decInst)->str);
294 sprintf(pDecCont->str, "H264SwDecReleas
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.h11 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String8& str) { argument
12 return out << str.string();
15 static inline ::std::ostream& operator<<(::std::ostream& out, const android::String16& str) { argument
16 return out << android::String8(str).string();
/frameworks/av/include/media/
H A DStringArray.h39 bool push_back(const char* str);
73 void setEntry(int idx, const char* str);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DDuration.java47 public void parse(String str) throws DateException argument
56 int len = str.length();
64 c = str.charAt(0);
77 c = str.charAt(index);
80 "Duration.parse(str='" + str + "') expected 'P' at index="
84 c = str.charAt(index);
91 c = str.charAt(index);
120 "Duration.parse(str='" + str
[all...]
/frameworks/base/core/java/android/text/
H A DBidiFormatter.java292 * given explicitly by a heuristic to estimate the {@code str}'s directionality.
294 * @param str String after which the mark may need to appear.
295 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s
302 public String markAfter(String str, TextDirectionHeuristic heuristic) { argument
303 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
305 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
308 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
321 * directionality is given explicitly by a heuristic to estimate the {@code str}'s directionality.
323 * @param str Strin
331 markBefore(String str, TextDirectionHeuristic heuristic) argument
350 isRtl(String str) argument
382 unicodeWrap(String str, TextDirectionHeuristic heuristic, boolean isolate) argument
412 unicodeWrap(String str, TextDirectionHeuristic heuristic) argument
425 unicodeWrap(String str, boolean isolate) argument
436 unicodeWrap(String str) argument
471 getExitDir(String str) argument
488 getEntryDir(String str) argument
[all...]
/frameworks/support/v4/java/android/support/v4/text/
H A DBidiFormatter.java288 * given explicitly by a heuristic to estimate the {@code str}'s directionality.
290 * @param str String after which the mark may need to appear.
291 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s
296 private String markAfter(String str, TextDirectionHeuristicCompat heuristic) { argument
297 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
299 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
302 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
315 * directionality is given explicitly by a heuristic to estimate the {@code str}'s directionality.
317 * @param str Strin
323 markBefore(String str, TextDirectionHeuristicCompat heuristic) argument
342 isRtl(String str) argument
373 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic, boolean isolate) argument
402 unicodeWrap(String str, TextDirectionHeuristicCompat heuristic) argument
415 unicodeWrap(String str, boolean isolate) argument
426 unicodeWrap(String str) argument
461 getExitDir(String str) argument
478 getEntryDir(String str) argument
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
H A Dpvmp3_mdct_18_gcc.s83 str r9,[r0],#4
87 str lr,[r1],#-4
99 str r0,[r5,#0x40]
102 str r0,[r5,#0x38]
105 str r1,[r5,#0x30]
108 str r12,[r5,#0x28]
110 str r12,[r5,#0x20]
112 str r12,[r5,#0x18]
114 str r12,[r5,#0x10]
116 str r1
[all...]
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp36 String8 str(message);
37 ALOGD("Alert: %s", str.string());
40 String8 str(message);
41 ALOGE("Error: %s", str.string());
50 const jchar* str = env->GetStringCritical(jstr, 0); local
51 String16 str16(str, env->GetStringLength(jstr));
52 env->ReleaseStringCritical(jstr, str);
57 const char16_t* str = string.string(); local
60 return env->NewString(str, len);
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp39 ScopedUtfChars str(env, lang);
40 fontLanguage = FontLanguage(str.c_str(), str.size());
59 ScopedUtfChars str(env, path);
60 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str());
62 ALOGE("addFont failed to create font %s", str.c_str());
72 ScopedUtfChars str(env, path);
73 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str());
75 ALOGE("addFont failed to create font %s", str.c_str());
95 ScopedUtfChars str(en
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DNetworkState.java141 StringBuffer str = new StringBuffer ("States: ");
142 str.append(printStates());
144 str.append(String.format(" Initial state should be CONNECTED, but it is %s.",
146 mReason = str.toString();
151 str.append(String.format(" Last state should be DISCONNECTED, but it is %s",
153 mReason = str.toString();
167 str.append(String.format(" Transition state from %s to %s is not valid",
169 mReason = str.toString();
173 mReason = str.toString();
182 StringBuffer str
[all...]

Completed in 676 milliseconds

1234567891011>>