Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 25 of 145) 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/native/services/inputflinger/tests/
DPropertyProvider_test.cpp40 GesturesProp& prop = mProvider.getProperty("Some Integers"); in TEST_F()
67 GesturesProp& prop = mProvider.getProperty("Some Integers"); in TEST_F()
96 GesturesProp& prop = mProvider.getProperty("Some Integers"); in TEST_F()
110 GesturesProp& prop = mProvider.getProperty("Some Booleans"); in TEST_F()
136 GesturesProp& prop = mProvider.getProperty("Some Booleans"); in TEST_F()
164 GesturesProp& prop = mProvider.getProperty("Some Booleans"); in TEST_F()
178 GesturesProp& prop = mProvider.getProperty("Some Reals"); in TEST_F()
204 GesturesProp& prop = mProvider.getProperty("Some Reals"); in TEST_F()
232 GesturesProp& prop = mProvider.getProperty("Some Reals"); in TEST_F()
245 GesturesProp& prop = mProvider.getProperty("A String"); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java91 public Property getProperty() {
120 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationStarted()
135 mAnimationFilter.animate(mProperty.getProperty()); in testEndValueUpdated()
145 mAnimationFilter.animate(mProperty.getProperty()); in testStartTagUpdated()
161 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdated()
173 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdateAnimated()
176 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdateAnimated()
187 mAnimationFilter.animate(mProperty.getProperty()); in testStartTagShiftedWhenChanging()
198 mAnimationFilter.animate(mProperty.getProperty()); in testUsingDuration()
209 mAnimationFilter.animate(mProperty.getProperty()); in testUsingDelay()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DMultiInstanceHelperTest.kt102 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_activityPropertyTrue()
106 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_activityPropertyTrue()
121 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_activityPropertyFalseApplicationPropertyTrue()
125 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_activityPropertyFalseApplicationPropertyTrue()
139 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_noActivityPropertyApplicationPropertyTrue()
143 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_noActivityPropertyApplicationPropertyTrue()
157 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_noActivityOrAppProperty()
160 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in supportsMultiInstanceSplit_noActivityOrAppProperty()
174 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in checkNoMultiInstancePropertyFlag_ignoreProperty()
178 whenever(pm.getProperty(eq(PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI), in checkNoMultiInstancePropertyFlag_ignoreProperty()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DDoPrivilegedPerfTest.java41 String lineSeparator = System.getProperty("line.separator"); in timeDirect()
51 lineSeparator = System.getProperty("line.separator"); in timeFastAndSlow()
55 return System.getProperty("line.separator"); in timeFastAndSlow()
68 return System.getProperty("line.separator"); in timeNewAction()
91 return System.getProperty(mPropertyName); in run()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java59 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty()
66 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_sameNamespace()
74 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace()
84 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_multipleNamespaces()
86 result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_multipleNamespaces()
95 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_overrideValue()
107 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isEqualTo(sValue); in setProperties()
108 assertThat(DeviceConfig.getProperty(sNamespace, newKey)).isEqualTo(newValue); in setProperties()
117 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isEqualTo(sValue); in deleteProperty()
119 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isNull(); in deleteProperty()
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssConfiguration.java144 return mProperties.getProperty(CONFIG_SUPL_HOST); in getSuplHost()
160 return mProperties.getProperty(CONFIG_C2K_HOST); in getC2KHost()
192 return mProperties.getProperty(CONFIG_LPP_PROFILE); in getLppProfile()
200 String proxyAppsStr = mProperties.getProperty(CONFIG_NFW_PROXY_APPS); in getProxyApps()
240 return (mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_1) != null in isLongTermPsdsServerConfigured()
241 || mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_2) != null in isLongTermPsdsServerConfigured()
242 || mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_3) != null); in isLongTermPsdsServerConfigured()
332 String propertyValueString = mProperties.getProperty(propertyName); in reloadGpsProperties()
365 mProperties.getProperty(CONFIG_NFW_PROXY_APPS)); in logConfigurations()
453 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/native/services/inputflinger/reader/mapper/
DTouchpadInputMapper.cpp358 mPropertyProvider.getProperty("Use Custom Touchpad Pointer Accel Curve") in reconfigure()
360 GesturesProp accelCurveProp = mPropertyProvider.getProperty("Pointer Accel Curve"); in reconfigure()
364 mPropertyProvider.getProperty("Use Custom Touchpad Scroll Accel Curve") in reconfigure()
366 GesturesProp scrollCurveProp = mPropertyProvider.getProperty("Scroll Accel Curve"); in reconfigure()
370 mPropertyProvider.getProperty("Scroll X Out Scale").setRealValues({1.0}); in reconfigure()
371 mPropertyProvider.getProperty("Scroll Y Out Scale").setRealValues({1.0}); in reconfigure()
372 mPropertyProvider.getProperty("Invert Scrolling") in reconfigure()
374 mPropertyProvider.getProperty("Tap Enable") in reconfigure()
376 mPropertyProvider.getProperty("Tap Drag Enable") in reconfigure()
378 mPropertyProvider.getProperty("Button Right Click Zone Enable") in reconfigure()
/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/core/java/android/security/net/config/
DSystemCertificateSource.java42 if ((System.getProperty("system.certs.enabled") != null) in getDirectory()
43 && (System.getProperty("system.certs.enabled")).equals("true")) { in getDirectory()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DRenderTestBase.java54 boolean isMac = System.getProperty("os.name").toLowerCase(Locale.US).contains("mac"); in getAppGoldenDir()
64 String resourceDir = System.getProperty(RESOURCE_DIR_PROPERTY); in getBaseResourceDir()
/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/base/services/tests/wmtests/src/com/android/server/wm/utils/
DOptPropFactoryTest.java63 verify(mPackageManager, never()).getProperty(anyString(), anyString()); in optProp_laziness()
70 verify(mPackageManager).getProperty(anyString(), anyString()); in optProp_laziness()
245 when(mPackageManager.getProperty(anyString(), anyString())).thenReturn(prop); in initPropAs()
250 when(mPackageManager.getProperty("", "")).thenThrow( in initPropAsWithException()
/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/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/ravenwood/runtime-common-src/com/android/ravenwood/common/
DRavenwoodCommonUtils.java99 var path = System.getProperty("java.library.path"); in loadJniLibraryInternal()
126 var path = System.getProperty("java.library.path"); in dumpFiles()
186 var path = System.getProperty("java.library.path"); in getRavenwoodRuntimePathInternal()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationConstantsTest.java88 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, key); in assertSettings()
101 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, key); in assertOverride()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java85 String key1Value = DeviceConfig.getProperty(NAMESPACE, KEY); in testAddStickyLocalOverridePreventsWrites()
89 key1Value = DeviceConfig.getProperty(NAMESPACE, KEY); in testAddStickyLocalOverridePreventsWrites()
100 String key2Value = DeviceConfig.getProperty(NAMESPACE, KEY2); in testAddStickyLocalOverrideDoesNotAffectOtherFlags()
162 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in getProperty_empty()
169 DeviceConfig.getProperty(null, KEY); in getProperty_nullNamespace()
179 DeviceConfig.getProperty(NAMESPACE, null); in getProperty_nullName()
440 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in setAndGetProperty_sameNamespace()
448 String result = DeviceConfig.getProperty(newNamespace, KEY); in setAndGetProperty_differentNamespace()
458 String result = DeviceConfig.getProperty(NAMESPACE, KEY); in setAndGetProperty_multipleNamespaces()
460 result = DeviceConfig.getProperty(newNamespace, KEY); in setAndGetProperty_multipleNamespaces()
[all …]
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DBridgeClient.java119 PLATFORM_DIR_PROPERTY, System.getProperty(PLATFORM_DIR_PROPERTY)));
163 String nativeLibDirPath = System.getProperty(NATIVE_LIB_PATH_PROPERTY); in getNativeLibDirPath()
179 String fontDir = System.getProperty(FONT_DIR_PROPERTY); in getFontDir()
191 String icuDataPath = System.getProperty(ICU_DATA_PATH_PROPERTY); in getIcuDataPath()
199 String keyboardDir = System.getProperty(KEYBOARD_DIR_PROPERTY); in getKeyboardDir()
212 String androidHostOutDir = System.getProperty(ANDROID_HOST_OUT_DIR_PROPERTY); in getAndroidHostOutDir()
228 String platformDir = System.getProperty(PLATFORM_DIR_PROPERTY); in getPlatformDir()
240 String workingDirString = System.getProperty("user.dir"); in getPlatformDir()

123456