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

1234

/frameworks/base/rs/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/native/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/opt/telephony/src/java/com/android/internal/telephony/
H A DCallStateException.java30 CallStateException(String string) argument
32 super(string);
/frameworks/support/v8/renderscript/java/src/android/support/v8/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/av/media/mtp/
H A DMtpDeviceInfo.cpp63 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 DMtpStorageInfo.cpp49 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);
H A DMtpObjectInfo.cpp59 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);
/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/opengl/java/android/opengl/
H A DGLException.java30 public GLException(final int error, final String string) { argument
31 super(string);
/frameworks/base/core/java/android/print/
H A DPrintJobId.java88 * 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/com/android/internal/util/
H A DParcelableString.java27 public String string; field in class:ParcelableString
36 out.writeString(string);
44 ret.string = in.readString();
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pProvDiscEvent.java47 * @param string formats supported include
57 public WifiP2pProvDiscEvent(String string) throws IllegalArgumentException { argument
58 String[] tokens = string.split(" ");
61 throw new IllegalArgumentException("Malformed event " + string);
68 else throw new IllegalArgumentException("Malformed event " + string);
/frameworks/base/core/java/android/util/
H A DSize.java80 * Return the size represented as a string with the format {@code "WxH"}
82 * @return string representation of the size
94 * Parses the specified string as a size value.
106 * where <i>width</i> and <i>height</i> are string integers potentially
115 * @param string the string representation of a size value.
116 * @return the size value represented by {@code string}.
118 * @throws NumberFormatException if {@code string} cannot be parsed
120 * @throws NullPointerException if {@code string} was {@code null}
122 public static Size parseSize(String string) argument
[all...]
H A DSizeF.java90 * Return the size represented as a string with the format {@code "WxH"}
92 * @return string representation of the size
104 * Parses the specified string as a size value.
116 * where <i>width</i> and <i>height</i> are string floats potentially
118 * an {@code 'x'} (such as a float in hexadecimal string format).</p>
126 * @param string the string representation of a size value.
127 * @return the size value represented by {@code string}.
129 * @throws NumberFormatException if {@code string} cannot be parsed
131 * @throws NullPointerException if {@code string} wa
133 parseSizeF(String string) argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DProcFileReaderTest.java134 fail("somehow read a string value?");
169 private static ProcFileReader buildReader(String string) throws IOException { argument
170 return buildReader(string, 2048);
173 private static ProcFileReader buildReader(String string, int bufferSize) throws IOException { argument
175 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$string.class ... android.layoutlib.test.myapplication.R$string extends java.lang.Object { public static final int ...
/frameworks/wilhelm/tests/sandbox/
H A Dobject.c20 #include <string.h>
49 const char *string = slesutObjectIDToString(objectID); local
50 if (NULL != string)
51 printf(" (%s)", string);
/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/libs/androidfw/tests/data/basic/
H A DR.h36 namespace string { namespace in namespace:base::R

Completed in 658 milliseconds

1234