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/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/core/java/android/security/keystore/recovery/
H A DX509CertificateParsingUtils.java35 * Decodes an {@link X509Certificate} encoded as a base-64 string.
37 public static X509Certificate decodeBase64Cert(String string) throws CertificateException { argument
39 return decodeCert(decodeBase64(string));
46 * Decodes a base-64 string.
48 * @throws IllegalArgumentException if not a valid base-64 string.
50 private static byte[] decodeBase64(String string) { argument
51 return Base64.getDecoder().decode(string);
/frameworks/base/core/java/com/android/internal/util/dump/
H A DDumpUtils.java26 * Write a string to a proto if the string is not {@code null}.
30 * @param id The proto-id of the string
31 * @param string The string to write
34 long id, @Nullable String string) {
35 if (string != null) {
36 proto.write(idName, id, string);
33 writeStringIfNotNull(@onNull DualDumpOutputStream proto, String idName, long id, @Nullable String string) argument
/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->value);
82 EXPECT_EQ(std::string("[ɓöļð one]"), new_string->value->value);
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->value);
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/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/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);

Completed in 348 milliseconds

123456