Home
last modified time | relevance | path

Searched refs:bytesValues (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DPropertyParcel.java85 @Param(id = 6) @Nullable byte[][] bytesValues, in PropertyParcel()
93 mBytesValues = bytesValues; in PropertyParcel()
312 public Builder setBytesValues(@NonNull byte[][] bytesValues) { in setBytesValues() argument
313 mBytesValues = Objects.requireNonNull(bytesValues); in setBytesValues()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/
DGenericDocumentParcelTest.java41 byte[][] bytesValues = {new byte[1]}; in testPropertyParcel_onePropertySet_success()
73 .setBytesValues(bytesValues) in testPropertyParcel_onePropertySet_success()
76 .isEqualTo(Arrays.copyOf(bytesValues, bytesValues.length)); in testPropertyParcel_onePropertySet_success()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java101 byte[][] bytesValues = (byte[][]) property; in toDocumentProto()
102 for (int j = 0; j < bytesValues.length; j++) { in toDocumentProto()
103 propertyProto.addBytesValues(ByteString.copyFrom(bytesValues[j])); in toDocumentProto()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java361 byte[][] bytesValues = propertyParcel.getBytesValues(); in getRawPropertyFromRawDocument()
362 if (bytesValues != null && index < bytesValues.length) { in getRawPropertyFromRawDocument()
363 extractedValue = Arrays.copyOfRange(bytesValues, index, index + 1); in getRawPropertyFromRawDocument()