/frameworks/native/services/surfaceflinger/sysprop/api/ |
D | SurfaceFlingerProperties-current.txt | 3 prop { 8 prop { 13 prop { 18 prop { 23 prop { 28 prop { 33 prop { 38 prop { 43 prop { 47 prop { [all …]
|
D | SurfaceFlingerProperties-latest.txt | 3 prop { 8 prop { 13 prop { 18 prop { 23 prop { 28 prop { 33 prop { 38 prop { 42 prop { 46 prop { [all …]
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 269 int32_t prop = property_get_int32(propName, defaultValue); in AAudioProperty_getMMapProperty() local 270 switch (prop) { in AAudioProperty_getMMapProperty() 277 ALOGE("%s: invalid = %d", caller, prop); in AAudioProperty_getMMapProperty() 278 prop = defaultValue; in AAudioProperty_getMMapProperty() 281 return prop; in AAudioProperty_getMMapProperty() 297 int32_t prop = property_get_int32(AAUDIO_PROP_MIXER_BURSTS, defaultBursts); in AAudioProperty_getMixerBursts() local 298 if (prop < 1 || prop > maxBursts) { in AAudioProperty_getMixerBursts() 299 ALOGE("AAudioProperty_getMixerBursts: invalid = %d", prop); in AAudioProperty_getMixerBursts() 300 prop = defaultBursts; in AAudioProperty_getMixerBursts() 302 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_os_SystemProperties.cpp | 47 void ReadProperty(const prop_info* prop, Functor&& functor) in ReadProperty() argument 56 __system_property_read_callback(prop, thunk, &functor); in ReadProperty() 70 const prop_info* prop = __system_property_find(key.c_str()); in ReadProperty() local 71 if (!prop) { in ReadProperty() 74 ReadProperty(prop, std::forward<Functor>(functor)); in ReadProperty() 140 const prop_info* prop = __system_property_find(key.c_str()); in SystemProperties_find() local 141 return reinterpret_cast<jlong>(prop); in SystemProperties_find() 151 auto prop = reinterpret_cast<const prop_info*>(propJ); in SystemProperties_getH() local 152 ReadProperty(prop, [&](const char* value) { in SystemProperties_getH() 162 auto prop = reinterpret_cast<const prop_info*>(propJ); in SystemProperties_get_integralH() local [all …]
|
/frameworks/native/services/surfaceflinger/sysprop/ |
D | SurfaceFlingerProperties.sysprop | 36 prop { 44 prop { 53 prop { 62 prop { 72 prop { 82 prop { 100 prop { 110 prop { 128 prop { 137 prop { [all …]
|
/frameworks/native/libs/renderengine/ |
D | RenderEngine.cpp | 28 char prop[PROPERTY_VALUE_MAX]; in create() local 29 property_get(PROPERTY_DEBUG_RENDERENGINE_BACKEND, prop, "gles"); in create() 30 if (strcmp(prop, "gles") == 0) { in create() 34 ALOGE("UNKNOWN BackendType: %s, create GLES RenderEngine.", prop); in create()
|
/frameworks/av/media/libmediametrics/ |
D | MediaMetricsItem.cpp | 171 Prop prop; in readFromParcel0() local 172 status_t status = prop.readFromParcel(data); in readFromParcel0() 174 mProps[prop.getName()] = std::move(prop); in readFromParcel0() 206 for (auto &prop : *this) { in writeToParcel0() 207 status = prop.writeToParcel(data); in writeToParcel0() 267 for (auto &prop : *this) { in toString() 268 prop.toStringBuffer(buffer, sizeof(buffer)); in toString() 429 for (auto &prop : *this) { in writeToByteString() 430 const size_t propSize = prop.getByteStringSize(); in writeToByteString() 432 ALOGW("%s: prop %s size %zu too large", __func__, prop.getName(), propSize); in writeToByteString() [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()
|
/frameworks/av/services/mediametrics/ |
D | TimeMachine.h | 132 const std::string &name, const mediametrics::Item::Prop &prop, int64_t time = 0) 135 putValue(name, prop.get(), time); in REQUIRES() 314 for (const auto &prop : *item) { 315 const std::string &name = prop.getName(); 321 deferred.push_back(&prop); 323 keyHistory->putProp(name, prop, time); 330 const auto &prop = *propptr; variable 331 const std::string &name = prop.getName(); 345 remoteKeyHistory->putProp(remoteName, prop, time); 373 std::string prop; variable [all …]
|
/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 | VectorDrawable.cpp | 284 const GroupProperties& prop = useStagingData ? mStagingProperties : mProperties; in draw() local 285 getLocalMatrix(&stackedMatrix, prop); in draw() 479 void Tree::getPaintFor(SkPaint* outPaint, const TreeProperties& prop) const { in getPaintFor() 482 if (prop.getColorFilter() != nullptr) { in getPaintFor() 483 outPaint->setColorFilter(sk_ref_sp(prop.getColorFilter())); in getPaintFor() 485 outPaint->setAlpha(prop.getRootAlpha() * 255); in getPaintFor() 549 void Tree::onPropertyChanged(TreeProperties* prop) { in onPropertyChanged() argument 550 if (prop == &mStagingProperties) { in onPropertyChanged()
|
/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/native/services/surfaceflinger/Scheduler/ |
D | PhaseOffsets.cpp | 207 const auto validatePropertyBool = [](const char* prop) { in validateSysprops() argument 208 LOG_ALWAYS_FATAL_IF(!property_get_bool(prop, false), "%s is false", prop); in validateSysprops() 221 const auto validateProperty = [](const char* prop) { in validateSysprops() argument 222 LOG_ALWAYS_FATAL_IF(getProperty(prop).has_value(), in validateSysprops() 223 "%s is set to %" PRId64 " but expecting duration", prop, in validateSysprops() 224 getProperty(prop).value_or(-1)); in validateSysprops()
|
/frameworks/av/services/mediametrics/tests/ |
D | mediametrics_tests.cpp | 450 for (auto &prop : item) { in TEST() local 451 const char *name = prop.getName(); in TEST() 454 ASSERT_TRUE(prop.get(&i32)); in TEST() 456 ASSERT_EQ(1, std::get<int32_t>(prop.get())); in TEST() 460 ASSERT_TRUE(prop.get(&i64)); in TEST() 462 ASSERT_EQ(2, std::get<int64_t>(prop.get())); in TEST() 466 ASSERT_TRUE(prop.get(&d)); in TEST() 468 ASSERT_EQ(3.125, std::get<double>(prop.get())); in TEST() 472 ASSERT_TRUE(prop.get(&s)); in TEST() 474 ASSERT_EQ(s, std::get<std::string>(prop.get())); in TEST() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 956 private void appendUnless(boolean defValue, int prop, StringBuilder builder) { in appendUnless() argument 957 boolean value = getBooleanProperty(prop); in appendUnless() 959 appendPropName(builder, singleBooleanPropertyToString(prop)) in appendUnless() 963 private static String singleBooleanPropertyToString(int prop) { in singleBooleanPropertyToString() argument 964 switch (prop) { in singleBooleanPropertyToString() 972 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/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinatorTest.java | 177 final LinkProperties prop = new LinkProperties(); in buildUpstreamLinkProperties() local 178 prop.setInterfaceName(testIface); in buildUpstreamLinkProperties() 181 prop.addLinkAddress( in buildUpstreamLinkProperties() 187 prop.addLinkAddress( in buildUpstreamLinkProperties() 191 return prop; in buildUpstreamLinkProperties()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 209 propertiesFromHal(int id, @NonNull String serviceName, @NonNull Properties prop, in propertiesFromHal() argument 212 Objects.requireNonNull(prop); in propertiesFromHal() 214 int[] supportedIdentifierTypes = prop.supportedIdentifierTypes.stream(). in propertiesFromHal() 225 prop.maker, in propertiesFromHal() 226 prop.product, in propertiesFromHal() 227 prop.version, in propertiesFromHal() 228 prop.serial, in propertiesFromHal() 242 vendorInfoFromHal(prop.vendorInfo) in propertiesFromHal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 347 private void setExtendStart(CanvasProperty<Float> prop) { in setExtendStart() argument 349 mLeftProp = prop; in setExtendStart() 351 mTopProp = prop; in setExtendStart() 363 private void setExtendEnd(CanvasProperty<Float> prop) { in setExtendEnd() argument 365 mRightProp = prop; in setExtendEnd() 367 mBottomProp = prop; in setExtendEnd()
|