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

/frameworks/base/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/base/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.java611 String prop = SystemProperties.get(TelephonyProperties.PROPERTY_SIM_STATE);
612 if ("ABSENT".equals(prop)) {
615 else if ("PIN_REQUIRED".equals(prop)) {
618 else if ("PUK_REQUIRED".equals(prop)) {
621 else if ("NETWORK_LOCKED".equals(prop)) {
624 else if ("READY".equals(prop)) {
/frameworks/opt/calendar/src/com/android/calendarcommon/
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/base/services/tests/servicestests/src/com/android/server/
H A DNetworkStatsServiceTest.java892 final LinkProperties prop = new LinkProperties();
893 prop.setInterfaceName(TEST_IFACE);
894 return new NetworkState(info, prop, null);
901 final LinkProperties prop = new LinkProperties();
902 prop.setInterfaceName(TEST_IFACE);
903 return new NetworkState(info, prop, null, subscriberId);
909 final LinkProperties prop = new LinkProperties();
910 prop.setInterfaceName(iface);
911 return new NetworkState(info, prop, null);
H A DNetworkPolicyManagerServiceTest.java720 final LinkProperties prop = new LinkProperties();
721 prop.setInterfaceName(TEST_IFACE);
722 return new NetworkState(info, prop, null);
/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.java611 Object prop = os[i];
613 if (prop instanceof CharacterStyle) {
614 prop = ((CharacterStyle) prop).getUnderlying();
617 if (prop instanceof ParcelableSpan) {
618 ParcelableSpan ps = (ParcelableSpan)prop;
/frameworks/base/opengl/libs/GLES2_dbg/test/
H A Dtest_server.cpp127 EXPECT_EQ(read.GLConstant, read.prop());
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java1418 String[] prop = line.split(" *= *");
1419 if (prop.length < 2) continue;
1420 String name = prop[0];
1421 String value = prop[1];
1439 String[] prop = line.split("=");
1440 if (prop.length < 2) continue;
1442 if (prop[0].equals("RSSI")) {
1443 newRssi = Integer.parseInt(prop[1]);
1444 } else if (prop[0].equals("LINKSPEED")) {
1445 newLinkSpeed = Integer.parseInt(prop[
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp740 char prop[PROPERTY_VALUE_MAX]; local
741 if (property_get("ro.kernel.qemu", prop, NULL) == 0) {
747 property_get("ro.kernel.qemu.gles", prop, "0");
748 return atoi(prop) == 1 ? JNI_TRUE : JNI_FALSE;
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dserver.cpp224 switch (cmd.prop()) {
H A Ddebugger_message.pb.cpp895 // optional .com.android.glesv2debugger.Message.Prop prop = 21;
1113 // optional .com.android.glesv2debugger.Message.Prop prop = 21;
1116 21, this->prop(), output);
1300 // optional .com.android.glesv2debugger.Message.Prop prop = 21;
1303 ::google::protobuf::internal::WireFormatLite::EnumSize(this->prop());
1394 set_prop(from.prop());
H A Ddebugger_message.pb.h711 // optional .com.android.glesv2debugger.Message.Prop prop = 21;
715 inline ::com::android::glesv2debugger::Message_Prop prop() const;
1145 // optional .com.android.glesv2debugger.Message.Prop prop = 21;
1153 inline ::com::android::glesv2debugger::Message_Prop Message::prop() const { function in class:com::android::glesv2debugger::Message
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py165 prop={'size': 10})
/frameworks/base/media/mtp/
H A DMtpDevice.cpp257 MtpObjectProperty prop = (*props)[j]; local
258 MtpProperty* property = getObjectPropDesc(prop, format);
264 MtpDebug::getObjectPropCodeName(prop));
/frameworks/base/media/java/android/media/
H A DMediaScanner.java413 String prop = SystemProperties.get("drm.service.enabled");
414 return prop != null && prop.equals("true");
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py210 prop={'size': 10})
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java2142 String prop = "net.dns" + i + "." + myPid;
2143 if (SystemProperties.get(prop).length() == 0) {
2149 SystemProperties.set(prop, "");

Completed in 387 milliseconds