Home
last modified time | relevance | path

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

123

/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapBmessageParser.java95 for (Property prop : props) { in expected()
99 sb.append(prop); in expected()
108 Property prop; in parse() local
117 prop = mParser.next(); in parse()
118 if (!prop.equals(BEGIN_BMSG)) { in parse()
122 prop = parseProperties(); in parse()
124 while (prop.equals(BEGIN_VCARD)) { in parse()
129 prop = extractVcard(vcard); in parse()
135 if (!prop.equals(BEGIN_BENV)) { in parse()
139 prop = parseEnvelope(1); in parse()
[all …]
/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/base/services/core/java/com/android/server/notification/
DPropConfig.java30 final String prop = SystemProperties.get(propName, UNSET); in getStringArray() local
31 return !UNSET.equals(prop) ? prop.split(",") : context.getResources().getStringArray(resId); in getStringArray()
/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/os/
DBatteryManager.java186 BatteryProperty prop = new BatteryProperty(); in queryProperty() local
188 if (mBatteryPropertiesRegistrar.getProperty(id, prop) == 0) in queryProperty()
189 ret = prop.getLong(); in queryProperty()
DIBatteryPropertiesRegistrar.aidl29 int getProperty(in int id, out BatteryProperty prop); in getProperty() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java247 private void setExtendStart(CanvasProperty<Float> prop) { in setExtendStart() argument
249 mLeftProp = prop; in setExtendStart()
251 mTopProp = prop; in setExtendStart()
263 private void setExtendEnd(CanvasProperty<Float> prop) { in setExtendEnd() argument
265 mRightProp = prop; in setExtendEnd()
267 mBottomProp = prop; in setExtendEnd()
/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/base/cmds/app_process/
Dapp_main.cpp283 char prop[PROP_VALUE_MAX]; in main() local
284 if (property_get(ABI_LIST_PROPERTY, prop, NULL) == 0) { in main()
291 abiFlag.append(prop); in main()
/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.cpp352 char prop[PROPERTY_VALUE_MAX]; in main() local
353 bool usemp4 = property_get("media.stagefright.use-mp4source", prop, NULL) && in main()
354 (!strcmp(prop, "1") || !strcasecmp(prop, "true")); in main()
/frameworks/base/libs/hwui/
DDisplayList.h155 void ref(VirtualLightRefBase* prop) { in ref() argument
156 mReferenceHolders.push(prop); in ref()
/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/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, 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, 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, null, null, null); in buildMobile4gState()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java2881 String prop = SystemProperties.get(property); in setTelephonyProperty() local
2887 if (prop != null) { in setTelephonyProperty()
2888 p = prop.split(","); in setTelephonyProperty()
2893 " property=" + property + " value: " + value + " prop=" + prop); in setTelephonyProperty()
3019 String prop = SystemProperties.get(property); in getTelephonyProperty() local
3020 if ((prop != null) && (prop.length() > 0)) { in getTelephonyProperty()
3021 String values[] = prop.split(","); in getTelephonyProperty()
3027 + " property='" + property + "' defaultVal='" + defaultVal + "' prop=" + prop); in getTelephonyProperty()
3884 String prop = TelephonyProperties.PROPERTY_BASEBAND_VERSION + in setBasebandVersionForPhone() local
3886 SystemProperties.set(prop, version); in setBasebandVersionForPhone()
/frameworks/base/cmds/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/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/support/v17/leanback/src/android/support/v17/leanback/widget/
DStreamingTextView.java247 int prop = excess / 2; in draw() local
257 float left = i * sliceWidth + prop + dotWidth / 2; in draw()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java264 public SlideAnimatorListener(View view, Property<View, Float> prop, in SlideAnimatorListener() argument
266 mProp = prop; in SlideAnimatorListener()
/frameworks/webview/chromium/tools/
Dmerge_to_android.py261 with open(repo_prop_file) as prop:
262 for line in prop:
/frameworks/av/media/libstagefright/
DUtils.cpp837 char prop[PROPERTY_VALUE_MAX]; in uriDebugString() local
838 if (property_get("media.stagefright.log-uri", prop, "false") && in uriDebugString()
839 (!strcmp(prop, "1") || !strcmp(prop, "true"))) { in uriDebugString()
/frameworks/base/core/java/android/text/
DTextUtils.java640 Object prop = os[i]; in writeToParcel() local
642 if (prop instanceof CharacterStyle) { in writeToParcel()
643 prop = ((CharacterStyle) prop).getUnderlying(); in writeToParcel()
646 if (prop instanceof ParcelableSpan) { in writeToParcel()
647 ParcelableSpan ps = (ParcelableSpan)prop; in writeToParcel()
/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()

123