/frameworks/base/services/core/java/com/android/server/am/ |
CoreSettingsObserver.java | 111 void populateSettings(Bundle snapshot, Map<String, Class<?>> map) { 128 snapshot.putString(setting, value); 130 snapshot.putInt(setting, Integer.parseInt(value)); 132 snapshot.putFloat(setting, Float.parseFloat(value)); 134 snapshot.putLong(setting, Long.parseLong(value));
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_builder.c | 467 * Take a snapshot of the writer state. 471 struct ilo_builder_snapshot *snapshot) 476 snapshot->reloc_count = intel_bo_get_reloc_count(writer->bo); 477 snapshot->used = writer->used; 478 snapshot->stolen = writer->stolen; 479 snapshot->item_used = writer->item_used; 483 * Restore the writer state to when the snapshot was taken, except that it 488 const struct ilo_builder_snapshot *snapshot) 493 intel_bo_truncate_relocs(writer->bo, snapshot->reloc_count); 494 writer->used = snapshot->used [all...] |
/frameworks/support/paging/common/src/main/java/android/arch/paging/ |
ContiguousPagedList.java | 303 NullPaddedList<T> snapshot = (NullPaddedList<T>) previousSnapshot; local 304 if (snapshot != this && snapshot != null) { 305 final int newlyAppended = mNumberAppended - snapshot.getNumberAppended(); 306 final int newlyPrepended = mNumberPrepended - snapshot.getNumberPrepended(); 308 final int previousTrailing = snapshot.getTrailingNullCount(); 309 final int previousLeading = snapshot.getLeadingNullCount(); 311 // Validate that the snapshot looks like a previous version of this list - if it's not, 317 || snapshot.getLoadedCount() + newlyAppended + newlyPrepended != mList.size()) { 318 throw new IllegalArgumentException("Invalid snapshot provided - doesn't appear [all...] |
/frameworks/support/paging/common/src/test/java/android/arch/paging/ |
ContiguousPagedListTest.java | 284 // snapshot at 60 items 285 NullPaddedList<Item> snapshot = (NullPaddedList<Item>) pagedList.snapshot(); local 286 verifyRange(0, 60, snapshot); 292 verifyRange(0, 60, snapshot); 295 pagedList.addWeakCallback(snapshot, callback); 310 // snapshot at 60 items 311 NullPaddedList<Item> snapshot = (NullPaddedList<Item>) pagedList.snapshot(); local 312 verifyRange(40, 60, snapshot); [all...] |
/external/libchrome/base/metrics/ |
sparse_histogram_unittest.cc | 95 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 96 EXPECT_EQ(0, snapshot->TotalCount()); 97 EXPECT_EQ(0, snapshot->sum()); 114 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 115 EXPECT_EQ(0, snapshot->TotalCount()); 116 EXPECT_EQ(0, snapshot->sum()); 133 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 134 EXPECT_EQ(0, snapshot->TotalCount()); 135 EXPECT_EQ(0, snapshot->sum());
|
histogram_delta_serialization.cc | 91 const HistogramSamples& snapshot) { 93 DCHECK_NE(0, snapshot.TotalCount()); 97 snapshot.Serialize(&pickle);
|
histogram_delta_serialization.h | 46 const HistogramSamples& snapshot) override;
|
persistent_histogram_allocator_unittest.cc | 201 std::unique_ptr<HistogramSamples> snapshot = found->SnapshotSamples(); local 202 EXPECT_EQ(recovered->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); 203 EXPECT_EQ(1, snapshot->GetCount(3)); 204 EXPECT_EQ(2, snapshot->GetCount(1)); 205 EXPECT_EQ(1, snapshot->GetCount(4)); 206 EXPECT_EQ(1, snapshot->GetCount(6));
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
CopyOnWriteArraySet.java | 283 * Tells whether the objects in snapshot (regarded as a set) are a 286 * @return -1 if snapshot is not a superset, 0 if the two sets 287 * contain precisely the same elements, and 1 if snapshot is a 290 private static int compareSets(Object[] snapshot, Set<?> set) { 297 final int len = snapshot.length; 305 if (!matched[i] && Objects.equals(x, snapshot[i])) { 382 * <p>The returned iterator provides a snapshot of the state of the set 431 * <p>The spliterator provides a snapshot of the state of the set
|
CopyOnWriteArrayList.java | 68 * concurrent threads. The "snapshot" style iterator method uses a 509 Object[] snapshot = getArray(); local 510 int index = indexOf(o, snapshot, 0, snapshot.length); 511 return (index < 0) ? false : remove(o, snapshot, index); 516 * recent snapshot contains o at the given index. 518 private boolean remove(Object o, Object[] snapshot, int index) { 522 if (snapshot != current) findIndex: { 525 if (current[i] != snapshot[i] 589 Object[] snapshot = getArray() local 1066 private final Object[] snapshot; field in class:CopyOnWriteArrayList.COWIterator [all...] |
/art/tools/ahat/src/heapdump/ |
Sort.java | 104 public static Comparator<AhatInstance> defaultInstanceCompare(AhatSnapshot snapshot) { 108 AhatHeap appHeap = snapshot.getHeap("app"); 148 public static Comparator<Site> defaultSiteCompare(AhatSnapshot snapshot) { 152 AhatHeap appHeap = snapshot.getHeap("app");
|
Perflib.java | 22 import com.android.tools.perflib.heap.Snapshot; 32 * Return a collection of instances in the given snapshot that are tied to 36 public static Map<Instance, Long> getRegisteredNativeAllocations(Snapshot snapshot) { 38 ClassObj cleanerClass = snapshot.findClass("sun.misc.Cleaner");
|
AhatInstance.java | 63 * snapshot.findInstance have been initialized yet. 65 void initialize(AhatSnapshot snapshot, Instance inst) { 70 List<AhatHeap> heaps = snapshot.getHeaps(); 72 mHeap = snapshot.getHeap(inst.getHeap().getName()); 78 mImmediateDominator = snapshot.findInstance(dom.getId()); 84 mClassObj = snapshot.findClassObj(clsObj.getId()); 89 // snapshot.findInstance returns null, it means the reverse reference is 97 AhatInstance ahat = snapshot.findInstance(ref.getId()); 109 AhatInstance ahat = snapshot.findInstance(ref.getId());
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
FormEncodingBuilder.java | 57 return RequestBody.create(CONTENT_TYPE, content.snapshot());
|
/external/ppp/pppd/include/ |
pcap-int.h | 70 int snapshot; member in struct:pcap
|
/external/skia/include/effects/ |
SkLayerRasterizer.h | 59 sk_sp<SkLayerRasterizer> snapshot() const;
|
/external/valgrind/massif/tests/ |
culling1.stderr.exp | 226 Massif: (skipped 1 snapshot) 228 Massif: (skipped 1 snapshot) 230 Massif: (skipped 1 snapshot) 232 Massif: (skipped 1 snapshot) 234 Massif: (skipped 1 snapshot) 236 Massif: (skipped 1 snapshot) 238 Massif: (skipped 1 snapshot) 240 Massif: (skipped 1 snapshot) 242 Massif: (skipped 1 snapshot) 244 Massif: (skipped 1 snapshot) [all...] |
/prebuilts/tools/common/m2/repository/com/squareup/leakcanary/leakcanary-analyzer/1.4/ |
leakcanary-analyzer-1.4.jar | |
/art/tools/ahat/src/ |
ObjectsHandler.java | 33 public ObjectsHandler(AhatSnapshot snapshot) { 34 mSnapshot = snapshot;
|
OverviewHandler.java | 31 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof) { 32 mSnapshot = snapshot;
|
/external/skia/tools/viewer/sk_app/mac/ |
RasterWindowContext_mac.cpp | 110 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot(); local 114 gpuCanvas->drawImage(snapshot, 0, 0);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageFetcher.java | 196 DiskLruCache.Snapshot snapshot; local 207 snapshot = mHttpDiskCache.get(key); 208 if (snapshot == null) { 221 snapshot = mHttpDiskCache.get(key); 223 if (snapshot != null) { 225 (FileInputStream) snapshot.getInputStream(DISK_CACHE_INDEX);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageFetcher.java | 196 DiskLruCache.Snapshot snapshot; local 207 snapshot = mHttpDiskCache.get(key); 208 if (snapshot == null) { 221 snapshot = mHttpDiskCache.get(key); 223 if (snapshot != null) { 225 (FileInputStream) snapshot.getInputStream(DISK_CACHE_INDEX);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageFetcher.java | 196 DiskLruCache.Snapshot snapshot; local 207 snapshot = mHttpDiskCache.get(key); 208 if (snapshot == null) { 221 snapshot = mHttpDiskCache.get(key); 223 if (snapshot != null) { 225 (FileInputStream) snapshot.getInputStream(DISK_CACHE_INDEX);
|
/external/libpcap/ |
pcap-snoop.c | 110 if (cc == (p->snapshot + sizeof(struct snoopheader)) && 111 (datalen < p->snapshot)) 114 caplen = (datalen < p->snapshot) ? datalen : p->snapshot; 356 if (p->snapshot > ifr.ifr_mtu + ll_hdrlen) 357 p->snapshot = ifr.ifr_mtu + ll_hdrlen; 365 snooplen = p->snapshot - ll_hdrlen;
|