Home
last modified time | relevance | path

Searched refs:Property (Results 1 – 25 of 237) sorted by relevance

12345678910

/aosp12/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
H A DInspectionCompanionGeneratorTest.java85 final Property property = addProperty( in testNoAttributeId()
88 Property.Type.INT); in testNoAttributeId()
97 final Property property = addProperty( in testSuppliedAttributeId()
100 Property.Type.INT); in testSuppliedAttributeId()
108 final Property property = addProperty( in testIntEnum()
111 Property.Type.INT_ENUM); in testIntEnum()
128 Property.Type.INT_FLAG); in testIntFlag()
142 mModel.putProperty(new Property( in testFieldProperty()
145 Property.Type.INT)); in testFieldProperty()
150 private Property addProperty(String name, String getter, Property.Type type) { in addProperty()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageProperty.java28 import android.content.pm.PackageManager.Property;
77 public List<Property> queryProperty(@NonNull String propertyName, in queryProperty()
104 final List<Property> result = new ArrayList<>(mapSize); in queryProperty()
153 @NonNull Map<String, Property> properties, in addProperties()
162 final Property property = iter.next(); in addProperties()
200 @NonNull Map<String, Property> properties, in removeProperties()
207 final Property property = iter.next(); in removeProperties()
210 ArrayMap<String, ArrayList<Property>> propertyMap = in removeProperties()
249 final Property property = propertyList.get(i); in getProperty()
257 private Property getComponentProperty( in getComponentProperty()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerPropertyTests.java25 import android.content.pm.PackageManager.Property;
38 final Property p = in testBooleanProperty()
63 final Property p = in testFloatProperty()
88 final Property p = in testIntegerProperty()
113 final Property p = in testResourceProperty()
138 final Property p = in testStringProperty()
164 final Property p = new Property(null, 1, "android", null); in testProperty_invalidName()
173 final Property p = new Property("invalidTypeProperty", 0, "android", null); in testProperty_invalidType()
179 final Property p = new Property("invalidTypeProperty", 6, "android", null); in testProperty_invalidType()
185 final Property p = new Property("invalidTypeProperty", -1, "android", null); in testProperty_invalidType()
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DBmessageParser.java43 private static final Property BEGIN_BMSG = new Property("BEGIN", "BMSG");
44 private static final Property END_BMSG = new Property("END", "BMSG");
46 private static final Property BEGIN_VCARD = new Property("BEGIN", "VCARD");
47 private static final Property END_VCARD = new Property("END", "VCARD");
49 private static final Property BEGIN_BENV = new Property("BEGIN", "BENV");
50 private static final Property END_BENV = new Property("END", "BENV");
53 private static final Property END_BBODY = new Property("END", "BBODY");
55 private static final Property BEGIN_MSG = new Property("BEGIN", "MSG");
56 private static final Property END_MSG = new Property("END", "MSG");
108 Property prop; in parse()
[all …]
H A DBmsgTokenizer.java46 public Property next(boolean alwaysReturn) throws ParseException { in next()
67 return new Property(mMatcher.group(2), mMatcher.group(3)); in next()
70 public Property next() throws ParseException { in next()
82 public static class Property { class in BmsgTokenizer
86 public Property(String name, String value) { in Property() method in BmsgTokenizer.Property
106 return ((o instanceof Property) && ((Property) o).name.equals(name) in equals()
107 && ((Property) o).value.equals(value)); in equals()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioServiceEvents.java91 .set(MediaMetrics.Property.EVENT, "set") in logMetricEvent()
92 .set(MediaMetrics.Property.REQUESTED_MODE, in logMetricEvent()
290 .set(MediaMetrics.Property.FLAGS, mVal2) in logMetricEvent()
291 .set(MediaMetrics.Property.STREAM_TYPE, in logMetricEvent()
300 .set(MediaMetrics.Property.FLAGS, mVal2) in logMetricEvent()
301 .set(MediaMetrics.Property.INDEX, mVal1) in logMetricEvent()
302 .set(MediaMetrics.Property.STREAM_TYPE, in logMetricEvent()
310 .set(MediaMetrics.Property.INDEX, mVal1) in logMetricEvent()
323 .set(MediaMetrics.Property.STATE, in logMetricEvent()
325 .set(MediaMetrics.Property.STREAM_TYPE, in logMetricEvent()
[all …]
H A DAudioDeviceInventory.java322 .set(MediaMetrics.Property.STATE, in onSetA2dpSinkConnectionState()
377 .set(MediaMetrics.Property.DEVICE, in onSetA2dpSourceConnectionState()
379 .set(MediaMetrics.Property.STATE, in onSetA2dpSourceConnectionState()
403 .set(MediaMetrics.Property.DEVICE, in onSetHearingAidConnectionState()
405 .set(MediaMetrics.Property.STATE, in onSetHearingAidConnectionState()
408 .set(MediaMetrics.Property.STREAM_TYPE, in onSetHearingAidConnectionState()
564 .set(MediaMetrics.Property.STATE, in onSetWiredDeviceConnectionState()
599 .set(MediaMetrics.Property.DEVICE, in onToggleHdmi()
1099 .set(MediaMetrics.Property.DEVICE, in makeHearingAidDeviceAvailable()
1118 .set(MediaMetrics.Property.DEVICE, in makeHearingAidDeviceUnavailable()
[all …]
/aosp12/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
H A DInspectablePropertyProcessor.java174 private Property buildProperty( in buildProperty()
177 final Property property; in buildProperty()
185 property = new Property( in buildProperty()
193 property = new Property( in buildProperty()
317 final Property.Type accessorType = in determinePropertyType()
477 return Property.Type.BYTE; in convertTypeMirrorToPropertyType()
479 return Property.Type.CHAR; in convertTypeMirrorToPropertyType()
483 return Property.Type.FLOAT; in convertTypeMirrorToPropertyType()
485 return Property.Type.INT; in convertTypeMirrorToPropertyType()
487 return Property.Type.LONG; in convertTypeMirrorToPropertyType()
[all …]
H A DInspectionCompanionGenerator.java176 private Map<Property, FieldSpec> generateIdFieldSpecs(@NonNull List<Property> properties) { in generateIdFieldSpecs()
181 for (Property property : properties) { in generateIdFieldSpecs()
216 @NonNull List<Property> properties, in generateMapProperties()
217 @NonNull Map<Property, FieldSpec> fields) { in generateMapProperties() argument
230 for (Property property : properties) { in generateMapProperties()
269 @NonNull Property property, in generateSimplePropertyMapperInvocation()
300 @NonNull Property property, in generateIntEnumPropertyMapperInvocation()
350 @NonNull Property property, in generateIntFlagPropertyMapperInvocation()
426 @NonNull List<Property> properties, in generateReadProperties()
427 @NonNull Map<Property, FieldSpec> fields, in generateReadProperties() argument
[all …]
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DRequiredPropertiesRule.java35 private static ArraySet<Property> mRequiredProperties;
47 private ArraySet<Property> getAllRequiredProperties(Description description) { in getAllRequiredProperties()
48 final ArraySet<Property> allRequiredProperties = new ArraySet<>(); in getAllRequiredProperties()
60 for (Property requiredProperty : requiredProperties.value()) { in getAllRequiredProperties()
61 for (Property p : Property.values()) { in getAllRequiredProperties()
73 private void assertTestIsValid(String testName, ArraySet<Property> requiredProperies) { in assertTestIsValid()
77 final ArrayList<Property> unsupportedProperties = new ArrayList<>(); in assertTestIsValid()
78 for (Property property : requiredProperies) { in assertTestIsValid()
87 public static ArraySet<Property> getRequiredProperties() { in getRequiredProperties()
91 private static String propertiesToString(Iterable<Property> properties) { in propertiesToString()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DAnimationProperties.java22 import android.util.Property;
34 private ArrayMap<Property, Interpolator> mInterpolatorMap;
35 private Consumer<Property> mAnimationEndAction;
43 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter()
52 public AnimatorListenerAdapter getAnimationFinishListener(Property property) {
56 Consumer<Property> endAction = mAnimationEndAction;
74 public AnimationProperties setAnimationEndAction(Consumer<Property> listener) {
86 public Interpolator getCustomInterpolator(View child, Property property) {
92 ArrayMap<Property, Interpolator> map = iconAnimationProperties.mInterpolatorMap;
104 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) {
/aosp12/frameworks/base/libs/hwui/
H A DVectorDrawable.cpp230 Property currentProperty = static_cast<Property>(propertyId); in setColorPropertyValue()
244 Property property = static_cast<Property>(propertyId); in setPropertyValue()
350 Property currentProperty = static_cast<Property>(propertyId); in getPropertyValue()
352 case Property::rotate: in getPropertyValue()
354 case Property::pivotX: in getPropertyValue()
356 case Property::pivotY: in getPropertyValue()
358 case Property::scaleX: in getPropertyValue()
360 case Property::scaleY: in getPropertyValue()
374 Property currentProperty = static_cast<Property>(propertyId); in setPropertyValue()
376 case Property::rotate: in setPropertyValue()
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/
H A Dv4l2_metadata_factory.cpp88 new Property<camera_metadata_rational_t>( in GetV4L2Metadata()
228 new Property<uint8_t>(ANDROID_CONTROL_AE_LOCK_AVAILABLE, in GetV4L2Metadata()
235 new Property<uint8_t>(ANDROID_CONTROL_AWB_LOCK_AVAILABLE, in GetV4L2Metadata()
361 components.insert(std::make_unique<Property<float>>( in GetV4L2Metadata()
445 new Property<std::array<int32_t, 3>>( in GetV4L2Metadata()
477 new Property<uint8_t>(ANDROID_SCALER_CROPPING_TYPE, in GetV4L2Metadata()
490 new Property<std::array<int32_t, 4>>( in GetV4L2Metadata()
514 new Property<int32_t>(ANDROID_SENSOR_ORIENTATION, 0))); in GetV4L2Metadata()
540 new Property<uint8_t>(ANDROID_LED_AVAILABLE_LEDS, {}))); in GetV4L2Metadata()
549 new Property<std::vector<uint8_t>>( in GetV4L2Metadata()
[all …]
/aosp12/build/blueprint/bootstrap/bpdoc/
H A Dproperties.go37 ret.Properties = append([]Property(nil), ret.Properties...)
45 func (p *Property) Clone() Property {
47 ret.Properties = append([]Property(nil), ret.Properties...)
55 func (p *Property) Equal(other Property) bool { argument
67 func setDefaults(properties []Property, defaults reflect.Value) { argument
127 func (p *Property) SameSubProperties(other Property) bool { argument
141 func (ps *PropertyStruct) GetByName(name string) *Property {
149 func getByName(name string, prefix string, props *[]Property) *Property { argument
160 func (p *Property) Nest(nested *PropertyStruct) {
164 func (p *Property) SetAnonymous() {
[all …]
H A Dbpdoc.go50 Properties []Property
53 type Property struct { struct
60 Properties []Property argument
260 var removeAnonymousProps func(props []Property) []Property
261 removeAnonymousProps = func(props []Property) []Property {
262 newProps := make([]Property, 0, len(props))
296 func CollapseDuplicateProperties(to, from *[]Property) { argument
318 func collapseNestedProperties(p *[]Property) { argument
319 var n []Property
350 func combineDuplicateSubProperties(p *[]Property) { argument
[all …]
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_stats_test_utils.h39 ::testing::Property("rcode", &DnsQueryEvent::rcode,
41 ::testing::Property("ns_type", &DnsQueryEvent::type,
43 ::testing::Property("cache_hit", &DnsQueryEvent::cache_hit,
45 ::testing::Property("ip_version", &DnsQueryEvent::ip_version,
47 ::testing::Property("protocol", &DnsQueryEvent::protocol,
49 ::testing::Property("retry_times", &DnsQueryEvent::retry_times,
51 ::testing::Property("dns_server_index", &DnsQueryEvent::dns_server_index,
56 ::testing::Property("linux_errno", &DnsQueryEvent::linux_errno,
58 ::testing::Property("connected", &DnsQueryEvent::connected,
118 ::testing::Property("dns_query_events",
/aosp12/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
H A DSimpleProperties.java.txt22 * Property ID of {@code boolean}.
27 * Property ID of {@code byte}.
32 * Property ID of {@code char}.
37 * Property ID of {@code color}.
42 * Property ID of {@code double}.
47 * Property ID of {@code float}.
52 * Property ID of {@code gravity}.
57 * Property ID of {@code int}.
62 * Property ID of {@code long}.
67 * Property ID of {@code object}.
[all …]
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DAnimatorUtils.kt29 import android.util.Property
50 val BACKGROUND_ALPHA: Property<View, Int> =
51 object : Property<View, Int>(Int::class.java, "background.alpha") {
85 val DRAWABLE_ALPHA: Property<ImageView, Int> =
86 object : Property<ImageView, Int>(Int::class.java, "drawable.alpha") {
97 val DRAWABLE_TINT: Property<ImageView, Int> =
98 object : Property<ImageView, Int>(Int::class.java, "drawable.tint") {
187 val VIEW_LEFT: Property<View, Int> = object : Property<View, Int>(Int::class.java, "left") {
197 val VIEW_TOP: Property<View, Int> = object : Property<View, Int>(Int::class.java, "top") {
207 val VIEW_BOTTOM: Property<View, Int> = object : Property<View, Int>(Int::class.java, "bottom") {
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dproperty_test.cpp43 Property<int32_t> property(int_tag_, 1); in TEST_F()
57 Property<int32_t> property(int_tag_, data); in TEST_F()
75 Property<std::vector<float>> property(float_tag_, data); in TEST_F()
91 Property<std::array<float, 4>> property(float_tag_, data); in TEST_F()
109 Property<ArrayVector<uint8_t, 3>> property(byte_tag_, data); in TEST_F()
123 Property<int32_t> property(int_tag_, 1); in TEST_F()
133 Property<int32_t> property(int_tag_, 1); in TEST_F()
144 Property<int32_t> property(int_tag_, 1); in TEST_F()
150 Property<int32_t> property(int_tag_, 1); in TEST_F()
/aosp12/system/apex/apexd/
H A Dapexd_test_utils.h55 using ::testing::Property;
112 Property("image_offset", &ApexFile::GetImageOffset,
114 Property("image_size", &ApexFile::GetImageSize,
116 Property("fs_type", &ApexFile::GetFsType,
120 Property("is_compressed", &ApexFile::IsCompressed,
320 using ::testing::Property;
324 Property("moduleName", &ApexInfo::getModuleName,
326 Property("modulePath", &ApexInfo::getModulePath,
328 Property("preinstalledModulePath",
331 Property("versionCode", &ApexInfo::getVersionCode,
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DTouchAnimator.java19 import android.util.Property;
147 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty()
173 return Property.of(target.getClass(), cls, property); in getProperty()
220 public static KeyframeSet ofInt(Property property, int... values) { in ofInt()
221 return new IntKeyframeSet((Property<?, Integer>) property, values); in ofInt()
224 public static KeyframeSet ofFloat(Property property, float... values) { in ofFloat()
225 return new FloatKeyframeSet((Property<?, Float>) property, values); in ofFloat()
231 private final Property<T, Float> mProperty;
233 public FloatKeyframeSet(Property<T, Float> property, float[] values) { in FloatKeyframeSet()
249 private final Property<T, Integer> mProperty;
[all …]
/aosp12/build/blueprint/proptools/
H A Dunpack.go41 property *parser.Property
69 func UnpackProperties(properties []*parser.Property, objects ...interface{}) (map[string]*parser.Pr… argument
90 result := make(map[string]*parser.Property)
153 itemProperties := make([]*parser.Property, len(propValue.Values), len(propValue.Values))
155 itemProperties[i] = &parser.Property{
332 var getItemFunc func(*parser.Property, reflect.Type) (reflect.Value, bool)
335 getItemFunc = func(property *parser.Property, t reflect.Type) (reflect.Value, bool) {
344 getItemFunc = func(property *parser.Property, t reflect.Type) (reflect.Value, bool) {
348 getItemFunc = func(property *parser.Property, t reflect.Type) (reflect.Value, bool) {
354 getItemFunc = func(property *parser.Property, t reflect.Type) (reflect.Value, bool) {
[all …]
/aosp12/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java137 public void addProperty(Property prop) { in addProperty()
139 ArrayList<Property> props = mPropsMap.get(name); in addProperty()
141 props = new ArrayList<Property>(); in addProperty()
161 public List<Property> getProperties(String name) { in getProperties()
171 public Property getFirstProperty(String name) { in getFirstProperty()
172 List<Property> props = mPropsMap.get(name); in getFirstProperty()
224 public static class Property { class in ICalendar
245 public Property(String name) { in Property() method in ICalendar.Property
254 public Property(String name, String value) { in Property() method in ICalendar.Property
488 Property property; in parseLine()
[all …]
H A DRecurrenceSet.java189 ICalendar.Property dtstartProperty = in populateContentValues()
286 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART"); in populateComponent()
311 ICalendar.Property durationProp = new ICalendar.Property("DURATION"); in populateComponent()
345 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART"); in populateComponent()
370 ICalendar.Property durationProp = new ICalendar.Property("DURATION"); in populateComponent()
389 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertiesForRuleStr()
448 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertyForDateStr()
465 ICalendar.Property durationProperty = in computeDuration()
473 ICalendar.Property dtendProperty = in computeDuration()
509 for (ICalendar.Property property : component.getProperties(name)) { in flattenProperties()
[all …]
/aosp12/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DICalendarTest.java15 ICalendar.Property prop = new ICalendar.Property("prop1", "value1"); in testAddParameter()
41 component.addProperty(new ICalendar.Property("prop2", "value3")); in testAddProperty()
42 component.addProperty(new ICalendar.Property("prop1", "value1")); in testAddProperty()
43 component.addProperty(new ICalendar.Property("prop1", "value2")); in testAddProperty()
60 child.addProperty(new ICalendar.Property("prop2", "value2")); in testAddComponent()
62 parent.addProperty(new ICalendar.Property("prop1", "value1")); in testAddComponent()
63 parent.addProperty(new ICalendar.Property("prop1", "value12")); in testAddComponent()
80 ICalendar.Property prop1 = component.getFirstProperty("PROP1"); in testParseBasicComponent()
84 List<ICalendar.Property> props = component.getProperties("PROP1"); in testParseBasicComponent()
98 ICalendar.Property property = component.getFirstProperty("DTSTART"); in testParseQuotedParam()

12345678910