Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/core/jni/
H A 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")
124 local prop=$2
127 local prop_value=$(get_system_property "$prop")
212 local prop="persist.device_config.$namespace.$flag"
226 check_system_property "$context" "$prop" "$value"
233 check_system_property "$context" "$prop" "$value"
240 check_system_property "$context" "$prop" "$value"
[all …]
H A 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()
71 if (!prop) { in ReadProperty()
74 ReadProperty(prop, std::forward<Functor>(functor)); in ReadProperty()
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
163 ReadProperty(prop, [&](const char* value) { in SystemProperties_get_integralH()
172 auto prop = reinterpret_cast<const prop_info*>(propJ); in SystemProperties_get_booleanH() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/health/
H A DHealthServiceWrapperAidl.java108 return getPropertyInternal(id, prop); in getProperty()
121 prop.setLong(service.getChargeCounterUah()); in getPropertyInternal()
124 prop.setLong(service.getCurrentNowMicroamps()); in getPropertyInternal()
127 prop.setLong(service.getCurrentAverageMicroamps()); in getPropertyInternal()
130 prop.setLong(service.getCapacity()); in getPropertyInternal()
133 prop.setLong(service.getChargeStatus()); in getPropertyInternal()
136 prop.setLong(service.getEnergyCounterNwh()); in getPropertyInternal()
140 prop.setLong(healthData.batteryManufacturingDateSeconds); in getPropertyInternal()
144 prop.setLong(healthData.batteryFirstUsageSeconds); in getPropertyInternal()
147 prop.setLong(service.getChargingPolicy()); in getPropertyInternal()
[all …]
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DBiometricDeferredQueue.java213 if (!prop.resetLockoutRequiresHardwareAuthToken) { in processPendingLockoutsForFingerprint()
215 mFingerprintManager.resetLockout(prop.sensorId, user.userId, in processPendingLockoutsForFingerprint()
218 } else if (!prop.resetLockoutRequiresChallenge) { in processPendingLockoutsForFingerprint()
230 + ", sensorId: " + prop.sensorId); in processPendingLockoutsForFingerprint()
246 for (FaceSensorPropertiesInternal prop : faceSensorProperties) { in processPendingLockoutsForFace()
247 sensorIds.add(prop.sensorId); in processPendingLockoutsForFace()
252 for (final FaceSensorPropertiesInternal prop : faceSensorProperties) { in processPendingLockoutsForFace()
253 if (prop.resetLockoutRequiresHardwareAuthToken) { in processPendingLockoutsForFace()
255 if (prop.resetLockoutRequiresChallenge) { in processPendingLockoutsForFace()
258 mFaceManager.generateChallenge(prop.sensorId, user.userId, in processPendingLockoutsForFace()
[all …]
/aosp14/system/core/healthd/api/
H A Dcharger_sysprop-latest.txt3 prop {
8 prop {
14 prop {
19 prop {
24 prop {
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A 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()
/aosp14/system/core/healthd/
H A Dcharger.sysprop4 prop {
11 prop {
18 prop {
25 prop {
32 prop {
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
H A DFaceProviderTest.java119 for (SensorProps prop : mSensorProps) { in testAddingSensors()
121 mFaceProvider.mFaceSensors.get(prop.commonProps.sensorId) in testAddingSensors()
126 assertThat(currentClient.getSensorId()).isEqualTo(prop.commonProps.sensorId); in testAddingSensors()
140 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
142 mFaceProvider.mFaceSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
153 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
155 mFaceProvider.mFaceSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
166 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
168 mFaceProvider.mFaceSensors.get(prop.commonProps.sensorId).getScheduler(); in halServiceDied_resetsAllSchedulers()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DFingerprintProviderTest.java121 for (SensorProps prop : mSensorProps) { in testAddingSensors()
123 mFingerprintProvider.mFingerprintSensors.get(prop.commonProps.sensorId) in testAddingSensors()
128 assertThat(currentClient.getSensorId()).isEqualTo(prop.commonProps.sensorId); in testAddingSensors()
141 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
143 mFingerprintProvider.mFingerprintSensors.get(prop.commonProps.sensorId) in halServiceDied_resetsAllSchedulers()
155 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
157 mFingerprintProvider.mFingerprintSensors.get(prop.commonProps.sensorId) in halServiceDied_resetsAllSchedulers()
169 for (SensorProps prop : mSensorProps) { in halServiceDied_resetsAllSchedulers()
171 mFingerprintProvider.mFingerprintSensors.get(prop.commonProps.sensorId) in halServiceDied_resetsAllSchedulers()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A 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()
/aosp14/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A 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()
H A 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()
/aosp14/frameworks/base/libs/hwui/
H A DVectorDrawable.h145 void syncProperties(const PathProperties& prop) { in syncProperties() argument
146 mData = prop.mData; in syncProperties()
173 if (prop == &mStagingProperties) { in onPropertyChanged()
178 } else if (prop == &mProperties) { in onPropertyChanged()
225 mPrimitiveFields = prop.mPrimitiveFields; in syncProperties()
227 fillGradient = prop.fillGradient; in syncProperties()
228 strokeGradient = prop.strokeGradient; in syncProperties()
396 void syncProperties(const GroupProperties& prop) { in syncProperties() argument
397 mPrimitiveFields = prop.mPrimitiveFields; in syncProperties()
616 void syncAnimatableProperties(const TreeProperties& prop) { mRootAlpha = prop.mRootAlpha; } in syncAnimatableProperties() argument
[all …]
H A DHWUIProperties.sysprop3 prop {
10 prop {
H A DVectorDrawable.cpp285 const GroupProperties& prop = useStagingData ? mStagingProperties : mProperties; in draw() local
286 getLocalMatrix(&stackedMatrix, prop); in draw()
480 void Tree::getPaintFor(Paint* outPaint, const TreeProperties& prop) const { in getPaintFor()
483 if (prop.getColorFilter() != nullptr) { in getPaintFor()
484 outPaint->setColorFilter(sk_ref_sp(prop.getColorFilter())); in getPaintFor()
486 outPaint->setAlpha(prop.getRootAlpha() * 255); in getPaintFor()
550 void Tree::onPropertyChanged(TreeProperties* prop) { in onPropertyChanged() argument
551 if (prop == &mStagingProperties) { in onPropertyChanged()
/aosp14/frameworks/base/core/sysprop/api/
H A Dcom.android.sysprop.watchdog-latest.txt3 prop {
9 prop {
15 prop {
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A 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()
/aosp14/system/core/init/sysprop/api/
H A Dcom.android.sysprop.init-current.txt3 prop {
8 prop {
H A Dcom.android.sysprop.init-latest.txt3 prop {
8 prop {
/aosp14/frameworks/base/core/sysprop/
H A DWatchdogProperties.sysprop21 prop {
30 prop {
40 prop {
/aosp14/system/core/rootdir/
H A DAndroid.bp50 // adb_debug.prop in debug ramdisk
52 name: "adb_debug.prop",
53 src: "adb_debug.prop",
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DBiometricStateCallback.java176 for (SensorPropertiesInternal prop : provider.getSensorProperties()) { in broadcastCurrentEnrollmentState()
178 final boolean enrolled = provider.hasEnrollments(prop.sensorId, userInfo.id); in broadcastCurrentEnrollmentState()
181 listener, userInfo.id, prop.sensorId, enrolled); in broadcastCurrentEnrollmentState()
184 userInfo.id, prop.sensorId, enrolled); in broadcastCurrentEnrollmentState()
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityRecord.java984 private void appendUnless(boolean defValue, int prop, StringBuilder builder) { in appendUnless() argument
985 boolean value = getBooleanProperty(prop); in appendUnless()
987 appendPropName(builder, singleBooleanPropertyToString(prop)) in appendUnless()
991 private static String singleBooleanPropertyToString(int prop) { in singleBooleanPropertyToString() argument
992 switch (prop) { in singleBooleanPropertyToString()
1002 default: return Integer.toHexString(prop); in singleBooleanPropertyToString()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DConvert.java236 propertiesFromHal(int id, @NonNull String serviceName, @NonNull Properties prop, in propertiesFromHal() argument
239 Objects.requireNonNull(prop); in propertiesFromHal()
241 int[] supportedIdentifierTypes = prop.supportedIdentifierTypes.stream(). in propertiesFromHal()
252 prop.maker, in propertiesFromHal()
253 prop.product, in propertiesFromHal()
254 prop.version, in propertiesFromHal()
255 prop.serial, in propertiesFromHal()
269 vendorInfoFromHal(prop.vendorInfo) in propertiesFromHal()

1234