Searched refs:prop (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.cpp46 char prop[PROPERTY_VALUE_MAX] = { '\0', }; local
48 property_get(kBuildTypePropName, prop, '\0');
49 return strcmp(prop, kEngBuild) == 0 || strcmp(prop, kTestBuild) == 0;
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java56 * VideDumpView class. It reads the "/sdcard/mediadump/prop.xml" to get
111 Properties prop = new Properties();
113 prop.loadFromXML(new FileInputStream("/sdcard/mediadump/prop.xml"));
119 mStartX = Integer.parseInt(prop.getProperty("startX"));
120 mStartY = Integer.parseInt(prop.getProperty("startY"));
121 mWidth = Integer.parseInt(prop.getProperty("width"));
122 mHeight = Integer.parseInt(prop.getProperty("height"));
123 mBytesPerPixel = Integer.parseInt(prop.getProperty("bytesPerPixel"));
124 mFrameRate = Integer.parseInt(prop
[all...]
H A DVideoDumpView.java83 public static final String PROPERTY_FILE = "prop.xml";
490 Properties prop = new Properties();
491 prop.setProperty("width", Integer.toString(mWidth));
492 prop.setProperty("height", Integer.toString(mHeight));
493 prop.setProperty("startX", Integer.toString(mStartX));
494 prop.setProperty("startY", Integer.toString(mStartY));
495 prop.setProperty("bytesPerPixel",
497 prop.setProperty("frameRate", Integer.toString(VideoDumpConfig.FRAME_RATE));
499 prop.storeToXML(new FileOutputStream(VideoDumpConfig.ROOT_DIR
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp69 char prop[PROPERTY_VALUE_MAX]; local
73 property_get("ro.kernel.qemu",prop,"0");
74 if (atoi(prop) != 1)
78 property_get("ro.kernel.qemu.gles",prop,"0");
79 return atoi(prop);
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java737 String prop = SystemProperties.get(TelephonyProperties.PROPERTY_SIM_STATE);
738 if ("ABSENT".equals(prop)) {
741 else if ("PIN_REQUIRED".equals(prop)) {
744 else if ("PUK_REQUIRED".equals(prop)) {
747 else if ("NETWORK_LOCKED".equals(prop)) {
750 else if ("READY".equals(prop)) {
/frameworks/av/cmds/stagefright/
H A Dstream.cpp348 char prop[PROPERTY_VALUE_MAX]; local
349 bool usemp4 = property_get("media.stagefright.use-mp4source", prop, NULL) &&
350 (!strcmp(prop, "1") || !strcasecmp(prop, "true"));
/frameworks/av/media/libstagefright/
H A DFragmentedMP4Extractor.cpp451 char prop[PROPERTY_VALUE_MAX]; local
452 if (property_get("media.stagefright.use-fragmp4", prop, NULL)
453 && (!strcmp(prop, "1") || !strcasecmp(prop, "true"))) {
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceSet.java381 ICalendar.Property prop = new ICalendar.Property(propertyName);
382 prop.setValue(rrule);
383 component.addProperty(prop);
440 ICalendar.Property prop = new ICalendar.Property(propertyName);
448 prop.addParameter(new ICalendar.Parameter("TZID", tz));
450 prop.setValue(dateStr);
451 component.addProperty(prop);
H A DICalendar.java135 * @param prop
137 public void addProperty(Property prop) { argument
138 String name= prop.getName();
144 props.add(prop);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp32 char prop[PROPERTY_VALUE_MAX]; local
33 return (property_get("ro.kernel.qemu", prop, NULL) > 0);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkStatsServiceTest.java1008 final LinkProperties prop = new LinkProperties();
1009 prop.setInterfaceName(TEST_IFACE);
1010 return new NetworkState(info, prop, null, null, TEST_SSID);
1017 final LinkProperties prop = new LinkProperties();
1018 prop.setInterfaceName(TEST_IFACE);
1019 return new NetworkState(info, prop, null, subscriberId, null);
1025 final LinkProperties prop = new LinkProperties();
1026 prop.setInterfaceName(iface);
1027 return new NetworkState(info, prop, null);
H A DNetworkPolicyManagerServiceTest.java820 final LinkProperties prop = new LinkProperties();
821 prop.setInterfaceName(TEST_IFACE);
822 return new NetworkState(info, prop, null, null, TEST_SSID);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp90 char prop[PROPERTY_VALUE_MAX]; local
91 if (property_get("media.stagefright.use-mp4source", prop, NULL)
92 && (!strcmp(prop, "1") || !strcasecmp(prop, "true"))) {
/frameworks/base/tests/DumpRenderTree2/assets/
H A Drun_apache2.py84 directives += " -c \"Alias /ThirdPartyProject.prop " + \
85 os.path.join(webkit_path, "ThirdPartyProject.prop") + "\""
/frameworks/base/core/java/android/text/
H A DTextUtils.java617 Object prop = os[i];
619 if (prop instanceof CharacterStyle) {
620 prop = ((CharacterStyle) prop).getUnderlying();
623 if (prop instanceof ParcelableSpan) {
624 ParcelableSpan ps = (ParcelableSpan)prop;
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp872 char prop[PROPERTY_VALUE_MAX]; local
873 if (property_get("ro.kernel.qemu", prop, NULL) == 0) {
879 property_get("ro.kernel.qemu.gles", prop, "0");
880 return atoi(prop) == 1 ? JNI_TRUE : JNI_FALSE;
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py165 prop={'size': 10})
/frameworks/av/media/mtp/
H A DMtpDevice.cpp257 MtpObjectProperty prop = (*props)[j]; local
258 MtpProperty* property = getObjectPropDesc(prop, format);
264 MtpDebug::getObjectPropCodeName(prop));
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java1538 String[] prop = line.split("=");
1539 if (prop.length < 2) continue;
1541 if (prop[0].equals("RSSI")) {
1542 newRssi = Integer.parseInt(prop[1]);
1543 } else if (prop[0].equals("LINKSPEED")) {
1544 newLinkSpeed = Integer.parseInt(prop[1]);
1591 String[] prop = line.split("=");
1592 if (prop.length < 2) continue;
1594 if (prop[0].equals("TXGOOD")) {
1595 info.txgood = Integer.parseInt(prop[
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java449 private static String findLegacyVpnGateway(LinkProperties prop) { argument
450 for (RouteInfo route : prop.getRoutes()) {
/frameworks/base/media/java/android/media/
H A DMediaScanner.java412 String prop = SystemProperties.get("drm.service.enabled");
413 return prop != null && prop.equals("true");
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py239 prop={'size': 10})
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java2434 String prop = "net.dns" + i + "." + myPid;
2435 if (SystemProperties.get(prop).length() == 0) {
2441 SystemProperties.set(prop, "");

Completed in 6861 milliseconds