Home
last modified time | relevance | path

Searched refs:stringList (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DFilterMapTest.java135 List<String> stringList = Arrays.asList("123", "456"); in testAddStringListValue() local
138 .addStringListValue("a", stringList) in testAddStringListValue()
141 .isEqualTo(stringList); in testAddStringListValue()
147 List<String> stringList = Arrays.asList("123", "456"); in testIsEmpty_lookbackWindowFilterEnabled_notEmpty() local
150 .addStringListValue("a", stringList) in testIsEmpty_lookbackWindowFilterEnabled_notEmpty()
159 List<String> stringList = Arrays.asList("123", "456"); in testIsEmpty_lookbackWindowFilterEnabled_empty() local
161 filterMap.getAttributionFilterMap().put("a", stringList); in testIsEmpty_lookbackWindowFilterEnabled_empty()
168 List<String> stringList = Arrays.asList("123", "456"); in testIsEmpty_lookbackWindowFilterDisabled_notEmpty() local
170 filterMap.getAttributionFilterMap().put("a", stringList); in testIsEmpty_lookbackWindowFilterDisabled_notEmpty()
177 List<String> stringList = Arrays.asList("123", "456"); in testIsEmpty_lookbackWindowFilterDisabled_empty() local
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DDBTrustedBiddingData.java175 public static String serializeStringList(@Nullable List<String> stringList) { in serializeStringList() argument
176 return Optional.ofNullable(stringList) in serializeStringList()
187 public static List<String> deserializeStringList(@Nullable String stringList) { in deserializeStringList() argument
189 if (Objects.isNull(stringList)) { in deserializeStringList()
192 JSONArray jsonArray = new JSONArray(stringList); in deserializeStringList()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapUtility.java83 String[] stringList = new String[list.size()]; in getImapSequenceValues() local
84 return list.toArray(stringList); in getImapSequenceValues()
119 String[] stringList = new String[list.size()]; in getImapRangeValues() local
120 return list.toArray(stringList); in getImapRangeValues()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java268 final String stringList = cursor.getString(cursor.getColumnIndex(columnName)); in getCursorIntegerList() local
269 if (stringList == null || stringList.isEmpty()) { in getCursorIntegerList()
273 return Arrays.stream(stringList.split(delimiter)) in getCursorIntegerList()
280 final String stringList = cursor.getString(cursor.getColumnIndex(columnName)); in getCursorLongList() local
281 if (stringList == null || stringList.isEmpty()) { in getCursorLongList()
285 return Arrays.stream(stringList.split(delimiter)).mapToLong(Long::valueOf).boxed().toList(); in getCursorLongList()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DFilterValue.java42 public static FilterValue ofStringList(List<String> stringList) { in ofStringList() argument
43 return AutoOneOf_FilterValue.stringListValue(stringList); in ofStringList()
/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/
DTestSafeParcelableV2.java116 public List<String> stringList; field in TestSafeParcelableV2
210 @Param(id = 21) List<String> stringList, in TestSafeParcelableV2()
255 this.stringList = stringList; in TestSafeParcelableV2()
DSafeParcelableTest.java1347 p2.stringList = new ArrayList<String>(); in testSafeParcelableFields()
1348 p2.stringList.add("this"); in testSafeParcelableFields()
1349 p2.stringList.add("is"); in testSafeParcelableFields()
1350 p2.stringList.add("a"); in testSafeParcelableFields()
1351 p2.stringList.add("list"); in testSafeParcelableFields()
1433 assertThat(readP2.stringList).isEqualTo(p2.stringList); in testSafeParcelableFields()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java259 public static AppSearchResultParcel<List<String>> fromStringList(List<String> stringList) { in fromStringList() argument
261 .setStrings(stringList) in fromStringList()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DFullThreadDevice.java481 private int getReceivedPacketsCount(List<String> stringList) { in getReceivedPacketsCount() argument
484 for (String message : stringList) { in getReceivedPacketsCount()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java713 private static List<MacAddress> covertStringListToMacAddressList(List<String> stringList) { in covertStringListToMacAddressList() argument
715 for (String address : stringList) { in covertStringListToMacAddressList()