Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java51 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshotNoWriter() local
52 assertNotNull(snapshot); in testBeginSnapshotNoWriter()
53 assertEquals(2, snapshot.size()); in testBeginSnapshotNoWriter()
60 Bundle snapshot = mPerfCollector.endSnapshot(); in testEndSnapshotNoWriter() local
62 verifySnapshotBundle(snapshot); in testEndSnapshotNoWriter()
111 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); in testBeginSnapshot() local
112 assertNotNull(snapshot); in testBeginSnapshot()
113 assertEquals(2, snapshot.size()); in testBeginSnapshot()
399 private void verifySnapshotBundle(Bundle snapshot) { in verifySnapshotBundle() argument
400 assertTrue("At least 26 metrics collected", 26 <= snapshot.size()); in verifySnapshotBundle()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java62 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) { in WifiP2pGroupList()
74 return mGroups.snapshot().values(); in getGroupList()
127 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
151 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
187 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in contains()
199 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in toString()
213 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in writeToParcel()
/frameworks/base/services/java/com/android/server/am/
DCoreSettingsObserver.java82 private void populateCoreSettings(Bundle snapshot) { in populateCoreSettings() argument
91 snapshot.putString(setting, value); in populateCoreSettings()
95 snapshot.putInt(setting, value); in populateCoreSettings()
99 snapshot.putFloat(setting, value); in populateCoreSettings()
103 snapshot.putLong(setting, value); in populateCoreSettings()
/frameworks/base/libs/hwui/
DSkiaShader.h65 virtual void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
145 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
168 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
192 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
235 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
DSkiaShader.cpp85 void SkiaShader::setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, in setupProgram() argument
141 const Snapshot& snapshot, GLuint* textureUnit) { in setupProgram() argument
227 const Snapshot& snapshot, GLuint* textureUnit) { in setupProgram() argument
347 const Snapshot& snapshot, GLuint* textureUnit) { in setupProgram() argument
413 const Snapshot& snapshot, GLuint* textureUnit) { in setupProgram() argument
414 mFirst->setupProgram(program, modelView, snapshot, textureUnit); in setupProgram()
415 mSecond->setupProgram(program, modelView, snapshot, textureUnit); in setupProgram()
DOpenGLRenderer.cpp299 sp<Snapshot> snapshot = (mSnapshot != NULL) ? mSnapshot : mFirstSnapshot; in resume() local
300 glViewport(0, 0, snapshot->viewport.getWidth(), snapshot->viewport.getHeight()); in resume()
301 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo); in resume()
320 sp<Snapshot> snapshot = (mSnapshot != NULL) ? mSnapshot : mFirstSnapshot; in resumeAfterLayer() local
321 glViewport(0, 0, snapshot->viewport.getWidth(), snapshot->viewport.getHeight()); in resumeAfterLayer()
322 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo); in resumeAfterLayer()
DOpenGLRenderer.h379 void startTiling(const sp<Snapshot>& snapshot, bool opaque = false);
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp90 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) in read_snapshot_file() argument
125 snapshot->add(String8(filename, file.nameLen), file); in read_snapshot_file()
147 write_snapshot_file(int fd, const KeyedVector<String8,FileRec>& snapshot) in write_snapshot_file() argument
152 const int N = snapshot.size(); in write_snapshot_file()
154 const FileRec& g = snapshot.valueAt(i); in write_snapshot_file()
156 const String8& name = snapshot.keyAt(i); in write_snapshot_file()
174 FileRec r = snapshot.valueAt(i); in write_snapshot_file()
176 const String8& name = snapshot.keyAt(i); in write_snapshot_file()
902 KeyedVector<String8,FileRec> snapshot; in backup_helper_test_empty() local
915 err = write_snapshot_file(fd, snapshot); in backup_helper_test_empty()
[all …]
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsRecorder.java148 public void recordSnapshotLocked(NetworkStats snapshot, in recordSnapshotLocked() argument
153 if (snapshot == null) return; in recordSnapshotLocked()
157 mLastSnapshot = snapshot; in recordSnapshotLocked()
164 snapshot, mLastSnapshot, mObserver, mCookie); in recordSnapshotLocked()
196 mLastSnapshot = snapshot; in recordSnapshotLocked()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java210 GcSnapshot snapshot = new GcSnapshot(); in createDefaultSnapshot() local
212 snapshot.setBitmap(bitmap); in createDefaultSnapshot()
215 return snapshot; in createDefaultSnapshot()
/frameworks/base/core/java/android/util/
DLruCache.java371 public synchronized final Map<K, V> snapshot() { in snapshot() method in LruCache
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DLruCache.java381 public synchronized final Map<K, V> snapshot() { in snapshot() method in LruCache
/frameworks/support/v4/java/android/support/v4/util/
DLruCache.java316 public synchronized final Map<K, V> snapshot() { in snapshot() method in LruCache
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java426 GcSnapshot snapshot = canvasDelegate.getSnapshot(); in native_concat() local
429 AffineTransform currentTx = snapshot.getTransform(); in native_concat()
437 snapshot.setTransform(currentTx); in native_concat()
454 GcSnapshot snapshot = canvasDelegate.getSnapshot(); in native_setMatrix() local
460 snapshot.setTransform(matrixTx); in native_setMatrix()
/frameworks/base/docs/html/training/notify-user/
Ddisplay-progress.jd124 The resulting notifications are shown in figure 1. On the left side is a snapshot of the
125 notification during the operation; on the right side is a snapshot of it after the operation
/frameworks/base/docs/html/guide/practices/
Doptimizing-for-3.0.jd141 Also see the tip below for information about using a snapshot to drastically reduce startup time
152 from snapshot</b> and <b>Save to snapshot</b>. This way, when you close the emulator, a snapshot of
154 save a snapshot, the emulator will be slow to close, so you might want to disable <b>Save to
155 snapshot</b> after you've acquired an initial snapshot (after you close the AVD for the first
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java2154 final ArrayList<View> snapshot = new ArrayList<View>(numChildren);
2159 snapshot.add(child);
2162 if (snapshot.isEmpty()) {
2193 View sampleView = snapshot.get(0);
2196 for (final View _v : snapshot) {
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java496 for (Map.Entry<T, T> entry : cache.snapshot().entrySet()) {
/frameworks/base/services/java/com/android/server/
DMountService.java517 final HashMap<String, String> snapshot; in handleSystemReady() local
519 snapshot = new HashMap<String, String>(mVolumeStates); in handleSystemReady()
522 for (Map.Entry<String, String> entry : snapshot.entrySet()) { in handleSystemReady()
/frameworks/base/docs/html/tools/testing/
Dtesting_ui.jd86 …d application. You can use the {@code uiautomatorviewer} tool to take a snapshot of the foreground…
116 …<LI>Hover over the snapshot in the left-hand panel to see the UI components identified by the {@co…
276 // If you use the uiautomatorviewer tool to capture a snapshot
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1259 Map<String, PreparedStatement> cache = snapshot(); in dump()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd882 The resulting notifications are shown in figure 6. On the left side is a snapshot of the
883 notification during the operation; on the right side is a snapshot of it after the operation
/frameworks/base/docs/html/about/versions/
Dandroid-3.0-highlights.jd97 …rs rapidly identify the task associated with each app, the list shows a snapshot of its actual sta…
/frameworks/base/docs/html/tools/sdk/
Dtools-notes.jd853 <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can
855 closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd1392 app widget, which provides users with a snapshot of their inbox. To make this

12