Searched refs:strings (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglShaderSource.cpp14 const char* strings[] = {nativeString}; local
15 glShaderSource(shader, 1, strings, 0);
/frameworks/base/core/java/android/nfc/
H A DTechListParcel.java27 public TechListParcel(String[]... strings) { argument
28 mTechLists = strings;
H A DTag.java158 String[] strings = new String[size];
162 strings[i] = IsoDep.class.getName();
165 strings[i] = MifareClassic.class.getName();
168 strings[i] = MifareUltralight.class.getName();
171 strings[i] = Ndef.class.getName();
174 strings[i] = NdefFormatable.class.getName();
177 strings[i] = NfcA.class.getName();
180 strings[i] = NfcB.class.getName();
183 strings[i] = NfcF.class.getName();
186 strings[
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java31 * The manufacturer, model and version strings are used by the USB Manager to choose
89 public UsbAccessory(String[] strings) { argument
90 mManufacturer = strings[MANUFACTURER_STRING];
91 mModel = strings[MODEL_STRING];
92 mDescription = strings[DESCRIPTION_STRING];
93 mVersion = strings[VERSION_STRING];
94 mUri = strings[URI_STRING];
95 mSerial = strings[SERIAL_STRING];
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java72 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", "IEEE8021X", field in class:WifiConfiguration.KeyMgmt
89 public static final String[] strings = { "WPA", "RSN" }; field in class:WifiConfiguration.Protocol
107 public static final String[] strings = { "OPEN", "SHARED", "LEAP" }; field in class:WifiConfiguration.AuthAlgorithm
125 public static final String[] strings = { "NONE", "TKIP", "CCMP" }; field in class:WifiConfiguration.PairwiseCipher
151 public static final String[] strings = { "WEP40", "WEP104", "TKIP", "CCMP" }; field in class:WifiConfiguration.GroupCipher
165 public static final String[] strings = { "current", "disabled", "enabled" }; field in class:WifiConfiguration.Status
389 if (k < KeyMgmt.strings.length) {
390 sbuf.append(KeyMgmt.strings[k]);
400 if (p < Protocol.strings.length) {
401 sbuf.append(Protocol.strings[
[all...]
H A DWifiConfigStore.java1120 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings);
1132 makeString(config.allowedProtocols, WifiConfiguration.Protocol.strings);
1144 makeString(config.allowedAuthAlgorithms, WifiConfiguration.AuthAlgorithm.strings);
1157 WifiConfiguration.PairwiseCipher.strings);
1169 makeString(config.allowedGroupCiphers, WifiConfiguration.GroupCipher.strings);
1529 lookupString(val, WifiConfiguration.Protocol.strings);
1542 lookupString(val, WifiConfiguration.KeyMgmt.strings);
1555 lookupString(val, WifiConfiguration.AuthAlgorithm.strings);
1568 lookupString(val, WifiConfiguration.PairwiseCipher.strings);
1581 lookupString(val, WifiConfiguration.GroupCipher.strings);
1622 makeString(BitSet set, String[] strings) argument
1642 lookupString(String string, String[] strings) argument
[all...]
H A DWifiEnterpriseConfig.java230 public static final String[] strings = { "PEAP", "TLS", "TTLS", "PWD" }; field in class:WifiEnterpriseConfig.Eap
249 public static final String[] strings = {EMPTY_VALUE, "PAP", "MSCHAP", "MSCHAPV2", "GTC" }; field in class:WifiEnterpriseConfig.Phase2
280 mFields.put(EAP_KEY, Eap.strings[eapMethod]);
294 return getStringIndex(Eap.strings, eapMethod, Eap.NONE);
317 Phase2.PREFIX + Phase2.strings[phase2Method]));
334 return getStringIndex(Phase2.strings, phase2Method, Phase2.NONE);
792 * @param arr array of strings
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewSimple.java68 * Set the autocomplete data to an adapter containing 0..n strings with a consistent prefix.
72 String[] strings = new String[numSuggestions];
74 strings[i] = prefix + String.valueOf(i);
79 android.R.layout.simple_dropdown_item_1line, strings);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioCodec.cpp17 #include <strings.h>
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DTracer.java213 private static String join(String separator, Object[] strings) { argument
214 if (strings.length == 0)
217 StringBuilder builder = new StringBuilder(objectToString(strings[0]));
218 for (int i = 1; i < strings.length; i++) {
220 builder.append(objectToString(strings[i]));
/frameworks/uiautomator/core/com/android/uiautomator/core/
H A DTracer.java213 private static String join(String separator, Object[] strings) { argument
214 if (strings.length == 0)
217 StringBuilder builder = new StringBuilder(objectToString(strings[0]));
218 for (int i = 1; i < strings.length; i++) {
220 builder.append(objectToString(strings[i]));
/frameworks/base/tools/aapt/
H A Dprintapk.cpp105 const ResStringPool* strings = res.getTableStringBlock(tableIndex);
106 size_t stringCount = strings->size();
109 const char16_t* ch = strings->stringAt(stringIndex, &len);
H A DStringPool.cpp47 printf("String pool of " ZD " unique %s %s strings, " ZD " entries and "
76 // We don't care about the relative order of these strings.
84 // Sort unstyled strings by type, then by logical configuration.
378 // our client placed their own strings in it.
400 // Now build the pool of unique strings.
442 uint8_t* strings = (uint8_t*)dat; local
444 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize)
446 ENCODE_LENGTH(strings, sizeof(uint8_t), encSize)
448 strncpy((char*)strings, encStr, encSize+1);
450 uint16_t* strings local
[all...]
H A DXMLNode.cpp137 * This is a shortcut to detect strings that are going to Time.format()
977 StringPool strings(mUTF8);
980 // First collect just the strings for attribute names that have a
984 collect_resid_strings(&strings, &resids);
986 // Next collect all remainibng strings.
987 collect_strings(&strings, &resids, stripComments, stripRawValues);
990 NOISY(printf("Found strings:\n");
991 const size_t N = strings.size();
993 printf("%s\n", String8(strings.entryAt(i).string).string());
998 sp<AaptFile> stringPool = strings
[all...]
H A DResourceTable.h341 status_t prepareFlatten(StringPool* strings, ResourceTable* table,
344 status_t remapStringValue(StringPool* strings);
506 ResStringPool* strings,
H A DXMLNode.h181 status_t flatten_node(const StringPool& strings, const sp<AaptFile>& dest,
/frameworks/base/include/androidfw/
H A DObbFile.h21 #include <strings.h>
/frameworks/base/core/java/android/preference/
H A DMultiSelectListPreference.java34 * This preference will store a set of strings into the SharedPreferences.
246 String[] strings = source.readStringArray();
248 final int stringCount = strings.length;
250 values.add(strings[i]);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java392 String[] strings = value.split(",");
393 int[] list = new int[strings.length];
394 for (int i = 0; i < strings.length; i++) {
395 list[i] = Integer.valueOf(strings[i]);
405 String[] strings = value.split(",");
406 long[] list = new long[strings.length];
407 for (int i = 0; i < strings.length; i++) {
408 list[i] = Long.valueOf(strings[i]);
420 String[] strings = value.split(",");
421 float[] list = new float[strings
[all...]
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp18 #include <strings.h>
/frameworks/wilhelm/tools/hashgen/
H A DMakefile40 gperf --null-strings --readonly-tables --compare-lengths part23in.gperf > part23in.c
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java430 CharSequence[] strings = context.getResources().getTextArray(textArrayResId);
431 return new ArrayAdapter<CharSequence>(context, textViewResId, strings);
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java216 List<String> strings = Lists.newArrayList();
218 strings.add(s);
220 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{}));
225 String[] strings = { "abc", " abc", " abc", "abc ", "abc ",
228 for (String s : strings) {
305 // Are all normal output strings identical?
309 // Are preserved output strings identical?
316 // Did preserved output strings preserve length?
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRIL.java1731 // count strings
1762 // count strings
1832 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument
1838 rr.mParcel.writeStringArray(strings);
2535 String[] strings = (String[]) ret;
2536 length = strings.length;
2540 sb.append(strings[i++]);
2542 sb.append(", ").append(strings[i++]);
3359 String strings[] = (String [])responseStrings(p);
3362 if (strings
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp402 // check invariant: styles follow the strings
404 ALOGW("Bad style block: style block starts at %d, before strings at %d\n",
425 const char16_t* strings = (const char16_t*)mStrings; local
426 char16_t* s = const_cast<char16_t*>(strings);
428 s[i] = dtohs(strings[i]);
574 const char16_t* strings = (char16_t*)mStrings; local
575 const char16_t* str = strings+off;
578 if ((uint32_t)(str+*u16len-strings) < mStringPoolSize) {
582 (int)idx, (int)(str+*u16len-strings), (int)mStringPoolSize);
585 const uint8_t* strings local
658 const uint8_t* strings = (uint8_t*)mStrings; local
[all...]

Completed in 548 milliseconds

12