/frameworks/base/location/java/android/location/ |
D | LocationProvider.java | 52 private final @Nullable ProviderProperties mProperties; field in LocationProvider 56 mProperties = properties; in LocationProvider() 71 return propertiesMeetCriteria(mName, mProperties, criteria); in meetsCriteria() 117 if (mProperties == null) { in requiresNetwork() 120 return mProperties.hasNetworkRequirement(); in requiresNetwork() 130 if (mProperties == null) { in requiresSatellite() 133 return mProperties.hasSatelliteRequirement(); in requiresSatellite() 143 if (mProperties == null) { in requiresCell() 146 return mProperties.hasCellRequirement(); in requiresCell() 156 if (mProperties == null) { in hasMonetaryCost() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | DeviceConfigProxyFakeTest.java | 62 assertThat(onPropertiesChangedListener.mProperties).isNotNull(); in testOnPropertiesChanged() 63 assertThat(onPropertiesChangedListener.mProperties.getKeyset().size()).isEqualTo(1); in testOnPropertiesChanged() 64 assertThat(onPropertiesChangedListener.mProperties.getString(key, "")).isEqualTo(value); in testOnPropertiesChanged() 79 assertThat(onPropertiesChangedListener.mProperties).isNotNull(); in testOnMultiplePropertiesChanged() 80 assertThat(onPropertiesChangedListener.mProperties.getKeyset().size()).isEqualTo(1); in testOnMultiplePropertiesChanged() 81 assertThat(onPropertiesChangedListener.mProperties.getString(keyA, "")).isEqualTo(valueA); in testOnMultiplePropertiesChanged() 85 assertThat(onPropertiesChangedListener.mProperties).isNotNull(); in testOnMultiplePropertiesChanged() 86 assertThat(onPropertiesChangedListener.mProperties.getKeyset().size()).isEqualTo(1); in testOnMultiplePropertiesChanged() 87 assertThat(onPropertiesChangedListener.mProperties.getString(keyB, "")).isEqualTo(valueB); in testOnMultiplePropertiesChanged() 91 Properties mProperties; field in DeviceConfigProxyFakeTest.TestableListener [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IEnvironmentalReverb.cpp | 52 thiz->mProperties.roomLevel = room; in IEnvironmentalReverb_SetRoomLevel() 87 REVERB_PARAM_ROOM_LEVEL, &thiz->mProperties.roomLevel); in IEnvironmentalReverb_GetRoomLevel() 91 *pRoom = thiz->mProperties.roomLevel; in IEnvironmentalReverb_GetRoomLevel() 113 thiz->mProperties.roomHFLevel = roomHF; in IEnvironmentalReverb_SetRoomHFLevel() 149 REVERB_PARAM_ROOM_HF_LEVEL, &thiz->mProperties.roomHFLevel); in IEnvironmentalReverb_GetRoomHFLevel() 153 *pRoomHF = thiz->mProperties.roomHFLevel; in IEnvironmentalReverb_GetRoomHFLevel() 172 thiz->mProperties.decayTime = decayTime; in IEnvironmentalReverb_SetDecayTime() 208 REVERB_PARAM_DECAY_TIME, &thiz->mProperties.decayTime); in IEnvironmentalReverb_GetDecayTime() 212 *pDecayTime = thiz->mProperties.decayTime; in IEnvironmentalReverb_GetDecayTime() 231 thiz->mProperties.decayHFRatio = decayHFRatio; in IEnvironmentalReverb_SetDecayHFRatio() [all …]
|
D | IPlaybackRate.cpp | 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); in IPlaybackRate_SetRate() 99 thiz->mProperties = constraints; in IPlaybackRate_SetPropertyConstraints() 117 SLuint32 properties = thiz->mProperties; in IPlaybackRate_GetProperties() 192 thiz->mProperties = SL_RATEPROP_NOPITCHCORAUDIO; in IPlaybackRate_init()
|
/frameworks/base/libs/hwui/ |
D | VectorDrawable.cpp | 44 ALOGD("Path: %s has %zu points", mName.c_str(), mProperties.getData().points.size()); in dump() 67 VectorDrawableUtils::verbsToPath(&mSkPath, mProperties.getData()); in getUpdatedPath() 76 mProperties.syncProperties(mStagingProperties); in syncProperties() 78 mStagingProperties.syncProperties(mProperties); in syncProperties() 114 if (!useStagingData && !mSkPathDirty && !mProperties.mTrimDirty) { in getUpdatedPath() 125 if (mProperties.getTrimPathStart() != 0.0f || mProperties.getTrimPathEnd() != 1.0f) { in getUpdatedPath() 126 mProperties.mTrimDirty = false; in getUpdatedPath() 127 applyTrim(&mTrimmedSkPath, mSkPath, mProperties.getTrimPathStart(), in getUpdatedPath() 128 mProperties.getTrimPathEnd(), mProperties.getTrimPathOffset()); in getUpdatedPath() 134 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; in getUpdatedPath() [all …]
|
D | VectorDrawable.h | 177 } else if (prop == &mProperties) { in onPropertyChanged() 188 PathProperties* mutateProperties() { return &mProperties; } in mutateProperties() 198 PathProperties mProperties = PathProperties(this); 337 FullPathProperties* mutateProperties() { return &mProperties; } in mutateProperties() 347 } else if (properties == &mProperties) { in onPropertyChanged() 362 FullPathProperties mProperties = FullPathProperties(this); 461 GroupProperties* mutateProperties() { return &mProperties; } in mutateProperties() 495 GroupProperties mProperties = GroupProperties(this); 522 mCache.dirty |= (mProperties.mNonAnimatableProperties.viewportWidth != in syncProperties() 524 (mProperties.mNonAnimatableProperties.viewportHeight != in syncProperties() [all …]
|
D | RenderNode.h | 143 const RenderProperties& properties() const { return mProperties; } in properties() 145 RenderProperties& animatorProperties() { return mProperties; } in animatorProperties() 253 RenderProperties mProperties; variable 334 mProperties.mutateLayerProperties().mutableStretchEffect().clear(); in setLayerSurface()
|
D | RenderNode.cpp | 230 if (!mProperties.getAllowForceDark()) { in prepareTreeImpl() 233 if (!mProperties.layerProperties().getStretchEffect().isEmpty()) { in prepareTreeImpl() 249 mProperties.prepareForFunctorPresence(willHaveFunctor, functorsNeedLayer); in prepareTreeImpl() 278 if (!mProperties.getAllowForceDark()) { in prepareTreeImpl() 281 if (!mProperties.layerProperties().getStretchEffect().isEmpty()) { in prepareTreeImpl() 288 mProperties = mStagingProperties; in syncProperties() 310 auto& layerProperties = mProperties.layerProperties(); in pushStagingPropertiesChanges()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderPropertiesUnbundled.java | 52 private final ProviderProperties mProperties; field in ProviderPropertiesUnbundled 55 mProperties = Objects.requireNonNull(properties); in ProviderPropertiesUnbundled() 60 return mProperties; in getProviderProperties() 65 return mProperties.toString(); in toString() 78 return mProperties.equals(that.mProperties); in equals() 83 return Objects.hash(mProperties); in hashCode()
|
D | LocationProviderBase.java | 114 volatile ProviderProperties mProperties; field in LocationProviderBase 142 mProperties = properties.getProviderProperties(); in LocationProviderBase() 204 mProperties = properties.getProviderProperties(); in setProperties() 210 manager.onSetProperties(mProperties); in setProperties() 371 manager.onInitialize(mAllowed, mProperties, mAttributionTag); in setLocationProviderManager()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssConfiguration.java | 105 private final Properties mProperties; field in GnssConfiguration 113 mProperties = new Properties(); in GnssConfiguration() 120 return mProperties; in getProperties() 136 return mProperties.getProperty(CONFIG_SUPL_HOST); in getSuplHost() 152 return mProperties.getProperty(CONFIG_C2K_HOST); in getC2KHost() 184 return mProperties.getProperty(CONFIG_LPP_PROFILE); in getLppProfile() 192 String proxyAppsStr = mProperties.getProperty(CONFIG_NFW_PROXY_APPS); in getProxyApps() 224 return (mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_1) != null in isLongTermPsdsServerConfigured() 225 || mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_2) != null in isLongTermPsdsServerConfigured() 226 || mProperties.getProperty(CONFIG_LONGTERM_PSDS_SERVER_3) != null); in isLongTermPsdsServerConfigured() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | AppearAnimationUtils.java | 39 private final AppearAnimationProperties mProperties = new AppearAnimationProperties(); field in AppearAnimationUtils 131 mProperties.maxDelayColIndex = -1; in getDelays() 132 mProperties.maxDelayRowIndex = -1; in getDelays() 133 mProperties.delays = new long[items.length][]; in getDelays() 135 mProperties.delays[row] = new long[1]; in getDelays() 137 mProperties.delays[row][0] = delay; in getDelays() 140 mProperties.maxDelayColIndex = 0; in getDelays() 141 mProperties.maxDelayRowIndex = row; in getDelays() 144 return mProperties; in getDelays() 149 mProperties.maxDelayColIndex = -1; in getDelays() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleAnimationSession.java | 50 private final AnimationProperties<Float, Paint> mProperties; field in RippleAnimationSession 60 mProperties = properties; in RippleAnimationSession() 119 mProperties.getShader().setProgress((Float) expand.getAnimatedValue()); in exitSoftware() 211 mProperties.getShader().setProgress((float) expand.getAnimatedValue()); in enterSoftware() 216 mProperties.getShader().setNoisePhase((float) loop.getAnimatedValue()); in enterSoftware() 223 mProperties.setRadius(radius); in setRadius() 224 mProperties.getShader().setRadius(radius); in setRadius() 232 return mProperties; in getProperties() 239 CanvasProperty.createFloat(mProperties.getX()), in getCanvasProperties() 240 CanvasProperty.createFloat(mProperties.getY()), in getCanvasProperties() [all …]
|
/frameworks/native/libs/input/ |
D | PropertyMap.cpp | 39 mProperties.clear(); in clear() 43 mProperties.add(key, value); in addProperty() 47 return mProperties.indexOfKey(key) >= 0; in hasProperty() 51 ssize_t index = mProperties.indexOfKey(key); in tryGetProperty() 56 outValue = mProperties.valueAt(index); in tryGetProperty() 105 for (size_t i = 0; i < map->mProperties.size(); i++) { in addAll() 106 mProperties.add(map->mProperties.keyAt(i), map->mProperties.valueAt(i)); in addAll()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/ |
D | DeviceConfigProxyFake.java | 41 private Map<String, Map<String, String>> mProperties = new HashMap<>(); field in DeviceConfigProxyFake 66 setPropertyInternal(namespace, name, value, mProperties); in setProperty() 91 if (mProperties.containsKey(namespace) && mProperties.get(namespace).containsKey(name)) { in propsForNamespaceAndName() 93 .setString(name, mProperties.get(namespace).get(name)).build(); in propsForNamespaceAndName() 150 if (mProperties.containsKey(namespace)) { in resetToDefaults() 151 mProperties.get(namespace).clear(); in resetToDefaults()
|
/frameworks/base/media/native/midi/ |
D | MidiDeviceInfo.cpp | 42 if (mProperties.getString(String16(propertyName), &value)) { in getProperty() 68 RETURN_IF_FAILED(mProperties.writeToParcel(parcel)); in writeToParcel() 70 RETURN_IF_FAILED(mProperties.writeToParcel(parcel)); in writeToParcel() 88 RETURN_IF_FAILED(mProperties.readFromParcel(parcel)); in readFromParcel() 134 lhs.mProperties == rhs.mProperties && in operator ==()
|
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
D | FakeDeviceConfigInterface.java | 38 private Map<String, String> mProperties = new HashMap<>(); field in FakeDeviceConfigInterface 49 mProperties.clear(); in clearProperties() 53 mProperties.put(createCompositeName(namespace, key), value); in putProperty() 98 return mProperties.get(createCompositeName(namespace, name)); in getProperty() 103 if (!mProperties.keySet().contains(namespace)) { in getProperties() 109 for (String compositeName : mProperties.keySet()) { in getProperties() 119 propertiesBuilder.setString(existingPropertyName, mProperties.get(compositeName)); in getProperties() 145 mProperties.remove(createCompositeName(namespace, name)); in deleteProperty()
|
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageDrawable.cpp | 39 mProperties = mStagingProperties; in syncProperties() 148 handleBounds(&matrix, mSkAnimatedImage->getBounds(), mProperties.mBounds); in onDraw() 150 if (mProperties.mMirrored) { in onDraw() 156 if (mProperties.mAlpha != SK_AlphaOPAQUE || mProperties.mColorFilter.get()) { in onDraw() 158 lazyPaint->setAlpha(mProperties.mAlpha); in onDraw() 159 lazyPaint->setColorFilter(mProperties.mColorFilter); in onDraw() 174 SkRect r = mProperties.mBounds; in onDraw()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceInfo.java | 305 private final Bundle mProperties; field in MidiDeviceInfo 344 mProperties = properties; in MidiDeviceInfo() 412 return mProperties; in getProperties() 455 mProperties.getString(PROPERTY_NAME); in toString() 459 + ",mProperties=" + mProperties in toString() 495 Object val = mProperties.get(key); in getBasicProperties() 527 parcel.writeBundle(mProperties); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
D | ParsedComponentImpl.java | 83 private Map<String, Property> mProperties = emptyMap(); field in ParsedComponentImpl 102 this.mProperties = new ArrayMap<>(); in ParsedComponentImpl() 103 this.mProperties.putAll(other.getProperties()); in ParsedComponentImpl() 114 this.mProperties = CollectionUtils.add(this.mProperties, property.getName(), property); in addProperty() 171 dest.writeMap(this.mProperties); in writeToParcel() 190 this.mProperties = in.readHashMap(boot); in ParsedComponentImpl() 255 return mProperties; in getProperties()
|
/frameworks/base/location/java/android/location/provider/ |
D | LocationProviderBase.java | 110 volatile ProviderProperties mProperties; field in LocationProviderBase 120 mProperties = Objects.requireNonNull(properties); in LocationProviderBase() 182 mProperties = Objects.requireNonNull(properties); in setProperties() 188 manager.onSetProperties(mProperties); in setProperties() 201 return mProperties; in getProperties() 312 manager.onInitialize(mAllowed, mProperties, mAttributionTag); in setLocationProviderManager()
|
/frameworks/native/include/input/ |
D | PropertyMap.h | 79 inline const KeyedVector<String8, String8>& getProperties() const { return mProperties; } in getProperties() 102 KeyedVector<String8, String8> mProperties; variable
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableCall.java | 47 private int mProperties; field in ParcelableCall.ParcelableCallBuilder 99 mProperties = properties; in setProperties() 234 mProperties, in createParcelableCall() 268 newBuilder.mProperties = parcelableCall.mProperties; in fromParcelableCall() 304 private final int mProperties; field in ParcelableCall 368 mProperties = properties; in ParcelableCall() 428 public int getProperties() { return mProperties; } in getProperties() 712 destination.writeInt(mProperties); in writeToParcel()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | AbUpdateInstaller.java | 55 private List<String> mProperties; field in AbUpdateInstaller 175 mProperties = new ArrayList<>(); in setState() 191 String[] headerKeyValuePairs = mProperties.stream().toArray(String[]::new); in applyPayload() 254 mProperties.add(line); in updatePropertiesForEntry()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 64 private CameraCharacteristics mProperties; field in Camera2Source 212 mProperties = null; in onOpen() 214 mProperties = mCameraManager.getCameraCharacteristics(mCamera.getId()); in onOpen() 244 Integer orientation = mProperties.get(CameraCharacteristics.SENSOR_ORIENTATION); in onProcess()
|