Searched refs:strings (Results 26 - 50 of 114) sorted by relevance

12345

/frameworks/native/cmds/bugreportz/
H A Dbugreportz.cpp26 #include <android-base/strings.h>
/frameworks/rs/script_api/
H A DGenerator.cpp148 #include <strings.h>
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java282 public static final String[] strings = field in class:WifiEnterpriseConfig.Eap
309 public static final String[] strings = {EMPTY_VALUE, "PAP", "MSCHAP", field in class:WifiEnterpriseConfig.Phase2
372 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) {
379 String value = convertToQuotedString(prefix + Phase2.strings[mPhase2Method]);
406 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE);
415 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE);
1019 return Eap.strings[mEapMethod] + "_" + Phase2.strings[mPhase2Method];
1038 * @param arr array of strings
1129 * are valid indices into {@code Eap.strings[]} an
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpDatabaseTest.java35 import static com.android.mtp.MtpDatabase.strings;
280 mDatabase.queryChildDocuments(strings(Document.COLUMN_FLAGS), "2")) {
297 mDatabase.queryChildDocuments(strings(Document.COLUMN_FLAGS), "2")) {
313 mDatabase.queryChildDocuments(strings(Document.COLUMN_FLAGS), "2")) {
767 mDatabase.queryRoots(resources, strings(Root.COLUMN_ROOT_ID))) {
785 strings(Document.COLUMN_DOCUMENT_ID), "1")) {
799 final Cursor cursor = mDatabase.queryDocument("2", strings(Document.COLUMN_DISPLAY_NAME));
812 final Cursor cursor = mDatabase.queryRoots(resources, strings(Root.COLUMN_TITLE));
827 final Cursor cursor = mDatabase.queryRoots(resources, strings(Root.COLUMN_TITLE));
843 final Cursor cursor = mDatabase.queryRoots(resources, strings(Roo
[all...]
H A DMtpDocumentsProviderTest.java41 import static com.android.mtp.MtpDatabase.strings;
696 final String[] names = strings("Directory A", "Directory B", "Directory C");
720 strings(Document.COLUMN_DOCUMENT_ID, Document.COLUMN_DISPLAY_NAME),
741 strings(Document.COLUMN_DOCUMENT_ID),
816 "1", strings(Document.COLUMN_DOCUMENT_ID), (String) null)) {
958 return getStrings(mProvider.queryRoots(strings(DocumentsContract.Root.COLUMN_ROOT_ID)));
976 strings(DocumentsContract.Document.COLUMN_DOCUMENT_ID),
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
H A DSimpleStringAdapter.java58 public SimpleStringAdapter(Context context, String[] strings) { argument
66 Collections.addAll(mValues, strings);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
H A DSimpleStringAdapter.java58 public SimpleStringAdapter(Context context, String[] strings) { argument
66 Collections.addAll(mValues, strings);
/frameworks/base/libs/androidfw/include/androidfw/
H A DObbFile.h21 #include <strings.h>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDataSaverControllerImpl.java83 public void onMeteredIfacesChanged(String[] strings) throws RemoteException {
/frameworks/base/core/java/android/preference/
H A DMultiSelectListPreference.java35 * This preference will store a set of strings into the SharedPreferences.
257 String[] strings = source.readStringArray();
259 final int stringCount = strings.length;
261 values.add(strings[i]);
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DLineBreakBufferedWriterTest.java65 // Expect two strings.
67 // Expect the strings to sum up to the original input.
86 // Expect two strings.
88 // Expect the strings to sum up to the original input.
215 private List<String> strings = new ArrayList<String>(); field in class:LineBreakBufferedWriterTest.RecordingWriter
221 return strings;
226 strings.add(new String(cbuf, off, len));
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreference.java37 * This preference will store a set of strings into the SharedPreferences.
246 String[] strings = new String[size];
247 source.readStringArray(strings);
249 Collections.addAll(values, strings);
/frameworks/base/tools/aapt/
H A DStringPool.cpp68 printf("String pool of " ZD " unique %s %s strings, " ZD " entries and "
97 // We don't care about the relative order of these strings.
105 // Sort unstyled strings by type, then by logical configuration.
412 // our client placed their own strings in it.
434 // Now build the pool of unique strings.
476 uint8_t* strings = (uint8_t*)dat;
478 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize)
480 ENCODE_LENGTH(strings, sizeof(uint8_t), encSize)
482 strncpy((char*)strings, encStr, encSize+1);
484 char16_t* strings
[all...]
H A DXMLNode.cpp158 * This is a shortcut to detect strings that are going to Time.format()
1095 StringPool strings(mUTF8);
1098 // First collect just the strings for attribute names that have a
1102 collect_resid_strings(&strings, &resids);
1104 // Next collect all remainibng strings.
1105 collect_strings(&strings, &resids, stripComments, stripRawValues);
1107 sp<AaptFile> stringPool = strings.createStringBlock();
1134 flatten_node(strings, dest, stripComments, stripRawValues);
1141 fprintf(stderr, "**** total xml size: %zu / %zu%% strings (in %s)\n",
1416 // Just ignore strings tha
[all...]
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp18 #include <strings.h>
/frameworks/wilhelm/tools/hashgen/
H A DMakefile41 gperf --null-strings --readonly-tables --no-strlen part23in.gperf > part23in.c
/frameworks/opt/net/wifi/libwifi_system/
H A DAndroid.mk26 -Wwrite-strings
/frameworks/opt/net/wifi/service/
H A DAndroid.mk24 -Wunused-variable -Winit-self -Wwrite-strings -Wshadow
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java228 List<String> strings = Lists.newArrayList();
230 strings.add(s);
232 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{}));
237 String[] strings = { "abc", " abc", " abc", "abc ", "abc ",
240 for (String s : strings) {
318 // Are all normal output strings identical?
322 // Are preserved output strings identical?
329 // Did preserved output strings preserve length?
/frameworks/base/core/java/android/content/
H A DIntent.java193 * These strings use Java-style scoping, to ensure they are unique -- for
3449 * represented as strings.
6286 String[] strings = value.split(",");
6287 int[] list = new int[strings.length];
6288 for (int i = 0; i < strings.length; i++) {
6289 list[i] = Integer.decode(strings[i]);
6297 String[] strings = value.split(",");
6298 ArrayList<Integer> list = new ArrayList<>(strings.length);
6299 for (int i = 0; i < strings.length; i++) {
6300 list.add(Integer.decode(strings[
[all...]
/frameworks/av/media/mtp/
H A DMtpFfsHandle.cpp277 } __attribute__((packed)) strings = { member in namespace:__anon959
280 .length = cpu_to_le32(sizeof(strings)),
344 ret = TEMP_FAILURE_RETRY(::write(mControl, &strings, sizeof(strings)));
346 PLOG(ERROR) << FFS_MTP_EP0 << "Writing strings failed";
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp30 #include <strings.h>
H A DSkiaVulkanPipeline.cpp35 #include <strings.h>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkHistory.java249 WifiConfiguration.KeyMgmt.strings);
578 private static String makeString(BitSet set, String[] strings) { argument
582 /* Make sure all set bits are in [0, strings.length) to avoid
583 * going out of bounds on strings. (Shouldn't happen, but...) */
584 set = set.get(0, strings.length);
587 buf.append(strings[nextSetBit].replace('_', '-')).append(' ');
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java508 final CharSequence[] strings = context.getResources().getTextArray(textArrayResId);
509 return new ArrayAdapter<>(context, textViewResId, 0, Arrays.asList(strings), true);

Completed in 1125 milliseconds

12345