Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 62) sorted by relevance

123

/cts/tools/release-parser/tests/resources/
Dbuild.prop.pb.txt5 properties {
9 properties {
13 properties {
17 properties {
21 properties {
25 properties {
29 properties {
33 properties {
37 properties {
41 properties {
[all …]
DHelloActivity.apk.pb.txt9 properties {
13 properties {
17 properties {
21 properties {
25 properties {
29 properties {
33 properties {
37 properties {
41 properties {
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/properties/
DPropertiesTest.kt1 package com.android.bedstead.nene.properties
17 TestApis.properties().set(KEY, VALUE).use { in set_valueIsSet()
19 assertThat(TestApis.properties().get(KEY)).isEqualTo(VALUE) in set_valueIsSet()
25 TestApis.properties().set(KEY, VALUE).use { in set_autoclose_resetsValue()
26 TestApis.properties().set(KEY, DIFFERENT_VALUE).use { in set_autoclose_resetsValue()
30 assertThat(TestApis.properties().get(KEY)).isEqualTo(VALUE) in set_autoclose_resetsValue()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaCtsTest.java369 List<PropertyConfig> properties = schema.getProperties(); in testPropertyConfig() local
370 assertThat(properties).hasSize(10); in testPropertyConfig()
372 assertThat(properties.get(0).getName()).isEqualTo("string"); in testPropertyConfig()
373 assertThat(properties.get(0).getCardinality()) in testPropertyConfig()
375 assertThat(((AppSearchSchema.StringPropertyConfig) properties.get(0)).getIndexingType()) in testPropertyConfig()
377 assertThat(((AppSearchSchema.StringPropertyConfig) properties.get(0)).getTokenizerType()) in testPropertyConfig()
380 assertThat(properties.get(1).getName()).isEqualTo("long"); in testPropertyConfig()
381 assertThat(properties.get(1).getCardinality()) in testPropertyConfig()
383 assertThat(((AppSearchSchema.LongPropertyConfig) properties.get(1)).getIndexingType()) in testPropertyConfig()
386 assertThat(properties.get(2).getName()).isEqualTo("indexableLong"); in testPropertyConfig()
[all …]
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java177 Properties properties = tryGetPropertiesWithReadPermission(violations); in testDeviceConfigWithAllPermissions() local
179 VALUE, properties.getString(KEY2, "default_value")); in testDeviceConfigWithAllPermissions()
208 Properties properties = in testDeviceConfigPublicNamespacesWithoutReadPermission() local
210 DeviceConfig.setProperties(properties); in testDeviceConfigPublicNamespacesWithoutReadPermission()
230 Properties properties = in testDeviceConfigPublicNamespacesWithoutReadPermission() local
232 DeviceConfig.setProperties(properties); in testDeviceConfigPublicNamespacesWithoutReadPermission()
251 Properties properties = DeviceConfig.getProperties(PUBLIC_NAMESPACE); in testDeviceConfigPublicNamespacesWithoutReadPermission() local
253 + " value.", VALUE, properties.getString(KEY, "default_value")); in testDeviceConfigPublicNamespacesWithoutReadPermission()
275 public void onPropertiesChanged(Properties properties) { in onPropertiesChanged() argument
291 Properties properties = in trySetPropertiesWithoutWritePermission() local
[all …]
DDeviceConfigApiTests.java203 for (Properties properties : DeviceConfig.getAllProperties()) { in testPropertiesIncludedInGetAllProperties()
204 System.out.println(properties); in testPropertiesIncludedInGetAllProperties()
205 boolean hasNamespace3 = properties.getNamespace().equals(NAMESPACE3); in testPropertiesIncludedInGetAllProperties()
206 boolean hasValue3 = VALUE3.equals(properties.getString(KEY3, null)); in testPropertiesIncludedInGetAllProperties()
209 assertEquals(VALUE3, properties.getString(KEY3, null)); in testPropertiesIncludedInGetAllProperties()
212 boolean hasNamespace4 = properties.getNamespace().equals(NAMESPACE4); in testPropertiesIncludedInGetAllProperties()
213 boolean hasValue4 = VALUE4.equals(properties.getString(KEY4, null)); in testPropertiesIncludedInGetAllProperties()
349 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_sameNamespace() local
353 DeviceConfig.setProperties(properties); in testSetAndGetProperties_sameNamespace()
376 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_differentNamespace() local
[all …]
/cts/tests/tests/calendarcommon/src/android/calendarcommon2/cts/
DCalendarcommon2Test.java40 List<ICalendar.Property> properties = in testStaticLinking() local
42 assertTrue(properties == null); in testStaticLinking()
49 properties = component.getProperties(RecurrenceSet.CTS_PROPERTY_NAME); in testStaticLinking()
50 assertTrue(properties.size() == 1); in testStaticLinking()
/cts/tests/tests/graphics/jni/
DVulkanProfiles.cpp222 s->properties.limits.discreteQueuePriorities = 2; in __anon3a2b8bf20302()
223 …s->properties.limits.framebufferColorSampleCounts = (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT… in __anon3a2b8bf20302()
224 …s->properties.limits.framebufferDepthSampleCounts = (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT… in __anon3a2b8bf20302()
225 …s->properties.limits.framebufferNoAttachmentsSampleCounts = (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COU… in __anon3a2b8bf20302()
226 …s->properties.limits.framebufferStencilSampleCounts = (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_B… in __anon3a2b8bf20302()
227 s->properties.limits.maxBoundDescriptorSets = 4; in __anon3a2b8bf20302()
228 s->properties.limits.maxColorAttachments = 4; in __anon3a2b8bf20302()
229 s->properties.limits.maxComputeSharedMemorySize = 16384; in __anon3a2b8bf20302()
230 s->properties.limits.maxComputeWorkGroupCount[0] = 65535; in __anon3a2b8bf20302()
231 s->properties.limits.maxComputeWorkGroupCount[1] = 65535; in __anon3a2b8bf20302()
[all …]
/cts/tests/input/src/android/input/cts/
DTouchInjector.kt61 val properties = arrayOfNulls<MotionEvent.PointerProperties>(pointerCount) in sendMultiTouchEvent() constant
65 properties[i] = MotionEvent.PointerProperties() in sendMultiTouchEvent()
66 properties[i]!!.id = i in sendMultiTouchEvent()
67 properties[i]!!.toolType = MotionEvent.TOOL_TYPE_FINGER in sendMultiTouchEvent()
77 pointerCount, properties, coords, 0 /*metaState*/, 0 /*buttonState*/, in sendMultiTouchEvent()
87 pointerCount, properties, coords, 0 /*metaState*/, 0 /*buttonState*/, in sendMultiTouchEvent()
DMotionPredictorTest.kt84 val properties = arrayOfNulls<MotionEvent.PointerProperties>(pointerCount) in getMotionEvent() constant
88 properties[i] = PointerProperties() in getMotionEvent()
89 properties[i]!!.id = i in getMotionEvent()
90 properties[i]!!.toolType = toolType in getMotionEvent()
102 properties.size, in getMotionEvent()
103 properties, in getMotionEvent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DOneTimeDeviceConfigListener.java60 public void onPropertiesChanged(@NonNull Properties properties) { in onPropertiesChanged() argument
61 Log.v(TAG, "onPropertiesChanged(): namespace=" + properties.getNamespace()); in onPropertiesChanged()
62 if (!properties.getNamespace().equals(mNamespace) in onPropertiesChanged()
63 || !properties.getKeyset().contains(mKey)) { in onPropertiesChanged()
65 + "(keySet=" + properties.getKeyset() + ")"); in onPropertiesChanged()
DDeviceConfigStateHelper.java102 public void set(@NonNull DeviceConfig.Properties properties) { in set() argument
104 for (String key : properties.getKeyset()) { in set()
109 () -> assertTrue(DeviceConfig.setProperties(properties))); in set()
/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java69 MotionEvent.PointerProperties properties = new MotionEvent.PointerProperties(); in getMotionEvent() local
70 properties.id = 0; in getMotionEvent()
71 properties.toolType = MotionEvent.TOOL_TYPE_FINGER; in getMotionEvent()
80 new MotionEvent.PointerProperties[] { properties }, in getMotionEvent()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/bugreports/
DBugReports.kt16 TestApis.properties().set("dumpstate.dry_run", if (isQuick) "true" else "false")
20 TestApis.properties().get("dumpstate.dry_run")?.contains("true") ?: false
/cts/hostsidetests/gputools/apps/jni/
Dandroid_gputools_cts_RootlessGpuDebug.cpp49 std::vector<VkExtensionProperties> properties(count); in initVulkan() local
51 properties.data()); in initVulkan()
53 if (!strcmp("VK_EXT_debug_utils", properties[i].extensionName)) { in initVulkan()
54 ALOGI("VK_EXT_debug_utils: %u", properties[i].specVersion); in initVulkan()
/cts/tests/tests/car/src/android/car/cts/property/
DCarSvcPropsParser.java63 JSONObject properties = configJsonObject.getJSONObject(JSON_FIELD_NAME_PROPERTIES); in CarSvcPropsParser() local
64 Iterator<String> keysIt = properties.keys(); in CarSvcPropsParser()
67 JSONObject propertyObj = properties.getJSONObject(propertyName); in CarSvcPropsParser()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationProviderBaseTest.java95 ProviderProperties properties = new ProviderProperties.Builder() in testProperties() local
100 mLocationProvider.setProperties(properties); in testProperties()
101 verify(mManager).onSetProperties(properties); in testProperties()
102 assertThat(mLocationProvider.getProperties()).isEqualTo(properties); in testProperties()
185 @NonNull ProviderProperties properties, LocationProviderBase mock) { in MyProvider() argument
186 super(context, tag, properties); in MyProvider()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DBuildPropParser.java47 Map<String, String> properties = getProperties(); in setAdditionalInfo() local
48 if (properties != null) { in setAdditionalInfo()
49 getFileEntryBuilder().putAllProperties(properties); in setAdditionalInfo()
/cts/libs/midi/src/com/android/midi/
DMidiEchoTestService.java86 Bundle properties = info.getProperties(); in findEchoDevice() local
87 String manufacturer = properties.getString( in findEchoDevice()
91 String product = properties.getString( in findEchoDevice()
DMidiUmpEchoTestService.java90 Bundle properties = info.getProperties(); in findEchoDevice() local
91 String manufacturer = properties.getString( in findEchoDevice()
95 String product = properties.getString( in findEchoDevice()
/cts/tests/tests/transition/src/android/transition/cts/
DCaptureValuesTest.java90 String[] properties = transition.getTransitionProperties(); in verifyCapturedValues() local
92 assertNull(properties); in verifyCapturedValues()
95 assertNotNull(className + " should have non-null transition properties", properties); in verifyCapturedValues()
96 assertTrue(properties.length > 0); in verifyCapturedValues()
98 for (String property : properties) { in verifyCapturedValues()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java417 List<PackageManager.Property> properties = in testQueryApplicationProperty_cannotDetectStubPkg() local
421 assertThat(properties).isEmpty(); in testQueryApplicationProperty_cannotDetectStubPkg()
428 List<PackageManager.Property> properties = in testQueryActivityProperty_cannotDetectStubPkg() local
432 assertThat(properties).isEmpty(); in testQueryActivityProperty_cannotDetectStubPkg()
439 List<PackageManager.Property> properties = in testQueryProviderProperty_cannotDetectStubPkg() local
443 assertThat(properties).isEmpty(); in testQueryProviderProperty_cannotDetectStubPkg()
450 List<PackageManager.Property> properties = in testQueryReceiverProperty_cannotDetectStubPkg() local
454 assertThat(properties).isEmpty(); in testQueryReceiverProperty_cannotDetectStubPkg()
461 List<PackageManager.Property> properties = in testQueryServiceProperty_cannotDetectStubPkg() local
465 assertThat(properties).isEmpty(); in testQueryServiceProperty_cannotDetectStubPkg()
/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTest.java225 MotionEvent.PointerProperties[] properties = in dispatchMultiTouchMotionEventToActivity() local
230 properties[i] = new MotionEvent.PointerProperties(); in dispatchMultiTouchMotionEventToActivity()
231 properties[i].id = i; in dispatchMultiTouchMotionEventToActivity()
232 properties[i].toolType = MotionEvent.TOOL_TYPE_FINGER; in dispatchMultiTouchMotionEventToActivity()
239 properties, coords, 0, 0, 0, 0, in dispatchMultiTouchMotionEventToActivity()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java535 MotionEvent.PointerProperties[] properties = in getMotionEvent() local
537 properties[0].toolType = toolType; in getMotionEvent()
538 properties[0].id = 1; in getMotionEvent()
546 1 /* pointerCount */, properties, coords, 0 /* metaState */, in getMotionEvent()
586 final MotionEvent.PointerProperties[] properties = in splitBatchedMotionEvent() local
591 properties[p] = new MotionEvent.PointerProperties(); in splitBatchedMotionEvent()
592 event.getPointerProperties(p, properties[p]); in splitBatchedMotionEvent()
606 pointerCount, properties, coords, in splitBatchedMotionEvent()
617 pointerCount, properties, currentCoords, in splitBatchedMotionEvent()
/cts/hostsidetests/biometrics/app/src/android/server/biometrics/cts/app/
DBiometricsAtomsHostSideTests.java97 @NonNull List<SensorProperties> properties) { in filterSensorProperties()
101 return properties.stream().filter(p -> { in filterSensorProperties()
117 @NonNull List<SensorProperties> properties) { in filterWeakOrGreaterSensorProperties()
118 return properties.stream() in filterWeakOrGreaterSensorProperties()

123