/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 60 * The value is a unique identification string that will be used to 155 * @param title Title for the bookmark. Can be null or empty string. 156 * @param url Url for the bookmark. Can be null or empty string. 191 * Sends the given string using an Intent with {@link Intent#ACTION_SEND} and a mime type 192 * of text/plain. The string is put into {@link Intent#EXTRA_TEXT}. 195 * @param string the string to send 197 public static final void sendString(Context context, String string) { argument 198 sendString(context, string, context.getString(com.android.internal.R.string [all...] |
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 33 /** The <var>string</var> field holds string data. In addition, if 34 * <var>data</var> is non-zero then it is the string block 35 * index of the string and <var>assetCookie</var> is the set of 36 * assets the string came from. */ 159 /** If the value holds a string, this is it. */ 160 public CharSequence string; field in class:TypedValue 402 * string value. For example, a color type will be converted to a 403 * string of the form #aarrggbb. 405 * @return CharSequence The coerced string valu [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 549 // The SSID in the configuration is a pure string, need to convert it to a quoted string. 697 * Add quotes around the string. 698 * @param string to convert 699 * @return string with quotes around it 701 protected static String convertToQuotedString(String string) { argument 702 return "\"" + string + "\"";
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 343 const GLubyte* glGetString(GLenum string) argument 345 switch (string) {
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorClasses.cpp | 101 static char string[VIDEOEDIT_JAVA__RESULT_STRING_MAX] = ""; local 103 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1, (M4OSA_Char*)"%d", bitrate); 105 // Return the bitrate string. 106 return(string); 168 static char string[VIDEOEDIT_JAVA__RESULT_STRING_MAX] = "ERR_INTERNAL"; local 170 // Format the unknown error string. 171 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1, (M4OSA_Char*)"ERR_INTERNAL(%s)", 174 // Return the error string [all...] |
/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 43 * // name now contains "Joe User". (The string is first decoded, which 44 * // converts the '+' to a ' '. Then the string is sanitized, which 342 * Trim whitespace from the beginning and end of a string. 346 * @param value the string to trim 347 * @return the trimmed string 593 * treated as if the query portion is an empty string. 609 * Parse a query. A query string is any number of parameter-value clauses 612 * equal sign is missing, the value is assumed to be the empty string. 828 * Unescape an escaped string. 836 * @param string th 839 unescape(String string) argument [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestActivity.java | 568 * is pure string, we need to convert it to quoted string. 709 protected static String convertToQuotedString(String string) { argument 710 return "\"" + string + "\"";
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfigStore.java | 1323 //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...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 423 MtpStringBuffer string; local 441 string.set(""); 444 string.set("microsoft.com: 1.0; android.com: 1.0;"); 446 mData.putString(string); // MTP Extensions 457 string.set(prop_value); 458 mData.putString(string); // Manufacturer 461 string.set(prop_value); 462 mData.putString(string); // Model 463 string.set("1.0"); 464 mData.putString(string); // Devic 512 MtpStringBuffer string; local [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 244 // the string sets... not yet implemented. 246 private static int findStringInSet(String[] set, String string, argument 251 if (set[i].equals(string)) return i; 256 private static String[] addStringToSet(String[] set, String string, argument 258 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; 261 set[0] = string; 267 set[N] = string; 275 set[N] = string; 280 private static String[] removeStringFromSet(String[] set, String string, argument 282 int pos = findStringInSet(set, string, length [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 246 * from the source string. This is different than simply calling 274 final CharSequence delimiter = Resources.getSystem().getText(R.string.list_delimeter); 279 * Returns a string containing the tokens joined by delimiters. 298 * Returns a string containing the tokens joined by delimiters. 317 * String.split() returns [''] when the string to be split is empty. This returns []. This does 320 * @param text the string to split 335 * Splits a string on a pattern. String.split() returns [''] when the string to be 337 * @param text the string to split 362 * // Once per string t 370 setString(String string) argument 398 setString(String string) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 518 * @return as string 701 * Convert StateInfo to string 1371 * Add the string to LogRecords. 1373 * @param string 1375 protected void addLogRec(String string) { argument 1376 mSmHandler.mLogRecords.add(null, string, null, null); 1380 * Add the string and state to LogRecords 1382 * @param string 1385 protected void addLogRec(String string, State state) { argument 1386 mSmHandler.mLogRecords.add(null, string, stat [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 543 * Compute the password quality from the given password string. 750 * @param string The pattern serialized with {@link #patternToString} 753 public static List<LockPatternView.Cell> stringToPattern(String string) { argument 756 final byte[] bytes = string.getBytes(); 767 * @return The pattern in string form. 844 Log.w(TAG, "Failed to encode string because of missing algorithm: " + algo); 1029 * @return A formatted string of the next alarm (for showing on the lock screen), 1229 Log.e(TAG, "Couldn't write string " + secureSettingKey + re); 1261 * @param upperCase if true, converts button label string to upper case 1275 textId = R.string [all...] |
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 55 static String8 getStringValue(JNIEnv* env, jstring string); 74 String8 Utility::getStringValue(JNIEnv* env, jstring string) { argument 77 if (NULL != string && string != env->NewStringUTF("")) { 78 char* bytes = const_cast< char* > (env->GetStringUTFChars(string, NULL)); 85 env->ReleaseStringUTFChars(string, bytes); 170 jstring message = env->NewStringUTF(event.getMessage().string()); 171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string()); 274 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 281 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | KeyguardStatusViewManager.java | 173 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/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 24 #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...] |
H A D | hwcCommit.cpp | 86 #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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsModel.java | 273 mSettingsState.label = r.getString(R.string.quick_settings_settings_label); 351 mAirplaneModeState.label = r.getString(R.string.quick_settings_airplane_mode_label); 362 public static String removeDoubleQuotes(String string) { argument 363 if (string == null) return null; 364 final int length = string.length(); 365 if ((length > 1) && (string.charAt(0) == '"') && (string.charAt(length - 1) == '"')) { 366 return string.substring(1, length - 1); 368 return string; 371 public static String removeTrailingPeriod(String string) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES20.cpp | 4446 /* void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint * length ) */ 4450 (JNIEnv *_env, jobject _this, jint shader, jstring string) { 4452 if (!string) { 4453 jniThrowException(_env, "java/lang/IllegalArgumentException", "string == null"); 4457 const char* nativeString = _env->GetStringUTFChars(string, 0); 4460 _env->ReleaseStringUTFChars(string, nativeString); 4449 android_glShaderSource(JNIEnv *_env, jobject _this, jint shader, jstring string) argument
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 404 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/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 3842 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,
|