/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 …]
|
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/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.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/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/base/services/core/java/com/android/server/location/gnss/ |
D | GnssConfiguration.java | 96 private final Properties mProperties; field in GnssConfiguration 104 mProperties = new Properties(); in GnssConfiguration() 111 return mProperties; in getProperties() 127 return mProperties.getProperty(CONFIG_SUPL_HOST); in getSuplHost() 143 return mProperties.getProperty(CONFIG_C2K_HOST); in getC2KHost() 175 return mProperties.getProperty(CONFIG_LPP_PROFILE); in getLppProfile() 183 String proxyAppsStr = mProperties.getProperty(CONFIG_NFW_PROXY_APPS); in getProxyApps() 216 if (DEBUG) Log.d(TAG, "Reset GPS properties, previous size = " + mProperties.size()); in reloadGpsProperties() 222 mProperties.setProperty(CONFIG_LPP_PROFILE, lpp_prof); in reloadGpsProperties() 228 loadPropertiesFromGpsDebugConfig(mProperties); in reloadGpsProperties() [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/media/java/android/media/midi/ |
D | MidiDeviceInfo.java | 197 private final Bundle mProperties; field in MidiDeviceInfo 235 mProperties = properties; in MidiDeviceInfo() 302 return mProperties; in getProperties() 333 mProperties.getString(PROPERTY_NAME); in toString() 337 ",mProperties=" + mProperties + in toString() 370 Object val = mProperties.get(key); in getBasicProperties() 401 parcel.writeBundle(mProperties); in writeToParcel()
|
/frameworks/base/media/native/midi/ |
D | MidiDeviceInfo.cpp | 42 if (mProperties.getString(String16(propertyName), &value)) { in getProperty() 67 RETURN_IF_FAILED(mProperties.writeToParcel(parcel)); in writeToParcel() 69 RETURN_IF_FAILED(mProperties.writeToParcel(parcel)); in writeToParcel() 86 RETURN_IF_FAILED(mProperties.readFromParcel(parcel)); in readFromParcel() 132 lhs.mProperties == rhs.mProperties && in operator ==()
|
/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() 175 SkRect r = mProperties.mBounds; in onDraw()
|
/frameworks/base/core/java/android/content/pm/parsing/component/ |
D | ParsedComponent.java | 77 private Map<String, Property> mProperties = emptyMap(); field in ParsedComponent 107 this.mProperties = CollectionUtils.add(this.mProperties, property.getName(), property); in addProperty() 156 dest.writeMap(this.mProperties); in writeToParcel() 175 this.mProperties = in.readHashMap(boot); in ParsedComponent() 224 return mProperties; in getProperties()
|
/frameworks/base/location/java/android/location/provider/ |
D | LocationProviderBase.java | 108 volatile ProviderProperties mProperties; field in LocationProviderBase 118 mProperties = Objects.requireNonNull(properties); in LocationProviderBase() 180 mProperties = Objects.requireNonNull(properties); in setProperties() 186 manager.onSetProperties(mProperties); in setProperties() 199 return mProperties; in getProperties() 310 manager.onInitialize(mAllowed, mProperties, mAttributionTag); in setLocationProviderManager()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerModule.java | 98 private SoundTriggerModuleProperties mProperties; field in SoundTriggerModule 113 mProperties = ConversionUtil.hidl2aidlProperties(mHalService.getProperties()); in SoundTriggerModule() 115 mRecognitionAvailable = mProperties.concurrentCapture; in SoundTriggerModule() 144 return mProperties; in getProperties() 163 if (mProperties.concurrentCapture) { in setExternalCaptureState() 212 mRecognitionAvailable = mProperties.concurrentCapture; in reset() 285 if (mNumLoadedModels == mProperties.maxSoundModels) { in loadModel() 316 if (mNumLoadedModels == mProperties.maxSoundModels) { in loadPhraseModel()
|
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
D | GenericDocument.java | 90 @NonNull private final Bundle mProperties; field in GenericDocument 107 mProperties = Objects.requireNonNull(bundle.getParcelable(PROPERTIES_FIELD)); in GenericDocument() 193 return Collections.unmodifiableSet(mProperties.keySet()); in getPropertyNames() 984 private Bundle mProperties; field in GenericDocument.Builder 1018 mProperties = new Bundle(); in Builder() 1019 mBundle.putBundle(PROPERTIES_FIELD, mProperties); in Builder() 1030 mProperties = mBundle.getBundle(PROPERTIES_FIELD); in Builder() 1265 mProperties.remove(name); in clearProperty() 1276 mProperties.putStringArray(name, values); in putInPropertyBundle() 1280 mProperties.putBooleanArray(name, values); in putInPropertyBundle() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCharacteristic.java | 194 protected int mProperties; field in BluetoothGattCharacteristic 275 mProperties = properties; in initCharacteristic() 281 if ((mProperties & PROPERTY_WRITE_NO_RESPONSE) != 0) { in initCharacteristic() 297 out.writeInt(mProperties); in writeToParcel() 318 mProperties = in.readInt(); in BluetoothGattCharacteristic() 429 return mProperties; in getProperties()
|
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
D | FakeDeviceConfigInterface.java | 36 private Map<String, String> mProperties = new HashMap<>(); field in FakeDeviceConfigInterface 41 mProperties.clear(); in clearProperties() 45 mProperties.put(createCompositeName(namespace, key), value); in putProperty() 90 return mProperties.get(createCompositeName(namespace, name)); in getProperty()
|
/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()
|