Home
last modified time | relevance | path

Searched refs:annotations (Results 1 – 25 of 2097) sorted by relevance

12345678910>>...84

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/capabilities/
DCapability.kt95 fun fromAnnotations(annotations: List<Annotation>): Persistence? { in toRange()
97 for (annotation in annotations) { in toRange()
121 "Containing multiple persistence capabilities: $annotations" in toRange()
189 fun fromAnnotations(annotations: List<Annotation>): Ttl? { in fromAnnotations()
190 val ttls = annotations.filter { it.name == "ttl" } in fromAnnotations()
200 "Containing multiple ttl capabilities: $annotations" in fromAnnotations()
221 fun fromAnnotations(annotations: List<Annotation>): Encryption? { in fromAnnotations()
222 val filtered = annotations.filter { it.name == "encrypted" } in fromAnnotations()
232 "Containing multiple encryption capabilities: $annotations" in fromAnnotations()
253 fun fromAnnotations(annotations: List<Annotation>): Queryable? { in fromAnnotations()
[all …]
DCapabilities.kt89 fun fromAnnotations(annotations: List<Annotation>): Capabilities { in <lambda>()
91 Capability.Persistence.fromAnnotations(annotations)?.let { in <lambda>()
94 Capability.Encryption.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()
95 Capability.Ttl.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()
96 Capability.Queryable.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()
97 Capability.Shareable.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataBuilder.java243 public static AnnotationData getAnnotationData(NodeList<AnnotationExpr> annotations) { in getAnnotationData() argument
257 for (int j = 0; j < annotations.size(); j++) { in getAnnotationData()
258 String annotationString = annotations.get(j).getName().asString(); in getAnnotationData()
267 .parseInt(getVersion(annotations.get(j), "majorVersion")); in getAnnotationData()
272 .parseInt(getVersion(annotations.get(j), "minorVersion")); in getAnnotationData()
280 getVersion(annotations.get(j), "majorVersion")) != 0) { in getAnnotationData()
286 String fullPlatformVersion = getVersion(annotations.get(j), in getAnnotationData()
289 fullPlatformVersion = annotations.get(j).toString() in getAnnotationData()
298 String fullCarVersion = getVersion(annotations.get(j), "minCarVersion"); in getAnnotationData()
301 String fullplatformVersion = getVersion(annotations.get(j), in getAnnotationData()
[all …]
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAbstractSupportedFeatureRule.java21 import com.google.errorprone.annotations.FormatMethod;
22 import com.google.errorprone.annotations.FormatString;
165 private Boolean isTestSupportedByAnnotations(String where, Collection<Annotation> annotations) {
169 for (Annotation annotation : annotations) {
173 where, annotations, annotation);
180 where, annotations, annotation);
184 logV("isTestSupported(%s, %s): found no annotation returning null", where, annotations);
/packages/modules/StatsD/statsd/src/
DFieldValue.cpp453 std::string annotations; in toString() local
455 annotations += "UID"; in toString()
458 annotations += annotations.size() > 0 ? ",PRIMARY" : "PRIMARY"; in toString()
461 annotations += annotations.size() > 0 ? ",EXCLUSIVE" : "EXCLUSIVE"; in toString()
464 annotations += annotations.size() > 0 ? ",NESTED" : "NESTED"; in toString()
466 if (annotations.size()) { in toString()
467 annotations = "[" + annotations + "]"; in toString()
469 return annotations; in toString()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/
DJUnitHelper.java38 public static Description newTestMethod(Annotation... annotations) { in newTestMethod() argument
39 return newTestMethod(TEST_METHOD_BEING_EXECUTED, annotations); in newTestMethod()
42 public static Description newTestMethod(String methodName, Annotation... annotations) { in newTestMethod() argument
44 methodName, annotations); in newTestMethod()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt183 private val annotations = mutableSetOf<Annotation>() constant
190 annotations.add(trigger.toAnnotation(field)) in deletionTrigger()
227 annotations = annotations.toList() in build()
240 private val annotations = mutableSetOf<Annotation>() in build() constant in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyFieldBuilder
278 annotations = annotations.toList() in build()
/packages/inputmethods/LatinIME/java/
Dproguard.flags2 -keep @com.android.inputmethod.annotations.UsedForTesting class *
4 @com.android.inputmethod.annotations.UsedForTesting *;
8 -keep @com.android.inputmethod.annotations.ExternallyReferenced class *
10 @com.android.inputmethod.annotations.ExternallyReferenced *;
/packages/apps/Car/LatinIME/
Dproguard.flags2 -keep @com.android.inputmethod.annotations.UsedForTesting class *
4 @com.android.inputmethod.annotations.UsedForTesting *;
8 -keep @com.android.inputmethod.annotations.ExternallyReferenced class *
10 @com.android.inputmethod.annotations.ExternallyReferenced *;
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/
DTEST_MAPPING25 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
33 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
61 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
73 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
/packages/services/DeviceAsWebcam/
Dproguard.flags3 -keep class com.android.DeviceAsWebcam.annotations.UsedBy*
5 -keep @com.android.DeviceAsWebcam.annotations.UsedBy* class *
7 @com.android.DeviceAsWebcam.annotations.UsedByNative *;
/packages/modules/Permission/PermissionController/
DTEST_MAPPING19 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
29 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
55 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
79 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
/packages/modules/AdServices/adservices/apk/
Dproguard.flags6 -keep class org.tensorflow.lite.annotations.UsedByReflection
7 -keep @org.tensorflow.lite.annotations.UsedByReflection class *
9 @org.tensorflow.lite.annotations.UsedByReflection *;
/packages/modules/Permission/tests/functional/safetycenter/multiusers/
DTEST_MAPPING7 "exclude-annotation": "com.android.bedstead.harrier.annotations.Postsubmit"
22 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
25 "exclude-annotation": "com.android.bedstead.harrier.annotations.Postsubmit"
/packages/modules/AdServices/sdksandbox/
DTEST_MAPPING8 "exclude-annotation": "android.platform.test.annotations.LargeTest"
40 "exclude-annotation": "android.platform.test.annotations.LargeTest"
76 "exclude-annotation": "android.platform.test.annotations.LargeTest"
116 "exclude-annotation": "android.platform.test.annotations.LargeTest"
/packages/modules/Permission/SafetyCenter/Annotations/
DAndroid.bp23 name: "safetycenter-annotations-sources",
30 name: "safety-center-annotations",
32 ":safetycenter-annotations-sources",
/packages/modules/Connectivity/service-t/
DAndroid.bp49 "framework-annotations-lib",
80 // The mDNS code is platform code so it should use framework-annotations-lib, contrary to apps that
83 // the annotations.
84 // When using "system_current", framework annotations are not available; they would appear as
102 "framework-annotations-lib",
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPluginService.java27 import com.android.internal.annotations.VisibleForTesting;
29 import com.android.systemui.plugins.annotations.Requirements;
30 import com.android.systemui.plugins.annotations.Requires;
/packages/services/Iwlan/
DAndroid.bp25 "android-support-annotations",
32 "framework-annotations-lib",
84 "android-support-annotations",
/packages/apps/TV/tuner/
DAndroid.bp27 "android-support-annotations",
39 "tv-error-prone-annotations-jar",
41 "tv-javax-annotations-jar",
/packages/apps/TV/common/
DAndroid.bp35 "android-support-annotations",
38 "tv-error-prone-annotations-jar",
39 "tv-javax-annotations-jar",
/packages/apps/TV/tuner/sampletunertvinput/
DAndroid.bp38 "android-support-annotations",
50 "tv-error-prone-annotations-jar",
52 "tv-javax-annotations-jar",
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/
DAbstractResolverComparator.java142 ArrayList<String> annotations = intent.getStringArrayListExtra( in getContentAnnotations() local
144 if (annotations != null) { in getContentAnnotations()
145 int size = annotations.size(); in getContentAnnotations()
151 mAnnotations[i] = annotations.get(i); in getContentAnnotations()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/
DPolicy.kt35 val annotations: List<Annotation> = emptyList(), in <lambda>() constant in com.android.libraries.pcc.chronicle.api.policy.Policy
58 val annotations: List<Annotation> = emptyList() constant in com.android.libraries.pcc.chronicle.api.policy.PolicyTarget
88 val annotations: List<Annotation> = emptyList() constant in com.android.libraries.pcc.chronicle.api.policy.PolicyField
/packages/modules/Connectivity/tests/cts/hostside/
DTEST_MAPPING10 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
13 "exclude-annotation": "android.platform.test.annotations.RequiresDevice"

12345678910>>...84