/packages/apps/Settings/src/com/android/settings/development/bluetooth/ |
D | BluetoothChannelModeDialogPreference.java | 62 String[] stringArray = context.getResources().getStringArray( in initialize() local 64 for (int i = 0; i < stringArray.length; i++) { in initialize() 65 mRadioButtonStrings.add(stringArray[i]); in initialize() 67 stringArray = context.getResources().getStringArray( in initialize() 69 for (int i = 0; i < stringArray.length; i++) { in initialize() 70 mSummaryStrings.add(stringArray[i]); in initialize()
|
D | BluetoothSampleRateDialogPreference.java | 64 String[] stringArray = context.getResources().getStringArray( in initialize() local 66 for (int i = 0; i < stringArray.length; i++) { in initialize() 67 mRadioButtonStrings.add(stringArray[i]); in initialize() 69 stringArray = context.getResources().getStringArray( in initialize() 71 for (int i = 0; i < stringArray.length; i++) { in initialize() 72 mSummaryStrings.add(stringArray[i]); in initialize()
|
D | BluetoothQualityDialogPreference.java | 67 String[] stringArray = context.getResources().getStringArray( in initialize() local 69 for (int i = 0; i < stringArray.length; i++) { in initialize() 70 mRadioButtonStrings.add(stringArray[i]); in initialize() 72 stringArray = context.getResources().getStringArray( in initialize() 75 for (int i = 0; i < stringArray.length; i++) { in initialize() 76 mSummaryStrings.add(stringArray[i]); in initialize()
|
D | BluetoothBitPerSampleDialogPreference.java | 63 String[] stringArray = context.getResources().getStringArray( in initialize() local 65 for (int i = 0; i < stringArray.length; i++) { in initialize() 66 mRadioButtonStrings.add(stringArray[i]); in initialize() 68 stringArray = context.getResources().getStringArray( in initialize() 70 for (int i = 0; i < stringArray.length; i++) { in initialize() 71 mSummaryStrings.add(stringArray[i]); in initialize()
|
D | BluetoothCodecDialogPreference.java | 66 String[] stringArray = context.getResources().getStringArray( in initialize() local 68 for (int i = 0; i < stringArray.length; i++) { in initialize() 69 mRadioButtonStrings.add(stringArray[i]); in initialize() 71 stringArray = context.getResources() in initialize() 73 for (int i = 0; i < stringArray.length; i++) { in initialize() 74 mSummaryStrings.add(stringArray[i]); in initialize()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/ |
D | GenericDocumentParcelTest.java | 114 String[] stringArray = new String[] {"hello", "world", "!"}; in testGenericDocumentParcel_propertiesGeneratedCorrectly() local 116 builder.putInPropertyMap(/* name= */ "stringArray", /* values= */ stringArray); in testGenericDocumentParcel_propertiesGeneratedCorrectly() 127 .setStringValues(stringArray) in testGenericDocumentParcel_propertiesGeneratedCorrectly() 144 String[] stringArray = new String[] {"hello", "world", "!"}; in testGenericDocumentParcel_buildFromAnotherDocumentParcelCorrectly() local 147 builder.putInPropertyMap(/* name= */ "stringArray", /* values= */ stringArray); in testGenericDocumentParcel_buildFromAnotherDocumentParcelCorrectly() 197 String[] stringArray = new String[] {"hello", "world", "!"}; in testGenericDocumentParcel_builderCanBeReused() local 200 builder.putInPropertyMap(/* name= */ "stringArray", /* values= */ stringArray); in testGenericDocumentParcel_builderCanBeReused() 214 .setStringValues(stringArray) in testGenericDocumentParcel_builderCanBeReused() 224 String[] stringArray = new String[] {"Hello", "world"}; in testRecreateFromParcelWithParentTypes() local 235 .putInPropertyMap("propStrings", stringArray) in testRecreateFromParcelWithParentTypes() [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/analytics/ |
D | AnalyticsRoboTestUtils.java | 95 private static String[] sanitize(String[] stringArray) { in sanitize() argument 96 if (stringArray == null) { in sanitize() 100 Arrays.stream(stringArray).filter(Objects::nonNull).toArray(String[]::new); in sanitize()
|
/packages/services/Car/packages/ScriptExecutor/src/ |
D | JniUtils.cpp | 171 jobjectArray stringArray = static_cast<jobjectArray>(value.get()); in pushBundleToLuaTable() local 172 const auto kLength = env->GetArrayLength(stringArray); in pushBundleToLuaTable() 181 env->GetObjectArrayElement(stringArray, i)); in pushBundleToLuaTable() 286 std::vector<std::string> stringArray; in convertLuaTableToBundle() local 325 stringArray.push_back(lua_tostring(lua, /* index = */ -1)); in convertLuaTableToBundle() 347 bundleInsertionResult = bundleWrapper->putStringArray(key, stringArray); in convertLuaTableToBundle()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 658 final String[] stringArray = new String[array.length]; in toStringArray() local 660 stringArray[index] = stringize(array[index]); in toStringArray() 662 return stringArray; in toStringArray() 666 protected String joinStringArray(@Nonnull final String[] stringArray, in joinStringArray() argument 669 return Arrays.toString(stringArray); in joinStringArray() 672 for (int index = 0; index < stringArray.length; index++) { in joinStringArray() 674 sb.append(stringArray[index]); in joinStringArray()
|
/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/ |
D | TestSafeParcelableV2.java | 113 public String[] stringArray; field in TestSafeParcelableV2 209 @Param(id = 20) String[] stringArray, in TestSafeParcelableV2() 254 this.stringArray = stringArray; in TestSafeParcelableV2()
|
D | SafeParcelableTest.java | 1070 String[] stringArray = new String[] {"parcel1", "parcel2", "parcel3"}; in testReadWriteParcelArray() local 1073 parcelArray[i].writeString(stringArray[i]); in testReadWriteParcelArray() 1085 assertThat(readParcel.readString()).isEqualTo(stringArray[i]); in testReadWriteParcelArray() 1346 p2.stringArray = new String[] {"what", "a", "wonderful", "test"}; in testSafeParcelableFields() 1432 assertThat(readP2.stringArray).isEqualTo(p2.stringArray); in testSafeParcelableFields()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | AnomalyEventWrapper.java | 88 final String[] stringArray = mContext.getResources().getStringArray(resourceId); in getStringFromArrayResource() local 89 return (resourceIndex >= 0 && resourceIndex < stringArray.length) in getStringFromArrayResource() 90 ? stringArray[resourceIndex] in getStringFromArrayResource()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | StateTest.java | 94 String[] stringArray = { MIME_TYPES[0] }; in testPhotoPicking_onlyOneImageType() local 95 mIntent.putExtra(Intent.EXTRA_MIME_TYPES, stringArray); in testPhotoPicking_onlyOneImageType()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | EventMetric_e2e_test.cpp | 127 vector<string> stringArray = {"str1", "str2"}; in TEST_F() local 136 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST_F() 171 EXPECT_THAT(atom.repeated_string_field(), ElementsAreArray(stringArray)); in TEST_F()
|
D | GaugeMetric_e2e_push_test.cpp | 340 vector<string> stringArray = {"str1", "str2"}; in TEST_F() local 349 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST_F()
|
D | CountMetric_e2e_test.cpp | 1180 vector<string> stringArray = {"str1", "str2"}; in TEST() local 1189 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 1181 jobjectArray stringArray = (*env)->NewObjectArray(env, count, in processFailReasons() local 1267 (*env)->SetObjectArrayElement(env, stringArray, reasonCount++, jStr); in processFailReasons() 1270 return stringArray; in processFailReasons() 1282 jobjectArray stringArray = (*env)->NewObjectArray(env, count, in processBlockStatus() local 1502 (*env)->SetObjectArrayElement(env, stringArray, reasonCount++, jStr); in processBlockStatus() 1505 return stringArray; in processBlockStatus() 1617 jobjectArray stringArray; in _wprint_callback_fn() local 1619 stringArray = processFailReasons(env, cb_param->blocked_reasons, count); in _wprint_callback_fn() 1621 stringArray = processBlockStatus(env, cb_param->blocked_reasons, count); in _wprint_callback_fn() 1624 stringArray); in _wprint_callback_fn() [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 529 vector<string> stringArray = {"str1", "str2"}; in TEST_P() local 532 cStringArray[i] = stringArray[i].c_str(); in TEST_P() 746 vector<string> stringArray = {"str1", "str2"}; in TEST_P() local 749 cStringArray[i] = stringArray[i].c_str(); in TEST_P() 837 vector<string> stringArray = {"str1", "str2"}; in TEST_P() local 840 cStringArray[i] = stringArray[i].c_str(); in TEST_P()
|
D | FieldValue_test.cpp | 889 vector<string> stringArray = {"str1", "str2"}; in TEST() local 898 12345, intArray, longArray, floatArray, stringArray, boolArray, boolArrayLength, in TEST() 922 EXPECT_THAT(atom.repeated_string_field(), ElementsAreArray(stringArray)); in TEST()
|
D | LogEntryMatcher_test.cpp | 129 const vector<string>& stringArray) { in makeRepeatedStringLogEvent() argument 130 vector<const char*> cStringArray(stringArray.size()); in makeRepeatedStringLogEvent() 132 cStringArray[i] = stringArray[i].c_str(); in makeRepeatedStringLogEvent() 137 AStatsEvent_writeStringArray(statsEvent, cStringArray.data(), stringArray.size()); in makeRepeatedStringLogEvent()
|
/packages/modules/StatsD/lib/libstatssocket/tests/ |
D | stats_event_test.cpp | 289 vector<string> stringArray = {"str1", "str2", "str3"}; in TEST() local 292 cStringArray[i] = stringArray[i].c_str(); in TEST() 327 checkString(&buffer, stringArray[i]); in TEST()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_avrcp_controller.cpp | 278 ScopedLocalRef<jobjectArray> stringArray( in btavrcp_track_changed_callback() local 281 if (!stringArray.get()) { in btavrcp_track_changed_callback() 296 sCallbackEnv->SetObjectArrayElement(stringArray.get(), i, str.get()); in btavrcp_track_changed_callback() 301 stringArray.get()); in btavrcp_track_changed_callback()
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | EmergencyCallDomainSelector.java | 1867 private static String arrayToString(String[] stringArray) { in arrayToString() argument 1869 int length = stringArray.length; in arrayToString() 1873 sb.append(stringArray[i++]); in arrayToString() 1875 sb.append(", ").append(stringArray[i++]); in arrayToString()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | StatsPublisher.java | 322 String[] stringArray = (String[]) array; in isBundleLargeData() local 323 for (String str : stringArray) { in isBundleLargeData()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController2.java | 1999 String[] stringArray = mContext.getResources().getStringArray(R.array.wifi_eap_tls_ver); 2002 List<String> list = new ArrayList<>(Arrays.asList(stringArray)); 2004 stringArray = list.toArray(new String[0]); 2006 spinner.setAdapter(getSpinnerAdapter(stringArray));
|