Searched defs:string (Results 51 - 75 of 95) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DCellularTile.java107 : r.getString(R.string.quick_settings_rssi_emergency_only);
111 : r.getString(R.string.accessibility_no_signal);
114 : r.getString(R.string.accessibility_no_data);
116 R.string.accessibility_quick_settings_mobile,
122 public static String removeTrailingPeriod(String string) { argument
123 if (string == null) return null;
124 final int length = string.length();
125 if (string.endsWith(".")) {
126 return string.substring(0, length - 1);
128 return string;
[all...]
H A DWifiTile.java128 state.label = r.getString(R.string.quick_settings_wifi_label);
129 signalContentDescription = r.getString(R.string.accessibility_wifi_off);
136 state.label = r.getString(R.string.quick_settings_wifi_label);
137 signalContentDescription = r.getString(R.string.accessibility_no_wifi);
140 state.label = r.getString(R.string.quick_settings_wifi_label);
141 signalContentDescription = r.getString(R.string.accessibility_wifi_off);
144 R.string.accessibility_quick_settings_wifi,
148 wifiName = r.getString(R.string.accessibility_wifi_name, state.label);
161 return mContext.getString(R.string.accessibility_quick_settings_wifi_changed_on);
163 return mContext.getString(R.string
167 removeDoubleQuotes(String string) argument
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.h88 String16 string; member in struct:XMLNode::attribute_entry
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDevice.java37 * 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 DFontCollection.cpp163 void FontCollection::itemize(const uint16_t *string, size_t string_size, FontStyle style, argument
172 uint32_t ch = string[i];
176 ch = 0x10000 + ((ch & 0x3ff) << 10) + (string[i + 1] & 0x3ff);
191 if (ch == KEYCAP && i && family && family->getCoverage()->get(string[i - 1])) {
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py24 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 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java340 private void log(String string) { argument
341 Rlog.d(LOG_TAG, string);
/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/rs/
H A DrsCppUtils.h44 #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 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:__anon1665
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 DCameraMetadata.cpp267 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 DDecTestBench.c20 #include <string.h>
678 void H264SwDecTrace(char *string) argument
687 fwrite(string, 1, strlen(string), fp);
/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp21 #include <string.h>
67 int parseCSV(const char *string, Vector<int>& values) argument
72 for (const char *p = string; ; ) {
H A DFastMixer.cpp517 char string[COMMAND_MAX]; local
520 strcpy(string, "INITIAL");
523 strcpy(string, "HOT_IDLE");
526 strcpy(string, "COLD_IDLE");
529 strcpy(string, "EXIT");
532 strcpy(string, "MIX");
535 strcpy(string, "WRITE");
538 strcpy(string, "MIX_WRITE");
541 snprintf(string, COMMAND_MAX, "%d", mCommand);
551 string, mWriteSequenc
[all...]
/frameworks/base/core/java/android/provider/
H A DBrowser.java61 * The value is a unique identification string that will be used to
156 * @param title Title for the bookmark. Can be null or empty string.
157 * @param url Url for the bookmark. Can be null or empty string.
192 * Sends the given string using an Intent with {@link Intent#ACTION_SEND} and a mime type
193 * of text/plain. The string is put into {@link Intent#EXTRA_TEXT}.
196 * @param string the string to send
198 public static final void sendString(Context context, String string) { argument
199 sendString(context, string, context.getString(com.android.internal.R.string
[all...]
/frameworks/base/core/java/android/util/
H A DTypedValue.java33 /** 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. */
170 /** If the value holds a string, this is it. */
171 public CharSequence string; field in class:TypedValue
421 * string value. For example, a color type will be converted to a
422 * string of the form #aarrggbb.
424 * @return CharSequence The coerced string valu
[all...]
/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/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/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/core/java/android/security/
H A DIKeystoreService.java653 public int is_hardware_backed(String string) throws RemoteException; argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java543 * @return the subject match string
564 private String removeDoubleQuotes(String string) { argument
565 if (TextUtils.isEmpty(string)) return "";
566 int length = string.length();
567 if ((length > 1) && (string.charAt(0) == '"')
568 && (string.charAt(length - 1) == '"')) {
569 return string.substring(1, length - 1);
571 return string;
574 private String convertToQuotedString(String string) { argument
575 return "\"" + string
[all...]
H A DWifiInfo.java288 * quotation marks. Otherwise, it is returned as a string of hex digits. The
473 * Set the <code>SupplicantState</code> from the string name
495 public static String removeDoubleQuotes(String string) { argument
496 if (string == null) return null;
497 final int length = string.length();
498 if ((length > 1) && (string.charAt(0) == '"') && (string.charAt(length - 1) == '"')) {
499 return string.substring(1, length - 1);
501 return string;

Completed in 196 milliseconds

1234