/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 267 const String8 &string) { 276 // string.size() doesn't count the null termination character. 277 return updateImpl(tag, (const void*)string.string(), string.size() + 1); 266 update(uint32_t tag, const String8 &string) argument
|
/frameworks/av/media/libmedia/ |
H A D | MemoryLeakTrackUtil.cpp | 56 const char *string() const { function in struct:android::MyString8 147 write(fd, result.string(), result.size()); 164 write(fd, result.string(), result.size());
|
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 23 #include <string.h> 91 void NBLog::Writer::log(const char *string) argument 96 size_t length = strlen(string); 100 log(EVENT_STRING, string, length); 225 void NBLog::LockedWriter::log(const char *string) argument 228 Writer::log(string); 441 dprintf(mFd, "%.*s%s %s\n", mIndent, "", timestamp.string(), body.string()); 443 ALOGI("%.*s%s %s", mIndent, "", timestamp.string(), body.string()); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | DecTestBench.c | 20 #include <string.h> 678 void H264SwDecTrace(char *string) argument 687 fwrite(string, 1, strlen(string), fp);
|
H A D | EvaluationTestBench.c | 20 #include <string.h> 276 void H264SwDecTrace(char *string) argument 285 fwrite(string, 1, strlen(string), fp);
|
H A D | H264SwDecApi.c | 77 void H264SwDecTrace(char *string) { argument 78 UNUSED(string);
|
H A D | TestBenchMultipleInstance.c | 23 #include <string.h> 396 void H264SwDecTrace(char *string) argument 405 fwrite(string, 1, strlen(string), fp);
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 96 bool MtpDataPacket::getString(MtpStringBuffer& string) argument 98 return string.readFromPacket(this); 397 void MtpDataPacket::putString(const MtpStringBuffer& string) { 398 string.writeToPacket(this); 402 MtpStringBuffer string(s); 403 string.writeToPacket(this); 406 void MtpDataPacket::putString(const uint16_t* string) { 409 if (string[i]) 416 putUInt16(string[i]); 417 // only terminate with zero if string i [all...] |
H A D | MtpDeviceInfo.cpp | 63 MtpStringBuffer string; local 70 if (!packet.getString(string)) return false; 71 mVendorExtensionDesc = strdup((const char *)string); 85 if (!packet.getString(string)) return false; 86 mManufacturer = strdup((const char *)string); 87 if (!packet.getString(string)) return false; 88 mModel = strdup((const char *)string); 89 if (!packet.getString(string)) return false; 90 mVersion = strdup((const char *)string); 91 if (!packet.getString(string)) retur [all...] |
H A D | MtpObjectInfo.cpp | 59 MtpStringBuffer string; local 78 if (!packet.getString(string)) return false; 79 mName = strdup((const char *)string); 81 if (!packet.getString(string)) return false; 82 if (parseDateTime((const char*)string, time)) 85 if (!packet.getString(string)) return false; 86 if (parseDateTime((const char*)string, time)) 89 if (!packet.getString(string)) return false; 90 mKeywords = strdup((const char *)string);
|
H A D | MtpProperty.cpp | 219 void MtpProperty::setDefaultValue(const uint16_t* string) { argument 221 if (string) { 222 MtpStringBuffer buffer(string); 229 void MtpProperty::setCurrentValue(const uint16_t* string) { argument 231 if (string) { 232 MtpStringBuffer buffer(string);
|
H A D | MtpServer.cpp | 439 MtpStringBuffer string; local 457 string.set(""); 460 string.set("microsoft.com: 1.0; android.com: 1.0;"); 462 mData.putString(string); // MTP Extensions 473 string.set(prop_value); 474 mData.putString(string); // Manufacturer 477 string.set(prop_value); 478 mData.putString(string); // Model 479 string.set("1.0"); 480 mData.putString(string); // Devic 531 MtpStringBuffer string; local [all...] |
H A D | MtpStorageInfo.cpp | 49 MtpStringBuffer string; local 59 if (!packet.getString(string)) return false; 60 mStorageDescription = strdup((const char *)string); 61 if (!packet.getString(string)) return false; 62 mVolumeIdentifier = strdup((const char *)string);
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 517 char string[COMMAND_MAX]; local 520 strcpy(string, "INITIAL"); 523 strcpy(string, "HOT_IDLE"); 526 strcpy(string, "COLD_IDLE"); 529 strcpy(string, "EXIT"); 532 strcpy(string, "MIX"); 535 strcpy(string, "WRITE"); 538 strcpy(string, "MIX_WRITE"); 541 snprintf(string, COMMAND_MAX, "%d", mCommand); 551 string, mWriteSequenc [all...] |
H A D | test-resample.cpp | 21 #include <string.h> 67 int parseCSV(const char *string, Vector<int>& values) argument 72 for (const char *p = string; ; ) {
|
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 51 static inline int parseCSV(const char *string, std::vector<int>& values) argument 56 for (const char *p = string; ; ) { 66 values[0] = atoi(p = string);
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 261 // the string sets... not yet implemented. 263 private static int findStringInSet(String[] set, String string, argument 268 if (set[i].equals(string)) return i; 273 private static String[] addStringToSet(String[] set, String string, argument 275 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; 278 set[0] = string; 284 set[N] = string; 292 set[N] = string; 297 private static String[] removeStringFromSet(String[] set, String string, argument 299 int pos = findStringInSet(set, string, length [all...] |
/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 44 * // name now contains "Joe User". (The string is first decoded, which 45 * // converts the '+' to a ' '. Then the string is sanitized, which 343 * Trim whitespace from the beginning and end of a string. 347 * @param value the string to trim 348 * @return the trimmed string 594 * treated as if the query portion is an empty string. 610 * Parse a query. A query string is any number of parameter-value clauses 613 * equal sign is missing, the value is assumed to be the empty string. 829 * Unescape an escaped string. 837 * @param string th 840 unescape(String string) argument [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | SslCertificate.java | 297 * @return A string representation of this certificate for debugging 307 private static Date parseDate(String string) { argument 309 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).parse(string); 316 * Format a date as an ISO 8601 string, return "" for a null date 365 * Creates a new {@code DName} from a string. The attributes 407 // thrown if there is an error parsing the string 499 * Formats the certificate date to a properly localized date string. 500 * @return Properly localized version of the certificate date string and
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 546 public String string; field in class:BatteryStats.HistoryTag 552 string = o.string; 558 string = _string; 564 dest.writeString(string); 569 string = src.readString(); 582 if (!string.equals(that.string)) return false; 589 int result = string.hashCode(); 3437 pw.print(wakelockTag.string); [all...] |
H A D | FileUtils.java | 280 * Writes string to file. Basically same as "echo -n $string > $filename" 283 * @param string 286 public static void stringToFile(String filename, String string) throws IOException { argument 289 out.write(string);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobId.java | 88 * Flattens this id to a string. 99 * Unflattens a print job id from a string. 101 * @string The string. 102 * @return The unflattened id, or null if the string is malformed. 106 public static PrintJobId unflattenFromString(String string) { argument 107 return new PrintJobId(string);
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 61 * The value is a unique identification string that will be used to 156 * @param title Title for the bookmark. Can be null or empty string. 157 * @param url Url for the bookmark. Can be null or empty string. 192 * Sends the given string using an Intent with {@link Intent#ACTION_SEND} and a mime type 193 * of text/plain. The string is put into {@link Intent#EXTRA_TEXT}. 196 * @param string the string to send 198 public static final void sendString(Context context, String string) { argument 199 sendString(context, string, context.getString(com.android.internal.R.string [all...] |
/frameworks/base/core/java/android/security/ |
H A D | IKeystoreService.java | 653 public int is_hardware_backed(String string) throws RemoteException; argument
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 263 * from the source string. This is different than simply calling 291 final CharSequence delimiter = Resources.getSystem().getText(R.string.list_delimeter); 296 * Returns a string containing the tokens joined by delimiters. 315 * Returns a string containing the tokens joined by delimiters. 334 * String.split() returns [''] when the string to be split is empty. This returns []. This does 337 * @param text the string to split 352 * Splits a string on a pattern. String.split() returns [''] when the string to be 354 * @param text the string to split 379 * // Once per string t 387 setString(String string) argument 415 setString(String string) argument [all...] |