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/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/base/voip/jni/rtp/
H A DAudioCodec.cpp17 #include <strings.h>
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java155 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", "IEEE8021X", field in class:WifiConfiguration.KeyMgmt
172 public static final String[] strings = { "WPA", "RSN" }; field in class:WifiConfiguration.Protocol
190 public static final String[] strings = { "OPEN", "SHARED", "LEAP" }; field in class:WifiConfiguration.AuthAlgorithm
208 public static final String[] strings = { "NONE", "TKIP", "CCMP" }; field in class:WifiConfiguration.PairwiseCipher
234 public static final String[] strings = { "WEP40", "WEP104", "TKIP", "CCMP" }; field in class:WifiConfiguration.GroupCipher
248 public static final String[] strings = { "current", "disabled", "enabled" }; field in class:WifiConfiguration.Status
440 if (k < KeyMgmt.strings.length) {
441 sbuf.append(KeyMgmt.strings[k]);
451 if (p < Protocol.strings.length) {
452 sbuf.append(Protocol.strings[
[all...]
H A DWifiConfigStore.java1008 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings);
1020 makeString(config.allowedProtocols, WifiConfiguration.Protocol.strings);
1032 makeString(config.allowedAuthAlgorithms, WifiConfiguration.AuthAlgorithm.strings);
1045 WifiConfiguration.PairwiseCipher.strings);
1057 makeString(config.allowedGroupCiphers, WifiConfiguration.GroupCipher.strings);
1389 lookupString(val, WifiConfiguration.Protocol.strings);
1402 lookupString(val, WifiConfiguration.KeyMgmt.strings);
1415 lookupString(val, WifiConfiguration.AuthAlgorithm.strings);
1428 lookupString(val, WifiConfiguration.PairwiseCipher.strings);
1441 lookupString(val, WifiConfiguration.GroupCipher.strings);
1526 makeString(BitSet set, String[] strings) argument
1546 lookupString(String string, String[] strings) argument
[all...]
/frameworks/testing/uiautomator/library/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/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.java70 // These are magic strings understood by the Eclipse plugin.
225 String[] strings = value.split(",");
226 int[] list = new int[strings.length];
227 for (int i = 0; i < strings.length; i++) {
228 list[i] = Integer.valueOf(strings[i]);
238 String[] strings = value.split(",");
239 long[] list = new long[strings.length];
240 for (int i = 0; i < strings.length; i++) {
241 list[i] = Long.valueOf(strings[i]);
253 String[] strings
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java120 String[] strings = new String[values.length];
122 strings[i] = toKeyString(values[i]);
124 return strings;
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackGraphs.java276 ArrayList<String> strings, Resources resources) {
301 for (int stringIndex = 0; stringIndex < strings.size(); stringIndex++) {
303 canvas.drawText(strings.get(stringIndex), 0, yPos, whiteLabels);
275 draw(Canvas canvas, ArrayList<ShapeDrawable> shapes, ArrayList<String> strings, Resources resources) argument
/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.java1665 // count strings
1696 // count strings
1757 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument
1763 rr.mp.writeStringArray(strings);
2430 String[] strings = (String[]) ret;
2431 length = strings.length;
2435 sb.append(strings[i++]);
2437 sb.append(", ").append(strings[i++]);
3246 String strings[] = (String [])responseStrings(p);
3249 if (strings
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp404 // check invariant: styles follow the strings
406 ALOGW("Bad style block: style block starts at %d, before strings at %d\n",
427 const char16_t* strings = (const char16_t*)mStrings; local
428 char16_t* s = const_cast<char16_t*>(strings);
430 s[i] = dtohs(strings[i]);
576 const char16_t* strings = (char16_t*)mStrings; local
577 const char16_t* str = strings+off;
580 if ((uint32_t)(str+*u16len-strings) < mStringPoolSize) {
584 (int)idx, (int)(str+*u16len-strings), (int)mStringPoolSize);
587 const uint8_t* strings local
641 const uint8_t* strings = (uint8_t*)mStrings; local
[all...]

Completed in 6690 milliseconds

12