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

123456

/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/libs/gui/
H A DBufferSlot.cpp22 const char* BufferState::string() const { function in class:android::BufferState
/frameworks/base/libs/androidfw/tests/data/lib_two/
H A DR.h27 struct string { struct in struct:com::android::lib_two::R
/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/rs/support/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);
86 if (!packet.getString(string)) return false;
87 mManufacturer = strdup((const char *)string);
89 if (!packet.getString(string)) return false;
90 mModel = strdup((const char *)string);
92 if (!packet.getString(string)) return false;
93 mVersion = strdup((const char *)string);
95 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);
62 if (!packet.getString(string)) return false;
63 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);
82 if (!packet.getString(string)) return false;
83 if (parseDateTime((const char*)string, time))
86 if (!packet.getString(string)) return false;
87 if (parseDateTime((const char*)string, time))
90 if (!packet.getString(string)) return false;
91 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/libs/androidfw/tests/data/lib_one/
H A DR.h40 struct string { struct in namespace:com::android
/frameworks/base/libs/androidfw/tests/data/libclient/
H A DR.h40 struct string { struct in namespace:com::android
/frameworks/base/opengl/java/android/opengl/
H A DGLException.java30 public GLException(final int error, final String string) { argument
31 super(string);
/frameworks/support/compat/java/android/support/v4/graphics/
H A DPaintCompat.java30 * string in a backwards compatible way.
33 * @param string the string to test whether there is glyph support
34 * @return true if the typeface set on the given paint has a glyph for the string
36 public static boolean hasGlyph(@NonNull Paint paint, @NonNull String string) { argument
38 return paint.hasGlyph(string);
40 return PaintCompatApi14.hasGlyph(paint, string);
/frameworks/base/core/java/android/print/
H A DPrintJobId.java90 * Flattens this id to a string.
101 * Unflattens a print job id from a string.
103 * @param string The string.
104 * @return The unflattened id, or null if the string is malformed.
108 public static @NonNull PrintJobId unflattenFromString(@NonNull String string) { argument
109 return new PrintJobId(string);
/frameworks/base/libs/androidfw/tests/data/sparse/
H A DR.h42 struct string { struct in namespace:com::android::sparse
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator_test.cpp37 EXPECT_EQ(std::string("i"), *new_string->value->spans[0].name);
41 EXPECT_EQ(std::string("b"), *new_string->value->spans[1].name);
45 EXPECT_EQ(std::string("b"), *new_string->value->spans[2].name);
55 EXPECT_EQ(std::string("[Ĥéļļö ŵöŕļð¡ one two]"), *new_string->value->str);
82 EXPECT_EQ(std::string("[ɓöļð one]"), *new_string->value->str);
84 EXPECT_EQ(std::string("b"), *new_string->value->spans[0].name);
88 EXPECT_EQ(std::string("i"), *new_string->value->spans[1].name);
104 EXPECT_EQ(std::string("[ɓöļð one]"), *new_string->value->str);
106 EXPECT_EQ(std::string("b"), *new_string->value->spans[0].name);
110 EXPECT_EQ(std::string("
250 auto string = util::make_unique<String>(table->string_pool.MakeRef(original_style.str)); local
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DArraysCheckWidget.java46 for (String string : resources.getStringArray(R.array.string_array)) {
47 addTextView(context, string);
51 private void addTextView(Context context, CharSequence string) { argument
53 textView.setText(string);
/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/opt/telephony/src/java/com/android/internal/telephony/
H A DCallStateException.java38 CallStateException(String string) argument
40 super(string);
44 CallStateException(int error, String string) argument
46 super(string);

Completed in 353 milliseconds

123456