Searched refs:mStorage (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DLockSettingsStorageTests.java34 LockSettingsStorage mStorage; field in class:LockSettingsStorageTests
73 mStorage = new LockSettingsStorage(getContext(), new LockSettingsStorage.Callback() {
76 mStorage.writeKeyValue(db, "initializedKey", "initialValue", 0);
96 mStorage.closeDatabase();
100 assertEquals("initialValue", mStorage.readKeyValue("initializedKey", "default", 0));
101 mStorage.clearCache();
102 assertEquals("initialValue", mStorage.readKeyValue("initializedKey", "default", 0));
106 mStorage.writeKeyValue("key", "value", 0);
107 assertEquals("value", mStorage.readKeyValue("key", "default", 0));
108 mStorage
[all...]
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp61 } else if (android_bWriteLog(mTag, mStorage, mPos) < 0) {
76 mStorage[mPos + 0] = EVENT_TYPE_LIST;
77 mStorage[mPos + 1] = count;
88 mStorage[mPos + 0] = '\n';
99 mStorage[mPos + 0] = EVENT_TYPE_INT;
100 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
111 mStorage[mPos + 0] = EVENT_TYPE_LONG;
112 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
124 mStorage[mPos + 0] = EVENT_TYPE_STRING;
125 memcpy(&mStorage[mPo
[all...]
H A DEventLog.h53 char mStorage[STORAGE_MAX_SIZE]; member in class:android::EventLog::TagBuffer
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java77 private final SharedPreferences mStorage; field in class:OperationScheduler
84 mStorage = storage;
152 boolean enabledState = mStorage.getBoolean(PREFIX + "enabledState", true);
155 boolean permanentError = mStorage.getBoolean(PREFIX + "permanentError", false);
162 int errorCount = mStorage.getInt(PREFIX + "errorCount", 0);
166 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE);
204 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0);
215 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0),
216 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0));
229 long time = mStorage
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp59 mStorage.add(Rect(0,0));
63 : mStorage(rhs.mStorage)
71 mStorage.add(rhs);
195 outputRegion.mStorage, direction_LTR);
196 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
211 mStorage = rhs.mStorage;
217 if (mStorage
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsService.java69 private final LockSettingsStorage mStorage; field in class:LockSettingsService
86 mStorage = new LockSettingsStorage(context, new LockSettingsStorage.Callback() {
93 mStorage.writeKeyValue(db, LockPatternUtils.DISABLE_LOCKSCREEN_KEY, "1", 0);
119 mStorage.prefetchUser(userHandle);
126 mStorage.prefetchUser(UserHandle.USER_OWNER);
227 mStorage.writeKeyValue(key, value, userId);
234 String value = mStorage.readKeyValue(key, null, userId);
243 String value = mStorage.readKeyValue(key, null, userId);
251 return mStorage.readKeyValue(key, defaultValue, userId);
258 return mStorage
[all...]
/frameworks/native/include/ui/
H A DRegion.h48 inline bool isRect() const { return mStorage.size() == 1; }
50 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; }
176 // mStorage is a (manually) sorted array of Rects describing the region
179 // a simple Rect then mStorage contains only that rect.
180 Vector<Rect> mStorage; member in class:android::Region
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DClusterManager.java72 private AggregatorRecordStorage mStorage; field in class:ClusterManager
102 mStorage = new AggregatorRecordStorage(context, SEMANTIC_TABLE, SEMANTIC_COLUMNS);
258 List<Map<String, String> > allData = mStorage.getAllData();
289 mStorage.removeAllData();
306 mStorage.addData(rowFeatures);

Completed in 1811 milliseconds