Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 21 of 21) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchBatchResult.java44 public final class AppSearchBatchResult<KeyType, ValueType> {
46 private final Map<KeyType, @android.app.appsearch.checker.nullness.qual.Nullable ValueType>
49 @NonNull private final Map<KeyType, AppSearchResult<ValueType>> mFailures;
50 @NonNull private final Map<KeyType, AppSearchResult<ValueType>> mAll;
54 Map<KeyType, @android.app.appsearch.checker.nullness.qual.Nullable ValueType> in AppSearchBatchResult()
56 @NonNull Map<KeyType, AppSearchResult<ValueType>> failures, in AppSearchBatchResult()
57 @NonNull Map<KeyType, AppSearchResult<ValueType>> all) { in AppSearchBatchResult()
79 public Map<KeyType, ValueType> getSuccesses() { in getSuccesses()
90 public Map<KeyType, AppSearchResult<ValueType>> getFailures() { in getFailures()
101 public Map<KeyType, AppSearchResult<ValueType>> getAll() { in getAll()
[all …]
DAppSearchResult.java39 public final class AppSearchResult<ValueType> {
123 @Nullable private final ValueType mResultValue;
128 @Nullable ValueType resultValue, in AppSearchResult()
155 public ValueType getResultValue() { in getResultValue()
210 public static <ValueType> AppSearchResult<ValueType> newSuccessfulResult( in newSuccessfulResult()
211 @Nullable ValueType value) { in newSuccessfulResult()
222 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult()
233 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult()
244 public static <ValueType> AppSearchResult<ValueType> throwableToFailedResult( in throwableToFailedResult()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java52 public final class AppSearchResultParcel<ValueType> extends AbstractSafeParcelable {
125 @NonNull AppSearchResult<ValueType> mResultCached;
169 (AppSearchResult<ValueType>) in AppSearchResultParcel()
173 (AppSearchResult<ValueType>) in AppSearchResultParcel()
177 (AppSearchResult<ValueType>) AppSearchResult.newSuccessfulResult(mStrings); in AppSearchResultParcel()
180 (AppSearchResult<ValueType>) in AppSearchResultParcel()
184 (AppSearchResult<ValueType>) in AppSearchResultParcel()
188 (AppSearchResult<ValueType>) in AppSearchResultParcel()
192 (AppSearchResult<ValueType>) in AppSearchResultParcel()
196 (AppSearchResult<ValueType>) in AppSearchResultParcel()
[all …]
DAppSearchBatchResultParcel.java46 public final class AppSearchBatchResultParcel<ValueType> extends AbstractSafeParcelable {
79 @Nullable private AppSearchBatchResult<String, ValueType> mResultCached;
134 public AppSearchBatchResult<String, ValueType> getResult() { in getResult()
136 AppSearchBatchResult.Builder<String, ValueType> builder = in getResult()
162 AppSearchResultParcel<ValueType> appSearchResultParcel = in writeToParcel()
DAppSearchResultParcel.aidl19 parcelable AppSearchResultParcel<ValueType>;
DAppSearchBatchResultParcel.aidl19 parcelable AppSearchBatchResultParcel<ValueType>;
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/
DObd2Command.java47 public abstract class Obd2Command<ValueType> {
55 public interface OutputSemanticHandler<ValueType> {
58 Optional<ValueType> consume(IntegerArrayStream data); in consume()
124 protected final OutputSemanticHandler<ValueType> mSemanticHandler;
126 Obd2Command(int mode, OutputSemanticHandler<ValueType> semanticHandler) { in Obd2Command()
131 public abstract Optional<ValueType> run(Obd2Connection connection) throws Exception; in run()
151 public static class LiveFrameCommand<ValueType> extends Obd2Command<ValueType> {
154 LiveFrameCommand(OutputSemanticHandler<ValueType> semanticHandler) { in LiveFrameCommand()
158 public Optional<ValueType> run(Obd2Connection connection) in run()
175 public static class FreezeFrameCommand<ValueType> extends Obd2Command<ValueType> {
[all …]
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_helpers.h270 #define DEFINE_BPF_RINGBUF_EXT(the_map, ValueType, size_bytes, usr, grp, md, \ argument
284 const ValueType* v) { \
289 ValueType* bpf_##the_map##_reserve() { \
290 return bpf_ringbuf_reserve_unsafe(&the_map, sizeof(ValueType), 0); \
294 const ValueType* v) { \
316 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument
319 DEFINE_BPF_MAP_BASE(the_map, TYPE, sizeof(KeyType), sizeof(ValueType), \
325 _Static_assert(sizeof(ValueType) < 65536, "aosp/2370288 requires < 65536 byte values"); \
326 BPF_ANNOTATE_KV_PAIR(the_map, KeyType, ValueType); \
328 static inline __always_inline __unused ValueType* bpf_##the_map##_lookup_elem( \
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dif_no_value.mod.py23 ValueType = ["TENSOR_FLOAT32", [3, 4]] variable
27 x = Input("x", ValueType)
28 y = Input("y", ValueType)
29 z = Output("z", ValueType)
33 x = Input("x", ValueType)
34 y = Input("y", ValueType)
35 z = Output("z", ValueType)
Dif_constant.mod.py27 ValueType = ["TENSOR_FLOAT32", [3, 4]] variable
31 x = Input("x", ValueType)
32 y = Input("y", ValueType)
33 z = Output("z", ValueType)
37 x = Input("x", ValueType)
38 y = Input("y", ValueType)
39 z = Output("z", ValueType)
Dif_same_branch_model.mod.py23 ValueType = ["TENSOR_FLOAT32", [3, 4]] variable
27 y = Input("y", ValueType)
28 z = Output("z", ValueType)
34 y = Input("y", ValueType)
35 z = Output("z", ValueType)
Dif_simple.mod.py23 ValueType = ["TENSOR_FLOAT32", [3, 4]] variable
27 y = Input("y", ValueType)
28 z = Output("z", ValueType)
33 y = Input("y", ValueType)
34 z = Output("z", ValueType)
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/src/main/java/com/android/development/
DDexToStubConverter.java9 import org.jf.dexlib2.ValueType;
133 && ae.getValue().getValueType() == ValueType.INT) { in expectClass()
331 } else if (ev.getValueType() == ValueType.ARRAY) { in writeClass()
335 } else if (ev.getValueType() == ValueType.ENUM) { in writeClass()
340 } else if (ev.getValueType() == ValueType.ANNOTATION) { in writeClass()
400 case ValueType.BYTE: in encodedValueToObject()
402 case ValueType.SHORT: in encodedValueToObject()
404 case ValueType.CHAR: in encodedValueToObject()
406 case ValueType.INT: in encodedValueToObject()
408 case ValueType.LONG: in encodedValueToObject()
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3_cts_only/
Dif_simple_unknown_dimension.mod.py23 ValueType = ["TENSOR_FLOAT32", [3, 0]] # Unknown dimension. variable
28 y = Input("y", ValueType)
29 z = Output("z", ValueType)
Dif_simple_unknown_rank.mod.py23 ValueType = ["TENSOR_FLOAT32", []] # Unknown rank. variable
28 y = Input("y", ValueType)
29 z = Output("z", ValueType)
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DBatchResultCallback.java29 public interface BatchResultCallback<KeyType, ValueType> {
36 void onResult(@NonNull AppSearchBatchResult<KeyType, ValueType> result); in onResult()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java288 private static JoinableConfig.ValueType.Code convertJoinableValueTypeToProto( in convertJoinableValueTypeToProto()
292 return JoinableConfig.ValueType.Code.NONE; in convertJoinableValueTypeToProto()
294 return JoinableConfig.ValueType.Code.QUALIFIED_ID; in convertJoinableValueTypeToProto()
303 @NonNull JoinableConfig.ValueType.Code joinableValueType) { in convertJoinableValueTypeFromProto()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt4 public final class AppSearchBatchResult<KeyType, ValueType> {
5 …method @NonNull public java.util.Map<KeyType,android.app.appsearch.AppSearchResult<ValueType>> get…
6 …method @NonNull public java.util.Map<KeyType,android.app.appsearch.AppSearchResult<ValueType>> get…
7 method @NonNull public java.util.Map<KeyType,ValueType> getSuccesses();
11 public static final class AppSearchBatchResult.Builder<KeyType, ValueType> {
13 method @NonNull public android.app.appsearch.AppSearchBatchResult<KeyType,ValueType> build();
14 …method @NonNull public android.app.appsearch.AppSearchBatchResult.Builder<KeyType,ValueType> setFa…
15 …hBatchResult.Builder<KeyType,ValueType> setResult(@NonNull KeyType, @NonNull android.app.appsearch…
16 …appsearch.AppSearchBatchResult.Builder<KeyType,ValueType> setSuccess(@NonNull KeyType, @Nullable V…
35 public final class AppSearchResult<ValueType> {
[all …]
/packages/modules/StatsD/statsd/tests/
DUidMap_test.cpp100 template <typename Iterator, typename ValueType>
102 const vector<ValueType>& values) { in computeIndices()
104 for (const ValueType& value : values) { in computeIndices()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java305 .setValueType(JoinableConfig.ValueType.Code.QUALIFIED_ID) in testGetProto_JoinableConfig()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...