/frameworks/base/services/core/jni/ |
D | com_android_server_UsbDeviceManager.cpp | 45 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) in set_accessory_string() argument 53 env->SetObjectArrayElement(strArray, index, obj); in set_accessory_string() 68 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); in android_server_UsbDeviceManager_getAccessoryStrings() local 69 if (!strArray) goto out; in android_server_UsbDeviceManager_getAccessoryStrings() 70 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0); in android_server_UsbDeviceManager_getAccessoryStrings() 71 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1); in android_server_UsbDeviceManager_getAccessoryStrings() 72 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2); in android_server_UsbDeviceManager_getAccessoryStrings() 73 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3); in android_server_UsbDeviceManager_getAccessoryStrings() 74 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4); in android_server_UsbDeviceManager_getAccessoryStrings() 75 set_accessory_string(env, fd, ACCESSORY_GET_STRING_SERIAL, strArray, 5); in android_server_UsbDeviceManager_getAccessoryStrings() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/feature/ |
D | DeviceConfigParameterProvider.java | 182 String strArray = mDeviceConfig.getString(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, prop, in getIntArrayProperty() local 185 if (strArray != null) { in getIntArrayProperty() 186 return parseIntArray(strArray); in getIntArrayProperty() 192 private int[] parseIntArray(@NonNull String strArray) { in parseIntArray() argument 193 String[] items = strArray.split(","); in parseIntArray() 201 Slog.e(TAG, "Incorrect format for array: '" + strArray + "'", e); in parseIntArray()
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
D | LinkPropertiesUtilsTest.java | 275 private List<String> strArray(String... strs) { in strArray() method in LinkPropertiesUtilsTest 287 List<String> oldItems = strArray("hello123", "goodbye5678", "howareyou669"); in testCompareOrUpdateResult() 288 List<String> newItems = strArray("hello123", "goodbye000", "verywell"); in testCompareOrUpdateResult() 296 emptyList, strArray("hello123", "howareyou669", "goodbye5678"), emptyList); in testCompareOrUpdateResult() 301 strArray("hello123", "goodbye000", "verywell"), emptyList, emptyList); in testCompareOrUpdateResult() 310 strArray("verywell"), strArray("howareyou669"), strArray("goodbye000")); in testCompareOrUpdateResult() 315 strArray("hello123", "goodbye000", "verywell"), emptyList, emptyList); in testCompareOrUpdateResult() 320 emptyList, strArray("hello123", "howareyou669", "goodbye5678"), emptyList); in testCompareOrUpdateResult()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V21.java | 251 final String[] strArray = line.split(":", 2); in readBeginVCard() local 252 final int length = strArray.length; in readBeginVCard() 258 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") in readBeginVCard() 259 && strArray[1].trim().equalsIgnoreCase("VCARD")) { in readBeginVCard() 445 final String[] strArray = params.split("=", 2); 446 if (strArray.length == 2) { 447 final String paramName = strArray[0].trim().toUpperCase(); 448 String paramValue = strArray[1].trim(); 465 handleParamWithoutName(propertyData, strArray[0]); 535 String[] strArray = langval.split("-"); [all …]
|
D | VCardParserImpl_V30.java | 150 String[] strArray = params.split("=", 2); in handleParams() 151 if (strArray.length == 2) { in handleParams() 152 handleAnyParam(propertyData, strArray[0], strArray[1]); in handleParams()
|
D | VCardBuilder.java | 2094 byte[] strArray = null; in encodeQuotedPrintable() 2097 strArray = str.getBytes(mCharset); in encodeQuotedPrintable() 2101 strArray = str.getBytes(); in encodeQuotedPrintable() 2103 while (index < strArray.length) { in encodeQuotedPrintable() 2104 builder.append(String.format("=%02X", strArray[index])); in encodeQuotedPrintable()
|
/frameworks/base/core/jni/ |
D | AndroidRuntime.cpp | 373 jobjectArray strArray; in callMain() local 377 strArray = env->NewObjectArray(numArgs, stringClass, NULL); in callMain() 381 env->SetObjectArrayElement(strArray, i, argStr); in callMain() 384 env->CallStaticVoidMethod(clazz, methodId, strArray); in callMain() 1259 jobjectArray strArray; in start() local 1264 strArray = env->NewObjectArray(options.size() + 1, stringClass, NULL); in start() 1265 assert(strArray != NULL); in start() 1268 env->SetObjectArrayElement(strArray, 0, classNameStr); in start() 1273 env->SetObjectArrayElement(strArray, i + 1, optionsStr); in start() 1292 env->CallStaticVoidMethod(startClass, startMeth, strArray); in start()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | SatelliteController.java | 2465 String[] strArray = null; in readStringArrayFromOverlayConfig() local 2467 strArray = mContext.getResources().getStringArray(id); in readStringArrayFromOverlayConfig() 2471 if (strArray == null) { in readStringArrayFromOverlayConfig() 2472 strArray = new String[0]; in readStringArrayFromOverlayConfig() 2474 return strArray; in readStringArrayFromOverlayConfig()
|