Searched defs:str (Results 76 - 100 of 217) sorted by relevance

123456789

/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipConnectionBase.java144 public void proceedAfterWildChar(String str) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneSwitcherTest.java48 static void failAndStack(String str) { argument
49 fail(str + "\n" + SubscriptionMonitorTest.stack());
101 private void failAndStack(String str) { argument
102 SubscriptionMonitorTest.failAndStack(str);
153 private void log(String str) { argument
154 Rlog.d(LOG_TAG + " " + mTestName, str);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DTelephonyNetworkFactoryTest.java58 private void log(String str) { argument
59 Rlog.d(LOG_TAG + " " + mTestName, str);
/frameworks/rs/cpp/
H A DRenderScript.cpp93 static uint32_t getProp(const char *str) { argument
96 property_get(str, buf, "0");
/frameworks/av/media/libmedia/
H A DIMediaExtractor.cpp195 String8 str = name; local
196 str.append(" for mime ");
197 str.append(mime);
198 str.append(", source ");
199 str.append(sourceDescription);
200 str.append(String8::format(", pid %d: ", owner));
202 str.append("deleted\n");
204 str.append("active\n");
208 str.appendFormat(" track {%s} ", desc.string());
211 str
[all...]
H A DIMediaMetadataRetriever.cpp185 const char* str = reply.readCString(); local
186 if (str != NULL) {
187 String8 value(str);
/frameworks/av/media/mtp/
H A DMtpProperty.h40 char* str; member in struct:android::MtpPropertyValue
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DTypeConverter.h86 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, argument
89 char *literal = strdup(str.c_str());
103 static bool toString(const typename Traits::Type &value, std::string &str);
105 static bool fromString(const std::string &str, typename Traits::Type &result);
107 static void collectionFromString(const std::string &str,
111 static uint32_t maskFromString(const std::string &str, const char *del = "|");
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp241 status_t SoundTrigger::stringToGuid(const char *str, sound_trigger_uuid_t *guid) argument
243 if (str == NULL || guid == NULL) {
249 if (sscanf(str, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
267 status_t SoundTrigger::guidToString(const sound_trigger_uuid_t *guid, char *str, size_t maxLen) argument
269 if (guid == NULL || str == NULL) {
273 snprintf(str, maxLen, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
/frameworks/base/core/java/android/app/usage/
H A DUsageEvents.java249 private int findStringIndex(String str) { argument
250 final int index = Arrays.binarySearch(mStringPool, str);
252 throw new IllegalStateException("String '" + str + "' is not in the string pool");
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java82 String str = nativeGetString(mNative, idx);
83 CharSequence res = str;
85 if (localLOGV) Log.v(TAG, "Got string: " + str);
134 res = applyStyles(str, style, mStyleIDs);
166 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { argument
168 return str;
170 SpannableString buffer = new SpannableString(str);
/frameworks/base/core/java/android/text/
H A DBidiFormatter.java295 * given explicitly by a heuristic to estimate the {@code str}'s directionality.
297 * @param str CharSequence after which the mark may need to appear.
298 * @param heuristic The text direction heuristic that will be used to estimate the {@code str}'s
305 public String markAfter(CharSequence str, TextDirectionHeuristic heuristic) { argument
306 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
308 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
311 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
324 * directionality is given explicitly by a heuristic to estimate the {@code str}'s directionality.
326 * @param str CharSequenc
334 markBefore(CharSequence str, TextDirectionHeuristic heuristic) argument
353 isRtl(String str) argument
360 isRtl(CharSequence str) argument
394 unicodeWrap(@ullable String str, TextDirectionHeuristic heuristic, boolean isolate) argument
403 unicodeWrap(@ullable CharSequence str, TextDirectionHeuristic heuristic, boolean isolate) argument
435 unicodeWrap(String str, TextDirectionHeuristic heuristic) argument
442 unicodeWrap(CharSequence str, TextDirectionHeuristic heuristic) argument
456 unicodeWrap(String str, boolean isolate) argument
463 unicodeWrap(CharSequence str, boolean isolate) argument
474 unicodeWrap(String str) argument
481 unicodeWrap(CharSequence str) argument
520 getExitDir(CharSequence str) argument
537 getEntryDir(CharSequence str) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java389 private void modifyAndAppend(CharSequence str, int modifier) { argument
392 for (int i = 0; i < str.length(); i++) {
393 outputBuilder.append(brokenToLower(str.charAt(i)));
397 for (int i = 0; i < str.length(); i++) {
398 outputBuilder.append(brokenToUpper(str.charAt(i)));
402 for (int i = 0; i < str.length(); i++) {
403 char c = str.charAt(i);
413 outputBuilder.append(str);
/frameworks/base/core/java/android/util/
H A DBase64.java109 * @param str the input String to decode, which is converted to
117 public static byte[] decode(String str, int flags) { argument
118 return decode(str.getBytes(), flags);
H A DEventLog.java207 * @param str A value to log
210 public static native int writeEvent(int tag, String str); argument
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java237 public synchronized void print(String str) { argument
238 builder.append(str);
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java291 private void appendLocked(String str, int i, final int length) throws IOException { argument
297 appendLocked(str, i, next < end ? BUFFER_LEN : (end - i));
307 str.getChars(i, i + length, mText, pos);
471 * @param str
475 public void print(String str) { argument
476 if (str == null) {
477 str = String.valueOf((Object) null);
481 appendLocked(str, 0, str.length());
615 * @param str
619 write(String str) argument
645 write(String str, int offset, int count) argument
[all...]
H A DFastXmlSerializer.java81 private void append(String str, int i, final int length) throws IOException { argument
86 append(str, i, next<end ? BUFFER_LEN : (end-i));
96 str.getChars(i, i+length, mText, pos);
119 private void append(String str) throws IOException { argument
120 append(str, 0, str.length());
/frameworks/base/core/jni/
H A DBindTest.cpp109 char str[4]; local
111 str[0] = a;
112 str[1] = b;
113 str[2] = c;
114 str[3] = 0;
116 RETURN_OBJ(createString(str));
146 /* native void setAll (Object obj, boolean bool, int i, String str, double d, long l) */
155 char *str = JARG_get_cstr_strdup(4); local
162 JOBJ_set_cstr(jthis, offset_mString, str);
163 free(str);
[all...]
H A Dandroid_app_admin_SecurityLog.cpp59 const char *str = value != NULL ? env->GetStringUTFChars(value, NULL) : "NULL"; local
60 uint32_t len = strlen(str);
66 memcpy(&buf[1 + sizeof(len)], str, len);
69 if (value != NULL) env->ReleaseStringUTFChars(value, str);
88 const char *str = item != NULL ? env->GetStringUTFChars((jstring) item, NULL) : "NULL"; local
89 jint len = strlen(str);
93 memcpy(&buf[pos + sizeof(len)], str, len);
95 if (item != NULL) env->ReleaseStringUTFChars((jstring) item, str);
H A Dandroid_database_CursorWindow.cpp273 const char* str, size_t len) {
274 ssize_t size = utf8_to_utf16_length(reinterpret_cast<const uint8_t*>(str), len);
282 utf8_to_utf16_no_null_terminator(reinterpret_cast<const uint8_t*>(str), len,
272 fillCharArrayBufferUTF(JNIEnv* env, jobject bufferObj, const char* str, size_t len) argument
H A Dandroid_util_EventLog.cpp92 const char *str = value != NULL ? env->GetStringUTFChars(value, NULL) : "NULL"; local
93 uint32_t len = strlen(str);
99 memcpy(&buf[1 + sizeof(len)], str, len);
102 if (value != NULL) env->ReleaseStringUTFChars(value, str);
125 const char *str = item != NULL ? env->GetStringUTFChars((jstring) item, NULL) : "NULL"; local
126 jint len = strlen(str);
130 memcpy(&buf[pos + sizeof(len)], str, len);
132 if (item != NULL) env->ReleaseStringUTFChars((jstring) item, str);
/frameworks/base/graphics/java/android/graphics/
H A DRect.java55 static Matcher getMatcher(String str) { argument
56 return FLATTENED_PATTERN.matcher(str);
172 public static Rect unflattenFromString(String str) { argument
173 Matcher matcher = UnflattenHelper.getMatcher(str);
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h71 str.setTo(reinterpret_cast<const char16_t*>(glyphs), glyphCount);
72 glyphs = reinterpret_cast<const glyph_t*>(str.string());
91 String16 str; member in struct:android::uirenderer::ShadowText
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp118 std::unique_ptr<uint16_t[]> TestUtils::asciiToUtf16(const char* str) { argument
119 const int length = strlen(str);
122 utf16.get()[i] = str[i];

Completed in 498 milliseconds

123456789