/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallStateException.java | 30 CallStateException(String string) argument 32 super(string);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLException.java | 30 public GLException(final int error, final String string) { argument 31 super(string);
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
H A D | BuildTest.java | 38 private static void assertNotEmpty(String message, String string) { argument 39 //Log.i(TAG, "" + message + ": " + string); 40 assertNotNull(message, string); 41 assertFalse(message, string.equals("")); 48 private static void assertNotEmpty(String string) { argument 49 assertNotEmpty(null, string); 123 // * treat it as a string.
|
H A D | SuggestionProvider.java | 80 private void addRow(MatrixCursor cursor, String string) { argument 82 cursor.newRow().add(id).add(string).add(Intent.ACTION_SEARCH).add(string);
|
H A D | TextUtilsTest.java | 180 // replacement with empty string 215 // A single trailing emtpy string should be ignored. 219 private void stringSplitterTestHelper(String string, String[] expectedStrings) { argument 221 splitter.setString(string); 323 // Does the output string actually fit in the space?
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | ustring.h | 14 #include <stdarg.h> // for va_list, va_start, and va_end (in string::format) 18 /// \class string ustring.h ustl.h 23 /// An STL container for text string manipulation. 25 /// - string is a class, not a template. Wide characters are assumed to be 37 class string : public memblock { class in namespace:ustl 53 static const uoff_t npos = static_cast<uoff_t>(-1); ///< Value that means the end of string. 56 static const char empty_string [size_Terminator]; ///< An empty string. 58 string (void); 59 string (const string 178 inline string::string (const cmemlink& s) function in class:ustl::string 185 inline string::string (const string& s, uoff_t o, size_type n) function in class:ustl::string 192 inline string::string (const_pointer s, size_type len) function in class:ustl::string 199 inline string::string (const_pointer s1, const_pointer s2) function in class:ustl::string [all...] |
H A D | ustring.cpp | 16 #include <stdio.h> // for vsnprintf (in string::format) 24 const uoff_t string::npos; 25 const string::size_type string::size_Terminator; 26 const string::value_type string::c_Terminator; 27 const char string::empty_string[string::size_Terminator] = ""; 29 typedef utf8in_iterator<string::const_iterator> utf8icstring_iterator; 30 typedef utf8in_iterator<string 36 string::string (void) function in class:ustl::string 43 string::string (const string& s) function in class:ustl::string 53 string::string (const_pointer s) function in class:ustl::string 62 string::string (size_type n, value_type c) function in class:ustl::string [all...] |
/frameworks/base/include/utils/ |
H A D | String16.h | 32 // Standard string functions on char16 strings. 45 // your string is not nul-terminated as it will have the 61 //! This is a string holding UTF-16 characters. 78 inline const char16_t* string() const; 152 inline const char16_t* String16::string() const function in class:android::String16
|
H A D | String8.h | 27 #include <string.h> 40 * Returns the length of "src" when "src" is valid UTF-8 string. 41 * Returns 0 if src is NULL, 0-length string or non UTF-8 string. 46 * with string which may not be valid UTF-8 with valid codepoint (form 0 to 48 * other functions do not check whether the string is valid UTF-8 or not. 76 * Stores a UTF-32 string converted from "src" in "dst", if "dst_length" is not 77 * large enough to store the string, the part of the "src" string is stored 79 * Returns the size actually used for storing the string 322 inline const char* String8::string() const function in class:android::String8 [all...] |
/frameworks/base/tools/localize/ |
H A D | localize_test.cpp | 9 test_filename(const string& file, const string& locale, const string& expected) 11 string result = translated_file_name(file, locale); 48 return_false(const string&, const TransUnit& unit, void* cookie) argument 121 map<string,Settings> settings; 122 map<string,Settings>::iterator it; 137 for (vector<string>::const_iterator app=setting.apps.begin(); 178 string newString = xliff->ToString();
|
H A D | res_check.cpp | 13 do_rescheck(const vector<string>& files) 21 const string filename = files[i]; 50 contains_percent(const string& str) 71 is_xliff_block(const string& ns, const string& name) 81 scan_for_unguarded_format(const SourcePos& pos, const string& string) argument 83 bool containsPercent = contains_percent(string); 85 pos.Error("unguarded percent: '%s'\n", string.c_str());
|
H A D | XLIFFFile.cpp | 37 get_unique_node(const XMLNode* parent, const string& ns, const string& name, bool required) 55 XLIFFFile::Parse(const string& filename) 69 string datatype = file->GetAttribute("", "datatype", ""); 70 string originalFile = file->GetAttribute("", "original", ""); 92 string rawID = transUnit->GetAttribute("", "id", ""); 97 string id; 156 const string& currentVersion) 165 set<string> 168 set<string> resul 224 Filter(bool (func)const string&,const TransUnit&,void*), void* cookie) argument 258 Map(void (*func)(const string&,TransUnit*,void*), void* cookie) argument [all...] |
H A D | localize.cpp | 17 #include <string.h> 26 read_settings(const string& filename, map<string,Settings>* result, const string& rootDir) 64 string dir = appNode->GetAttribute("", "dir", ""); 89 string f = reject.file; 115 ValuesFile_to_XLIFFFile(const ValuesFile* values, XLIFFFile* xliff, const string& englishFilename) 126 contains_reject(const Settings& settings, const string& file, const TransUnit& tu) 128 const string name = tu.id; 158 * The first four are cases where, whatever happened in the past, the string is 477 pseudolocalize_trans_unit(const string&file, TransUnit* unit, void* cookie) argument [all...] |
/frameworks/base/cmds/service/ |
H A D | service.cpp | 14 #include <string.h> 20 void writeString16(Parcel& parcel, const char* string) argument 22 if (string != NULL) 24 parcel.writeString16(String16(string)); 141 aerr << "service: no string supplied for 's16'" << endl; 267 " s16: Write the UTF-16 string STR into the send parcel.\n";
|
/frameworks/base/tests/CoreTests/android/test/suitebuilder/ |
H A D | TestSuiteBuilderTest.java | 159 private Predicate<TestMethod> testsWhoseNameContains(final String string) { argument 162 return testMethod.getName().contains(string);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 87 String16 string; member in struct:XMLNode::attribute_entry
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStateTracker.java | 169 Log.e(TAG, "Invalid buffersize string: " + bufferSizes); 177 * Writes string to file. Basically same as "echo -n $string > $filename" 180 * @param string 183 private void stringToFile(String filename, String string) throws IOException { argument 186 out.write(string);
|
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/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 116 private void escapeAndAppendString(final String string) throws IOException { argument 117 final int N = string.length(); 123 char c = string.charAt(pos); 127 if (lastPos < pos) append(string, lastPos, pos-lastPos); 131 if (lastPos < pos) append(string, lastPos, pos-lastPos);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 181 * @param string The pattern serialized with {@link #patternToString} 184 public static List<LockPatternView.Cell> stringToPattern(String string) { argument 187 final byte[] bytes = string.getBytes(); 198 * @return The pattern in string form. 336 * @return A formatted string of the next alarm (for showing on the lock screen),
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_rights_manager.c | 22 static int32_t drm_getString(uint8_t* string, int32_t len, int32_t handle) argument 27 if (DRM_FILE_FAILURE == DRM_file_read(handle, &string[i], 1)) 29 if (string[i] == '\n') { 30 string[i + 1] = '\0'; 37 static int32_t drm_putString(uint8_t* string, int32_t handle) argument 42 if (string[i] == '\0') 44 if (DRM_FILE_FAILURE == DRM_file_write(handle, &string[i], 1))
|
/frameworks/base/awt/java/awt/font/ |
H A D | TextLayout.java | 128 * Instantiates a new TextLayout object from the specified string and Font. 130 * @param string 131 * the string to be displayed. 138 public TextLayout(String string, Font font, FontRenderContext frc) { argument 139 if (string == null) { 141 throw new IllegalArgumentException(Messages.getString("awt.01", "string")); //$NON-NLS-1$ //$NON-NLS-2$ 149 if (string.length() == 0) { 151 throw new IllegalArgumentException(Messages.getString("awt.02", "string")); //$NON-NLS-1$ //$NON-NLS-2$ 154 AttributedString as = new AttributedString(string); 164 * @param string 172 TextLayout(String string, Map<? extends java.text.AttributedCharacterIterator.Attribute, ?> attributes, FontRenderContext frc) argument [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/opengl/libagl/ |
H A D | state.cpp | 336 const GLubyte* glGetString(GLenum string) argument 338 switch (string) {
|
/frameworks/base/services/java/com/android/server/ |
H A D | WifiWatchdogService.java | 1314 private static void writeString(byte[] buf, int startPos, String string) { argument 1318 buf[pos++] = (byte) string.length(); 1319 for (int i = 0; i < string.length(); i++) { 1320 buf[pos++] = (byte) string.charAt(i);
|