Home
last modified time | relevance | path

Searched refs:stringValues (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/
DGenericDocumentParcelTest.java37 String[] stringValues = {"a", "b"}; in testPropertyParcel_onePropertySet_success() local
49 .setStringValues(stringValues) in testPropertyParcel_onePropertySet_success()
52 .isEqualTo(Arrays.copyOf(stringValues, stringValues.length)); in testPropertyParcel_onePropertySet_success()
93 String[] stringValues = {"a", "b"}; in testPropertyParcel_moreThanOnePropertySet_exceptionThrown() local
97 .setStringValues(stringValues) in testPropertyParcel_moreThanOnePropertySet_exceptionThrown()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java367 String[] stringValues = null; in toInitialUserInfoResponse() local
369 stringValues = TextUtils.split(prop.getStringValue(), STRING_SEPARATOR); in toInitialUserInfoResponse()
371 Slogf.d(TAG, "toInitialUserInfoResponse(): values=" + Arrays.toString(stringValues) in toInitialUserInfoResponse()
372 + " length: " + stringValues.length); in toInitialUserInfoResponse()
375 if (stringValues != null && stringValues.length > 0) { in toInitialUserInfoResponse()
376 response.userLocales = stringValues[0]; in toInitialUserInfoResponse()
392 if (stringValues.length > 1) { in toInitialUserInfoResponse()
393 response.userNameToCreate = stringValues[1]; in toInitialUserInfoResponse()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java47 String[] stringValues = null; in SortingCursorWrapper() local
54 stringValues = new String[count]; in SortingCursorWrapper()
72 stringValues[i] = displayName; in SortingCursorWrapper()
74 stringValues[i] = fileTypeLookup.lookup(mimeType); in SortingCursorWrapper()
85 binarySort(stringValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DDeferredMetricsWriter.java118 final String[] stringValues = eventLogger.getStringArray(); in eventLoggerToDevicePolicyEvent() local
119 if (stringValues != null) { in eventLoggerToDevicePolicyEvent()
120 Arrays.stream(stringValues) in eventLoggerToDevicePolicyEvent()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DPropertyParcel.java81 @Param(id = 2) @Nullable String[] stringValues, in PropertyParcel()
89 mStringValues = stringValues; in PropertyParcel()
280 public Builder setStringValues(@NonNull String[] stringValues) { in setStringValues() argument
281 mStringValues = Objects.requireNonNull(stringValues); in setStringValues()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSettings.java78 String[] stringValues = in initializeDaysToRetainPreference() local
80 mDaysToRetain.setValue(stringValues[daysValueToIndex(photosDaysToRetain, stringValues)]); in initializeDaysToRetainPreference()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java81 String[] stringValues = (String[]) property; in toDocumentProto() local
82 for (int j = 0; j < stringValues.length; j++) { in toDocumentProto()
83 propertyProto.addStringValues(stringValues[j]); in toDocumentProto()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java341 String[] stringValues = propertyParcel.getStringValues(); in getRawPropertyFromRawDocument() local
342 if (stringValues != null && index < stringValues.length) { in getRawPropertyFromRawDocument()
343 extractedValue = Arrays.copyOfRange(stringValues, index, index + 1); in getRawPropertyFromRawDocument()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/
DFlRunnerWrapperTest.java122 Values stringValues = in testRunFederatedAnalytics_returnSuccess() local
138 .putVectors(STRING_VECTOR_NAME, stringValues) in testRunFederatedAnalytics_returnSuccess()