/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 140 private volatile StateSnapshot snapshot = new StateSnapshot(NEW); 172 snapshot = new StateSnapshot(STARTING); 194 snapshot = new StateSnapshot(TERMINATED); 198 snapshot = new StateSnapshot(STARTING, true, null); 202 snapshot = new StateSnapshot(STOPPING); 302 // We have to examine the internal state of the snapshot here to properly handle the stop 304 if (snapshot.state != STARTING) { 306 "Cannot notifyStarted() when the service is " + snapshot.state); 311 if (snapshot.shutdownWhenStartupFinishes) { 312 snapshot = new StateSnapshot(STOPPING) [all...] |
/art/tools/ahat/src/heapdump/ |
AhatClassObj.java | 37 @Override void initialize(AhatSnapshot snapshot, Instance inst) { 38 super.initialize(snapshot, inst); 45 mSuperClassObj = snapshot.findClassObj(superClassObj.getId()); 50 mClassLoader = snapshot.findInstance(loader.getId()); 59 Value value = snapshot.getValue(field.getValue());
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pGroupList.java | 64 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) { 76 return mGroups.snapshot().values(); 133 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); 158 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); 196 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); 208 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); 222 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
TaskSnapshotPersisterLoaderTest.java | 63 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* reduced */); local 64 assertNotNull(snapshot); 65 assertEquals(TEST_INSETS, snapshot.getContentInsets()); 66 assertNotNull(snapshot.getSnapshot()); 67 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); 156 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, true /* reduced */); local 157 assertNotNull(snapshot); 158 assertEquals(TEST_INSETS, snapshot.getContentInsets()); 159 assertNotNull(snapshot.getSnapshot()); 160 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()) [all...] |
/frameworks/support/paging/common/src/test/java/android/arch/paging/ |
TiledPagedListTest.java | 212 // snapshot at 20 items 213 PageArrayList<Item> snapshot = (PageArrayList<Item>) pagedList.snapshot(); local 214 verifyRange(snapshot, 0, 1); 221 verifyRange(snapshot, 0, 1); 225 pagedList.addWeakCallback(snapshot, callback); 240 // snapshot at 30 items 241 PageArrayList<Item> snapshot = (PageArrayList<Item>) pagedList.snapshot(); local 242 verifyRange(snapshot, 2, 3, 4) [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpStateTests.cpp | 187 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); local 188 EXPECT_NE(nullptr, BakedOpState::tryConstruct(allocator, *snapshot, successOp)) 194 EXPECT_EQ(nullptr, BakedOpState::tryConstruct(allocator, *snapshot, rejectOp)) 207 auto snapshot = TestUtils::makeSnapshot(translate10x20, Rect()); // Note: empty clip local 208 BakedOpState* bakedState = BakedOpState::tryShadowOpConstruct(allocator, *snapshot, (ShadowOp*)0x1234); 212 "since op is quick rejected based on snapshot clip"; 215 auto snapshot = TestUtils::makeSnapshot(translate10x20, Rect(100, 200)); local 216 BakedOpState* bakedState = BakedOpState::tryShadowOpConstruct(allocator, *snapshot, (ShadowOp*)0x1234); 235 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect()); // Note: empty clip local 236 auto bakedState = BakedOpState::tryStrokeableOpConstruct(allocator, *snapshot, rejectOp 249 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(200, 200)); local 264 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(200, 200)); local [all...] |
/development/tools/bugreport/src/com/android/bugreport/anr/ |
AnrParser.java | 90 final CpuUsageSnapshot snapshot = parser.parse(lines); local 91 if (snapshot != null) { 92 anr.cpuUsages.add(snapshot); 101 final ProcessSnapshot snapshot = parser.parse(lines); local 102 if (snapshot != null) { 103 anr.vmTraces.processes.add(snapshot);
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_gpgpu.c | 57 struct ilo_builder_snapshot snapshot; local 59 ilo_builder_batch_snapshot(&ilo->cp->builder, &snapshot); 65 ilo_builder_batch_restore(&ilo->cp->builder, &snapshot);
|
/external/v8/src/snapshot/ |
snapshot.h | 8 #include "src/snapshot/partial-serializer.h" 9 #include "src/snapshot/startup-serializer.h" 26 explicit SnapshotData(const Vector<const byte> snapshot) 27 : SerializedData(const_cast<byte*>(snapshot.begin()), snapshot.length()) { 54 class Snapshot : public AllStatic { 56 // Initialize the Isolate from the internal snapshot. Returns false if no 57 // snapshot could be found. 59 // Create a new context using the internal partial snapshot. 71 // To be implemented by the snapshot source [all...] |
/external/v8/src/ |
startup-data-util.cc | 88 char* snapshot; local 91 base::RelativePath(&snapshot, directory_path, "snapshot_blob.bin")); 93 free(snapshot);
|
/art/tools/ahat/test/ |
NativeAllocationTest.java | 32 AhatSnapshot snapshot = dump.getAhatSnapshot(); local
|
PerformanceTest.java | 44 AhatSnapshot snapshot = dump.getAhatSnapshot(); local 45 AhatHandler handler = new ObjectHandler(snapshot);
|
/prebuilts/tools/common/m2/repository/com/squareup/haha/haha/1.3/ |
haha-1.3.jar | |
/external/libchrome/base/metrics/ |
statistics_recorder.cc | 211 Histograms snapshot; 212 GetSnapshot(query, &snapshot); 213 std::sort(snapshot.begin(), snapshot.end(), &HistogramNameLesser); 214 for (const HistogramBase* histogram : snapshot) { 230 Histograms snapshot; local 231 GetSnapshot(query, &snapshot); 232 std::sort(snapshot.begin(), snapshot.end(), &HistogramNameLesser); 233 for (const HistogramBase* histogram : snapshot) { 251 Histograms snapshot; local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
DiskLruCacheTest.java | 163 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 164 assertSnapshotValue(snapshot, 0, "ABC"); 165 assertSnapshotValue(snapshot, 1, "DE"); 176 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 177 assertSnapshotValue(snapshot, 0, "A"); 178 assertSnapshotValue(snapshot, 1, "B"); 179 snapshot.close(); 190 DiskLruCache.Snapshot snapshot = cache.get("k1") local 486 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 652 DiskLruCache.Snapshot snapshot = cache.get("a"); local 712 DiskLruCache.Snapshot snapshot = cache.get("k1"); local 770 DiskLruCache.Snapshot snapshot = cache.get("a"); local 779 DiskLruCache.Snapshot snapshot = cache.get("a"); local 791 DiskLruCache.Snapshot snapshot = cache.get("a"); local 802 DiskLruCache.Snapshot snapshot = cache.get("a"); local 813 DiskLruCache.Snapshot snapshot = cache.get("a"); local 1359 DiskLruCache.Snapshot snapshot = cache.get(key); local 1371 DiskLruCache.Snapshot snapshot = cache.get(key); local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskSnapshotController.java | 53 * When an app token becomes invisible, we take a snapshot (bitmap) of the corresponding task and 57 * System applications may retrieve a snapshot to represent the current state of a task, and draw 60 * When we task becomes visible again, we show a starting window with the snapshot as the content to 70 * used as the snapshot. 83 * Return value for {@link #getSnapshotMode}: We aren't allowed to take any snapshot. 145 // We need to take a snapshot of the task if and only if all activities of the task are 156 final TaskSnapshot snapshot; local 161 snapshot = drawAppThemeSnapshot(task); 164 snapshot = snapshotTask(task); 167 snapshot = null [all...] |
/art/tools/ahat/src/ |
BitmapHandler.java | 32 public BitmapHandler(AhatSnapshot snapshot) { 33 mSnapshot = snapshot;
|
SitePrinter.java | 27 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { 61 HeapTable.render(doc, query, id, table, snapshot, path);
|
/external/iputils/doc/ |
Makefile | 39 snapshot: 40 @date "+%y%m%d" > snapshot.db
|
/external/v8/tools/ |
cross_build_gcc.sh | 72 make snapshot=off $@
|
/external/valgrind/gdbserver_tests/ |
mssnapshot.stderrB.exp | 18 snapshot [<filename>] 20 takes a snapshot (or a detailed snapshot) 24 saves all snapshot(s) taken so far in <filename>
|
/frameworks/base/core/java/android/app/ |
ITaskStackListener.aidl | 134 * Called when a task snapshot got updated. 136 void onTaskSnapshotChanged(int taskId, in ActivityManager.TaskSnapshot snapshot);
|
SharedElementCallback.java | 48 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; 50 "sharedElement:snapshot:graphicBuffer"; 51 private static final String BUNDLE_SNAPSHOT_IMAGE_SCALETYPE = "sharedElement:snapshot:imageScaleType"; 52 private static final String BUNDLE_SNAPSHOT_IMAGE_MATRIX = "sharedElement:snapshot:imageMatrix"; 155 * Creates a snapshot of a shared element to be used by the remote Activity and reconstituted 157 * null return value will mean that the remote Activity will have a null snapshot View in 163 * @param sharedElement The shared element View to create a snapshot for. 168 * @return A snapshot to send to the remote Activity to be reconstituted with 211 * Reconstitutes a snapshot View from a Parcelable returned in 220 * @param context The Context used to create the snapshot View [all...] |
/system/core/liblog/ |
logd_writer.c | 184 int32_t snapshot = local 186 if (snapshot) { 192 buffer.payload.data = htole32(snapshot); 199 atomic_fetch_add_explicit(&droppedSecurity, snapshot, 203 snapshot = atomic_exchange_explicit(&dropped, 0, memory_order_relaxed); 204 if (snapshot && 212 buffer.payload.data = htole32(snapshot); 219 atomic_fetch_add_explicit(&dropped, snapshot, memory_order_relaxed);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 181 DiskLruCache.Snapshot snapshot; local 184 snapshot = cache.get(key); 185 if (snapshot == null) { 194 entry = new Entry(snapshot.getSource(ENTRY_METADATA)); 196 Util.closeQuietly(snapshot); 200 Response response = entry.response(request, snapshot); 253 DiskLruCache.Snapshot snapshot = ((CacheResponseBody) cached.body()).snapshot; local 331 DiskLruCache.Snapshot snapshot = delegate.next(); local 693 private final DiskLruCache.Snapshot snapshot; field in class:CacheResponseBody [all...] |