Searched defs:string (Results 1 - 25 of 64) sorted by relevance

123

/frameworks/base/graphics/java/android/renderscript/
H A DRSDriverException.java25 public RSDriverException(String string) { argument
26 super(string);
H A DRSIllegalArgumentException.java25 public RSIllegalArgumentException(String string) { argument
26 super(string);
H A DRSInvalidStateException.java25 public RSInvalidStateException(String string) { argument
26 super(string);
H A DRSRuntimeException.java26 public RSRuntimeException(String string) { argument
27 super(string);
/frameworks/media/libvideoeditor/osal/src/
H A DM4PSW_MemoryInterface.c34 * 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/base/opengl/tools/glgen/stubs/gles11/
H A DglShaderSource.cpp2 /* void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint * length ) */
6 (JNIEnv *_env, jobject _this, jint shader, jstring string) {
8 if (!string) {
9 jniThrowException(_env, "java/lang/IllegalArgumentException", "string == null");
13 const char* nativeString = _env->GetStringUTFChars(string, 0);
16 _env->ReleaseStringUTFChars(string, nativeString);
5 android_glShaderSource(JNIEnv *_env, jobject _this, jint shader, jstring string) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallStateException.java30 CallStateException(String string) argument
32 super(string);
/frameworks/base/core/tests/coretests/src/android/os/
H A DBuildTest.java37 private static void assertNotEmpty(String message, String string) { argument
38 //Log.i(TAG, "" + message + ": " + string);
39 assertNotNull(message, string);
40 assertFalse(message, string.equals(""));
47 private static void assertNotEmpty(String string) { argument
48 assertNotEmpty(null, string);
/frameworks/base/media/mtp/
H A DMtpDeviceInfo.cpp63 MtpStringBuffer string; local
70 packet.getString(string);
71 mVendorExtensionDesc = strdup((const char *)string);
80 packet.getString(string);
81 mManufacturer = strdup((const char *)string);
82 packet.getString(string);
83 mModel = strdup((const char *)string);
84 packet.getString(string);
85 mVersion = strdup((const char *)string);
86 packet.getString(string);
[all...]
H A DMtpStorageInfo.cpp47 MtpStringBuffer string; local
57 packet.getString(string);
58 mStorageDescription = strdup((const char *)string);
59 packet.getString(string);
60 mVolumeIdentifier = strdup((const char *)string);
H A DMtpObjectInfo.cpp59 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);
/frameworks/base/opengl/java/android/opengl/
H A DGLException.java30 public GLException(final int error, final String string) { argument
31 super(string);
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DProcFileReaderTest.java134 fail("somehow read a string value?");
155 private static ProcFileReader buildReader(String string) throws IOException { argument
156 return buildReader(string, 2048);
159 private static ProcFileReader buildReader(String string, int bufferSize) throws IOException { argument
161 new ByteArrayInputStream(string.getBytes(Charsets.US_ASCII)), bufferSize);
/frameworks/compile/slang/tests/
H A Dtest.py14 import string namespace
50 return string.strip(line[2:])
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java80 private void addRow(MatrixCursor cursor, String string) { argument
82 cursor.newRow().add(id).add(string).add(Intent.ACTION_SEARCH).add(string);
/frameworks/base/include/utils/
H A DString16.h39 //! This is a string holding UTF-16 characters.
56 inline const char16_t* string() const;
130 inline const char16_t* String16::string() const function in class:android::String16
H A DString8.h24 #include <string.h> // for strcmp
34 //! This is a string holding UTF-8 characters. Does not allow the value more
56 inline const char* string() const;
129 * These methods operate on the string as if it were a path name.
197 String8& appendPath(const String8& leaf) { return appendPath(leaf.string()); }
200 * Like appendPath(), but does not affect this string. Returns a new one instead.
204 String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); }
207 * Converts all separators in this string to /, the default path separator.
241 inline const char* String8::string() const function in class:android::String8
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorOsal.cpp226 static char string[VIDEOEDIT_OSAL_RESULT_STRING_MAX] = ""; local
247 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1,
249 pString = string;
/frameworks/base/tools/localize/
H A Dlocalize_test.cpp10 test_filename(const string& file, const string& locale, const string& expected)
12 string result = translated_file_name(file, locale);
49 return_false(const string&, const TransUnit& unit, void* cookie) argument
122 map<string,Settings> settings;
123 map<string,Settings>::iterator it;
138 for (vector<string>::const_iterator app=setting.apps.begin();
179 string newString = xliff->ToString();
H A Dres_check.cpp13 do_rescheck(const vector<string>& files)
21 const string filename = files[i];
50 contains_percent(const string& str)
71 is_xliff_block(const string& ns, const string& name)
81 scan_for_unguarded_format(const SourcePos& pos, const string& string) argument
83 bool containsPercent = contains_percent(string);
85 pos.Error("unguarded percent: '%s'\n", string.c_str());
/frameworks/base/cmds/service/
H A Dservice.cpp14 #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/util/
H A DJsonWriter.java118 * 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...]
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java136 public static int kernelToTag(String string) { argument
138 return (int) (Long.decode(string) >> 32);
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java222 private static byte[] getBytes(String string) { argument
223 return string.getBytes(Charsets.UTF_8);
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c19 #include <string.h>
77 static void send_string(struct usb_device *device, int index, const char* string) { argument
79 ACCESSORY_SEND_STRING, 0, index, (void *)string, strlen(string) + 1, 0);

Completed in 273 milliseconds

123