/frameworks/av/media/mtp/ |
H A D | MtpObjectInfo.cpp | 59 MtpStringBuffer string; local 78 packet.getString(string); 79 mName = strdup((const char *)string); 81 packet.getString(string); 82 if (parseDateTime((const char*)string, time)) 85 packet.getString(string); 86 if (parseDateTime((const char*)string, time)) 89 packet.getString(string); 90 mKeywords = strdup((const char *)string);
|
H A D | MtpProperty.cpp | 206 void MtpProperty::setDefaultValue(const uint16_t* string) { argument 208 if (string) { 209 MtpStringBuffer buffer(string); 216 void MtpProperty::setCurrentValue(const uint16_t* string) { argument 218 if (string) { 219 MtpStringBuffer buffer(string);
|
H A D | MtpServer.cpp | 423 MtpStringBuffer string; local 441 string.set(""); 444 string.set("microsoft.com: 1.0; android.com: 1.0;"); 446 mData.putString(string); // MTP Extensions 457 string.set(prop_value); 458 mData.putString(string); // Manufacturer 461 string.set(prop_value); 462 mData.putString(string); // Model 463 string.set("1.0"); 464 mData.putString(string); // Devic 512 MtpStringBuffer string; local [all...] |
H A D | MtpStorageInfo.cpp | 47 MtpStringBuffer string; local 57 packet.getString(string); 58 mStorageDescription = strdup((const char *)string); 59 packet.getString(string); 60 mVolumeIdentifier = strdup((const char *)string);
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CameraMetadata.cpp | 167 const String8 &string) { 172 return update(tag, (const void*)string.string(), string.size()); 166 update(uint32_t tag, const String8 &string) argument
|
/frameworks/base/cmds/service/ |
H A D | service.cpp | 14 #include <string.h> 20 void writeString16(Parcel& parcel, const char* string) argument 22 if (string != NULL) 24 parcel.writeString16(String16(string)); 141 aerr << "service: no string supplied for 's16'" << endl; 267 " s16: Write the UTF-16 string STR into the send parcel.\n";
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 244 // the string sets... not yet implemented. 246 private static int findStringInSet(String[] set, String string, argument 251 if (set[i].equals(string)) return i; 256 private static String[] addStringToSet(String[] set, String string, argument 258 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; 261 set[0] = string; 267 set[N] = string; 275 set[N] = string; 280 private static String[] removeStringFromSet(String[] set, String string, argument 282 int pos = findStringInSet(set, string, length [all...] |
/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 43 * // name now contains "Joe User". (The string is first decoded, which 44 * // converts the '+' to a ' '. Then the string is sanitized, which 342 * Trim whitespace from the beginning and end of a string. 346 * @param value the string to trim 347 * @return the trimmed string 593 * treated as if the query portion is an empty string. 609 * Parse a query. A query string is any number of parameter-value clauses 612 * equal sign is missing, the value is assumed to be the empty string. 828 * Unescape an escaped string. 836 * @param string th 839 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 392 // thrown if there is an error parsing the string 484 * Formats the certificate date to a properly localized date string. 485 * @return Properly localized version of the certificate date string and
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 198 * Writes string to file. Basically same as "echo -n $string > $filename" 201 * @param string 204 public static void stringToFile(String filename, String string) throws IOException { argument 207 out.write(string);
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 60 * The value is a unique identification string that will be used to 155 * @param title Title for the bookmark. Can be null or empty string. 156 * @param url Url for the bookmark. Can be null or empty string. 191 * Sends the given string using an Intent with {@link Intent#ACTION_SEND} and a mime type 192 * of text/plain. The string is put into {@link Intent#EXTRA_TEXT}. 195 * @param string the string to send 197 public static final void sendString(Context context, String string) { argument 198 sendString(context, string, context.getString(com.android.internal.R.string [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 246 * from the source string. This is different than simply calling 274 final CharSequence delimiter = Resources.getSystem().getText(R.string.list_delimeter); 279 * Returns a string containing the tokens joined by delimiters. 298 * Returns a string containing the tokens joined by delimiters. 317 * String.split() returns [''] when the string to be split is empty. This returns []. This does 320 * @param text the string to split 335 * Splits a string on a pattern. String.split() returns [''] when the string to be 337 * @param text the string to split 362 * // Once per string t 370 setString(String string) argument 398 setString(String string) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 118 * malformed JSON string will fail with an {@link IllegalStateException}. 131 * A string containing a full set of spaces for a single level of 156 * Sets the indentation string to be repeated for each level of indentation 161 * @param indent a string containing only whitespace. 289 string(name); 296 * @param value the literal string value, or null to encode a null literal. 304 string(value); 369 String string = value.toString(); 371 (string.equals("-Infinity") || string 400 private void string(String value) throws IOException { method in class:JsonWriter [all...] |
H A D | TypedValue.java | 33 /** The <var>string</var> field holds string data. In addition, if 34 * <var>data</var> is non-zero then it is the string block 35 * index of the string and <var>assetCookie</var> is the set of 36 * assets the string came from. */ 159 /** If the value holds a string, this is it. */ 160 public CharSequence string; field in class:TypedValue 402 * string value. For example, a color type will be converted to a 403 * string of the form #aarrggbb. 405 * @return CharSequence The coerced string valu [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 116 private void escapeAndAppendString(final String string) throws IOException { argument 117 final int N = string.length(); 123 char c = string.charAt(pos); 127 if (lastPos < pos) append(string, lastPos, pos-lastPos); 131 if (lastPos < pos) append(string, lastPos, pos-lastPos);
|
H A D | StateMachine.java | 518 * @return as string 701 * Convert StateInfo to string 1371 * Add the string to LogRecords. 1373 * @param string 1375 protected void addLogRec(String string) { argument 1376 mSmHandler.mLogRecords.add(null, string, null, null); 1380 * Add the string and state to LogRecords 1382 * @param string 1385 protected void addLogRec(String string, State state) { argument 1386 mSmHandler.mLogRecords.add(null, string, stat [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 543 * Compute the password quality from the given password string. 750 * @param string The pattern serialized with {@link #patternToString} 753 public static List<LockPatternView.Cell> stringToPattern(String string) { argument 756 final byte[] bytes = string.getBytes(); 767 * @return The pattern in string form. 844 Log.w(TAG, "Failed to encode string because of missing algorithm: " + algo); 1029 * @return A formatted string of the next alarm (for showing on the lock screen), 1229 Log.e(TAG, "Couldn't write string " + secureSettingKey + re); 1261 * @param upperCase if true, converts button label string to upper case 1275 textId = R.string [all...] |
/frameworks/base/core/java/com/android/server/ |
H A D | NetworkManagementSocketTagger.java | 137 public static int kernelToTag(String string) { argument 138 int length = string.length(); 140 return Long.decode(string.substring(0, length - 8)).intValue();
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES20.cpp | 4446 /* void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint * length ) */ 4450 (JNIEnv *_env, jobject _this, jint shader, jstring string) { 4452 if (!string) { 4453 jniThrowException(_env, "java/lang/IllegalArgumentException", "string == null"); 4457 const char* nativeString = _env->GetStringUTFChars(string, 0); 4460 _env->ReleaseStringUTFChars(string, nativeString); 4449 android_glShaderSource(JNIEnv *_env, jobject _this, jint shader, jstring string) argument
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4PSW_MemoryInterface.c | 34 * M4OSA_Char* string) 39 * @param string (IN): description of the allocated block (null terminated) 46 M4OSA_Char* string) 44 M4OSA_32bitAlignedMalloc(M4OSA_UInt32 size, M4OSA_CoreID coreID, M4OSA_Char* string) argument
|
/frameworks/av/media/libmedia/ |
H A D | MemoryLeakTrackUtil.cpp | 55 const char *string() const { function in struct:android::MyString8 161 write(fd, result.string(), result.size());
|