Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncConfiguration.cpp32 std::optional<nsecs_t> getProperty(const char* name) { in getProperty() function
91 getProperty("debug.sf.early_phase_offset_ns"), in PhaseOffsets()
92 getProperty("debug.sf.early_gl_phase_offset_ns"), in PhaseOffsets()
93 getProperty("debug.sf.early_app_phase_offset_ns"), in PhaseOffsets()
94 getProperty("debug.sf.early_gl_app_phase_offset_ns"), in PhaseOffsets()
95 getProperty("debug.sf.high_fps_late_app_phase_offset_ns").value_or(2000000), in PhaseOffsets()
96 getProperty("debug.sf.high_fps_late_sf_phase_offset_ns").value_or(1000000), in PhaseOffsets()
97 getProperty("debug.sf.high_fps_early_phase_offset_ns"), in PhaseOffsets()
98 getProperty("debug.sf.high_fps_early_gl_phase_offset_ns"), in PhaseOffsets()
99 getProperty("debug.sf.high_fps_early_app_phase_offset_ns"), in PhaseOffsets()
[all …]
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
DBootImageProfileTest.java47 private String getProperty(String property) throws Exception { in getProperty() method in BootImageProfileTest
49 return mTestDevice.getProperty("persist.device_config.runtime_native_boot." in getProperty()
70 String res = getProperty("profilebootclasspath"); in validateProperties()
72 res = getProperty("profilesystemserver"); in validateProperties()
74 res = getProperty("extra-opts"); in validateProperties()
94 String pbcp = getProperty("profilebootclasspath"); in testSystemServerProfile()
96 String pss = getProperty("profilesystemserver"); in testSystemServerProfile()
98 String extraOpts = getProperty("extra-opts"); in testSystemServerProfile()
121 String pbcp = getProperty("profilebootclasspath"); in testSystemServerProfile()
123 String pss = getProperty("profilesystemserver"); in testSystemServerProfile()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DVolumeLoader.java47 map.put(prop[i].getProperty("name"), prop[i]); in VolumeLoader()
70 String dir = p.getProperty("dir"); in getVolume()
73 if ("dicom".equalsIgnoreCase(p.getProperty("format"))) { in getVolume()
76 String [] looks = p.getProperty("looks").split(","); in getVolume()
78 String look_color = p.getProperty(looks[j]+".color"); in getVolume()
79 String look_opacity = p.getProperty(looks[j]+".opacity"); in getVolume()
83 } else if ("raw".equalsIgnoreCase(p.getProperty("format"))) { in getVolume()
86 String [] looks = p.getProperty("looks").split(","); in getVolume()
88 String look_color = p.getProperty(looks[j]+".color"); in getVolume()
89 String look_opacity = p.getProperty(looks[j]+".opacity"); in getVolume()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DDeviceConfigUtilsTest.java103 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_Null()
112 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NotNull()
121 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NormalValue()
131 doReturn(null).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_NullValue()
141 doReturn(Integer.toString(TEST_MAX_FLAG_VALUE + 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_OverMaximumValue()
151 doReturn(Integer.toString(TEST_MAX_FLAG_VALUE)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_EqualsMaximumValue()
161 doReturn(Integer.toString(TEST_MIN_FLAG_VALUE - 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_BelowMinimumValue()
171 doReturn(Integer.toString(TEST_MIN_FLAG_VALUE)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_EqualsMinimumValue()
181 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyBoolean_Null()
190 doReturn("true").when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyBoolean_NotNull()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java84 public Property getProperty() {
112 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationStarted()
127 mAnimationFilter.animate(mProperty.getProperty()); in testEndValueUpdated()
137 mAnimationFilter.animate(mProperty.getProperty()); in testStartTagUpdated()
153 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdated()
165 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdateAnimated()
168 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdateAnimated()
179 mAnimationFilter.animate(mProperty.getProperty()); in testStartTagShiftedWhenChanging()
190 mAnimationFilter.animate(mProperty.getProperty()); in testUsingDuration()
201 mAnimationFilter.animate(mProperty.getProperty()); in testUsingDelay()
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java65 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty()
72 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_sameNamespace()
80 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace()
90 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_multipleNamespaces()
92 result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_multipleNamespaces()
101 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_overrideValue()
111 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isEqualTo(sValue); in setProperties()
112 assertThat(DeviceConfig.getProperty(sNamespace, newKey)).isEqualTo(newValue); in setProperties()
118 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isEqualTo(sValue); in deleteProperty()
120 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isNull(); in deleteProperty()
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssConfiguration.java136 return mProperties.getProperty(CONFIG_SUPL_HOST); in getSuplHost()
152 return mProperties.getProperty(CONFIG_C2K_HOST); in getC2KHost()
184 return mProperties.getProperty(CONFIG_LPP_PROFILE); in getLppProfile()
192 String proxyAppsStr = mProperties.getProperty(CONFIG_NFW_PROXY_APPS); in getProxyApps()
224 return (mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_1) != null in isLongTermPsdsServerConfigured()
225 || mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_2) != null in isLongTermPsdsServerConfigured()
226 || mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_3) != null); in isLongTermPsdsServerConfigured()
312 String propertyValueString = mProperties.getProperty(propertyName); in reloadGpsProperties()
345 mProperties.getProperty(CONFIG_NFW_PROXY_APPS)); in logConfigurations()
415 String valueString = mProperties.getProperty(configParameter); in getIntConfig()
[all …]
DGnssPsdsDownloader.java64 String longTermPsdsServer1 = properties.getProperty( in GnssPsdsDownloader()
66 String longTermPsdsServer2 = properties.getProperty( in GnssPsdsDownloader()
68 String longTermPsdsServer3 = properties.getProperty( in GnssPsdsDownloader()
89 String normalPsdsServer = properties.getProperty( in GnssPsdsDownloader()
91 String realtimePsdsServer = properties.getProperty( in GnssPsdsDownloader()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java119 mStartX = Integer.parseInt(prop.getProperty("startX")); in RgbView()
120 mStartY = Integer.parseInt(prop.getProperty("startY")); in RgbView()
121 mWidth = Integer.parseInt(prop.getProperty("width")); in RgbView()
122 mHeight = Integer.parseInt(prop.getProperty("height")); in RgbView()
123 mBytesPerPixel = Integer.parseInt(prop.getProperty("bytesPerPixel")); in RgbView()
124 mFrameRate = Integer.parseInt(prop.getProperty("frameRate")); in RgbView()
/frameworks/base/core/java/android/app/admin/
DProvisioningIntentHelper.java149 properties.getProperty(propertyName)); in addPropertyToBundle()
161 Boolean.parseBoolean(properties.getProperty(propertyName))); in addPropertyToBundle()
163 bundle.putLong(propertyName, Long.parseLong(properties.getProperty(propertyName))); in addPropertyToBundle()
165 bundle.putInt(propertyName, Integer.parseInt(properties.getProperty(propertyName))); in addPropertyToBundle()
168 bundle.putString(propertyName, properties.getProperty(propertyName)); in addPropertyToBundle()
183 String serializedExtras = properties.getProperty(extraName); in deserializeExtrasBundle()
192 extrasBundle.putString(propertyName, bundleProperties.getProperty(propertyName)); in deserializeExtrasBundle()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DFakeDeviceConfigInterface.java97 public String getProperty(String namespace, String name) { in getProperty() method in FakeDeviceConfigInterface
156 String value = getProperty(namespace, name); in getString()
162 String value = getProperty(namespace, name); in getInt()
175 String value = getProperty(namespace, name); in getLong()
188 String value = getProperty(namespace, name); in getFloat()
201 String value = getProperty(namespace, name); in getBoolean()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DViewDumpParser.java57 Object name = getProperty(props, "__name__"); in getFirstView()
58 Object hash = getProperty(props, "__hash__"); in getFirstView()
67 private Object getProperty(Map<Short, Object> props, String key) { in getProperty() method in ViewDumpParser
/frameworks/base/services/core/java/com/android/server/pm/
DPackageProperty.java63 public Property getProperty(@NonNull String propertyName, @NonNull String packageName, in getProperty() method in PackageProperty
237 private static Property getProperty(String propertyName, String packageName, String className, in getProperty() method in PackageProperty
261 property = getProperty(propertyName, packageName, className, mActivityProperties); in getComponentProperty()
264 property = getProperty(propertyName, packageName, className, mProviderProperties); in getComponentProperty()
267 property = getProperty(propertyName, packageName, className, mReceiverProperties); in getComponentProperty()
270 property = getProperty(propertyName, packageName, className, mServiceProperties); in getComponentProperty()
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp131 if (!getProperty("debug.rs.arm-no-hwdiv")) { in initializeArch()
155 if (!getProperty("debug.rs.arm-no-tune-for-cpu")) { in initializeArch()
169 if (!getProperty("debug.rs.arm-no-tune-for-cpu")) { in initializeArch()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java134 PLATFORM_DIR_PROPERTY, System.getProperty(PLATFORM_DIR_PROPERTY)));
144 RESOURCE_DIR_PROPERTY, System.getProperty(RESOURCE_DIR_PROPERTY)));
175 String nativeLibDirPath = System.getProperty(NATIVE_LIB_PATH_PROPERTY); in getNativeLibDirPath()
191 String fontDir = System.getProperty(FONT_DIR_PROPERTY); in getFontDir()
203 String icuDataPath = System.getProperty(ICU_DATA_PATH_PROPERTY); in getIcuDataPath()
211 String platformDir = System.getProperty(PLATFORM_DIR_PROPERTY); in getPlatformDir()
223 String workingDirString = System.getProperty("user.dir"); in getPlatformDir()
343 String resourceDir = System.getProperty(RESOURCE_DIR_PROPERTY); in getTestResDir()
452 boolean isMac = System.getProperty("os.name").toLowerCase(Locale.US).contains("mac"); in verify()
/frameworks/base/core/java/android/provider/
DDeviceConfigInterface.java40 String getProperty(@NonNull String namespace, @NonNull String name); in getProperty() method
127 public String getProperty(String namespace, String name) {
128 return DeviceConfig.getProperty(namespace, name);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java53 animatableProperty.getProperty().set(view, newEndValue); in setProperty()
60 Property<T, Float> property = animatableProperty.getProperty(); in startAnimation()
138 property.getProperty().set(view, newValue); in applyImmediately()
DAnimatableProperty.java151 public abstract Property getProperty(); in getProperty() method in AnimatableProperty
184 public Property getProperty() { in from() method in AnimatableProperty
209 public Property getProperty() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java94 public String getProperty(@NonNull String namespace, @NonNull String name) { in getProperty() method in DeviceConfigProxy
95 return DeviceConfig.getProperty(namespace, name); in getProperty()
/frameworks/base/tests/testables/tests/src/android/testing/
DDexmakerShareClassLoaderRuleTest.java62 assertThat(System.getProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY), is("asdf")); in rule_resetsProperty_toExactValue()
108 return Boolean.parseBoolean(System.getProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY)); in readProperty()
/frameworks/base/services/core/java/com/android/server/timedetector/
DServerFlags.java271 String value = DeviceConfig.getProperty(NAMESPACE_SYSTEM_TIME, key); in getOptionalString()
294 String value = DeviceConfig.getProperty(NAMESPACE_SYSTEM_TIME, key); in getOptionalInstant()
313 String value = DeviceConfig.getProperty(NAMESPACE_SYSTEM_TIME, key); in getOptionalBoolean()
/frameworks/base/core/java/android/os/
DIBatteryPropertiesRegistrar.aidl26 int getProperty(in int id, out BatteryProperty prop); in getProperty() method
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java71 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in getProperty_empty()
78 DeviceConfig.getProperty(null, KEY); in getProperty_nullNamespace()
88 DeviceConfig.getProperty(NAMESPACE, null); in getProperty_nullName()
349 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in setAndGetProperty_sameNamespace()
357 String result = DeviceConfig.getProperty(newNamespace, KEY); in setAndGetProperty_differentNamespace()
367 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in setAndGetProperty_multipleNamespaces()
369 result = DeviceConfig.getProperty(newNamespace, KEY); in setAndGetProperty_multipleNamespaces()
381 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in setAndGetProperty_overrideValue()
388 assertThat(DeviceConfig.getProperty(NAMESPACE, KEY)).isEqualTo(VALUE); in resetToDefault_makeDefault()
391 assertThat(DeviceConfig.getProperty(NAMESPACE, KEY)).isEqualTo(VALUE); in resetToDefault_makeDefault()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java144 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values)); in addFloat()
149 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values)); in addInt()
158 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty() method in TouchAnimator.Builder
/frameworks/base/core/java/com/android/internal/util/
DXmlSerializerWrapper.java50 public Object getProperty(String name) { in getProperty() method in XmlSerializerWrapper
51 return mWrapped.getProperty(name); in getProperty()

123456