/frameworks/base/tests/CoreTests/android/core/ |
H A D | RegexTest.java | 174 String[] strings; 176 strings = p.split("boo:and:foo"); 177 assertEquals(3, strings.length); 178 assertEquals("boo", strings[0]); 179 assertEquals("and", strings[1]); 180 assertEquals("foo", strings[2]); 182 strings = p.split("boo:and:foo", 2); 183 assertEquals(2, strings.length); 184 assertEquals("boo", strings[0]); 185 assertEquals("and:foo", strings[ [all...] |
/frameworks/base/opengl/tools/glgen/stubs/gles11/ |
H A D | glShaderSource.cpp | 14 const char* strings[] = {nativeString}; local 15 glShaderSource(shader, 1, strings, 0);
|
/frameworks/base/tools/localize/ |
H A D | ValuesFile_test.cpp | 10 ValuesFile* vf = ValuesFile::ParseFile("testdata/values/strings.xml", config, 13 const set<StringResource>& strings = vf->GetStrings(); local 17 printf("Strings (%zd)\n", strings.size()); 18 for (set<StringResource>::const_iterator it=strings.begin(); 19 it!=strings.end(); it++) {
|
H A D | res_check.cpp | 39 set<StringResource> strings = file->GetStrings(); local 40 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) {
|
H A D | localize_test.cpp | 36 if (all) err |= test_filename("//device/samples/NotePad/res/values/strings.xml", "zz_ZZ", 37 "//device/samples/NotePad/res/values-zz-rZZ/strings.xml"); 39 if (all) err |= test_filename("//device/samples/NotePad/res/values/strings.xml", "zz", 40 "//device/samples/NotePad/res/values-zz/strings.xml"); 42 if (all) err |= test_filename("//device/samples/NotePad/res/values/strings.xml", "", 43 "//device/samples/NotePad/res/values/strings.xml"); 71 set<StringResource> const& strings = xliff->GetStringResources(); local 72 printf("strings.size=%zd\n", strings.size()); 73 for (set<StringResource>::iterator it=strings 104 set<StringResource> const& strings = xliff->GetStringResources(); local [all...] |
H A D | XLIFFFile_test.cpp | 15 set<StringResource> const& strings = xf->GetStringResources(); local 18 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) {
|
H A D | localize.cpp | 118 const set<StringResource>& strings = values->GetStrings(); local 119 for (set<StringResource>::const_iterator it=strings.begin(); it!=strings.end(); it++) { 168 * translation memory or tools to notice that the strings haven't changed, and populate the 323 // pull out the strings and add them to the XLIFFFile 409 " config files translate comments strings\n" 591 " --big Pad strings so they get longer.\n" 600 "Reads the base strings and prints warnings about bad resources from the given files.\n"
|
/frameworks/base/core/java/android/nfc/ |
H A D | TechListParcel.java | 27 public TechListParcel(String[]... strings) { argument 28 mTechLists = strings;
|
H A D | Tag.java | 155 String[] strings = new String[size]; 159 strings[i] = IsoDep.class.getName(); 162 strings[i] = MifareClassic.class.getName(); 165 strings[i] = MifareUltralight.class.getName(); 168 strings[i] = Ndef.class.getName(); 171 strings[i] = NdefFormatable.class.getName(); 174 strings[i] = NfcA.class.getName(); 177 strings[i] = NfcB.class.getName(); 180 strings[i] = NfcF.class.getName(); 183 strings[ [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 109 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", "IEEE8021X" }; field in class:WifiConfiguration.KeyMgmt 125 public static final String[] strings = { "WPA", "RSN" }; field in class:WifiConfiguration.Protocol 143 public static final String[] strings = { "OPEN", "SHARED", "LEAP" }; field in class:WifiConfiguration.AuthAlgorithm 161 public static final String[] strings = { "NONE", "TKIP", "CCMP" }; field in class:WifiConfiguration.PairwiseCipher 187 public static final String[] strings = { "WEP40", "WEP104", "TKIP", "CCMP" }; field in class:WifiConfiguration.GroupCipher 201 public static final String[] strings = { "current", "disabled", "enabled" }; field in class:WifiConfiguration.Status 331 if (k < KeyMgmt.strings.length) { 332 sbuf.append(KeyMgmt.strings[k]); 342 if (p < Protocol.strings.length) { 343 sbuf.append(Protocol.strings[ [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbAccessory.java | 57 public UsbAccessory(String[] strings) { argument 58 mManufacturer = strings[0]; 59 mModel = strings[1]; 60 mDescription = strings[2]; 61 mVersion = strings[3]; 62 mUri = strings[4]; 63 mSerial = strings[5];
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | AutoCompleteTextViewSimple.java | 68 * 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/tools/aapt/ |
H A D | printapk.cpp | 105 const ResStringPool* strings = res.getTableStringBlock(tableIndex); 106 size_t stringCount = strings->size(); 109 const char16_t* ch = strings->stringAt(stringIndex, &len);
|
H A D | StringPool.cpp | 197 // our client placed their own strings in it. 219 // Now build the pool of unique strings. 261 uint8_t* strings = (uint8_t*)dat; local 263 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) 265 ENCODE_LENGTH(strings, sizeof(uint8_t), encSize) 267 strncpy((char*)strings, encStr, encSize+1); 269 uint16_t* strings = (uint16_t*)dat; local 271 ENCODE_LENGTH(strings, sizeof(uint16_t), strSize) 273 strcpy16_htod(strings, ent.value);
|
H A D | XMLNode.cpp | 130 * This is a shortcut to detect strings that are going to Time.format() 964 StringPool strings = StringPool(false, mUTF8); 967 // First collect just the strings for attribute names that have a 971 collect_resid_strings(&strings, &resids); 973 // Next collect all remainibng strings. 974 collect_strings(&strings, &resids, stripComments, stripRawValues); 977 NOISY(printf("Found strings:\n"); 978 const size_t N = strings.size(); 980 printf("%s\n", String8(strings.entryAt(i).string).string()); 985 sp<AaptFile> stringPool = strings [all...] |
H A D | XMLNode.h | 181 status_t flatten_node(const StringPool& strings, const sp<AaptFile>& dest,
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 106 String[] strings = new String[values.length]; 108 strings[i] = toString(values[i]); 110 return strings;
|
/frameworks/base/include/utils/ |
H A D | ObbFile.h | 21 #include <strings.h>
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 223 List<String> strings = Lists.newArrayList(); 225 strings.add(s); 227 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{})); 232 String[] strings = { "abc", " abc", " abc", "abc ", "abc ", 235 for (String s : strings) { 295 // Are all normal output strings identical? 299 // Are preserved output strings identical? 306 // Did preserved output strings preserve length?
|
/frameworks/base/services/java/com/android/server/ |
H A D | WifiService.java | 1032 lookupString(val, WifiConfiguration.Protocol.strings); 1045 lookupString(val, WifiConfiguration.KeyMgmt.strings); 1058 lookupString(val, WifiConfiguration.AuthAlgorithm.strings); 1071 lookupString(val, WifiConfiguration.PairwiseCipher.strings); 1084 lookupString(val, WifiConfiguration.GroupCipher.strings); 1172 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings); 1186 makeString(config.allowedProtocols, WifiConfiguration.Protocol.strings); 1200 makeString(config.allowedAuthAlgorithms, WifiConfiguration.AuthAlgorithm.strings); 1214 makeString(config.allowedPairwiseCiphers, WifiConfiguration.PairwiseCipher.strings); 1228 makeString(config.allowedGroupCiphers, WifiConfiguration.GroupCipher.strings); 1352 makeString(BitSet set, String[] strings) argument 1372 lookupString(String string, String[] strings) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ArrayAdapter.java | 391 CharSequence[] strings = context.getResources().getTextArray(textArrayResId); 392 return new ArrayAdapter<CharSequence>(context, textViewResId, strings);
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbService.java | 108 String[] strings = nativeGetAccessoryStrings(); 109 if (strings != null) { 110 mCurrentAccessory = new UsbAccessory(strings);
|
/frameworks/base/libs/utils/ |
H A D | ResourceTypes.cpp | 320 // check invariant: styles follow the strings 322 LOGW("Bad style block: style block starts at %d, before strings at %d\n", 343 const char16_t* strings = (const char16_t*)mStrings; local 344 char16_t* s = const_cast<char16_t*>(strings); 346 s[i] = dtohs(strings[i]); 456 const char16_t* strings = (char16_t*)mStrings; local 457 const char16_t* str = strings+off; 459 if ((uint32_t)(str+*outLen-strings) < mStringPoolSize) { 463 (int)idx, (int)(str+*outLen-strings), (int)mStringPoolSize); 466 const uint8_t* strings local 507 const uint8_t* strings = (uint8_t*)mStrings; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | RIL.java | 1641 // count strings 1661 // count strings 1721 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument 1727 rr.mp.writeStringArray(strings); 2333 String[] strings = (String[]) ret; 2334 length = strings.length; 2338 sb.append(strings[i++]); 2340 sb.append(", ").append(strings[i++]); 2978 String strings[] = (String [])responseStrings(p); 2981 if (strings [all...] |
H A D | PhoneBase.java | 729 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument 730 mCM.invokeOemRilRequestStrings(strings, response);
|