Home
last modified time | relevance | path

Searched refs:DataType (Results 1 – 25 of 89) sorted by relevance

1234

/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DDataElement.java51 DataType.SALT,
52 DataType.PRIVATE_IDENTITY,
53 DataType.TRUSTED_IDENTITY,
54 DataType.PUBLIC_IDENTITY,
55 DataType.PROVISIONED_IDENTITY,
56 DataType.TX_POWER,
57 DataType.ACTION,
58 DataType.ACCOUNT_KEY_DATA,
59 DataType.CONNECTION_STATUS,
60 DataType.BATTERY,
[all …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DComparisons.cpp33 template <typename DataType, typename ComparisonType>
34 bool compute(const std::function<bool(ComparisonType, ComparisonType)>& func, const DataType* aData, in compute()
35 const Shape& aShape, const DataType* bData, const Shape& bShape, bool8* outputData, in compute()
64 template <typename DataType, typename ComparisonType>
66 return compute<DataType, ComparisonType>( in executeLessTyped()
67 std::less<ComparisonType>(), context->getInputBuffer<DataType>(kInputTensor1), in executeLessTyped()
68 context->getInputShape(kInputTensor1), context->getInputBuffer<DataType>(kInputTensor2), in executeLessTyped()
73 template <typename DataType, typename ComparisonType>
75 return compute<DataType, ComparisonType>( in executeLessEqualTyped()
76 std::less_equal<ComparisonType>(), context->getInputBuffer<DataType>(kInputTensor1), in executeLessEqualTyped()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DKeyValueData.java35 public enum DataType { enum in KeyValueData
46 private DataType mDataType = null;
50 private KeyValueData(DataType dataType, String key, String value) { in KeyValueData()
57 public DataType getDataType() { in getDataType()
75 private DataType mDataType = null;
80 public Builder setDataType(@NonNull DataType dataType) { in setDataType()
107 if (mDataType != DataType.REGISTRATION_REDIRECT_COUNT) { in getRegistrationRedirectCount()
120 if (mDataType != DataType.REGISTRATION_REDIRECT_COUNT) { in setRegistrationRedirectCount()
173 if (mDataType != DataType.AGGREGATE_REPORT_RETRY_COUNT in validateOfTypeReport()
174 && mDataType != DataType.DEBUG_AGGREGATE_REPORT_RETRY_COUNT in validateOfTypeReport()
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DExtendedAdvertisement.java28 import android.nearby.DataElement.DataType;
120 new DataElement(DataType.ACTION, new byte[]{(byte) action})); in createFromRequest()
164 @DataType int firstType = firstHeader.getDataType(); in fromBytes()
165 if (firstType != DataType.SALT && firstType != DataType.ENCRYPTION_INFO) { in fromBytes()
178 byte[] saltBytes = firstType == DataType.SALT in fromBytes()
251 private static int toPresenceCredentialIdentityType(@DataType int type) { in toPresenceCredentialIdentityType()
253 case DataType.PRIVATE_IDENTITY: in toPresenceCredentialIdentityType()
255 case DataType.PROVISIONED_IDENTITY: in toPresenceCredentialIdentityType()
257 case DataType.TRUSTED_IDENTITY: in toPresenceCredentialIdentityType()
259 case DataType.PUBLIC_IDENTITY: in toPresenceCredentialIdentityType()
[all …]
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt24 import com.android.permission.safetylabel.DataType.KEY_EPHEMERAL
25 import com.android.permission.safetylabel.DataType.KEY_PURPOSES
26 import com.android.permission.safetylabel.DataType.KEY_IS_COLLECTION_OPTIONAL
44 DataType.getDataTypeMap(null, DataLabelConstants.DATA_USAGE_SHARED, INVALID_KEY) in getDataTypeMap_invalidCategory_nullPersistableBundle_emptyMap()
53 DataType.getDataTypeMap( in getDataTypeMap_invalidCategory_emptyPersistableBundle_emptyMap()
63 DataType.getDataTypeMap( in getDataTypeMap_invalidCategory_invalidBundle_emptyMap()
75 DataType.getDataTypeMap( in getDataTypeMap_invalidCategory_validBundle_emptyMap()
87 DataType.getDataTypeMap(null, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_nullPersistableBundle_emptyMap()
96 DataType.getDataTypeMap( in getDataTypeMap_validCategory_emptyPersistableBundle_emptyMap()
106 DataType.getDataTypeMap( in getDataTypeMap_validCategory_invalidBundle_emptyMap()
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dwhile_sum_of_powers.mod.py30 DataType = ["TENSOR_FLOAT32", [1, 2]] variable
35 xi = Input("xi", DataType)
38 x = Input("x", DataType)
47 xi = Input("xi", DataType)
50 x = Input("x", DataType)
51 xi_out = Output("xi_out", DataType)
61 sum = Input("sum", DataType)
64 x = Input("x", DataType)
73 sum = Input("sum", DataType)
76 x = Input("x", DataType)
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java99 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_DescriptionSet()
113 .setDataType(PropertyConfigProto.DataType.Code.INT64) in testGetProto_DescriptionSet()
121 .setDataType(PropertyConfigProto.DataType.Code.DOUBLE) in testGetProto_DescriptionSet()
129 .setDataType(PropertyConfigProto.DataType.Code.BOOLEAN) in testGetProto_DescriptionSet()
136 .setDataType(PropertyConfigProto.DataType.Code.BYTES) in testGetProto_DescriptionSet()
144 .setDataType(PropertyConfigProto.DataType.Code.DOCUMENT) in testGetProto_DescriptionSet()
197 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_Email()
211 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_Email()
262 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_MusicRecording()
276 .setDataType(PropertyConfigProto.DataType.Code.INT64) in testGetProto_MusicRecording()
[all …]
DGenericDocumentToProtoConverterTest.java198 .setDataType(PropertyConfigProto.DataType.Code.INT64) in testConvertDocument_whenPropertyHasEmptyList()
204 .setDataType(PropertyConfigProto.DataType.Code.DOUBLE) in testConvertDocument_whenPropertyHasEmptyList()
210 .setDataType(PropertyConfigProto.DataType.Code.BOOLEAN) in testConvertDocument_whenPropertyHasEmptyList()
216 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testConvertDocument_whenPropertyHasEmptyList()
222 .setDataType(PropertyConfigProto.DataType.Code.BYTES) in testConvertDocument_whenPropertyHasEmptyList()
228 .setDataType(PropertyConfigProto.DataType.Code.DOCUMENT) in testConvertDocument_whenPropertyHasEmptyList()
326 .setDataType(PropertyConfigProto.DataType.Code.INT64) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
332 .setDataType(PropertyConfigProto.DataType.Code.DOUBLE) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
338 .setDataType(PropertyConfigProto.DataType.Code.BOOLEAN) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
344 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
[all …]
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DDataType.java37 public class DataType { class
46 private DataType( in DataType() method in DataType
61 static Map<String, DataType> getDataTypeMap( in getDataTypeMap()
69 Map<String, DataType> dataTypeMap = new HashMap<>(); in getDataTypeMap()
74 DataType dataType = getDataType(dataTypeBundle, dataUsage); in getDataTypeMap()
88 static DataType getDataType( in getDataType()
125 return new DataType(purposeSet, isCollectionOptional, ephemeral); in getDataType()
DDataCategory.java37 private final Map<String, DataType> mDataTypes;
39 private DataCategory(@NonNull Map<String, DataType> dataTypes) { in DataCategory()
86 Map<String, DataType> dataTypeMap = in getDataCategory()
87 DataType.getDataTypeMap(dataCategoryBundle, dataUsage, category); in getDataCategory()
97 public Map<String, DataType> getDataTypes() { in getDataTypes()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DFormattedDataEntry.kt22 import com.android.healthconnect.controller.shared.DataType
32 val dataType: DataType,
43 val dataType: DataType,
53 val dataType: DataType,
64 val dataType: DataType
107 val dataType: DataType,
DOnDeleteEntryListener.kt16 import com.android.healthconnect.controller.shared.DataType
23 dataType: DataType,
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DFirstGrantTimeDatastore.java36 public @interface DataType {} annotation
50 UserGrantTimeState readForUser(@NonNull UserHandle user, @DataType int dataType); in readForUser()
60 @DataType int dataType); in writeForUser()
67 File getFile(@NonNull UserHandle user, @DataType int dataType); in getFile()
DFirstGrantTimeDatastoreXmlPersistence.java46 public UserGrantTimeState readForUser(@NonNull UserHandle user, @DataType int dataType) { in readForUser()
63 @DataType int dataType) { in writeForUser()
72 public File getFile(@NonNull UserHandle user, @DataType int sourceType) { in getFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java64 public @interface DataType {} annotation in SortDimension
70 private final @DataType int mDataType;
77 private SortDimension(int id, @StringRes int labelId, @DataType int dataType, in SortDimension()
94 public @DataType int getDataType() { in getDataType()
190 @DataType int dataType = in.readInt();
212 private @DataType int mDataType = DATA_TYPE_STRING;
227 Builder withDataType(@DataType int dataType) { in withDataType()
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DDataElementTest.java19 import static android.nearby.DataElement.DataType.PRIVATE_IDENTITY;
20 import static android.nearby.DataElement.DataType.PROVISIONED_IDENTITY;
21 import static android.nearby.DataElement.DataType.PUBLIC_IDENTITY;
22 import static android.nearby.DataElement.DataType.SALT;
23 import static android.nearby.DataElement.DataType.TRUSTED_IDENTITY;
24 import static android.nearby.DataElement.DataType.TX_POWER;
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DHealthDataEntryFormatterTest.kt24 import com.android.healthconnect.controller.shared.DataType
72 dataType = DataType.HEART_RATE)) in format_formatsHeartRateRecord()
88 dataType = DataType.STEPS)) in format_formatsStepsRateRecord()
104 dataType = DataType.BASAL_METABOLIC_RATE)) in <lambda>()
119 dataType = DataType.PLANNED_EXERCISE, in format_formatsPlannedExerciseSessionRecord()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java91 PropertyConfigProto.DataType.Code.DOCUMENT).setSchemaType( in testDesensitizeDebugInfo()
94 PropertyConfigProto.DataType.Code.STRING).setPropertyName( in testDesensitizeDebugInfo()
98 PropertyConfigProto.DataType.Code.STRING).setPropertyName( in testDesensitizeDebugInfo()
105 PropertyConfigProto.DataType.Code.DOCUMENT).setSchemaType( in testDesensitizeDebugInfo()
108 PropertyConfigProto.DataType.Code.STRING).setPropertyName( in testDesensitizeDebugInfo()
113 PropertyConfigProto.DataType.Code.STRING).setPropertyName( in testDesensitizeDebugInfo()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DChreDiscoveryProvider.java188 if (dataElement.getKey() == DataElement.DataType.ACCOUNT_KEY_DATA) { in updateFiltersLocked()
326 DataElement.DataType.BLE_ADDRESS, in onMessageFromNanoApp()
333 DataElement.DataType.TX_POWER, in onMessageFromNanoApp()
345 DataElement.DataType.BLE_SERVICE_DATA, in onMessageFromNanoApp()
353 DataElement.DataType.ACTION, in onMessageFromNanoApp()
396 case DataElement.DataType.ACCOUNT_KEY_DATA: in addDataElementsToPresenceDevice()
397 case DataElement.DataType.CONNECTION_STATUS: in addDataElementsToPresenceDevice()
398 case DataElement.DataType.BATTERY: in addDataElementsToPresenceDevice()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DEntriesViewModelTest.kt22 import com.android.healthconnect.controller.shared.DataType
65 dataType = DataType.STEPS) in formattedAggregation()
73 dataType = DataType.STEPS) in formattedAggregation()
81 dataType = DataType.MENSTRUATION_PERIOD) in formattedAggregation()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/testutils/
DTrainingTestUtil.java25 import com.google.internal.federated.plan.ExampleQuerySpec.OutputVectorSpec.DataType;
46 .setDataType(DataType.STRING) in createFederatedAnalyticClientPlan()
51 .setDataType(DataType.INT64) in createFederatedAnalyticClientPlan()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DManagementStrategyValidation.kt22 import com.android.libraries.pcc.chronicle.api.DataType in <lambda>()
67 internal fun PolicyTarget.verifyRetentionSatisfiedBy(dataType: DataType): List<PolicyCheck> { in verifyRetentionSatisfiedBy()
81 internal fun PolicyTarget.verifyDeletionTriggersSatisfiedBy(dataType: DataType): List<PolicyCheck> { in verifyDeletionTriggersSatisfiedBy()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDataEntriesFragmentTest.kt40 import com.android.healthconnect.controller.shared.DataType
187 dataType = DataType.STEPS),
194 dataType = DataType.STEPS),
209 dataType = DataType.PLANNED_EXERCISE),
217 dataType = DataType.PLANNED_EXERCISE))
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DOnDeleteEntryListener.kt3 import com.android.healthconnect.controller.shared.DataType
10 dataType: DataType,
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/encryptionkey/
DSqliteObjectMapper.java92 private static <BuilderType, DataType> void setColumnValue( in setColumnValue()
95 Function<Integer, DataType> getColVal, in setColumnValue()
96 Function<DataType, BuilderType> setter) { in setColumnValue() argument

1234