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

123

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglCreateShaderProgramv.java1 // C function GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings )
5 String[] strings
H A DglCreateShaderProgramv.cpp1 /* GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings ) */
4 (JNIEnv *_env, jobject _this, jint type, jobjectArray strings) {
3 android_glCreateShaderProgramv(JNIEnv *_env, jobject _this, jint type, jobjectArray strings) argument
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.java159 String[] strings = new String[size];
163 strings[i] = IsoDep.class.getName();
166 strings[i] = MifareClassic.class.getName();
169 strings[i] = MifareUltralight.class.getName();
172 strings[i] = Ndef.class.getName();
175 strings[i] = NdefFormatable.class.getName();
178 strings[i] = NfcA.class.getName();
181 strings[i] = NfcB.class.getName();
184 strings[i] = NfcF.class.getName();
187 strings[
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java29 * The manufacturer, model and version strings are used by the USB Manager to choose
87 public UsbAccessory(String[] strings) { argument
88 mManufacturer = strings[MANUFACTURER_STRING];
89 mModel = strings[MODEL_STRING];
90 mDescription = strings[DESCRIPTION_STRING];
91 mVersion = strings[VERSION_STRING];
92 mUri = strings[URI_STRING];
93 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/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/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.cpp55 printf("String pool of " ZD " unique %s %s strings, " ZD " entries and "
84 // We don't care about the relative order of these strings.
92 // Sort unstyled strings by type, then by logical configuration.
386 // our client placed their own strings in it.
408 // Now build the pool of unique strings.
450 uint8_t* strings = (uint8_t*)dat; local
452 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize)
454 ENCODE_LENGTH(strings, sizeof(uint8_t), encSize)
456 strncpy((char*)strings, encStr, encSize+1);
458 uint16_t* strings local
[all...]
H A DXMLNode.cpp137 * This is a shortcut to detect strings that are going to Time.format()
1061 StringPool strings(mUTF8);
1064 // First collect just the strings for attribute names that have a
1068 collect_resid_strings(&strings, &resids);
1070 // Next collect all remainibng strings.
1071 collect_strings(&strings, &resids, stripComments, stripRawValues);
1074 NOISY(printf("Found strings:\n");
1075 const size_t N = strings.size();
1077 printf("%s\n", String8(strings.entryAt(i).string).string());
1082 sp<AaptFile> stringPool = strings
[all...]
H A DResourceTable.h366 status_t prepareFlatten(StringPool* strings, ResourceTable* table,
369 status_t remapStringValue(StringPool* strings);
531 ResStringPool* strings,
H A DXMLNode.h188 status_t flatten_node(const StringPool& strings, const sp<AaptFile>& dest,
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java86 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", "IEEE8021X", field in class:WifiConfiguration.KeyMgmt
103 public static final String[] strings = { "WPA", "RSN" }; field in class:WifiConfiguration.Protocol
121 public static final String[] strings = { "OPEN", "SHARED", "LEAP" }; field in class:WifiConfiguration.AuthAlgorithm
139 public static final String[] strings = { "NONE", "TKIP", "CCMP" }; field in class:WifiConfiguration.PairwiseCipher
165 public static final String[] strings = { "WEP40", "WEP104", "TKIP", "CCMP" }; field in class:WifiConfiguration.GroupCipher
179 public static final String[] strings = { "current", "disabled", "enabled" }; field in class:WifiConfiguration.Status
987 if (k < KeyMgmt.strings.length) {
988 sbuf.append(KeyMgmt.strings[k]);
998 if (p < Protocol.strings.length) {
999 sbuf.append(Protocol.strings[
[all...]
H A DWifiEnterpriseConfig.java232 public static final String[] strings = { "PEAP", "TLS", "TTLS", "PWD", "SIM", "AKA" }; field in class:WifiEnterpriseConfig.Eap
251 public static final String[] strings = {EMPTY_VALUE, "PAP", "MSCHAP", field in class:WifiEnterpriseConfig.Phase2
282 mFields.put(EAP_KEY, Eap.strings[eapMethod]);
296 return getStringIndex(Eap.strings, eapMethod, Eap.NONE);
319 Phase2.PREFIX + Phase2.strings[phase2Method]));
336 return getStringIndex(Phase2.strings, phase2Method, Phase2.NONE);
579 * @param arr array of strings
/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.
256 String[] strings = source.readStringArray();
258 final int stringCount = strings.length;
260 values.add(strings[i]);
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp18 #include <strings.h>
/frameworks/wilhelm/tools/hashgen/
H A DMakefile40 gperf --null-strings --readonly-tables --no-strlen 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/cmds/am/src/com/android/commands/am/
H A DAm.java434 String[] strings = value.split(",");
435 int[] list = new int[strings.length];
436 for (int i = 0; i < strings.length; i++) {
437 list[i] = Integer.valueOf(strings[i]);
447 String[] strings = value.split(",");
448 long[] list = new long[strings.length];
449 for (int i = 0; i < strings.length; i++) {
450 list[i] = Long.valueOf(strings[i]);
462 String[] strings = value.split(",");
463 float[] list = new float[strings
[all...]
/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/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStore.java367 * Matches a strings like the following:
1670 WifiConfiguration.KeyMgmt.strings);
2573 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings);
2585 makeString(config.allowedProtocols, WifiConfiguration.Protocol.strings);
2597 makeString(config.allowedAuthAlgorithms, WifiConfiguration.AuthAlgorithm.strings);
2610 WifiConfiguration.PairwiseCipher.strings);
2622 makeString(config.allowedGroupCiphers, WifiConfiguration.GroupCipher.strings);
3443 lookupString(val, WifiConfiguration.Protocol.strings);
3456 lookupString(val, WifiConfiguration.KeyMgmt.strings);
3469 lookupString(val, WifiConfiguration.AuthAlgorithm.strings);
3535 makeString(BitSet set, String[] strings) argument
3555 lookupString(String string, String[] strings) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp527 // check invariant: styles follow the strings
529 ALOGW("Bad style block: style block starts at %d, before strings at %d\n",
550 const char16_t* strings = (const char16_t*)mStrings; local
551 char16_t* s = const_cast<char16_t*>(strings);
553 s[i] = dtohs(strings[i]);
699 const char16_t* strings = (char16_t*)mStrings; local
700 const char16_t* str = strings+off;
703 if ((uint32_t)(str+*u16len-strings) < mStringPoolSize) {
707 (int)idx, (int)(str+*u16len-strings), (int)mStringPoolSize);
710 const uint8_t* strings local
783 const uint8_t* strings = (uint8_t*)mStrings; local
[all...]

Completed in 1564 milliseconds

123