Home
last modified time | relevance | path

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

12

/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 {
Dbuild.prop2 # begin build properties
43 # end build properties
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java178 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_sameNamespace() local
182 DeviceConfig.setProperties(properties); in testSetAndGetProperties_sameNamespace()
205 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_differentNamespace() local
207 DeviceConfig.setProperties(properties); in testSetAndGetProperties_differentNamespace()
619 final Properties properties = in testGetPropertiesString_empty() local
621 final String result = properties.getString(KEY1, DEFAULT_VALUE); in testGetPropertiesString_empty()
633 final Properties properties = in testGetPropertiesString_nullDefault() local
635 final String result = properties.getString(KEY1, null); in testGetPropertiesString_nullDefault()
645 final Properties properties = in testGetPropertiesString_nonEmpty() local
648 final String result = properties.getString(KEY1, DEFAULT_VALUE); in testGetPropertiesString_nonEmpty()
[all …]
DDeviceConfigApiPermissionTests.java157 Properties properties = tryGetPropertiesWithReadPermission(violations); in testDeviceConfigWithAllPermissions() local
159 VALUE, properties.getString(KEY2, "default_value")); in testDeviceConfigWithAllPermissions()
186 Properties properties = in testDeviceConfigPublicNamespacesWithoutReadPermission() local
188 DeviceConfig.setProperties(properties); in testDeviceConfigPublicNamespacesWithoutReadPermission()
208 Properties properties = in testDeviceConfigPublicNamespacesWithoutReadPermission() local
210 DeviceConfig.setProperties(properties); in testDeviceConfigPublicNamespacesWithoutReadPermission()
229 Properties properties = DeviceConfig.getProperties(PUBLIC_NAMESPACE); in testDeviceConfigPublicNamespacesWithoutReadPermission() local
231 + " value.", VALUE, properties.getString(KEY, "default_value")); in testDeviceConfigPublicNamespacesWithoutReadPermission()
253 public void onPropertiesChanged(Properties properties) { in onPropertiesChanged() argument
269 Properties properties = in trySetPropertiesWithoutWritePermission() local
[all …]
/cts/hostsidetests/incident/src/com/android/server/cts/
DSystemPropertiesTest.java27 … static void verifySystemPropertiesProto(SystemPropertiesProto properties, final int filterLevel) { in verifySystemPropertiesProto() argument
30 assertTrue(properties.getExtraPropertiesCount() > 0); in verifySystemPropertiesProto()
32 assertEquals(0, properties.getExtraPropertiesCount()); in verifySystemPropertiesProto()
35 … assertEquals(filterLevel == PRIVACY_AUTO, properties.getPersist().getSysTimezone().isEmpty()); in verifySystemPropertiesProto()
37 assertFalse(properties.getRo().getBuild().getDisplayId().isEmpty()); in verifySystemPropertiesProto()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaCtsTest.java230 List<PropertyConfig> properties = schema.getProperties(); in testPropertyConfig() local
231 assertThat(properties).hasSize(6); in testPropertyConfig()
233 assertThat(properties.get(0).getName()).isEqualTo("string"); in testPropertyConfig()
234 assertThat(properties.get(0).getCardinality()) in testPropertyConfig()
236 assertThat(((StringPropertyConfig) properties.get(0)).getIndexingType()) in testPropertyConfig()
238 assertThat(((StringPropertyConfig) properties.get(0)).getTokenizerType()) in testPropertyConfig()
241 assertThat(properties.get(1).getName()).isEqualTo("long"); in testPropertyConfig()
242 assertThat(properties.get(1).getCardinality()) in testPropertyConfig()
244 assertThat(properties.get(1)).isInstanceOf(AppSearchSchema.LongPropertyConfig.class); in testPropertyConfig()
246 assertThat(properties.get(2).getName()).isEqualTo("double"); in testPropertyConfig()
[all …]
/cts/tests/tests/calendarcommon/src/android/calendarcommon2/cts/
DCalendarcommon2Test.java38 List<ICalendar.Property> properties = in testStaticLinking() local
40 assertTrue(properties == null); in testStaticLinking()
47 properties = component.getProperties(RecurrenceSet.CTS_PROPERTY_NAME); in testStaticLinking()
48 assertTrue(properties.size() == 1); in testStaticLinking()
/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/util-axt/src/com/android/compatibility/common/util/
DOneTimeDeviceConfigListener.java58 public void onPropertiesChanged(@NonNull Properties properties) { in onPropertiesChanged() argument
59 if (!properties.getNamespace().equals(mNamespace) in onPropertiesChanged()
60 || !properties.getKeyset().contains(mKey)) { in onPropertiesChanged()
61 Log.d(TAG, "ignoring callback for namespace: " + properties.getNamespace()); in onPropertiesChanged()
DDeviceConfigStateHelper.java64 public void set(@NonNull DeviceConfig.Properties properties) { in set() argument
66 for (String key : properties.getKeyset()) { in set()
71 () -> assertTrue(DeviceConfig.setProperties(properties))); in set()
DBaseDefaultPermissionGrantPolicyTest.java289 ArrayMap<String, Object> properties = new ArrayMap(); in getPackageProperties() local
299 properties.put("targetSDK", info.applicationInfo.targetSdkVersion); in getPackageProperties()
300 properties.put("signature", computePackageCertDigest(info.signatures[0]).toUpperCase()); in getPackageProperties()
301 properties.put("uid", UserHandle.getAppId(info.applicationInfo.uid)); in getPackageProperties()
302 properties.put("priv app", info.applicationInfo.isPrivilegedApp()); in getPackageProperties()
303 properties.put("persistent", ((info.applicationInfo.flags in getPackageProperties()
305 properties.put("has platform signature", (pm.checkSignatures(info.packageName, in getPackageProperties()
307 properties.put("on system image", isPackageOnSystemImage(info)); in getPackageProperties()
309 return properties; in getPackageProperties()
/cts/hostsidetests/gputools/apps/jni/
Dandroid_gputools_cts_RootlessGpuDebug.cpp48 std::vector<VkExtensionProperties> properties(count); in initVulkan() local
50 properties.data()); in initVulkan()
52 if (!strcmp("VK_EXT_debug_utils", properties[i].extensionName)) { in initVulkan()
53 ALOGI("VK_EXT_debug_utils: %u", properties[i].specVersion); in initVulkan()
/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/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/libs/midi/src/com/android/midi/
DMidiEchoTestService.java84 Bundle properties = info.getProperties(); in findEchoDevice() local
85 String manufacturer = (String) properties.get( in findEchoDevice()
89 String product = (String) properties.get( in findEchoDevice()
/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/tests/tests/view/src/android/view/cts/
DTouchDelegateTest.java214 MotionEvent.PointerProperties[] properties = in dispatchMultiTouchMotionEventToActivity() local
219 properties[i] = new MotionEvent.PointerProperties(); in dispatchMultiTouchMotionEventToActivity()
220 properties[i].id = i; in dispatchMultiTouchMotionEventToActivity()
221 properties[i].toolType = MotionEvent.TOOL_TYPE_FINGER; in dispatchMultiTouchMotionEventToActivity()
228 properties, coords, 0, 0, 0, 0, in dispatchMultiTouchMotionEventToActivity()
DMotionEventTest.java790 PointerProperties properties = new PointerProperties(); in testPointerPropertiesDefaultConstructor() local
792 assertEquals(MotionEvent.INVALID_POINTER_ID, properties.id); in testPointerPropertiesDefaultConstructor()
793 assertEquals(MotionEvent.TOOL_TYPE_UNKNOWN, properties.toolType); in testPointerPropertiesDefaultConstructor()
798 PointerProperties properties = new PointerProperties(); in testPointerPropertiesCopyConstructor() local
799 properties.id = 1; in testPointerPropertiesCopyConstructor()
800 properties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in testPointerPropertiesCopyConstructor()
802 PointerProperties copy = new PointerProperties(properties); in testPointerPropertiesCopyConstructor()
809 PointerProperties properties = new PointerProperties(); in testPointerPropertiesCopyFrom() local
810 properties.id = 1; in testPointerPropertiesCopyFrom()
811 properties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in testPointerPropertiesCopyFrom()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVideoCodecTestBase.java566 CodecProperties properties = getVideoCodecProperties( in decode() local
568 if (properties == null) { in decode()
572 int frameColorFormat = properties.colorFormat; in decode()
573 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in decode()
585 Log.d(TAG, "Creating decoder " + properties.codecName + in decode()
590 MediaCodec decoder = MediaCodec.createByCodecName(properties.codecName); in decode()
784 CodecProperties properties, in MediaEncoderAsyncHelper() argument
790 mProperties = properties; in MediaEncoderAsyncHelper()
1369 CodecProperties properties = getVideoCodecProperties( in encode() local
1371 if (properties == null) { in encode()
[all …]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java391 JSONObject properties = device.getJSONObject(KEY_PROPERTIES); in emitDevices() local
394 emitLong(store, properties, KEY_API_VERSION); in emitDevices()
395 emitLong(store, properties, KEY_DRIVER_VERSION); in emitDevices()
396 emitLong(store, properties, KEY_VENDOR_ID); in emitDevices()
397 emitLong(store, properties, KEY_DEVICE_ID); in emitDevices()
398 emitLong(store, properties, KEY_DEVICE_TYPE); in emitDevices()
399 emitString(store, properties, KEY_DEVICE_NAME); in emitDevices()
400 emitLongArray(store, properties, KEY_PIPELINE_CACHE_UUID); in emitDevices()
402 JSONObject limits = properties.getJSONObject(KEY_LIMITS); in emitDevices()
514 JSONObject sparse = properties.getJSONObject(KEY_SPARSE_PROPERTIES); in emitDevices()
[all …]
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java318 MotionEvent.PointerProperties[] properties = in splitBatchedMotionEvent() local
322 properties[p] = new MotionEvent.PointerProperties(); in splitBatchedMotionEvent()
323 event.getPointerProperties(p, properties[p]); in splitBatchedMotionEvent()
337 pointerCount, properties, coords, in splitBatchedMotionEvent()
348 pointerCount, properties, currentCoords, in splitBatchedMotionEvent()
/cts/hostsidetests/gputools/layers/jni/
DnullLayer.cpp60 VkResult getProperties(const uint32_t count, const T *properties, uint32_t *pCount, in getProperties() argument
64 if (pProperties == NULL || properties == NULL) { in getProperties()
70 memcpy(pProperties, properties, copySize * sizeof(T)); in getProperties()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallTest.java105 final int properties = PROPERTY_CONFERENCE in testPropertiesToString() local
113 Call.Details.propertiesToString(properties)); in testPropertiesToString()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/native_split/
DAndroid.bp33 // TODO(b/179744452): Please add the following properties in individual modules because these
34 // properties can't inherit from java_defaults.

12