Searched defs:string (Results 1 - 25 of 71) sorted by last modified time

123

/frameworks/wilhelm/tests/examples/
H A DxaVideoDecoderCapabilities.cpp19 #include <string.h>
57 // Use a table of [integer, string] entries to map an integer to a string
61 const char *string; member in struct:__anon1692
69 return table[i].string;
75 // Use a table of [integer, table] entries to map a pair of integers to a string
95 // Map a video codec and profile to string
158 // Map a video codec and level to string
/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/support/renderscript/v8/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/opt/telephony/src/java/com/android/internal/telephony/
H A DCallStateException.java30 CallStateException(String string) argument
32 super(string);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java224 private void log(String string) { argument
225 Log.d(LOG_TAG, string);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java404 public Spanned fromHtml(String string); argument
2137 mBuilder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
2164 mBuilder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
/frameworks/native/include/utils/
H A DString16.h40 //! This is a string holding UTF-16 characters.
57 inline const char16_t* string() const;
135 inline const char16_t* String16::string() const function in class:android::String16
H A DString8.h25 #include <string.h> // for strcmp
35 //! This is a string holding UTF-8 characters. Does not allow the value more
57 inline const char* string() const;
130 * These methods operate on the string as if it were a path name.
198 String8& appendPath(const String8& leaf) { return appendPath(leaf.string()); }
201 * Like appendPath(), but does not affect this string. Returns a new one instead.
205 String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); }
208 * Converts all separators in this string to /, the default path separator.
246 inline const char* String8::string() const function in class:android::String8
/frameworks/native/opengl/libagl/
H A Dstate.cpp343 const GLubyte* glGetString(GLenum string) argument
345 switch (string) {
/frameworks/native/opengl/libs/EGL/
H A Dtrace.cpp104 const GLchar** string, const GLint* length) {
108 const GLchar* s = string[i];
194 const GLchar** string = (const GLchar**) va_arg(argp, void*);
198 TraceGLShaderSource(shader, count, string, length);
103 TraceGLShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length) argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp3842 void GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length) { argument
3860 // copy argument string
3864 arg_string->add_intvalue((int)string);
3875 glContext->hooks->gl.glShaderSource(shader, count, string, length);
3880 (void *) string,
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp86 #include <string.h>
188 operator string();
195 Range::operator string()
221 operator string() const;
238 static vector<string> formats;
303 string transformList2str(const list<uint32_t>& transformList);
304 string blendList2str(const list<uint32_t>& blendList);
307 void printOverlapLine(size_t indent, const string formatStr,
344 string str;
362 str += " " + string(arg
[all...]
H A DhwcTestLib.cpp24 #include <string>
156 // Color fraction class to string conversion
157 ColorFract::operator string()
168 // Dimension class to string conversion
169 HwcTestDim::operator string()
192 // Hardware Composer rectangle to string conversion
193 string hwcTestRect2str(const struct hwc_rect& rect)
359 if (string(desc) == string(hwcTestGraphicFormat[n1].desc)) {
383 // a string tha
[all...]
/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/compile/mclinker/lib/Support/
H A DPath.cpp14 #include <string.h>
66 assert(0 && "assign a null or empty string to Path");
84 else if(this->string()[this->native().size()-1] != separator &&
85 pPath.string()[0] != separator) {
101 std::string Path::string() const function in class:Path
108 std::string result = m_PathName;
/frameworks/base/tools/aapt/
H A DXMLNode.h88 String16 string; member in struct:XMLNode::attribute_entry
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java1323 //TODO: convert a hex string that is not UTF-8 decodable to a P-formatted
1324 //supplicant string
1510 // Remove old private_key string so we don't run this again.
1517 private String removeDoubleQuotes(String string) { argument
1518 if (string.length() <= 2) return "";
1519 return string.substring(1, string.length() - 1);
1522 private String convertToQuotedString(String string) { argument
1523 return "\"" + string + "\"";
1546 private int lookupString(String string, Strin argument
[all...]
H A DWifiInfo.java119 * quotation marks. Otherwise, it is returned as a string of hex digits. The
261 * Set the <code>SupplicantState</code> from the string name
283 public static String removeDoubleQuotes(String string) { argument
284 if (string == null) return null;
285 final int length = string.length();
286 if ((length > 1) && (string.charAt(0) == '"') && (string.charAt(length - 1) == '"')) {
287 return string.substring(1, length - 1);
289 return string;
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDevice.java36 * The device name is a user friendly string to identify a Wi-Fi p2p device
113 /** Detailed device string pattern with WFD info
154 * @param string formats supported include
170 public WifiP2pDevice(String string) throws IllegalArgumentException { argument
171 String[] tokens = string.split("[ \n]");
181 deviceAddress = string;
184 match = twoTokenPattern.matcher(string);
191 match = threeTokenPattern.matcher(string);
198 match = detailedDevicePattern.matcher(string);
373 Log.e(TAG, "Failed to parse hex string "
[all...]
H A DWifiP2pProvDiscEvent.java51 * @param string formats supported include
61 public WifiP2pProvDiscEvent(String string) throws IllegalArgumentException { argument
62 String[] tokens = string.split(" ");
65 throw new IllegalArgumentException("Malformed event " + string);
72 else throw new IllegalArgumentException("Malformed event " + string);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardStatusViewManager.java173 mDateFormatString = getContext().getString(R.string.abbrev_wday_month_day_no_year);
194 mEmergencyCallButton.setText(R.string.lockscreen_emergency_call);
222 void setInstructionText(String string) { argument
223 mInstructionText = string;
224 update(INSTRUCTION_TEXT, string);
227 void setCarrierText(CharSequence string) { argument
228 mCarrierText = string;
229 update(CARRIER_TEXT, string);
232 void setOwnerInfo(CharSequence string) { argument
233 mOwnerInfoText = string;
265 update(int what, CharSequence string) argument
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DTestSuiteBuilderTest.java159 private Predicate<TestMethod> testsWhoseNameContains(final String string) { argument
162 return testMethod.getName().contains(string);

Completed in 777 milliseconds

123