Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 58) 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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
DVolumeLoader.java45 Properties[] prop = getPropertyFiles(baseDir); in VolumeLoader() local
46 for (int i = 0; i < prop.length; i++) { in VolumeLoader()
47 map.put(prop[i].getProperty("name"), prop[i]); in VolumeLoader()
110 Properties prop = new Properties(); in getPropertyFiles() local
111 ret[i] = prop; in getPropertyFiles()
113 prop.load(new FileReader(f[i])); in getPropertyFiles()
DLoaderRaw.java51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, in buildRSVolume() argument
53 String[] dim = prop.getProperty("dim").split("x"); in buildRSVolume()
58 String[] voxeldim = prop.getProperty("voxeldim").split(","); in buildRSVolume()
/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.java228 BatteryProperty prop = new BatteryProperty(); in queryProperty() local
230 if (mBatteryPropertiesRegistrar.getProperty(id, prop) == 0) in queryProperty()
231 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/base/core/jni/
Dandroid_view_DisplayListCanvas.cpp218 char prop[PROPERTY_VALUE_MAX]; in android_view_DisplayListCanvas_isAvailable() local
219 if (property_get("ro.kernel.qemu", prop, NULL) == 0) { in android_view_DisplayListCanvas_isAvailable()
225 property_get("ro.kernel.qemu.gles", prop, "0"); in android_view_DisplayListCanvas_isAvailable()
226 return atoi(prop) == 1 ? JNI_TRUE : JNI_FALSE; in android_view_DisplayListCanvas_isAvailable()
/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.h151 void ref(VirtualLightRefBase* prop) { in ref() argument
152 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.java1008 final LinkProperties prop = new LinkProperties(); in buildWifiState() local
1009 prop.setInterfaceName(TEST_IFACE); in buildWifiState()
1010 return new NetworkState(info, prop, null, null, null, TEST_SSID); in buildWifiState()
1017 final LinkProperties prop = new LinkProperties(); in buildMobile3gState() local
1018 prop.setInterfaceName(TEST_IFACE); in buildMobile3gState()
1019 return new NetworkState(info, prop, null, null, subscriberId, null); in buildMobile3gState()
1025 final LinkProperties prop = new LinkProperties(); in buildMobile4gState() local
1026 prop.setInterfaceName(iface); in buildMobile4gState()
1027 return new NetworkState(info, prop, null, null, null, null); in buildMobile4gState()
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
DStreamingTextView.java253 int prop = excess / 2; in draw() local
263 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/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/base/telephony/java/android/telephony/
DTelephonyManager.java3196 String prop = SystemProperties.get(property); in setTelephonyProperty() local
3202 if (prop != null) { in setTelephonyProperty()
3203 p = prop.split(","); in setTelephonyProperty()
3208 " property=" + property + " value: " + value + " prop=" + prop); in setTelephonyProperty()
3334 String prop = SystemProperties.get(property); in getTelephonyProperty() local
3335 if ((prop != null) && (prop.length() > 0)) { in getTelephonyProperty()
3336 String values[] = prop.split(","); in getTelephonyProperty()
4483 String prop = TelephonyProperties.PROPERTY_BASEBAND_VERSION + in setBasebandVersionForPhone() local
4485 SystemProperties.set(prop, version); in setBasebandVersionForPhone()
/frameworks/base/core/java/android/text/
DTextUtils.java645 Object prop = os[i]; in writeToParcel() local
647 if (prop instanceof CharacterStyle) { in writeToParcel()
648 prop = ((CharacterStyle) prop).getUnderlying(); in writeToParcel()
651 if (prop instanceof ParcelableSpan) { in writeToParcel()
652 final ParcelableSpan ps = (ParcelableSpan) prop; in writeToParcel()

123