Home
last modified time | relevance | path

Searched refs:getProperties (Results 1 – 25 of 139) sorted by relevance

123456

/aosp12/frameworks/base/core/tests/coretests/src/android/provider/
H A DDeviceConfigTest.java398 Properties properties = DeviceConfig.getProperties(NAMESPACE); in getProperties_fullNamespace()
403 properties = DeviceConfig.getProperties(NAMESPACE); in getProperties_fullNamespace()
409 properties = DeviceConfig.getProperties(NAMESPACE); in getProperties_fullNamespace()
415 properties = DeviceConfig.getProperties(NAMESPACE); in getProperties_fullNamespace()
515 properties = DeviceConfig.getProperties(NAMESPACE); in setProperties()
524 properties = DeviceConfig.getProperties(NAMESPACE); in setProperties()
544 Properties properties = DeviceConfig.getProperties(NAMESPACE); in setProperties_multipleNamespaces()
552 properties = DeviceConfig.getProperties(namespace2); in setProperties_multipleNamespaces()
603 modifiedProperties = DeviceConfig.getProperties(namespaceToBan); in banNamespaceProperties()
639 modifiedProperties1 = DeviceConfig.getProperties(namespaceToBan1); in banEntireDeviceConfig()
[all …]
/aosp12/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DICalendarTest.java84 List<ICalendar.Property> props = component.getProperties("PROP1"); in testParseBasicComponent()
176 assertEquals(1, event.getProperties("DTSTART").size()); in testParseEvent1()
179 assertEquals(1, event.getProperties("DTEND").size()); in testParseEvent1()
182 assertEquals(1, event.getProperties("SUMMARY").size()); in testParseEvent1()
200 assertEquals(1, event.getProperties("DTSTART").size()); in testParseEvent2()
203 assertEquals(1, event.getProperties("SUMMARY").size()); in testParseEvent2()
283 assertEquals(1, event.getProperties("RRULE").size()); in testNormalize()
299 assertEquals(1, event.getProperties("RRULE").size()); in testNormalizeBadSep()
H A DRecurrenceSetTest.java113 List<ICalendar.Property> list = component.getProperties("DTSTART"); in testRRULEfolding()
117 list = component.getProperties("RRULE"); in testRRULEfolding()
130 list = component.getProperties("RRULE"); in testRRULEfolding()
143 list = component.getProperties("RRULE"); in testRRULEfolding()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
H A DTestableDeviceConfigTest.java110 Properties properties = DeviceConfig.getProperties(sNamespace); in getProperties_empty()
115 properties = DeviceConfig.getProperties(sNamespace); in getProperties_empty()
122 public void getProperties() { in getProperties() method in TestableDeviceConfigTest
123 Properties properties = DeviceConfig.getProperties(sNamespace, sKey); in getProperties()
127 properties = DeviceConfig.getProperties(sNamespace, sKey); in getProperties()
133 properties = DeviceConfig.getProperties(sNamespace, sKey, newKey); in getProperties()
138 properties = DeviceConfig.getProperties(sNamespace, newKey, unsetKey); in getProperties()
H A DTestableDeviceConfig.java98 invokeListeners(namespace, getProperties(namespace, name, value)); in setUpMockBehaviors()
112 invokeListeners(namespace, getProperties(namespace, keyValues)); in setUpMockBehaviors()
141 return getProperties(namespace, keyValues); in setUpMockBehaviors()
142 }).when(() -> DeviceConfig.getProperties(anyString(), ArgumentMatchers.<String>any())); in setUpMockBehaviors()
173 private Properties getProperties(String namespace, String name, String value) { in getProperties() method in TestableDeviceConfig
174 return getProperties(namespace, Collections.singletonMap(name.toLowerCase(), value)); in getProperties()
177 private Properties getProperties(String namespace, Map<String, String> keyValues) { in getProperties() method in TestableDeviceConfig
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/util/
H A DPrefixUtil.java165 int documentCount = documentBuilder.getProperties(propertyIdx).getDocumentValuesCount(); in addPrefixToDocument()
168 documentBuilder.getProperties(propertyIdx).toBuilder(); in addPrefixToDocument()
211 int documentCount = documentBuilder.getProperties(propertyIdx).getDocumentValuesCount(); in removePrefixesFromDocument()
214 documentBuilder.getProperties(propertyIdx).toBuilder(); in removePrefixesFromDocument()
/aosp12/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
H A DPayloadSpecsTest.java88 assertEquals(4, spec.getProperties().size()); in forNonStreaming_works()
91 spec.getProperties().get(0)); in forNonStreaming_works()
112 new String[]{"k1=val1", "key2=val2"}, spec.getProperties().toArray(new String[0])); in forStreaming_works()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageParserTest.java382 final Map<String, Property> properties = pkg.getProperties(); in testParseApplicationProperties()
416 final Map<String, Property> properties = activity.getProperties(); in testParseActivityProperties()
449 final Map<String, Property> properties = provider.getProperties(); in testParseProviderProperties()
470 final Map<String, Property> properties = receiver.getProperties(); in testParseReceiverProperties()
493 final Map<String, Property> properties = service.getProperties(); in testParseServiceProperties()
630 assertEquals(a.getProperties().size(), b.getProperties().size()); in assertPackagesEqual()
631 final Iterator<String> iter = a.getProperties().keySet().iterator(); in assertPackagesEqual()
634 assertEquals(a.getProperties().get(key), b.getProperties().get(key)); in assertPackagesEqual()
695 assertEquals(a.getProperties().size(), b.getProperties().size()); in assertComponentsEqual()
696 final Iterator<String> iter = a.getProperties().keySet().iterator(); in assertComponentsEqual()
[all …]
/aosp12/hardware/interfaces/soundtrigger/2.0/default/
H A DSoundTriggerHalImpl.h74 Return<void> getProperties(ISoundTriggerHw::getProperties_cb _hidl_cb);
101 Return<void> getProperties(getProperties_cb _hidl_cb) override { in getProperties() function
102 return mImpl->getProperties(_hidl_cb); in getProperties()
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
H A DFlingAnimationUtils.java95 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply()
117 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply()
122 private AnimatorProperties getProperties( in getProperties() method in FlingAnimationUtils
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageProperty.java117 mApplicationProperties = addProperties(pkg.getProperties(), mApplicationProperties); in addAllProperties()
126 mApplicationProperties = removeProperties(pkg.getProperties(), mApplicationProperties); in removeAllProperties()
142 final Map<String, Property> properties = components.get(i).getProperties(); in addComponentProperties()
189 final Map<String, Property> properties = components.get(i).getProperties(); in removeComponentProperties()
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
H A DGenericDocumentToProtoConverter.java139 PropertyProto property = proto.getProperties(i); in toGenericDocument()
192 if (propertyName.equals(schema.getProperties(i).getPropertyName())) { in setEmptyProperty()
193 dataType = schema.getProperties(i).getDataType().getNumber(); in setEmptyProperty()
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DSoundTriggerHw2Watchdog.java48 public Properties getProperties() { in getProperties() method in SoundTriggerHw2Watchdog
50 return mUnderlying.getProperties(); in getProperties()
H A DSoundTriggerHw2Enforcer.java53 public Properties getProperties() { in getProperties() method in SoundTriggerHw2Enforcer
55 return mUnderlying.getProperties(); in getProperties()
H A DISoundTriggerHw2.java59 android.hardware.soundtrigger.V2_3.Properties getProperties(); in getProperties() method
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
H A DAppSearchSchema.java93 getProperties().toArray(new AppSearchSchema.PropertyConfig[0]); in appendAppSearchSchemaString()
125 public List<PropertyConfig> getProperties() { in getProperties() method in AppSearchSchema
150 return getProperties().equals(otherSchema.getProperties()); in equals()
155 return Objects.hash(getSchemaType(), getProperties()); in hashCode()
/aosp12/hardware/interfaces/broadcastradio/1.0/vts/functional/
H A DVtsHalBroadcastradioV1_0TargetTest.cpp232 bool getProperties();
298 bool BroadcastRadioHidlTest::getProperties() in getProperties() function in BroadcastRadioHidlTest
303 auto hidlReturn = mRadio->getProperties([&](Result result, const Properties& properties) { in getProperties()
327 if (!getProperties()) { in openTuner()
392 EXPECT_EQ(true, getProperties()); in TEST_P()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DFlingAnimationUtils.java138 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
157 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
163 private AnimatorProperties getProperties(float currValue, in getProperties() method in FlingAnimationUtils
/aosp12/hardware/interfaces/soundtrigger/2.1/default/
H A DSoundTriggerHw.h59 Return<void> getProperties(getProperties_cb _hidl_cb) override { in getProperties() function
60 return mImpl->getProperties(_hidl_cb); in getProperties()
/aosp12/hardware/interfaces/broadcastradio/1.0/default/
H A DBroadcastRadio.h35 Return<void> getProperties(getProperties_cb _hidl_cb) override;
/aosp12/hardware/interfaces/broadcastradio/2.0/default/
H A DBroadcastRadio.h34 Return<void> getProperties(getProperties_cb _hidl_cb) override;
/aosp12/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
H A DPayloadSpec.java62 public List<String> getProperties() { in getProperties() method in PayloadSpec
/aosp12/frameworks/native/include/input/
H A DPropertyMap.h79 inline const KeyedVector<String8, String8>& getProperties() const { return mProperties; } in getProperties() function
/aosp12/hardware/interfaces/broadcastradio/1.1/default/
H A DBroadcastRadio.h61 Return<void> getProperties(getProperties_cb _hidl_cb) override;
/aosp12/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionDeviceConfig.java83 refresh(DeviceConfig.getProperties(DeviceConfig.NAMESPACE_MEDIA)); in initialize()

123456