Home
last modified time | relevance | path

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

1234

/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/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/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
DBootImageProfileTest.java45 private String getProperty(String property) throws Exception { in getProperty() method in BootImageProfileTest
47 return mTestDevice.getProperty("persist.device_config.runtime_native_boot." in getProperty()
68 String res = getProperty("profilebootclasspath"); in validateProperties()
70 res = getProperty("profilesystemserver"); in validateProperties()
90 String pbcp = getProperty("profilebootclasspath"); in testSystemServerProfile()
92 String pss = getProperty("profilesystemserver"); in testSystemServerProfile()
113 String pbcp = getProperty("profilebootclasspath"); in testSystemServerProfile()
115 String pss = getProperty("profilesystemserver"); in testSystemServerProfile()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfigTest.java52 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty()
59 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_sameNamespace()
67 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace()
77 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_multipleNamespaces()
79 result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_multipleNamespaces()
88 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_overrideValue()
/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/services/core/java/com/android/server/wm/
DHighRefreshRateBlacklist.java47 public @Nullable String getProperty(@NonNull String namespace, @NonNull String name) { in create()
48 return DeviceConfig.getProperty(namespace, name); in create()
63 final String property = deviceConfig.getProperty(DeviceConfig.NAMESPACE_DISPLAY_MANAGER,
105 @Nullable String getProperty(@NonNull String namespace, @NonNull String name);
/frameworks/base/services/core/java/com/android/server/location/
DGnssConfiguration.java126 return mProperties.getProperty(CONFIG_SUPL_HOST); in getSuplHost()
142 return mProperties.getProperty(CONFIG_C2K_HOST); in getC2KHost()
174 return mProperties.getProperty(CONFIG_LPP_PROFILE); in getLppProfile()
183 String proxyAppsStr = mProperties.getProperty(CONFIG_NFW_PROXY_APPS); in getProxyApps()
269 String propertyValueString = mProperties.getProperty(propertyName); in reloadGpsProperties()
302 mProperties.getProperty(CONFIG_NFW_PROXY_APPS)); in logConfigurations()
369 String valueString = mProperties.getProperty(configParameter); in getIntConfig()
DGpsPsdsDownloader.java56 String server1 = properties.getProperty("XTRA_SERVER_1"); in GpsPsdsDownloader()
57 String server2 = properties.getProperty("XTRA_SERVER_2"); in GpsPsdsDownloader()
58 String server3 = properties.getProperty("XTRA_SERVER_3"); in GpsPsdsDownloader()
64 String agent = properties.getProperty("XTRA_USER_AGENT"); in GpsPsdsDownloader()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java59 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty()
66 DeviceConfig.getProperty(null, sKey); in getProperty_nullNamespace()
76 DeviceConfig.getProperty(sNamespace, null); in getProperty_nullName()
337 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_sameNamespace()
345 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace()
355 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_multipleNamespaces()
357 result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_multipleNamespaces()
369 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_overrideValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAnimatableProperty.java44 public abstract Property getProperty(); in getProperty() method in AnimatableProperty
77 public Property getProperty() { in from() method in AnimatableProperty
102 public Property getProperty() {
DPropertyAnimator.java46 animatableProperty.getProperty().set(view, newEndValue); in setProperty()
53 Property<T, Float> property = animatableProperty.getProperty(); in startAnimation()
121 property.getProperty().set(view, newValue); in applyImmediately()
/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/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()
DProperties.h43 static inline uint32_t getProperty(const char *str) { in getProperty() function
/frameworks/base/core/java/android/provider/
DDeviceConfig.java397 public static String getProperty(@NonNull String namespace, @NonNull String name) { in getProperty() method in DeviceConfig
418 String value = getProperty(namespace, name); in getString()
437 String value = getProperty(namespace, name); in getBoolean()
455 String value = getProperty(namespace, name); in getInt()
481 String value = getProperty(namespace, name); in getLong()
508 String value = getProperty(namespace, name); in getFloat()
766 value = getProperty(namespace, name); in handleChange()
/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/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java132 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values)); in addFloat()
137 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values)); in addInt()
146 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty() method in TouchAnimator.Builder
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsCallSessionImplBase.java136 public String getProperty(String name) {
137 return ImsCallSessionImplBase.this.getProperty(name);
345 public String getProperty(String name) { in getProperty() method in ImsCallSessionImplBase
/frameworks/base/core/java/android/os/
DIBatteryPropertiesRegistrar.aidl26 int getProperty(in int id, out BatteryProperty prop); in getProperty() method
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java114 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in setUp()
288 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in initializeBpfOffloadConfiguration()
333 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in testNewDhcpServerDisabled()
343 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in testNewDhcpServerDisabled()
356 () -> DeviceConfig.getProperty(eq(NAMESPACE_CONNECTIVITY), in testNewDhcpServerEnabled()
/frameworks/base/services/core/java/com/android/server/am/
DAppCompactor.java387 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateCompactionThrottles()
390 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateCompactionThrottles()
393 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateCompactionThrottles()
396 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateCompactionThrottles()
399 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateCompactionThrottles()
402 DeviceConfig.getProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateCompactionThrottles()
/frameworks/base/core/java/android/net/
DNetwork.java84 Boolean.parseBoolean(System.getProperty("http.keepAlive", "true"));
86 httpKeepAlive ? Integer.parseInt(System.getProperty("http.maxConnections", "5")) : 0;
88 Long.parseLong(System.getProperty("http.keepAliveDuration", "300000")); // 5 minutes.
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java118 PLATFORM_DIR_PROPERTY, System.getProperty(PLATFORM_DIR_PROPERTY)));
124 RESOURCE_DIR_PROPERTY, System.getProperty(RESOURCE_DIR_PROPERTY)));
143 String platformDir = System.getProperty(PLATFORM_DIR_PROPERTY); in getPlatformDir()
155 String workingDirString = System.getProperty("user.dir"); in getPlatformDir()
275 String resourceDir = System.getProperty(RESOURCE_DIR_PROPERTY); in getTestResDir()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java473 modelInfo.name = properties.getProperty("name"); in createModelInfo()
476 modelInfo.modelUuid = UUID.fromString(properties.getProperty("modelUuid")); in createModelInfo()
482 modelInfo.vendorUuid = UUID.fromString(properties.getProperty("vendorUuid")); in createModelInfo()
489 getFilesDir().getPath() + "/" + properties.getProperty("triggerAudio"))); in createModelInfo()
498 getFilesDir().getPath() + "/" + properties.getProperty("dataFile")); in createModelInfo()
520 Log.e(TAG, "Error parsing properties for " + properties.getProperty("name"), e); in createModelInfo()
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java125 String vmName = System.getProperty("java.vm.name", "?"); in handleHELO()
126 String vmVersion = System.getProperty("java.vm.version", "?"); in handleHELO()

1234