Searched refs:strings (Results 1 - 25 of 114) sorted by path

12345

/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp18 #include <strings.h>
/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/apct-tests/perftests/core/src/android/util/perftests/
H A DLogPerfTest.java34 private final String[] strings = new String[] { field in class:LogPerfTest
50 Log.d("LogPerfTest", strings[(i++) % strings.length]);
/frameworks/base/cmds/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/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/base/core/java/android/hardware/usb/
H A DUsbAccessory.java32 * The manufacturer, model and version strings are used by the USB Manager to choose
91 public UsbAccessory(String[] strings) { argument
92 this(strings[MANUFACTURER_STRING], strings[MODEL_STRING], strings[DESCRIPTION_STRING],
93 strings[VERSION_STRING], strings[URI_STRING], strings[SERIAL_STRING]);
/frameworks/base/core/java/android/nfc/
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...]
H A DTechListParcel.java27 public TechListParcel(String[]... strings) { argument
28 mTechLists = strings;
/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/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);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp4504 const char* strings[] = {nativeString}; local
4505 glShaderSource(shader, 1, strings, 0);
H A Dandroid_opengl_GLES31.cpp948 /* GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings ) */
951 (JNIEnv *_env, jobject _this, jint type, jobjectArray strings) {
960 if (!strings) {
963 _exceptionMessage = "strings == null";
967 _count = _env->GetArrayLength(strings);
986 _jstrings[i] = (jstring) _env->GetObjectArrayElement(strings, i);
990 _exceptionMessage = "strings == null";
950 android_glCreateShaderProgramv(JNIEnv *_env, jobject _this, jint type, jobjectArray strings) argument
H A Dandroid_os_HwParcel.cpp759 hidl_string *strings = impl->getStorage()->allocStringArray(len); local
760 vec->setToExternal(strings, len);
770 strings[i].setToExternal(s->c_str(), s->size());
H A Dfd_utils.cpp32 #include <android-base/strings.h>
/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/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/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/base/libs/androidfw/
H A DAssetManager.cpp46 #include <strings.h>
H A DResourceTypes.cpp532 // check invariant: styles follow the strings
534 ALOGW("Bad style block: style block starts at %d, before strings at %d\n",
555 const uint16_t* strings = (const uint16_t*)mStrings; local
556 uint16_t* s = const_cast<uint16_t*>(strings);
558 s[i] = dtohs(strings[i]);
704 const uint16_t* strings = (uint16_t*)mStrings; local
705 const uint16_t* str = strings+off;
708 if ((uint32_t)(str+*u16len-strings) < mStringPoolSize) {
709 // Reject malformed (non null-terminated) strings
718 (int)idx, (int)(str+*u16len-strings), (in
721 const uint8_t* strings = (uint8_t*)mStrings; local
805 const uint8_t* strings = (uint8_t*)mStrings; local
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DObbFile.h21 #include <strings.h>
/frameworks/base/libs/androidfw/tests/data/sparse/
H A Dgen_strings.sh3 OUTPUT_default=res/values/strings.xml
4 OUTPUT_v26=res/values-v26/strings.xml
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp30 #include <strings.h>
H A DSkiaVulkanPipeline.cpp35 #include <strings.h>
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp41 #include <strings.h>
H A DOpenGLPipeline.cpp28 #include <strings.h>

Completed in 3649 milliseconds

12345