| /frameworks/av/media/libnbaio/ |
| NBLog.cpp | 61 * copies snapshot of reader's fifo buffer into its own buffer 63 * sets snapshot.begin() and .end() iterators to boundaries of valid entries 73 * calls dump(int, size_t, Snapshot) 74 * NBLog::Reader::dump(int, size, snapshot) 75 * iterates through snapshot's events and switches based on their type 808 std::unique_ptr<NBLog::Reader::Snapshot> NBLog::Reader::getSnapshot() 811 return std::unique_ptr<NBLog::Reader::Snapshot>(new Snapshot()); 823 return std::unique_ptr<NBLog::Reader::Snapshot>(new Snapshot()); [all...] |
| /external/autotest/site_utils/lxc/ |
| container_unittest.py | 109 snapshot=True) 123 snapshot=True) 127 snapshot=True) 134 snapshot=True) 143 snapshot=True,
|
| unittest_container_bucket.py | 17 local machine, this container just makes a snapshot of it for testing, 30 # Clone the base container (snapshot for speed) to make a base 37 snapshot=True,
|
| /external/libpcap/ |
| pcap-nit.c | 180 if (caplen > p->snapshot) 181 caplen = p->snapshot; 223 nioc.nioc_snaplen = p->snapshot; 274 if (p->snapshot < 96) 276 * NIT requires a snapshot length of at least 96. 278 p->snapshot = 96;
|
| pcap-snit.c | 142 * loop through each snapshot in the chunk 186 /* next snapshot */ 190 if (caplen > p->snapshot) 191 caplen = p->snapshot; 299 if (p->snapshot < 96) 301 * NIT requires a snapshot length of at least 96. 303 p->snapshot = 96; 367 /* set the snapshot length */ 369 si.ic_len = sizeof(p->snapshot); 370 si.ic_dp = (char *)&p->snapshot; [all...] |
| /frameworks/base/libs/hwui/ |
| CanvasState.cpp | 79 Snapshot* CanvasState::allocSnapshot(Snapshot* previous, int savecount) { 86 memory = malloc(sizeof(Snapshot)); 88 return new (memory) Snapshot(previous, savecount); 91 void CanvasState::freeSnapshot(Snapshot* snapshot) { 92 snapshot->~Snapshot(); 95 free((void*) snapshot); 97 snapshot->previous = mSnapshotPool [all...] |
| /frameworks/support/compat/java/android/support/v4/app/ |
| SharedElementCallback.java | 45 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; 46 private static final String BUNDLE_SNAPSHOT_IMAGE_SCALETYPE = "sharedElement:snapshot:imageScaleType"; 47 private static final String BUNDLE_SNAPSHOT_IMAGE_MATRIX = "sharedElement:snapshot:imageMatrix"; 148 * Creates a snapshot of a shared element to be used by the remote Activity and reconstituted 150 * null return value will mean that the remote Activity will have a null snapshot View in 156 * @param sharedElement The shared element View to create a snapshot for. 161 * @return A snapshot to send to the remote Activity to be reconstituted with 240 * Reconstitutes a snapshot View from a Parcelable returned in 249 * @param context The Context used to create the snapshot View. 250 * @param snapshot The Parcelable returned by {@link #onCaptureSharedElementSnapshot [all...] |
| /system/core/liblog/tests/ |
| liblog_benchmark.cpp | 172 uint32_t snapshot = 0; local 173 buffer.payload.data = htole32(snapshot); 180 ++snapshot; 181 buffer.payload.data = htole32(snapshot); 247 uint32_t snapshot = 0; local 248 buffer->payload.payload.data = htole32(snapshot); 252 ++snapshot; 253 buffer->payload.payload.data = htole32(snapshot); 321 uint32_t snapshot = 0; local 322 buffer->payload.payload.data = htole32(snapshot); 395 uint32_t snapshot = 0; local 467 uint32_t snapshot = 0; local [all...] |
| /development/tools/bugreport/src/com/android/bugreport/stacks/ |
| ProcessSnapshotParser.java | 110 final ThreadSnapshot snapshot = parser.parse(lines); local 111 if (snapshot != null) { 112 result.threads.add(snapshot);
|
| /external/autotest/client/cros/chameleon/ |
| audio_board.py | 98 """Abstracts the snapshot of AudioBus for user to restore it later.""" 192 """Gets the snapshot of AudioBus so user can restore it later. 200 def restore_snapshot(self, snapshot): 201 """Restore the snapshot. 207 logging.debug('Restoring snapshot with %s', snapshot._endpoints) 208 for endpoint in snapshot._endpoints:
|
| /external/guava/guava/src/com/google/common/cache/ |
| AbstractCache.java | 196 * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as 199 CacheStats snapshot(); method in interface:AbstractCache.StatsCounter 255 public CacheStats snapshot() { method in class:AbstractCache.SimpleStatsCounter 269 CacheStats otherStats = other.snapshot();
|
| /external/iputils/ |
| Makefile | 124 .PHONY: all ninfod clean distclean man html check-kernel modules snapshot 236 snapshot: 237 @if [ x"$(UNAME_N)" != x"pleiades" ]; then echo "Not authorized to advance snapshot"; exit 1; fi 246 @echo "static char SNAPSHOT[] = \"$(TAG)\";" > SNAPSHOT.h 247 @$(MAKE) -C doc snapshot
|
| /external/skia/tests/ |
| LayerRasterizerTest.cpp | 86 REPORTER_ASSERT(reporter, nullptr == builder.snapshot()); 95 sk_sp<SkLayerRasterizer> firstCopy(builder.snapshot()); 101 sk_sp<SkLayerRasterizer> oneLarger(builder.snapshot());
|
| /frameworks/base/services/core/java/com/android/server/wm/ |
| AppWindowContainerController.java | 495 final TaskSnapshot snapshot = mService.mTaskSnapshotController.getSnapshot( local 499 allowTaskSnapshot, activityCreated, fromRecents, snapshot); 502 return createSnapshot(snapshot); 571 TaskSnapshot snapshot) { 580 return snapshot == null ? STARTING_WINDOW_TYPE_NONE 581 : snapshotOrientationSameAsTask(snapshot) || fromRecents 596 private boolean createSnapshot(TaskSnapshot snapshot) { 597 if (snapshot == null) { 602 mContainer.startingData = new SnapshotStartingData(mService, snapshot); 607 private boolean snapshotOrientationSameAsTask(TaskSnapshot snapshot) { [all...] |
| /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
| ViewsStateBundle.java | 77 Map<String, SparseArray<Parcelable>> snapshot = mChildStates.snapshot(); local 80 snapshot.entrySet().iterator(); i.hasNext(); ) {
|
| /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
| BaseWrapContentTest.java | 129 List<Snapshot> s1 = runScenario(scenario, matchParent, null); 132 List<Snapshot> s2 = runScenario(scenario, wrapContent, s1); 136 Snapshot step1 = s1.get(i); 137 Snapshot step2 = s2.get(i); 142 public List<Snapshot> runScenario(Scenario scenario, ViewGroup.LayoutParams lp, 143 @Nullable List<Snapshot> compareWith) 147 List<Snapshot> result = new ArrayList<>(); 166 Snapshot snapshot = takeSnapshot(); local 168 snapshot.assertRvSize() 178 Snapshot snapshot = takeSnapshot(); local 205 Snapshot snapshot = takeSnapshot(); local 229 Snapshot snapshot = new Snapshot(mRecyclerView, mLoggingItemAnimator, local [all...] |
| /libcore/ojluni/src/main/java/sun/net/ |
| ProgressMonitor.java | 64 * Return a snapshot of the ProgressSource list 67 ArrayList<ProgressSource> snapshot = new ArrayList<ProgressSource>(); local 74 // Clone ProgressSource and add to snapshot 75 snapshot.add((ProgressSource)pi.clone()); 83 return snapshot;
|
| /art/tools/ahat/test/ |
| TestDump.java | 38 // test cases should not be able to modify the cached snapshot in a way that 100 * snapshot for the test-dump program. 108 * baseline snapshot for the test-dump program. 116 * given snapshot for the test-dump program. 118 private Value getDumpedValue(String name, AhatSnapshot snapshot) { 119 AhatClassObj main = snapshot.findClass("Main"); 131 * the snapshot for the test-dump program. 140 * the baseline snapshot for the test-dump program.
|
| /external/libchrome/base/metrics/ |
| histogram_snapshot_manager_unittest.cc | 25 const HistogramSamples& snapshot) override { 30 // Keep pointer to snapshot for testing. This really isn't ideal but the 31 // snapshot-manager keeps the snapshot alive until it's "forgotten". 32 recorded_delta_histogram_sum_[histogram.histogram_name()] = snapshot.sum();
|
| histogram.cc | 444 std::unique_ptr<HistogramSamples> snapshot = SnapshotSampleVector(); local 447 // |logged_samples_| and gather another snapshot to return. 448 logged_samples_.swap(snapshot); 453 snapshot->Subtract(*logged_samples_); 454 logged_samples_->Add(*snapshot); 455 return snapshot; 462 std::unique_ptr<HistogramSamples> snapshot = SnapshotSampleVector(); local 466 snapshot->Subtract(*logged_samples_); 467 return snapshot; 598 std::unique_ptr<SampleVector> snapshot = SnapshotSampleVector() local 711 std::unique_ptr<SampleVector> snapshot = SnapshotSampleVector(); local [all...] |
| histogram_unittest.cc | 486 std::unique_ptr<SampleVector> snapshot = histogram->SnapshotSampleVector(); local 488 histogram->FindCorruption(*snapshot)); 489 EXPECT_EQ(2, snapshot->redundant_count()); 490 EXPECT_EQ(2, snapshot->TotalCount()); 492 snapshot->counts_[3] += 100; // Sample count won't match redundant count. 494 histogram->FindCorruption(*snapshot)); 495 snapshot->counts_[2] -= 200; 497 histogram->FindCorruption(*snapshot)); 500 snapshot->counts_[1] += 100; 502 histogram->FindCorruption(*snapshot)); 509 std::unique_ptr<HistogramSamples> snapshot = histogram->SnapshotSamples(); local [all...] |
| /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
| NonRequiredAppsLogic.java | 38 * OTAs. It also decides whether a snapshot should be taken or not. 84 SystemAppsSnapshot snapshot, 91 mSnapshot = checkNotNull(snapshot); 104 // Remove the ones that were already present in the last snapshot only when OTA
|
| /external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
| JarState.java | 131 private static class Snapshot { 135 public Snapshot(Local[] locals, ImmutableList<Slot> stack) { 174 private final Map<Integer, Snapshot> targetStates = new HashMap<>(); 357 Snapshot snapshot = targetStates.get(offset); local 358 assert snapshot != null; 359 assert locals.length == snapshot.locals.length; 361 locals[i] = snapshot.locals[i]; 364 stack.addAll(snapshot.stack); 395 Snapshot snapshot = targetStates.get(target) local [all...] |
| /art/tools/ahat/src/ |
| HeapTable.java | 54 TableConfig<T> config, AhatSnapshot snapshot, List<T> elements) { 57 for (AhatHeap heap : snapshot.getHeaps()) { 69 subcols.add(new Column("?", Column.Align.RIGHT, snapshot.isDiffed())); 73 subcols.add(new Column("?", Column.Align.RIGHT, showTotal && snapshot.isDiffed()));
|
| /external/curl/packages/vms/ |
| make_pcsi_curl_kit_name.com | 135 $! We encode the snapshot date into the version as an ECO since a daily 139 $! daiy snapshot of the curl source.
|