/frameworks/base/media/libmedia/ |
H A D | MemoryLeakTrackUtil.cpp | 55 const char *string() const { function in struct:android::MyString8 161 write(fd, result.string(), result.size());
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
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 | 75 void H264SwDecTrace(char *string) { argument
|
H A D | TestBenchMultipleInstance.c | 23 #include <string.h> 396 void H264SwDecTrace(char *string) argument 405 fwrite(string, 1, strlen(string), fp);
|
H A D | DecTestBench.c | 20 #include <string.h> 678 void H264SwDecTrace(char *string) argument 687 fwrite(string, 1, strlen(string), fp);
|
/frameworks/base/media/mtp/ |
H A D | MtpDataPacket.cpp | 86 void MtpDataPacket::getString(MtpStringBuffer& string) argument 88 string.readFromPacket(this); 323 void MtpDataPacket::putString(const MtpStringBuffer& string) { 324 string.writeToPacket(this); 328 MtpStringBuffer string(s); 329 string.writeToPacket(this); 332 void MtpDataPacket::putString(const uint16_t* string) { 335 if (string[i]) 342 putUInt16(string[i]); 343 // only terminate with zero if string i [all...] |
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);
|
/frameworks/base/opengl/libs/EGL/ |
H A D | trace.cpp | 99 const GLchar** string, const GLint* length) { 103 const GLchar* s = string[i]; 189 const GLchar** string = (const GLchar**) va_arg(argp, void*); 193 TraceGLShaderSource(shader, count, string, length); 98 TraceGLShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length) argument
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | TestSuiteBuilderTest.java | 159 private Predicate<TestMethod> testsWhoseNameContains(final String string) { argument 162 return testMethod.getName().contains(string);
|
/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 | 233 * Writes string to file. Basically same as "echo -n $string > $filename" 236 * @param string 239 public static void stringToFile(String filename, String string) throws IOException { argument 242 out.write(string);
|
/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);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 174 // replacement with empty string 209 // A single trailing emtpy string should be ignored. 213 private void stringSplitterTestHelper(String string, String[] expectedStrings) { argument 215 splitter.setString(string); 319 // Does the output string actually fit in the space?
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorJava.cpp | 74 // Get the error string. 318 jstring string = NULL; local 329 // Check if an object containing a string was specified. 332 // Retrieve the string object. 333 string = (jstring)pEnv->GetObjectField(object, stringFieldId); 340 // The string itself was specified. 341 string = (jstring)object; 344 // Check if the string could be retrieved. 345 if (NULL != string) 347 // Get a local copy of the string [all...] |
H A D | VideoEditorClasses.cpp | 101 static char string[VIDEOEDIT_JAVA__RESULT_STRING_MAX] = ""; local 103 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1, (M4OSA_Char*)"%d", bitrate); 105 // Return the bitrate string. 106 return(string); 168 static char string[VIDEOEDIT_JAVA__RESULT_STRING_MAX] = "ERR_INTERNAL"; local 170 // Format the unknown error string. 171 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1, (M4OSA_Char*)"ERR_INTERNAL(%s)", 174 // Return the error string [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_rights_manager.c | 22 static int32_t drm_getString(uint8_t* string, int32_t len, int32_t handle) argument 27 if (DRM_FILE_FAILURE == DRM_file_read(handle, &string[i], 1)) 29 if (string[i] == '\n') { 30 string[i + 1] = '\0'; 37 static int32_t drm_putString(uint8_t* string, int32_t handle) argument 42 if (string[i] == '\0') 44 if (DRM_FILE_FAILURE == DRM_file_write(handle, &string[i], 1))
|
/frameworks/base/opengl/libs/GLES2_dbg/src/ |
H A D | caller.h | 287 const char * string = cmd.data().data(); local 288 dbg->hooks->gl.glShaderSource(cmd.arg0(), 1, &string, NULL);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 88 String16 string; member in struct:XMLNode::attribute_entry
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDevice.java | 35 * The device name is a user friendly string to identify a Wi-Fi p2p device 124 * @param string formats supported include 148 public WifiP2pDevice(String string) throws IllegalArgumentException { argument 149 String[] tokens = string.split(" "); 157 deviceAddress = string; 325 Log.e(TAG, "Failed to parse hex string " + hexString);
|
/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/util/ |
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/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 550 // The SSID in the configuration is a pure string, need to convert it to a quoted string. 685 * Add quotes around the string. 686 * @param string to convert 687 * @return string with quotes around it 689 protected static String convertToQuotedString(String string) { argument 690 return "\"" + string + "\"";
|
/frameworks/base/opengl/libagl/ |
H A D | state.cpp | 342 const GLubyte* glGetString(GLenum string) argument 344 switch (string) {
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfigStore.java | 1351 private static String removeDoubleQuotes(String string) { argument 1352 if (string.length() <= 2) return ""; 1353 return string.substring(1, string.length() - 1); 1356 private static String convertToQuotedString(String string) { argument 1357 return "\"" + string + "\""; 1380 private static int lookupString(String string, String[] strings) { argument 1383 string = string.replace('-', '_'); 1386 if (string [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...] |