Home
last modified time | relevance | path

Searched refs:mutable (Results 1 – 25 of 267) sorted by relevance

1234567891011

/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DMutableReference.kt37 private constructor(private var immutable: I, private var mutable: M?) { variable in com.android.server.permission.access.immutable.MutableReference
38 constructor(mutable: M) : this(mutable, mutable)
49 mutable?.let { in get()
54 mutable = it in get()
DImmutable.md15 Each data structure has both an immutable and a mutable variant, so that the type system will be
49 Both the immutable and mutable variants are defined as classes and their member methods are
62 ### Immutable and mutable classes
65 immutable and a mutable class for any data structure, where the latter extends the former
79 started by calling a `toMutable()` method on the root data structure, which would return a mutable
81 the tree, a chain of `mutateFoo()` calls will be needed to obtain mutable classes of child data
82 structures, while these `mutateFoo()` calls are also only available on mutable classes. This way,
110 private var mutable: M?
115 mutable?.let { return it }
118 mutable = it
[all …]
/frameworks/av/media/libcpustats/include/cpustats/
DCentralTendencyStatistics.h66 mutable double mVariance;
67 mutable unsigned mVarianceKnownForN;
70 mutable double mStddev;
71 mutable unsigned mStddevKnownForN;
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.h88 mutable std::mutex mThreadMutex;
94 mutable std::queue<Work> mFunctionCalls GUARDED_BY(mThreadMutex);
95 mutable std::condition_variable mCondition;
100 mutable std::mutex mInitializedMutex;
101 mutable std::condition_variable mInitializedCondition;
/frameworks/av/services/mediametrics/include/mediametricsservice/
DWrap.h45 mutable std::mutex mLock;
183 mutable std::recursive_mutex mLock;
184 mutable T mT;
185 mutable std::atomic<size_t> mRecursionDepth{}; // Used for testing.
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscodingResourcePolicy.h48 mutable std::mutex mRegisteredLock;
52 mutable std::mutex mCookieKeysLock;
55 mutable std::mutex mCallbackLock;
DTranscodingThermalPolicy.h37 mutable std::mutex mRegisteredLock;
40 mutable std::mutex mCallbackLock;
/frameworks/rs/
DrsObjectBase.h91 mutable int32_t mSysRefCount;
92 mutable int32_t mUserRefCount;
94 mutable const ObjectBase * mPrev;
95 mutable const ObjectBase * mNext;
DrsContext.h196 mutable ThreadIO mIO;
225 mutable struct {
236 mutable const ObjectBase * mObjHead;
314 mutable bool mFatalErrorOccured;
315 mutable RsError mError;
/frameworks/native/libs/gui/include/gui/
DSurfaceControl.h125 mutable Mutex mLock;
126 mutable sp<Surface> mSurfaceData;
127 mutable sp<BLASTBufferQueue> mBbq;
128 mutable sp<SurfaceControl> mBbqChild;
DBufferQueueCore.h145 mutable std::mutex mMutex;
223 mutable std::condition_variable mDequeueCondition;
297 mutable std::condition_variable mIsAllocatingCondition;
/frameworks/av/media/libstagefright/renderfright/threaded/
DRenderEngineThreaded.h83 mutable std::mutex mThreadMutex;
86 mutable std::queue<std::function<void(renderengine::RenderEngine& instance)>> mFunctionCalls
88 mutable std::condition_variable mCondition;
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfigParser.java126 public final boolean mutable; field in OverlayConfigParser.ParsedConfiguration
150 ParsedConfiguration(@NonNull String packageName, boolean enabled, boolean mutable, in ParsedConfiguration() argument
155 this.mutable = mutable; in ParsedConfiguration()
165 packageName, enabled, mutable, policy, parsedInfo, parsedConfigFile); in toString()
553 final String mutable = parser.getAttributeValue(null, "mutable"); in parseOverlay() local
554 if (mutable != null) { in parseOverlay()
555 isMutable = !"false".equals(mutable); in parseOverlay()
/frameworks/native/opengl/libs/EGL/
Degl_display.h118 mutable std::mutex lock;
119 mutable std::mutex refLock;
120 mutable std::condition_variable refCond;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.h63 mutable android::Mutex mQueuesLock;
66 mutable android::Mutex mLock;
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmHalListener.h45 mutable Mutex mEventLock;
46 mutable Mutex mNotifyLock;
/frameworks/native/libs/ui/include_vndk/ui/
DFenceTime.h140 mutable std::mutex mMutex;
171 mutable std::mutex mMutex;
213 mutable std::mutex mMutex;
/frameworks/native/libs/ui/include/ui/
DFenceTime.h140 mutable std::mutex mMutex;
171 mutable std::mutex mMutex;
213 mutable std::mutex mMutex;
/frameworks/native/services/inputflinger/dispatcher/
DEntry.h54 mutable bool dispatchInProgress; // initially false, set to true while dispatching
140 mutable InterceptKeyResult interceptKeyResult; // set based on the interception result
141 mutable nsecs_t interceptKeyWakeupTime; // used with INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER
142 mutable int32_t flags;
144 mutable int32_t repeatCount;
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager.h338 mutable Vector<String8> mZipPath;
339 mutable Vector<sp<SharedZip> > mZipFile;
343 mutable Mutex mLock;
350 mutable ResTable* mResources;
DAssetManager2.h463 mutable std::vector<std::pair<ApkAssetsWPtr, ApkAssetsPtr>> apk_assets_;
483 mutable std::unordered_map<uint32_t, util::unique_cptr<ResolvedBag>> cached_bags_;
487 mutable std::unordered_map<uint32_t, std::vector<uint32_t>> cached_bag_resid_stacks_;
490 mutable std::unordered_map<uint32_t, SelectedValue> cached_resolved_values_;
494 mutable int number_of_running_scoped_operations_ = 0;
542 mutable Resolution last_resolution_;
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h91 mutable base::unique_fd mSendFd;
92 mutable base::unique_fd mReceiveFd;
/frameworks/native/libs/binder/include/binder/
DParcelableHolder.h140 mutable std::shared_ptr<Parcelable> mParcelable;
141 mutable std::optional<String16> mParcelableName;
142 mutable std::unique_ptr<Parcel> mParcelPtr;
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/
DLogBuffer.kt84 private val mutable constant
168 if (!mutable) { in obtain()
184 if (!mutable) { in commit()
/frameworks/av/media/utils/include/mediautils/
DSynchronization.h36 mutable L mLock;
37 mutable T mT;

1234567891011