/frameworks/native/opengl/tools/glgen2/registry/ |
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/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccController.java | 355 private void log(String string) { argument 356 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/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:__anon2179 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/media/libaudioprocessing/tests/ |
H A D | test-resampler.cpp | 21 #include <string.h> 67 int parseCSV(const char *string, Vector<int>& values) argument 72 for (const char *p = string; ; ) {
|
/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/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 | 36 /** The <var>string</var> field holds string data. In addition, if 37 * <var>data</var> is non-zero then it is the string block 38 * index of the string and <var>assetCookie</var> is the set of 39 * assets the string came from. */ 173 /** If the value holds a string, this is it. */ 174 public CharSequence string; field in class:TypedValue 448 * string value. For example, a color type will be converted to a 449 * string of the form #aarrggbb. 451 * @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/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CellularTile.java | 112 return mContext.getString(R.string.quick_settings_cellular_detail_title); 128 state.label = r.getString(R.string.mobile_data); 132 : r.getString(R.string.accessibility_no_signal); 161 public static String removeTrailingPeriod(String string) { argument 162 if (string == null) return null; 163 final int length = string.length(); 164 if (string.endsWith(".")) { 165 return string.substring(0, length - 1); 167 return string; 226 R.string [all...] |
H A D | WifiTile.java | 134 return mContext.getString(R.string.quick_settings_wifi_label); 160 state.label = r.getString(R.string.quick_settings_wifi_label); 163 state.label = r.getString(R.string.quick_settings_wifi_label); 169 state.label = r.getString(R.string.quick_settings_wifi_label); 172 state.label = r.getString(R.string.quick_settings_wifi_label); 175 mContext.getString(R.string.quick_settings_wifi_label)).append(","); 184 R.string.accessibility_quick_settings_open_settings, getTileLabel()); 202 return mContext.getString(R.string.accessibility_quick_settings_wifi_changed_on); 204 return mContext.getString(R.string.accessibility_quick_settings_wifi_changed_off); 213 private static String removeDoubleQuotes(String string) { argument [all...] |
/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/native/opengl/libagl/ |
H A D | state.cpp | 343 const GLubyte* glGetString(GLenum string) argument 345 switch (string) {
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DropdownChipLayouter.java | 291 res.getString(R.string.dropdown_delete_button_desc, recipient)); 463 * @param constraint A string that we will attempt to find within the results. 478 * @param constraint A string that we will attempt to find within the results. 517 private static boolean isAllWhitespace(@Nullable String string) { argument 518 if (TextUtils.isEmpty(string)) { 522 for (int i = 0; i < string.length(); ++i) { 523 if (!Character.isWhitespace(string.charAt(i))) {
|
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 268 const String8 &string) { 277 // string.size() doesn't count the null termination character. 278 return updateImpl(tag, (const void*)string.string(), string.size() + 1); 715 // First, find the section by the longest string match 723 (*vendorSections)[i - ANDROID_SECTION_COUNT].string(); 267 update(uint32_t tag, const String8 &string) argument
|
/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...] |
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 314 public static void stringToFile(File file, String string) throws IOException { argument 315 stringToFile(file.getAbsolutePath(), string); 329 * Writes string to file. Basically same as "echo -n $string > $filename" 332 * @param string 335 public static void stringToFile(String filename, String string) throws IOException { argument 336 bytesToFile(filename, string.getBytes(StandardCharsets.UTF_8));
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiInfo.java | 338 * quotation marks. Otherwise, it is returned as a string of hex digits. The 543 * Set the <code>SupplicantState</code> from the string name 565 public static String removeDoubleQuotes(String string) { argument 566 if (string == null) return null; 567 final int length = string.length(); 568 if ((length > 1) && (string.charAt(0) == '"') && (string.charAt(length - 1) == '"')) { 569 return string.substring(1, length - 1); 571 return string;
|
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 358 void FontCollection::itemize(const uint16_t *string, size_t string_size, FontStyle style, argument 375 U16_NEXT(string, readLength, string_size, nextCh); 382 U16_NEXT(string, readLength, string_size, nextCh);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ProxyController.java | 656 private void logd(String string) { argument 657 Rlog.d(LOG_TAG, string); 660 private void loge(String string) { argument 661 Rlog.e(LOG_TAG, string);
|
/frameworks/support/compat/tests/java/android/support/v4/text/util/ |
H A D | LinkifyCompatTest.java | 795 private static void verifyAddLinksSucceeds(String msg, String string, int type) { argument 796 String str = "start " + string + " end"; 803 assertEquals("Span should start from the beginning of: " + string, 805 assertEquals("Span should end at the end of: " + string, 809 private static void verifyAddLinksFails(String msg, String string, int type) { argument 810 Spannable spannable = new SpannableString("start " + string + " end"); 816 String string, int type) { 817 Spannable spannable = new SpannableString("start " + string + " end"); 815 verifyAddLinksPartiallyMatches(String msg, String expected, String string, int type) argument
|
/frameworks/av/drm/libmediadrm/ |
H A D | DrmHal.cpp | 83 static String8 toString8(const hidl_string &string) { argument 84 return String8(string.c_str()); 87 static hidl_string toHidlString(const String8& string) { argument 88 return hidl_string(string.string()); 239 Return<void> hResult = factory->createPlugin(uuid, appPackageName.string(), 375 if (mFactories[i]->isContentTypeSupported(mimeType.string())) {
|
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 24 #include <string.h> 258 void NBLog::Writer::log(const char *string) argument 263 LOG_ALWAYS_FATAL_IF(string == NULL, "Attempted to log NULL string"); 264 size_t length = strlen(string); 268 log(EVENT_STRING, string, length); 392 case 's': // string 504 void NBLog::LockedWriter::log(const char *string) argument 507 Writer::log(string); 835 dprintf(mFd, "%.*s%s %s\n", mIndent, "", timestamp.string(), bod [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 462 MtpStringBuffer string; local 479 string.set(""); 482 string.set("microsoft.com: 1.0; android.com: 1.0;"); 484 mData.putString(string); // MTP Extensions 544 MtpStringBuffer string; local 562 string.set(storage->getDescription()); 563 mData.putString(string);
|