Searched defs:string (Results 76 - 100 of 144) sorted by relevance

123456

/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py24 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/native/vulkan/vkjson/
H A Dvkjson.cc24 #include <string.h>
818 char string[19] = {0}; // "0x" + 16 digits + terminal \0 local
819 snprintf(string, sizeof(string), "0x%016" PRIx64, value);
820 return Json::Value(string);
1017 std::string* errors) {
1021 *errors = std::string(key) + " missing.";
1026 *errors = std::string("Wrong type for ") + std::string(key) + ".";
1037 JsonReaderVisitor(Json::Value* object, std::string* error
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java186 // 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 DTimeZonePickerView.java80 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 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:__anon2167
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 Dtest-resampler.cpp21 #include <string.h>
67 int parseCSV(const char *string, Vector<int>& values) argument
72 for (const char *p = string; ; ) {
/frameworks/base/core/java/android/provider/
H A DBrowser.java60 * 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 DTypedValue.java36 /** 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/java/android/view/textclassifier/
H A DTextClassifier.java560 final String string = request.getText().toString();
561 final TextLinks.Builder links = new TextLinks.Builder(string);
566 addLinks(links, string, TextClassifier.TYPE_URL);
569 addLinks(links, string, TextClassifier.TYPE_PHONE);
572 addLinks(links, string, TextClassifier.TYPE_EMAIL);
579 TextLinks.Builder links, String string, @EntityType String entityType) {
580 final Spannable spannable = new SpannableString(string);
578 addLinks( TextLinks.Builder links, String string, @EntityType String entityType) argument
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java148 private void escapeAndAppendString(final String string) throws IOException { argument
149 final int N = string.length();
155 char c = string.charAt(pos);
159 if (lastPos < pos) append(string, lastPos, pos-lastPos);
163 if (lastPos < pos) append(string, lastPos, pos-lastPos);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java549 // 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 DWifiTile.java151 return mContext.getString(R.string.quick_settings_wifi_label);
189 state.label = r.getString(R.string.quick_settings_wifi_label);
194 state.label = r.getString(R.string.quick_settings_wifi_label);
200 state.label = r.getString(R.string.quick_settings_wifi_label);
203 state.label = r.getString(R.string.quick_settings_wifi_label);
206 mContext.getString(R.string.quick_settings_wifi_label)).append(",");
215 R.string.accessibility_quick_settings_open_settings, getTileLabel());
221 ? mContext.getString(R.string.quick_settings_wifi_secondary_label_transient)
238 return mContext.getString(R.string.accessibility_quick_settings_wifi_changed_on);
240 return mContext.getString(R.string
249 removeDoubleQuotes(String string) argument
[all...]
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DSinkActivity.java452 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 Dstate.cpp343 const GLubyte* glGetString(GLenum string) argument
345 switch (string) {
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDropdownChipLayouter.java291 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 DCameraMetadata.cpp268 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 DUrlQuerySanitizer.java44 * // 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/wifi/java/android/net/wifi/
H A DWifiInfo.java229 * quotation marks. Otherwise, it is returned as a string of hex digits. The
444 * Set the <code>SupplicantState</code> from the string name
466 public static String removeDoubleQuotes(String string) { argument
467 if (string == null) return null;
468 final int length = string.length();
469 if ((length > 1) && (string.charAt(0) == '"') && (string.charAt(length - 1) == '"')) {
470 return string.substring(1, length - 1);
472 return string;
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp299 // they start a string), even if the font does not support them explicitly. These are handled
371 void FontCollection::itemize(const uint16_t* string, size_t string_size, const MinikinPaint& paint, argument
390 U16_NEXT(string, readLength, string_size, nextCh);
400 U16_NEXT(string, readLength, string_size, nextCh);
459 // getting displayed in. We put the whole string in one run, using the first font.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DProxyController.java661 private void logd(String string) { argument
662 Rlog.d(LOG_TAG, string);
665 private void loge(String string) { argument
666 Rlog.e(LOG_TAG, string);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java681 private void log(String string) { argument
682 Rlog.d(LOG_TAG, string);
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/
H A DLinkifyCompatTest.java830 private static void verifyAddLinksSucceeds(String msg, String string, int type) { argument
831 String str = "start " + string + " end";
838 assertEquals("Span should start from the beginning of: " + string,
840 assertEquals("Span should end at the end of: " + string,
844 private static void verifyAddLinksFails(String msg, String string, int type) { argument
845 Spannable spannable = new SpannableString("start " + string + " end");
851 String string, int type) {
852 Spannable spannable = new SpannableString("start " + string + " end");
850 verifyAddLinksPartiallyMatches(String msg, String expected, String string, int type) argument
/frameworks/av/media/libnblog/
H A DNBLog.cpp32 #include <string.h>
337 void NBLog::Writer::log(const char *string) argument
342 LOG_ALWAYS_FATAL_IF(string == NULL, "Attempted to log NULL string");
343 size_t length = strlen(string);
347 log(EVENT_STRING, string, length);
497 case 's': // string
604 void NBLog::LockedWriter::log(const char *string) argument
607 Writer::log(string);
873 // Writes a string t
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.cpp452 MtpStringBuffer string; local
469 string.set("");
472 string.set("microsoft.com: 1.0; android.com: 1.0;");
474 mData.putString(string); // MTP Extensions
531 MtpStringBuffer string; local
549 string.set(storage->getDescription());
550 mData.putString(string);
/frameworks/base/core/java/android/os/
H A DFileUtils.java566 public static void stringToFile(File file, String string) throws IOException { argument
567 stringToFile(file.getAbsolutePath(), string);
590 * Writes string to file. Basically same as "echo -n $string > $filename"
593 * @param string
596 public static void stringToFile(String filename, String string) throws IOException { argument
597 bytesToFile(filename, string.getBytes(StandardCharsets.UTF_8));

Completed in 171 milliseconds

123456