Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java111 Properties prop = new Properties(); in RgbView() local
113 prop.loadFromXML(new FileInputStream("/sdcard/mediadump/prop.xml")); in RgbView()
119 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()
DVideoDumpView.java495 Properties prop = new Properties(); in onSurfaceChanged() local
496 prop.setProperty("width", Integer.toString(mWidth)); in onSurfaceChanged()
497 prop.setProperty("height", Integer.toString(mHeight)); in onSurfaceChanged()
498 prop.setProperty("startX", Integer.toString(mStartX)); in onSurfaceChanged()
499 prop.setProperty("startY", Integer.toString(mStartY)); in onSurfaceChanged()
500 prop.setProperty("bytesPerPixel", in onSurfaceChanged()
502 prop.setProperty("frameRate", Integer.toString(VideoDumpConfig.FRAME_RATE)); in onSurfaceChanged()
504 prop.storeToXML(new FileOutputStream(VideoDumpConfig.ROOT_DIR in onSurfaceChanged()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.cpp46 char prop[PROPERTY_VALUE_MAX] = { '\0', }; in isTestBuild() local
48 property_get(kBuildTypePropName, prop, '\0'); in isTestBuild()
49 return strcmp(prop, kEngBuild) == 0 || strcmp(prop, kTestBuild) == 0; in isTestBuild()
/frameworks/base/core/java/android/net/
DDhcpResults.java162 DhcpResults prop = new DhcpResults((LinkProperties)in.readParcelable(null));
164 prop.leaseDuration = in.readInt();
168 prop.serverAddress = InetAddress.getByAddress(in.createByteArray());
172 prop.vendorInfo = in.readString();
174 return prop;
/frameworks/native/opengl/libs/EGL/
DLoader.cpp86 char prop[PROPERTY_VALUE_MAX]; in ANDROID_SINGLETON_STATIC_INSTANCE() local
90 property_get("ro.kernel.qemu",prop,"0"); in ANDROID_SINGLETON_STATIC_INSTANCE()
91 if (atoi(prop) != 1) in ANDROID_SINGLETON_STATIC_INSTANCE()
95 property_get("ro.kernel.qemu.gles",prop,"0"); in ANDROID_SINGLETON_STATIC_INSTANCE()
96 return atoi(prop); in ANDROID_SINGLETON_STATIC_INSTANCE()
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
DJankTestBase.java243 Properties prop = new Properties(); in getPropertyString() local
244 prop.load(new FileInputStream(new File(LOCAL_TMP_DIR, in getPropertyString()
246 String value = prop.getProperty(key); in getPropertyString()
269 Properties prop = new Properties(); in getPropertyLong() local
270 prop.load(new FileInputStream(new File(LOCAL_TMP_DIR, in getPropertyLong()
272 String value = prop.getProperty(key); in getPropertyLong()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java392 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertiesForRuleStr() local
393 prop.setValue(rrule); in addPropertiesForRuleStr()
394 component.addProperty(prop); in addPropertiesForRuleStr()
451 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertyForDateStr() local
459 prop.addParameter(new ICalendar.Parameter("TZID", tz)); in addPropertyForDateStr()
461 prop.setValue(dateStr); in addPropertyForDateStr()
462 component.addProperty(prop); in addPropertyForDateStr()
DICalendar.java137 public void addProperty(Property prop) { in addProperty() argument
138 String name= prop.getName(); in addProperty()
144 props.add(prop); in addProperty()
/frameworks/av/cmds/stagefright/
Dstream.cpp349 char prop[PROPERTY_VALUE_MAX]; in main() local
350 bool usemp4 = property_get("media.stagefright.use-mp4source", prop, NULL) && in main()
351 (!strcmp(prop, "1") || !strcasecmp(prop, "true")); in main()
/frameworks/opt/telephony/
DREADME.txt49 "setprop" for the current boot, or added to local.prop to persist
54 device# echo "key=value" >> /data/local.prop
55 device# chmod 644 /data/local.prop
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java864 String prop = SystemProperties.get(TelephonyProperties.PROPERTY_SIM_STATE); in getSimState() local
865 if ("ABSENT".equals(prop)) { in getSimState()
868 else if ("PIN_REQUIRED".equals(prop)) { in getSimState()
871 else if ("PUK_REQUIRED".equals(prop)) { in getSimState()
874 else if ("NETWORK_LOCKED".equals(prop)) { in getSimState()
877 else if ("READY".equals(prop)) { in getSimState()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java1007 final LinkProperties prop = new LinkProperties(); in buildWifiState() local
1008 prop.setInterfaceName(TEST_IFACE); in buildWifiState()
1009 return new NetworkState(info, prop, null, null, TEST_SSID); in buildWifiState()
1016 final LinkProperties prop = new LinkProperties(); in buildMobile3gState() local
1017 prop.setInterfaceName(TEST_IFACE); in buildMobile3gState()
1018 return new NetworkState(info, prop, null, subscriberId, null); in buildMobile3gState()
1024 final LinkProperties prop = new LinkProperties(); in buildMobile4gState() local
1025 prop.setInterfaceName(iface); in buildMobile4gState()
1026 return new NetworkState(info, prop, null); in buildMobile4gState()
DNetworkPolicyManagerServiceTest.java839 final LinkProperties prop = new LinkProperties(); in buildWifi() local
840 prop.setInterfaceName(TEST_IFACE); in buildWifi()
841 return new NetworkState(info, prop, null, null, TEST_SSID); in buildWifi()
/frameworks/webview/chromium/tools/
Dmerge_to_master.py124 with open(repo_prop_file) as prop:
125 for line in prop:
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp32 char prop[PROPERTY_VALUE_MAX]; in runningInEmulator() local
33 return (property_get("ro.kernel.qemu", prop, NULL) > 0); in runningInEmulator()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java701 PointerProperties prop = new PointerProperties();
702 prop.id = x;
703 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
704 properties[x] = prop;
/frameworks/base/core/java/android/text/
DTextUtils.java626 Object prop = os[i]; in writeToParcel() local
628 if (prop instanceof CharacterStyle) { in writeToParcel()
629 prop = ((CharacterStyle) prop).getUnderlying(); in writeToParcel()
632 if (prop instanceof ParcelableSpan) { in writeToParcel()
633 ParcelableSpan ps = (ParcelableSpan)prop; in writeToParcel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateMachine.java2024 String[] prop = line.split("="); in fetchRssiAndLinkSpeedNative() local
2025 if (prop.length < 2) continue; in fetchRssiAndLinkSpeedNative()
2027 if (prop[0].equals("RSSI")) { in fetchRssiAndLinkSpeedNative()
2028 newRssi = Integer.parseInt(prop[1]); in fetchRssiAndLinkSpeedNative()
2029 } else if (prop[0].equals("LINKSPEED")) { in fetchRssiAndLinkSpeedNative()
2030 newLinkSpeed = Integer.parseInt(prop[1]); in fetchRssiAndLinkSpeedNative()
2077 String[] prop = line.split("="); in fetchPktcntNative() local
2078 if (prop.length < 2) continue; in fetchPktcntNative()
2080 if (prop[0].equals("TXGOOD")) { in fetchPktcntNative()
2081 info.txgood = Integer.parseInt(prop[1]); in fetchPktcntNative()
[all …]
/frameworks/av/media/mtp/
DMtpDevice.cpp257 MtpObjectProperty prop = (*props)[j]; in print() local
258 MtpProperty* property = getObjectPropDesc(prop, format); in print()
264 MtpDebug::getObjectPropCodeName(prop)); in print()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp183 char prop[PROPERTY_VALUE_MAX]; in setDataSourceAsync() local
184 if (property_get("media.stagefright.use-mp4source", prop, NULL) in setDataSourceAsync()
185 && (!strcmp(prop, "1") || !strcasecmp(prop, "true"))) { in setDataSourceAsync()
/frameworks/base/docs/html/training/animation/
Dindex.jd24 <a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property Animation</a>
/frameworks/base/docs/html/training/custom-views/
Dindex.jd22 <li><a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property
/frameworks/base/docs/html/google/gcm/
Ddemo.jd217 [propertyfile] Creating new property file: <strong>bin/build.prop</strong>
218 [propertyfile] Updating property file: bin/build.prop
219 [propertyfile] Updating property file: bin/build.prop
220 [propertyfile] Updating property file: bin/build.prop
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp968 char prop[PROPERTY_VALUE_MAX]; in android_view_GLES20Canvas_isAvailable() local
969 if (property_get("ro.kernel.qemu", prop, NULL) == 0) { in android_view_GLES20Canvas_isAvailable()
975 property_get("ro.kernel.qemu.gles", prop, "0"); in android_view_GLES20Canvas_isAvailable()
976 return atoi(prop) == 1 ? JNI_TRUE : JNI_FALSE; in android_view_GLES20Canvas_isAvailable()
/frameworks/base/tools/velocityplot/
Dvelocityplot.py165 prop={'size': 10})

12