/frameworks/av/media/libmediametrics/ |
D | MediaAnalyticsItem.cpp | 241 Prop *prop = &mProps[i]; in findPropIndex() local 242 if (prop->mNameLen != len) { in findPropIndex() 245 if (memcmp(name, prop->mName, len) == 0) { in findPropIndex() 276 Prop *prop; in allocateProp() local 279 prop = &mProps[i]; in allocateProp() 288 prop = &mProps[i]; in allocateProp() 289 prop->setName(name, len); in allocateProp() 292 return prop; in allocateProp() 300 Prop *prop = &mProps[i]; in removeProp() local 301 clearProp(prop); in removeProp() [all …]
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 259 int32_t prop = property_get_int32(propName, defaultValue); in AAudioProperty_getMMapProperty() local 260 switch (prop) { in AAudioProperty_getMMapProperty() 267 ALOGE("%s: invalid = %d", caller, prop); in AAudioProperty_getMMapProperty() 268 prop = defaultValue; in AAudioProperty_getMMapProperty() 271 return prop; in AAudioProperty_getMMapProperty() 287 int32_t prop = property_get_int32(AAUDIO_PROP_MIXER_BURSTS, defaultBursts); in AAudioProperty_getMixerBursts() local 288 if (prop < 1 || prop > maxBursts) { in AAudioProperty_getMixerBursts() 289 ALOGE("AAudioProperty_getMixerBursts: invalid = %d", prop); in AAudioProperty_getMixerBursts() 290 prop = defaultBursts; in AAudioProperty_getMixerBursts() 292 return prop; in AAudioProperty_getMixerBursts() [all …]
|
/frameworks/base/core/jni/ |
D | runtime_native_boot-flags-test.sh | 94 local prop=$1 98 local prop_value=$(adb shell getprop "$prop") 109 local prop=$2 113 local prop_value=$(get_system_property "$prop") 115 || fail "System property \`$prop\` set to \`$prop_value\` (expected \`$value\`)" 124 local prop=$2 127 local prop_value=$(get_system_property "$prop") 129 || fail "System property \`$prop\` set to \`$prop_value\` (expected unset property)" 212 local prop="persist.device_config.$namespace.$flag" 226 check_system_property "$context" "$prop" "$value" [all …]
|
D | android_media_MediaMetricsJNI.cpp | 63 MediaAnalyticsItem::Prop *prop = &item->mProps[i]; in writeMetricsToBundle() local 65 jstring keyName = env->NewStringUTF(prop->mName); in writeMetricsToBundle() 67 switch (prop->mType) { in writeMetricsToBundle() 70 keyName, (jint) prop->u.int32Value); in writeMetricsToBundle() 74 keyName, (jlong) prop->u.int64Value); in writeMetricsToBundle() 78 keyName, (jdouble) prop->u.doubleValue); in writeMetricsToBundle() 82 env->NewStringUTF(prop->u.CStringValue)); in writeMetricsToBundle() 86 prop->mType, prop->mName); in writeMetricsToBundle()
|
/frameworks/native/services/surfaceflinger/sysprop/ |
D | SurfaceFlingerProperties.sysprop | 36 prop { 44 prop { 53 prop { 62 prop { 80 prop { 90 prop { 108 prop { 117 prop { 129 prop { 139 prop { [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetricsJNI.cpp | 63 MediaAnalyticsItem::Prop *prop = &item->mProps[i]; in writeMetricsToBundle() local 65 jstring keyName = env->NewStringUTF(prop->mName); in writeMetricsToBundle() 67 switch (prop->mType) { in writeMetricsToBundle() 70 keyName, (jint) prop->u.int32Value); in writeMetricsToBundle() 74 keyName, (jlong) prop->u.int64Value); in writeMetricsToBundle() 78 keyName, (jdouble) prop->u.doubleValue); in writeMetricsToBundle() 82 env->NewStringUTF(prop->u.CStringValue)); in writeMetricsToBundle() 86 prop->mType, prop->mName); in writeMetricsToBundle()
|
/frameworks/native/libs/renderengine/ |
D | RenderEngine.cpp | 29 char prop[PROPERTY_VALUE_MAX]; in create() local 30 property_get(PROPERTY_DEBUG_RENDERENGINE_BACKEND, prop, "gles"); in create() 31 if (strcmp(prop, "gles") == 0) { in create() 35 ALOGE("UNKNOWN BackendType: %s, create GLES RenderEngine.", prop); in create()
|
/frameworks/native/opengl/libs/EGL/ |
D | Loader.cpp | 150 char prop[PROPERTY_VALUE_MAX]; in setEmulatorGlesValue() local 151 property_get("ro.kernel.qemu", prop, "0"); in setEmulatorGlesValue() 152 if (atoi(prop) != 1) return; in setEmulatorGlesValue() 154 property_get("ro.kernel.qemu.gles",prop,"0"); in setEmulatorGlesValue() 155 if (atoi(prop) == 1) { in setEmulatorGlesValue() 286 char prop[PROPERTY_VALUE_MAX + 1]; in open() local 288 if (property_get(key, prop, nullptr) <= 0) { in open() 291 hnd = attempt_to_load_system_driver(cnx, prop, true); in open() 564 char prop[PROPERTY_VALUE_MAX]; in load_angle() local 566 property_get("debug.hwui.renderer", prop, "UNSET"); in load_angle() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractIpAddressPreferenceController.java | 96 LinkProperties prop = cm.getActiveLinkProperties(); in getDefaultIpAddresses() local 97 return formatIpAddresses(prop); in getDefaultIpAddresses() 100 private static String formatIpAddresses(LinkProperties prop) { in formatIpAddresses() argument 101 if (prop == null) return null; in formatIpAddresses() 102 Iterator<InetAddress> iter = prop.getAllAddresses().iterator(); in formatIpAddresses()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | VolumeLoader.java | 45 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()
|
D | LoaderRaw.java | 51 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/ |
D | RgbPlayerActivity.java | 111 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()
|
D | VideoDumpView.java | 495 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/libs/hwui/ |
D | VectorDrawable.h | 144 void syncProperties(const PathProperties& prop) { in syncProperties() argument 145 mData = prop.mData; in syncProperties() 171 virtual void onPropertyChanged(Properties* prop) override { in onPropertyChanged() argument 172 if (prop == &mStagingProperties) { in onPropertyChanged() 177 } else if (prop == &mProperties) { in onPropertyChanged() 223 void syncProperties(const FullPathProperties& prop) { in syncProperties() argument 224 mPrimitiveFields = prop.mPrimitiveFields; in syncProperties() 226 fillGradient = prop.fillGradient; in syncProperties() 227 strokeGradient = prop.strokeGradient; in syncProperties() 395 void syncProperties(const GroupProperties& prop) { in syncProperties() argument [all …]
|
D | HWUIProperties.sysprop | 3 prop { 10 prop {
|
D | Properties.cpp | 178 char prop[PROPERTY_VALUE_MAX]; in peekRenderPipelineType() local 179 property_get(PROPERTY_RENDERER, prop, useVulkan ? "skiavk" : "skiagl"); in peekRenderPipelineType() 180 if (!strcmp(prop, "skiavk")) { in peekRenderPipelineType()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PropConfig.java | 30 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/ |
D | TestPlayerStub.cpp | 46 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 335 private void setExtendStart(CanvasProperty<Float> prop) { in setExtendStart() argument 337 mLeftProp = prop; in setExtendStart() 339 mTopProp = prop; in setExtendStart() 351 private void setExtendEnd(CanvasProperty<Float> prop) { in setExtendEnd() argument 353 mRightProp = prop; in setExtendEnd() 355 mBottomProp = prop; in setExtendEnd()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 931 private void appendUnless(boolean defValue, int prop, StringBuilder builder) { in appendUnless() argument 932 boolean value = getBooleanProperty(prop); in appendUnless() 934 appendPropName(builder, singleBooleanPropertyToString(prop)) in appendUnless() 938 private static String singleBooleanPropertyToString(int prop) { in singleBooleanPropertyToString() argument 939 switch (prop) { in singleBooleanPropertyToString() 947 default: return Integer.toHexString(prop); in singleBooleanPropertyToString()
|
/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 307 BatteryProperty prop = new BatteryProperty(); in queryProperty() local 309 if (mBatteryPropertiesRegistrar.getProperty(id, prop) == 0) in queryProperty() 310 ret = prop.getLong(); in queryProperty()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 210 propertiesFromHal(int id, @NonNull String serviceName, @NonNull Properties prop, in propertiesFromHal() argument 213 Objects.requireNonNull(prop); in propertiesFromHal() 215 int[] supportedIdentifierTypes = prop.supportedIdentifierTypes.stream(). in propertiesFromHal() 226 prop.maker, in propertiesFromHal() 227 prop.product, in propertiesFromHal() 228 prop.version, in propertiesFromHal() 229 prop.serial, in propertiesFromHal() 243 vendorInfoFromHal(prop.vendorInfo) in propertiesFromHal()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 404 chars, prop = line.split(';')[:2] 406 prop = prop.strip() 419 output_dict[prop].update(additions) 423 output_dict[addition] = prop 457 for prop in emoji_properties_additions.keys(): 458 _emoji_properties[prop].update(emoji_properties_additions[prop])
|
/frameworks/base/tools/aapt2/tools/ |
D | extract_unicode_properties.py | 99 for prop in result: 100 print(" {},".format(prop))
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceSet.java | 390 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertiesForRuleStr() local 391 prop.setValue(rrule); in addPropertiesForRuleStr() 392 component.addProperty(prop); in addPropertiesForRuleStr() 449 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertyForDateStr() local 457 prop.addParameter(new ICalendar.Parameter("TZID", tz)); in addPropertyForDateStr() 459 prop.setValue(dateStr); in addPropertyForDateStr() 460 component.addProperty(prop); in addPropertyForDateStr()
|