/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 174 // replacement with empty string 209 // A single trailing emtpy string should be ignored. 213 private void stringSplitterTestHelper(String string, String[] expectedStrings) { argument 215 splitter.setString(string); 319 // Does the output string actually fit in the space?
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CellularTile.java | 115 : r.getString(R.string.quick_settings_rssi_emergency_only); 119 : r.getString(R.string.accessibility_no_signal); 122 : r.getString(R.string.accessibility_no_data); 124 R.string.accessibility_quick_settings_mobile, 135 public static String removeTrailingPeriod(String string) { argument 136 if (string == null) return null; 137 final int length = string.length(); 138 if (string.endsWith(".")) { 139 return string.substring(0, length - 1); 141 return string; [all...] |
H A D | WifiTile.java | 143 state.label = r.getString(R.string.quick_settings_wifi_label); 144 signalContentDescription = r.getString(R.string.accessibility_wifi_off); 151 state.label = r.getString(R.string.quick_settings_wifi_label); 152 signalContentDescription = r.getString(R.string.accessibility_no_wifi); 155 state.label = r.getString(R.string.quick_settings_wifi_label); 156 signalContentDescription = r.getString(R.string.accessibility_wifi_off); 159 R.string.accessibility_quick_settings_wifi, 163 wifiName = r.getString(R.string.accessibility_wifi_name, state.label); 181 return mContext.getString(R.string.accessibility_quick_settings_wifi_changed_on); 183 return mContext.getString(R.string 187 removeDoubleQuotes(String string) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 88 String16 string; member in struct:XMLNode::attribute_entry
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDevice.java | 37 * The device name is a user friendly string to identify a Wi-Fi p2p device 114 /** Detailed device string pattern with WFD info 155 * @param string formats supported include 171 public WifiP2pDevice(String string) throws IllegalArgumentException { argument 172 String[] tokens = string.split("[ \n]"); 182 deviceAddress = string; 185 match = twoTokenPattern.matcher(string); 192 match = threeTokenPattern.matcher(string); 199 match = detailedDevicePattern.matcher(string); 394 Log.e(TAG, "Failed to parse hex string " [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 170 void FontCollection::itemize(const uint16_t *string, size_t string_size, FontStyle style, argument 179 uint32_t ch = string[i]; 183 ch = 0x10000 + ((ch & 0x3ff) << 10) + (string[i + 1] & 0x3ff); 198 if (ch == KEYCAP && i && family && family->getCoverage()->get(string[i - 1])) {
|
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | genheaders.py | 24 import sys, time, pdb, string, cProfile namespace 32 # target - string name of target header, or all targets if None 113 # Turn a list of strings into a regexp string matching exactly those strings
|
H A D | reg.py | 24 import io,os,re,string,sys namespace 33 # noneStr - returns string argument, or "" if argument is None. 35 # str - string to convert 44 # api - string naming the API to match 45 # profile - string naming the profile to match 60 # 'string' None Always matches 61 # None 'string' Does not match. Can't generate multiple APIs 64 # 'string' 'string' Strings must match 137 # glxequiv - equivalent command at GLX dispatch level { None, string } [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DropdownChipLayouter.java | 253 res.getString(R.string.dropdown_delete_button_desc, recipient)); 360 * @param constraint A string that we will attempt to find within the results. 399 private static boolean isAllWhitespace(@Nullable String string) { argument 400 if (TextUtils.isEmpty(string)) { 404 for (int i = 0; i < string.length(); ++i) { 405 if (!Character.isWhitespace(string.charAt(i))) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccController.java | 345 private void log(String string) { argument 346 Rlog.d(LOG_TAG, string);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneFilterTypeAdapter.java | 186 // search string starts with the old search string 259 * Returns true if the prefixString is an initial for string. Note that 269 * @param string 272 private boolean isStartingInitialsFor(String prefixString, String string) { argument 274 final int strLen = string.length(); 279 if (!Character.isLetter(string.charAt(i))) { 285 if (prefixString.charAt(initialIdx++) != string.charAt(i)) { 296 if (prefixString.equals("usa") && string.equals("united states")) {
|
H A D | TimeZonePickerView.java | 80 updateHint(R.string.hint_time_zone_search, R.drawable.ic_search_holo_light); 90 public void showFilterResults(int type, String string, int time) { argument 92 mResultAdapter.onSetFilter(type, string, time); 173 private void filterOnString(String string) { argument 178 mFilterAdapter.getFilter().filter(string);
|
/frameworks/rs/ |
H A D | rsCppUtils.h | 44 #include <string> 60 class String8: public std::string { 62 String8(const char *ptr) : std::string(ptr) { 65 String8(const char *ptr, size_t len) : std::string(ptr, len) { 68 String8() : std::string() { 72 const char* string() const { function in class:android::String8
|
/frameworks/wilhelm/tests/examples/ |
H A D | xaVideoDecoderCapabilities.cpp | 19 #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:__anon1735 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/av/camera/ |
H A D | CameraMetadata.cpp | 267 const String8 &string) { 276 // string.size() doesn't count the null termination character. 277 return updateImpl(tag, (const void*)string.string(), string.size() + 1); 266 update(uint32_t tag, const String8 &string) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | DecTestBench.c | 20 #include <string.h> 678 void H264SwDecTrace(char *string) argument 687 fwrite(string, 1, strlen(string), fp);
|
/frameworks/av/services/audioflinger/ |
H A D | test-resample.cpp | 21 #include <string.h> 67 int parseCSV(const char *string, Vector<int>& values) argument 72 for (const char *p = string; ; ) {
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 289 * Writes string to file. Basically same as "echo -n $string > $filename" 292 * @param string 295 public static void stringToFile(String filename, String string) throws IOException { argument 298 out.write(string);
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 60 * The value is a unique identification string that will be used to 168 * @param title Title for the bookmark. Can be null or empty string. 169 * @param url Url for the bookmark. Can be null or empty string. 201 * Sends the given string using an Intent with {@link Intent#ACTION_SEND} and a mime type 202 * of text/plain. The string is put into {@link Intent#EXTRA_TEXT}. 205 * @param string the string to send 207 public static final void sendString(Context context, String string) { argument 208 sendString(context, string, context.getString(com.android.internal.R.string [all...] |
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 35 /** The <var>string</var> field holds string data. In addition, if 36 * <var>data</var> is non-zero then it is the string block 37 * index of the string and <var>assetCookie</var> is the set of 38 * assets the string came from. */ 172 /** If the value holds a string, this is it. */ 173 public CharSequence string; field in class:TypedValue 424 * string value. For example, a color type will be converted to a 425 * string of the form #aarrggbb. 427 * @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/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | SinkActivity.java | 452 private void sendString(UsbDeviceConnection conn, int index, String string) { argument 453 byte[] buffer = (string + "\0").getBytes(); 458 mLogger.logError("Failed to send string " + index + ": \"" + string + "\""); 460 mLogger.log("Sent string " + index + ": \"" + string + "\"");
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.h | 150 * A raw, unprocessed string. This may contain quotations, 308 virtual void visit(RawString& string, ValueVisitorArgs& args) { argument 309 visitItem(string, args); 312 virtual void visit(String& string, ValueVisitorArgs& args) { argument 313 visitItem(string, args); 316 virtual void visit(StyledString& string, ValueVisitorArgs& args) { argument 317 visitItem(string, args); 349 virtual void visit(const RawString& string, ValueVisitorArgs& args) { argument 350 visitItem(string, args); 353 virtual void visit(const String& string, ValueVisitorArg argument 357 visit(const StyledString& string, ValueVisitorArgs& args) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 343 const GLubyte* glGetString(GLenum string) argument 345 switch (string) {
|
/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 44 * // name now contains "Joe User". (The string is first decoded, which 45 * // converts the '+' to a ' '. Then the string is sanitized, which 343 * Trim whitespace from the beginning and end of a string. 347 * @param value the string to trim 348 * @return the trimmed string 594 * treated as if the query portion is an empty string. 610 * Parse a query. A query string is any number of parameter-value clauses 613 * equal sign is missing, the value is assumed to be the empty string. 829 * Unescape an escaped string. 837 * @param string th 840 unescape(String string) argument [all...] |