Home
last modified time | relevance | path

Searched refs:PropertyParcel (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/
DGenericDocumentParcelTest.java48 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
54 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
60 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
66 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
72 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
78 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
84 new PropertyParcel.Builder("name") in testPropertyParcel_onePropertySet_success()
95 PropertyParcel.Builder propertyParcelBuilder = in testPropertyParcel_moreThanOnePropertySet_exceptionThrown()
96 new PropertyParcel.Builder("name") in testPropertyParcel_moreThanOnePropertySet_exceptionThrown()
119 List<PropertyParcel> properties = genericDocumentParcel.getProperties(); in testGenericDocumentParcel_propertiesGeneratedCorrectly()
[all …]
DPropertyParcelTest.java38 PropertyParcel expectedPropertyParcel = in testTwoDimensionByteArray_serializationSupported()
39 new PropertyParcel.Builder(propertyName).setBytesValues(bytesArray).build(); in testTwoDimensionByteArray_serializationSupported()
45 PropertyParcel actualPropertyParcel = in testTwoDimensionByteArray_serializationSupported()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DGenericDocumentParcel.java88 private final List<PropertyParcel> mProperties;
100 @NonNull private final Map<String, PropertyParcel> mPropertyMap;
118 @Param(id = 7) @NonNull List<PropertyParcel> properties, in GenericDocumentParcel()
145 @NonNull List<PropertyParcel> properties, in GenericDocumentParcel()
146 @NonNull Map<String, PropertyParcel> propertyMap, in GenericDocumentParcel()
167 private static Map<String, PropertyParcel> createPropertyMapFromPropertyArray( in createPropertyMapFromPropertyArray()
168 @NonNull List<PropertyParcel> properties) { in createPropertyMapFromPropertyArray()
170 Map<String, PropertyParcel> propertyMap = new ArrayMap<>(properties.size()); in createPropertyMapFromPropertyArray()
172 PropertyParcel property = properties.get(i); in createPropertyMapFromPropertyArray()
220 public List<PropertyParcel> getProperties() { in getProperties()
[all …]
DPropertyParcel.java40 public final class PropertyParcel extends AbstractSafeParcelable implements Parcelable { class
42 public static final Parcelable.Creator<PropertyParcel> CREATOR = new PropertyParcelCreator();
79 PropertyParcel( in PropertyParcel() method in PropertyParcel
241 if (!(other instanceof PropertyParcel)) { in equals()
244 PropertyParcel otherPropertyParcel = (PropertyParcel) other; in equals()
335 public PropertyParcel build() { in build()
336 return new PropertyParcel( in build()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java27 import android.app.appsearch.safeparcel.PropertyParcel;
319 @NonNull Map<String, PropertyParcel> propertyMap) { in getRawPropertyFromRawDocument()
336 PropertyParcel propertyParcel = (PropertyParcel) currentElementValue; in getRawPropertyFromRawDocument()
386 if (currentElementValue != null && currentElementValue instanceof PropertyParcel) { in getRawPropertyFromRawDocument()
390 currentElementValue = ((PropertyParcel) currentElementValue).getValues(); in getRawPropertyFromRawDocument()
399 } else if (currentElementValue instanceof PropertyParcel in getRawPropertyFromRawDocument()
400 && ((PropertyParcel) currentElementValue).getDocumentValues() != null) { in getRawPropertyFromRawDocument()
402 ((PropertyParcel) currentElementValue).getDocumentValues(); in getRawPropertyFromRawDocument()
/packages/modules/StatsD/aidl/android/os/
DIStatsd.aidl23 import android.util.PropertyParcel;
245 oneway void updateProperties(in PropertyParcel[] properties); in updateProperties()
/packages/modules/StatsD/aidl/android/util/
DPropertyParcel.aidl6 parcelable PropertyParcel {
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java54 import android.util.PropertyParcel;
681 final PropertyParcel[] propertyParcels = new PropertyParcel[propertyNames.size()]; in updateProperties()
684 propertyParcels[index] = new PropertyParcel(); in updateProperties()
/packages/modules/StatsD/statsd/src/
DStatsService.h51 using aidl::android::util::PropertyParcel;
212 virtual Status updateProperties(const vector<PropertyParcel>& properties);
DStatsService.cpp1434 Status StatsService::updateProperties(const vector<PropertyParcel>& properties) { in updateProperties()
/packages/modules/StatsD/aidl/
DAndroid.bp38 "android/util/PropertyParcel.aidl",