Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmessageParser.java21 import com.android.bluetooth.mapclient.BmsgTokenizer.Property;
42 private static final Property BEGIN_BMSG = new Property("BEGIN", "BMSG");
43 private static final Property END_BMSG = new Property("END", "BMSG");
45 private static final Property BEGIN_VCARD = new Property("BEGIN", "VCARD");
46 private static final Property END_VCARD = new Property("END", "VCARD");
48 private static final Property BEGIN_BENV = new Property("BEGIN", "BENV");
49 private static final Property END_BENV = new Property("END", "BENV");
51 private static final Property BEGIN_BBODY = new Property("BEGIN", "BBODY");
52 private static final Property END_BBODY = new Property("END", "BBODY");
54 private static final Property BEGIN_MSG = new Property("BEGIN", "MSG");
[all …]
DBmsgTokenizer.java45 public Property next(boolean alwaysReturn) throws ParseException { in next()
66 return new Property(mMatcher.group(2), mMatcher.group(3)); in next()
69 public Property next() throws ParseException { in next()
81 public static class Property { class in BmsgTokenizer
85 public Property(String name, String value) { in Property() method in BmsgTokenizer.Property
103 return ((o instanceof Property) in equals()
104 && ((Property) o).name.equals(name) in equals()
105 && ((Property) o).value.equals(value)); in equals()
/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.h42 ::testing::Property("rcode", &DnsQueryEvent::rcode,
44 ::testing::Property("ns_type", &DnsQueryEvent::type,
46 ::testing::Property("cache_hit", &DnsQueryEvent::cache_hit,
48 ::testing::Property("ip_version", &DnsQueryEvent::ip_version,
50 ::testing::Property("protocol", &DnsQueryEvent::protocol,
52 ::testing::Property("retry_times", &DnsQueryEvent::retry_times,
54 ::testing::Property("dns_server_index", &DnsQueryEvent::dns_server_index,
59 ::testing::Property("linux_errno", &DnsQueryEvent::linux_errno,
61 ::testing::Property("connected", &DnsQueryEvent::connected,
121 ::testing::Property("dns_query_events",
[all …]
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
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()
DConnOnActivityStartTest.java25 import static com.android.cts.netpolicy.hostside.Property.APP_STANDBY_MODE;
26 import static com.android.cts.netpolicy.hostside.Property.BATTERY_SAVER_MODE;
27 import static com.android.cts.netpolicy.hostside.Property.DATA_SAVER_MODE;
28 import static com.android.cts.netpolicy.hostside.Property.DOZE_MODE;
29 import static com.android.cts.netpolicy.hostside.Property.METERED_NETWORK;
30 import static com.android.cts.netpolicy.hostside.Property.NON_METERED_NETWORK;
DAbstractExpeditedJobTest.java20 import static com.android.cts.netpolicy.hostside.Property.APP_STANDBY_MODE;
21 import static com.android.cts.netpolicy.hostside.Property.BATTERY_SAVER_MODE;
22 import static com.android.cts.netpolicy.hostside.Property.DATA_SAVER_MODE;
23 import static com.android.cts.netpolicy.hostside.Property.DOZE_MODE;
24 import static com.android.cts.netpolicy.hostside.Property.METERED_NETWORK;
DMixedModesTest.java19 import static com.android.cts.netpolicy.hostside.Property.APP_STANDBY_MODE;
20 import static com.android.cts.netpolicy.hostside.Property.BATTERY_SAVER_MODE;
21 import static com.android.cts.netpolicy.hostside.Property.DATA_SAVER_MODE;
22 import static com.android.cts.netpolicy.hostside.Property.DOZE_MODE;
23 import static com.android.cts.netpolicy.hostside.Property.METERED_NETWORK;
24 import static com.android.cts.netpolicy.hostside.Property.NON_METERED_NETWORK;
DMeterednessConfigurationRule.java19 import static com.android.cts.netpolicy.hostside.Property.METERED_NETWORK;
20 import static com.android.cts.netpolicy.hostside.Property.NON_METERED_NETWORK;
35 final ArraySet<Property> requiredProperties in onBefore()
DDataSaverModeTest.java25 import static com.android.cts.netpolicy.hostside.Property.DATA_SAVER_MODE;
26 import static com.android.cts.netpolicy.hostside.Property.METERED_NETWORK;
27 import static com.android.cts.netpolicy.hostside.Property.NO_DATA_SAVER_MODE;
DProperty.java26 public enum Property { enum
65 Property(int value) { mValue = value; } in Property() method in Property
/packages/apps/DeskClock/src/com/android/deskclock/
DAnimatorUtils.kt29 import android.util.Property in <lambda>()
50 val BACKGROUND_ALPHA: Property<View, Int> = in <lambda>()
51 object : Property<View, Int>(Int::class.java, "background.alpha") { in <lambda>()
85 val DRAWABLE_ALPHA: Property<ImageView, Int> = in <lambda>()
86 object : Property<ImageView, Int>(Int::class.java, "drawable.alpha") { in <lambda>()
97 val DRAWABLE_TINT: Property<ImageView, Int> = in <lambda>()
98 object : Property<ImageView, Int>(Int::class.java, "drawable.tint") { in <lambda>()
187 val VIEW_LEFT: Property<View, Int> = object : Property<View, Int>(Int::class.java, "left") { in <lambda>()
197 val VIEW_TOP: Property<View, Int> = object : Property<View, Int>(Int::class.java, "top") { in <lambda>()
207 val VIEW_BOTTOM: Property<View, Int> = object : Property<View, Int>(Int::class.java, "bottom") { in <lambda>()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java16 ICalendar.Property prop = new ICalendar.Property("prop1", "value1"); in testAddParameter()
42 component.addProperty(new ICalendar.Property("prop2", "value3")); in testAddProperty()
43 component.addProperty(new ICalendar.Property("prop1", "value1")); in testAddProperty()
44 component.addProperty(new ICalendar.Property("prop1", "value2")); in testAddProperty()
61 child.addProperty(new ICalendar.Property("prop2", "value2")); in testAddComponent()
63 parent.addProperty(new ICalendar.Property("prop1", "value1")); in testAddComponent()
64 parent.addProperty(new ICalendar.Property("prop1", "value12")); in testAddComponent()
81 ICalendar.Property prop1 = component.getFirstProperty("PROP1"); in testParseBasicComponent()
85 List<ICalendar.Property> props = component.getProperties("PROP1"); in testParseBasicComponent()
99 ICalendar.Property property = component.getFirstProperty("DTSTART"); in testParseQuotedParam()
/packages/services/Car/cpp/watchdog/server/tests/
DPerformanceProfilerTest.cpp67 using ::testing::Property;
857 return ExplainMatchResult(AllOf(Property("user_id", &UserPackageInfo::user_id,
859 Property("package_name", &UserPackageInfo::package_name,
865 return ExplainMatchResult(AllOf(Property("cpu_time_millis",
868 Property("cpu_cycles", &PackageCpuStats_CpuStats::cpu_cycles,
874 return ExplainMatchResult(AllOf(Property("command", &PackageCpuStats_ProcessCpuStats::command,
876 Property("cpu_stats",
889 return ExplainMatchResult(AllOf(Property("user_package_info",
892 Property("cpu_stats", &PackageCpuStats::cpu_stats,
894 Property("process_cpu_stats",
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java16 import android.util.Property;
61 private static final Property<WorkspacePageIndicator, Integer> PAINT_ALPHA
62 = new Property<WorkspacePageIndicator, Integer>(Integer.class, "paint_alpha") {
75 private static final Property<WorkspacePageIndicator, Float> NUM_PAGES
76 = new Property<WorkspacePageIndicator, Float>(Float.class, "num_pages") {
89 private static final Property<WorkspacePageIndicator, Integer> TOTAL_SCROLL
90 = new Property<WorkspacePageIndicator, Integer>(Integer.class, "total_scroll") {
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPropertyResetListener.java22 import android.util.Property;
29 private Property<T, V> mPropertyToReset;
32 public PropertyResetListener(Property<T, V> propertyToReset, V resetToValue) { in PropertyResetListener()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DAConfigExtension.kt5 import org.gradle.api.provider.Property
8 val packageName: Property<String>
9 val containerName: Property<String>
DPushApkTask.kt3 import org.gradle.api.provider.Property
16 abstract val builtArtifactsLoader: Property<BuiltArtifactsLoader>
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DCircleView.kt24 import android.util.Property
256 val FILL_COLOR: Property<CircleView, Int> =
257 object : Property<CircleView, Int>(Int::class.java, "fillColor") {
272 val RADIUS: Property<CircleView, Float> =
273 object : Property<CircleView, Float>(Float::class.java, "radius") {
/packages/modules/StatsD/statsd/tests/
DUidMap_test.cpp686 Each(Property(&PackageInfo::has_installer, IsFalse()))); in TEST_P()
688 Each(Property(&PackageInfo::has_installer_hash, IsFalse()))); in TEST_P()
690 Each(Property(&PackageInfo::has_installer_index, IsFalse()))); in TEST_P()
784 Property(&PackageInfo::uid, AID_LMKD), in TEST_F()
785 Property(&PackageInfo::uid, AID_USER_OFFSET + AID_UWB), in TEST_F()
786 Property(&PackageInfo::uid, AID_ROOT), in TEST_F()
787 Property(&PackageInfo::uid, AID_APP_START - 1), in TEST_F()
791 Property(&Change::uid, AID_LMKD), in TEST_F()
792 Property(&Change::uid, AID_USER_OFFSET + AID_UWB), in TEST_F()
793 Property(&Change::uid, AID_ROOT), in TEST_F()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DInterruptibleInOutAnimator.java23 import android.util.Property;
37 private static final Property<InterruptibleInOutAnimator, Float> VALUE =
38 new Property<InterruptibleInOutAnimator, Float>(Float.TYPE, "value") {
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPreviewItemAnim.java22 import android.util.Property;
31 private static final Property<FolderPreviewItemAnim, float[]> PARAMS =
32 new Property<FolderPreviewItemAnim, float[]>(float[].class, "params") {
DPreviewBackground.java41 import android.util.Property;
115 private static final Property<PreviewBackground, Integer> STROKE_ALPHA =
116 new Property<PreviewBackground, Integer>(Integer.class, "strokeAlpha") {
129 private static final Property<PreviewBackground, Integer> SHADOW_ALPHA =
130 new Property<PreviewBackground, Integer>(Integer.class, "shadowAlpha") {
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/animation/
DExcitementAnimationHelper.kt25 import android.util.Property
145 object : Property<View, Int>(Int::class.java, PVH_STROKE_COLOR) { in getExcitementAnimator()
163 object : Property<View, Int>(Int::class.java, PVH_PADDING) { in getExcitementAnimator()
183 object : Property<View, Float>( in getExcitementAnimator()
/packages/apps/Car/Launcher/buildSrc/src/main/java/aconfig/
DAConfigExtension.kt23 import org.gradle.api.provider.Property
26 val packageName: Property<String>
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DPreferenceHighlighter.java28 import android.util.Property;
44 private static final Property<PreferenceHighlighter, Integer> HIGHLIGHT_COLOR =
45 new Property<PreferenceHighlighter, Integer>(Integer.TYPE, "highlightColor") {

1234