Home
last modified time | relevance | path

Searched refs:mStorage (Results 1 – 5 of 5) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java65 private final SharedPreferences mStorage; field in OperationScheduler
72 mStorage = storage; in OperationScheduler()
136 boolean enabledState = mStorage.getBoolean(PREFIX + "enabledState", true); in getNextTimeMillis()
139 boolean permanentError = mStorage.getBoolean(PREFIX + "permanentError", false); in getNextTimeMillis()
146 int errorCount = mStorage.getInt(PREFIX + "errorCount", 0); in getNextTimeMillis()
150 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE); in getNextTimeMillis()
175 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0); in getLastSuccessTimeMillis()
186 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0), in getLastAttemptTimeMillis()
187 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0)); in getLastAttemptTimeMillis()
200 long time = mStorage.getLong(name, 0); in getTimeBefore()
[all …]
/frameworks/native/libs/utils/
DVectorImpl.cpp44 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize) in VectorImpl()
49 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl()
52 if (mStorage) { in VectorImpl()
53 SharedBuffer::sharedBuffer(mStorage)->acquire(); in VectorImpl()
74 mStorage = rhs.mStorage; in operator =()
76 SharedBuffer::sharedBuffer(mStorage)->acquire(); in operator =()
78 mStorage = 0; in operator =()
87 if (mStorage) { in editArrayImpl()
88 SharedBuffer* sb = SharedBuffer::sharedBuffer(mStorage)->attemptEdit(); in editArrayImpl()
92 _do_copy(sb->data(), mStorage, mCount); in editArrayImpl()
[all …]
/frameworks/native/libs/ui/
DRegion.cpp57 : mBounds(rhs.mBounds), mStorage(rhs.mStorage) in Region()
86 mStorage = rhs.mStorage; in operator =()
92 mStorage.clear(); in makeBoundsSelf()
99 mStorage.clear(); in clear()
105 mStorage.clear(); in set()
111 mStorage.clear(); in set()
118 mStorage.add(Rect(l,t,r,b)); in addRectUnchecked()
269 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
543 size_t count = reg.mStorage.size(); in translate()
544 Rect* rects = reg.mStorage.editArray(); in translate()
[all …]
/frameworks/native/include/utils/
DVectorImpl.h59 inline const void* arrayImpl() const { return mStorage; } in arrayImpl()
131 void * mStorage; // base address of the vector variable
/frameworks/native/include/ui/
DRegion.h45 inline bool isRect() const { return mStorage.isEmpty(); } in isRect()
162 Vector<Rect> mStorage; variable