Home
last modified time | relevance | path

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

1234

/frameworks/native/services/surfaceflinger/sysprop/api/
DSurfaceFlingerProperties-current.txt3 prop {
8 prop {
13 prop {
18 prop {
23 prop {
28 prop {
33 prop {
38 prop {
43 prop {
47 prop {
[all …]
DSurfaceFlingerProperties-latest.txt3 prop {
8 prop {
13 prop {
18 prop {
23 prop {
28 prop {
33 prop {
38 prop {
43 prop {
47 prop {
[all …]
/frameworks/av/services/audioflinger/
DPropertyUtils.cpp84 int32_t prop = property_get_int32(sPropMixerBursts, sDefaultBursts); in getAAudioMixerBurstCountFromSystemProperty() local
85 if (prop <= 0 || prop > sMaxBursts) { in getAAudioMixerBurstCountFromSystemProperty()
86 ALOGE("%s: invalid value %d, use default %d", __func__, prop, sDefaultBursts); in getAAudioMixerBurstCountFromSystemProperty()
87 prop = sDefaultBursts; in getAAudioMixerBurstCountFromSystemProperty()
89 return prop; in getAAudioMixerBurstCountFromSystemProperty()
96 int32_t prop = property_get_int32(sPropHwBurstMinUsec, sDefaultMicros); in getAAudioHardwareBurstMinUsecFromSystemProperty() local
97 if (prop <= 0 || prop > sMaxMicros) { in getAAudioHardwareBurstMinUsecFromSystemProperty()
98 ALOGE("%s invalid value %d, use default %d", __func__, prop, sDefaultMicros); in getAAudioHardwareBurstMinUsecFromSystemProperty()
99 prop = sDefaultMicros; in getAAudioHardwareBurstMinUsecFromSystemProperty()
101 return prop; in getAAudioHardwareBurstMinUsecFromSystemProperty()
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp551 int32_t prop = property_get_int32(AAUDIO_PROP_WAKEUP_DELAY_USEC, defaultMicros); in AAudioProperty_getWakeupDelayMicros() local
552 if (prop < minMicros) { in AAudioProperty_getWakeupDelayMicros()
553 ALOGW("AAudioProperty_getWakeupDelayMicros: clipped %d to %d", prop, minMicros); in AAudioProperty_getWakeupDelayMicros()
554 prop = minMicros; in AAudioProperty_getWakeupDelayMicros()
555 } else if (prop > maxMicros) { in AAudioProperty_getWakeupDelayMicros()
556 ALOGW("AAudioProperty_getWakeupDelayMicros: clipped %d to %d", prop, maxMicros); in AAudioProperty_getWakeupDelayMicros()
557 prop = maxMicros; in AAudioProperty_getWakeupDelayMicros()
559 return prop; in AAudioProperty_getWakeupDelayMicros()
569 int32_t prop = property_get_int32(AAUDIO_PROP_MINIMUM_SLEEP_USEC, defaultMicros); in AAudioProperty_getMinimumSleepMicros() local
570 if (prop < minMicros) { in AAudioProperty_getMinimumSleepMicros()
[all …]
/frameworks/base/core/jni/
Druntime_native_boot-flags-test.sh94 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 …]
Dandroid_os_SystemProperties.cpp47 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/base/services/core/java/com/android/server/locksettings/
DBiometricDeferredQueue.java197 for (FingerprintSensorPropertiesInternal prop : fingerprintSensorProperties) { in processPendingLockoutsForFingerprint()
198 if (!prop.resetLockoutRequiresHardwareAuthToken) { in processPendingLockoutsForFingerprint()
200 mFingerprintManager.resetLockout(prop.sensorId, user.userId, in processPendingLockoutsForFingerprint()
203 } else if (!prop.resetLockoutRequiresChallenge) { in processPendingLockoutsForFingerprint()
205 Slog.d(TAG, "Resetting fingerprint lockout for sensor: " + prop.sensorId in processPendingLockoutsForFingerprint()
210 mFingerprintManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFingerprint()
215 + ", sensorId: " + prop.sensorId); in processPendingLockoutsForFingerprint()
231 for (FaceSensorPropertiesInternal prop : faceSensorProperties) { in processPendingLockoutsForFace()
232 sensorIds.add(prop.sensorId); in processPendingLockoutsForFace()
237 for (final FaceSensorPropertiesInternal prop : faceSensorProperties) { in processPendingLockoutsForFace()
[all …]
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop36 prop {
44 prop {
53 prop {
62 prop {
72 prop {
82 prop {
100 prop {
110 prop {
128 prop {
137 prop {
[all …]
/frameworks/base/core/java/android/hardware/biometrics/
DSensorPropertiesInternal.java41 public static SensorPropertiesInternal from(@NonNull SensorPropertiesInternal prop) { in from() argument
42 return new SensorPropertiesInternal(prop.sensorId, prop.sensorStrength, in from()
43 prop.maxEnrollmentsPerUser, prop.componentInfo, in from()
44 prop.resetLockoutRequiresHardwareAuthToken, prop.resetLockoutRequiresChallenge); in from()
/frameworks/base/services/core/java/com/android/server/health/
DHealthServiceWrapperAidl.java104 public int getProperty(int id, BatteryProperty prop) throws RemoteException { in getProperty() argument
107 return getPropertyInternal(id, prop); in getProperty()
113 private int getPropertyInternal(int id, BatteryProperty prop) throws RemoteException { in getPropertyInternal() argument
119 prop.setLong(service.getChargeCounterUah()); in getPropertyInternal()
122 prop.setLong(service.getCurrentNowMicroamps()); in getPropertyInternal()
125 prop.setLong(service.getCurrentAverageMicroamps()); in getPropertyInternal()
128 prop.setLong(service.getCapacity()); in getPropertyInternal()
131 prop.setLong(service.getChargeStatus()); in getPropertyInternal()
134 prop.setLong(service.getEnergyCounterNwh()); in getPropertyInternal()
DHealthServiceWrapperHidl.java70 public int getProperty(int id, final BatteryProperty prop) throws RemoteException { in getProperty() argument
81 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
88 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
95 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
102 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
109 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
116 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
/frameworks/rs/tests/java_api/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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractIpAddressPreferenceController.java96 LinkProperties prop = cm.getLinkProperties(cm.getActiveNetwork()); 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<LinkAddress> iter = prop.getAllLinkAddresses().iterator(); in formatIpAddresses()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DTimeMachine.h132 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/
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()
/frameworks/base/core/sysprop/api/
Dcom.android.sysprop.watchdog-latest.txt3 prop {
9 prop {
15 prop {
/frameworks/av/media/libstagefright/renderfright/
DRenderEngine.cpp31 char prop[PROPERTY_VALUE_MAX]; in create() local
32 property_get(PROPERTY_DEBUG_RENDERENGINE_BACKEND, prop, ""); in create()
33 if (strcmp(prop, "gles") == 0) { in create()
36 if (strcmp(prop, "threaded") == 0) { in create()
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp201 Prop prop; in readFromParcel0() local
202 status_t status = prop.readFromParcel(data); in readFromParcel0()
204 mProps[prop.getName()] = std::move(prop); in readFromParcel0()
236 for (auto &prop : *this) { in writeToParcel0()
237 status = prop.writeToParcel(data); in writeToParcel0()
297 for (auto &prop : *this) { in toString()
298 prop.toStringBuffer(buffer, sizeof(buffer)); in toString()
511 for (auto &prop : *this) { in writeToByteString()
512 const size_t propSize = prop.getByteStringSize(); in writeToByteString()
514 ALOGW("%s: prop %s size %zu too large", __func__, prop.getName(), propSize); in writeToByteString()
[all …]
/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/base/libs/hwui/
DVectorDrawable.h144 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 …]
DHWUIProperties.sysprop3 prop {
10 prop {
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceProviderTest.java105 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
107 mFaceProvider.mSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
117 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
119 mFaceProvider.mSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
130 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
132 mFaceProvider.mSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
/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/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintProviderTest.java121 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
123 mFingerprintProvider.mSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
133 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
135 mFingerprintProvider.mSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
146 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
148 mFingerprintProvider.mSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
/frameworks/base/core/sysprop/
DWatchdogProperties.sysprop21 prop {
30 prop {
40 prop {

1234