Home
last modified time | relevance | path

Searched full:snap (Results 1 – 25 of 1219) sorted by relevance

12345678910>>...49

/aosp_15_r20/external/rust/android-crates-io/crates/codespan-reporting/
D.cargo-checksum.json1snap":"538d6366898a43c9924418f3fe5ee279fae6130e829f3c20b8e981acac66458f","tests/snapshots/term__em…
/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/ProjectSettings/
H A DInputManager.asset19 snap: 1
35 snap: 1
51 snap: 0
67 snap: 0
83 snap: 0
99 snap: 0
115 snap: 0
131 snap: 0
147 snap: 0
163 snap: 0
[all …]
/aosp_15_r20/external/bcc/snap/
H A DREADME.md1 # bcc snap
3 This is an unconfined snap of the BPF Compiler Collection (BCC), a toolkit for
8 sudo snap install snapcraft --classic
10 Clone the bcc repo (if you haven't done so already) and create the snap:
15 Install the snap by running (`--dangerous` is required as the snap is
16 not coming from the Snap Store):
18 sudo snap install --dangerous bcc_*.snap
20 One may need to ensure the snap interfaces are connected for the snap
23 sudo snap connect bcc:mount-observe
24 sudo snap connect bcc:system-observe
[all …]
/aosp_15_r20/external/lz4/contrib/snap/
H A DREADME.md1 Snap Packaging
4 This directory contains the config required to generate a snap package
8 of a snap package is that it is (ideally) confined such that it
15 * ensure snap.snapcraft.yaml is up-to-date e.g. with version info
17 * build the snap by installing the snapcraft package and running it
19 * push snap/* changes to the repo (excluding any crud generated by a build of course)
23 * publish new snap to the snap store
25 * install snap by doing 'snap install lz4' on any Linux distro
/aosp_15_r20/external/skia/tests/graphite/
H A DGraphitePromiseImageTest.cpp260 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
261 check_unfulfilled(testContext.fPromiseChecker, reporter); // NVPIs not fulfilled at snap in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
284 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
305 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
348 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
367 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
384 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
442 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
443 // Nothing happens at snap time for VPIs in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
468 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
[all …]
H A DGraphiteYUVAPromiseImageTest.cpp299 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
301 reporter); // NVPIs not fulfilled at snap in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
328 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
352 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
399 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
421 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
440 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
501 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
502 // Nothing happens at snap time for VPIs in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
535 std::unique_ptr<Recording> recording = testContext.fRecorder->snap(); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerSnapAlgorithm.java44 * Calculates the snap targets and the snap position given a position and a velocity. All positions
55 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio
60 * 3 snap targets: fixed ratio, 1:1, (1 - fixed ratio)
65 * 1 snap target: 1:1
70 * 1 snap target: minimized height, (1 - minimized height)
174 return snap(position, hardToDismiss); in calculateSnapTarget()
184 SnapTarget target = snap(position, false /* hardDismiss */); in calculateNonDismissingSnapTarget()
267 private SnapTarget snap(int position, boolean hardDismiss) { in snap() method in DividerSnapAlgorithm
434 return snap(currentPosition, /* hardDismiss */ true).snapPosition; in calculateNearestSnapPosition()
442 /** Position of this snap target. The right/bottom edge of the top/left task snaps here. */
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/split/
H A DSplitScreenConstants.java92 * A snap target for two apps, where the split is 33-66. With FLAG_ENABLE_FLEXIBLE_SPLIT,
97 /** A snap target for two apps, where the split is 50-50. */
101 * A snap target for two apps, where the split is 66-33. With FLAG_ENABLE_FLEXIBLE_SPLIT,
107 * A snap target for two apps, where the split is 90-10. The "10" app extends off the screen,
114 * A snap target for two apps, where the split is 10-90. The "10" app extends off the screen,
121 * A snap target for three apps, where the split is 33-33-33. With FLAG_ENABLE_FLEXIBLE_SPLIT,
127 * A snap target for three apps, where the split is 45-45-10. The "10" app extends off the
134 * A snap target for three apps, where the split is 10-45-45. The "10" app extends off the
141 * These snap targets are used for split pairs in a stable, non-transient state. They may be
188 /** The divider doesn't snap to any target and is freely placeable. */
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/pprof/
Dproto_windows.go16 snap, err := createModuleSnapshot()
22 defer func() { _ = syscall.CloseHandle(snap) }()
26 err = windows.Module32First(snap, &module)
42 err = windows.Module32Next(snap, &module)
51 snap, err := createModuleSnapshot()
55 defer func() { _ = syscall.CloseHandle(snap) }()
59 err = windows.Module32First(snap, &module)
69snap, err := syscall.CreateToolhelp32Snapshot(windows.TH32CS_SNAPMODULE|windows.TH32CS_SNAPMODULE3…
76 return snap, err
/aosp_15_r20/tools/netsim/rust/packets/src/
H A Dllc.rs24 // Length of LLC/SNAP headers on data frames
35 LlcSap::Snap as u8, in test_llc_snap_header_len()
36 LlcSap::Snap as u8, in test_llc_snap_header_len()
54 LlcSap::Snap as u8, in test_llc_snap_header_valid()
55 LlcSap::Snap as u8, in test_llc_snap_header_valid()
67 assert_eq!(hdr.dsap, LlcSap::Snap); in test_llc_snap_header_valid()
68 assert_eq!(hdr.ssap, LlcSap::Snap); in test_llc_snap_header_valid()
91 LlcSap::Snap as u8, in test_llc_snap_header_invalid_ethertype()
92 LlcSap::Snap as u8, in test_llc_snap_header_invalid_ethertype()
/aosp_15_r20/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt113 * A modifier which connects rotary events with scrollable. This modifier supports snap.
264 * Handles scroll with snap
267 * @param snapParameters Snap parameters
315 * @param snapOffset an optional offset to be applied when snapping the item. After the snap the
527 debugLog { "snap to closest item" } in snapToClosestItem()
556 // need to do snap again in topEdgeReached()
589 // Exit animation if snap target was updated in topEdgeReached()
615 // Exit animation if snap target was updated in topEdgeReached()
629 // Exit animation if snap target was updated in topEdgeReached()
923 debugLog { "Snap accumulator: $snapAccumulator" } in handleScrollEvent()
[all …]
/aosp_15_r20/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
H A DRotary.kt169 * This modifier supports snap. in rotaryWithFling()
325 * Handles scroll with snap in averageItemSize()
327 * @param snapParameters Snap parameters in averageItemSize()
389 * @param snapOffset an optional offset to be applied when snapping the item. After the snap the
657 debugLog { "snap to closest item" } in snapToClosestItem()
684 // need to do snap again in topEdgeReached()
716 // Exit animation if snap target was updated in topEdgeReached()
742 // Exit animation if snap target was updated in topEdgeReached()
755 // Exit animation if snap target was updated in topEdgeReached()
1082 debugLog { "Snap accumulator: $snapAccumulator" } in handleScrollEvent()
[all …]
/aosp_15_r20/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/wear/elements/rotaryinput/
DRotary.kt113 * A modifier which connects rotary events with scrollable. This modifier supports snap.
264 * Handles scroll with snap
267 * @param snapParameters Snap parameters
315 * @param snapOffset an optional offset to be applied when snapping the item. After the snap the
527 debugLog { "snap to closest item" } in snapToClosestItem()
556 // need to do snap again in topEdgeReached()
589 // Exit animation if snap target was updated in topEdgeReached()
615 // Exit animation if snap target was updated in topEdgeReached()
629 // Exit animation if snap target was updated in topEdgeReached()
923 debugLog { "Snap accumulator: $snapAccumulator" } in handleScrollEvent()
[all …]
/aosp_15_r20/external/perfetto/src/tracing/service/
H A Dtrace_buffer_unittest.cc1915 std::unique_ptr<TraceBuffer> snap = trace_buffer()->CloneReadOnly(); in TEST_F() local
1916 ASSERT_EQ(snap->used_size(), 32u * kNumWriters); in TEST_F()
1917 snap->BeginRead(); in TEST_F()
1919 auto frags = ReadPacket(snap); in TEST_F()
1922 ASSERT_THAT(ReadPacket(snap), IsEmpty()); in TEST_F()
1938 std::unique_ptr<TraceBuffer> snap = trace_buffer()->CloneReadOnly(); in TEST_F() local
1939 snap->BeginRead(); in TEST_F()
1940 ASSERT_THAT(ReadPacket(snap), ElementsAre(FakePacketFragment(10, 'a'))); in TEST_F()
1941 ASSERT_THAT(ReadPacket(snap), IsEmpty()); in TEST_F()
1949 std::unique_ptr<TraceBuffer> snap = trace_buffer()->CloneReadOnly(); in TEST_F() local
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DMaximizeMenu.kt79 * maximize the task or restore previous task bounds from the maximized state and to snap the task in <lambda>()
263 * The view within the Maximize Menu, presents maximize, restore and snap-to-side options for
346 /** Invoked when the left snap option is clicked. */
348 /** Invoked when the right snap option is clicked. */
364 // Also check if the hover falls within the snap options layout, to manually in event()
366 // TODO(b/346440693): this manual hover tracking is needed for left/right snap in event()
377 // Hover is inside the snap layout, anything left of center is the left in event()
378 // snap, and anything right of center is right snap. in event()
386 // Any other hover is outside the snap layout, so neither is selected. in event()
458 // Snap options. in bind()
[all …]
/aosp_15_r20/external/crosvm/e2e_tests/tests/
H A Dvsock.rs83 let snap = dir.path().join("snapshot.bkp"); in host_to_guest_snapshot_restore() localVariable
84 vm.snapshot(&snap).unwrap(); in host_to_guest_snapshot_restore()
90 snap.to_str().unwrap().to_string(), in host_to_guest_snapshot_restore()
114 let snap = dir.path().join("snapshot.bkp"); in host_to_guest_disable_sandbox_snapshot_restore() localVariable
115 vm.snapshot(&snap).unwrap(); in host_to_guest_disable_sandbox_snapshot_restore()
121 snap.to_str().unwrap().to_string(), in host_to_guest_disable_sandbox_snapshot_restore()
194 let snap = dir.path().join("snapshot.bkp"); in guest_to_host_snapshot_restore() localVariable
195 vm.snapshot(&snap).unwrap(); in guest_to_host_snapshot_restore()
202 snap.to_str().unwrap().to_string(), in guest_to_host_snapshot_restore()
225 let snap = dir.path().join("snapshot.bkp"); in guest_to_host_disable_sandbox_snapshot_restore() localVariable
[all …]
/aosp_15_r20/external/crosvm/devices/src/virtio/
H A Dqueue.rs327 let snap: QueueConfigSnapshot = in restore() localVariable
329 self.activated = snap.activated; in restore()
330 self.max_size = snap.max_size; in restore()
331 self.size = snap.size; in restore()
332 self.ready = snap.ready; in restore()
333 self.vector = snap.vector; in restore()
334 self.features = snap.features; in restore()
335 self.acked_features = snap.acked_features; in restore()
336 self.desc_table = snap.desc_table; in restore()
337 self.avail_ring = snap.avail_ring; in restore()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/lib/db/
H A Dsnapfn.cc23 /// - snap(value: BLOB|TEXT) -> BLOB
24 /// - snap(value: NULL|INT|REAL) -> value
34 /// Decompresses value created by snap(). If value is empty, then an empty
65 /// sqlite> select hex(snap('aaaaaaaaaaaaaaaaa'));
76 /// >>> db.execute('select hex(snap("aaaaaaaaaaaaaaaaa"))').fetchone()[0]
84 static void snap(sqlite3_context* ctx, int /*argc*/, sqlite3_value** argv) { in snap() function
103 sqlite3_result_error(ctx, "snap() invalid type", -1); in snap()
222 "snap", // zFunctionName in sqlite3_snapfn_init()
226 snap, // xFunc in sqlite3_snapfn_init()
/aosp_15_r20/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridPageSnapper.java31 * <p>Extension of a {@link LinearSnapHelper} that will snap to the next/previous page.
63 * Finds the view to snap to. The view to snap can be either the current, next or previous page.
94 // Snap to next page in findSnapView()
237 // When a fling happens, try to find the target snap view and go there. in attachToRecyclerView()
264 * A Callback contract between all app grid components that causes triggers a scroll or snap
268 * page snap, and it is up to the AppGridPageSnapCallback to notify the listener to cache that
280 /** caches the most recent snap position and notifies the listener */
286 /** return the most recent cached snap position */
/aosp_15_r20/external/skia/tools/viewer/
H A DPathClipSlide.cpp165 static SkScalar snap(SkScalar x) { in snap() function in EdgeClipSlide
168 static SkPoint snap(const SkPoint& pt) { in snap() function in EdgeClipSlide
169 return SkPoint::Make(snap(pt.x()), snap(pt.y())); in snap()
171 static void snap(SkPoint dst[], const SkPoint src[], int count) { in snap() function in EdgeClipSlide
173 dst[i] = snap(src[i]); in snap()
233 void handleMove() override { *fPt = snap(fCurr); } in handleMove()
257 fPoly[i].set(snap(fSrc[i].x() + dx), snap(fSrc[i].y() + dy)); in handleMove()
/aosp_15_r20/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp108 Snapshot snap; in decodeNextFrame() local
111 snap.mDurationMS = adjustFrameDuration(mSkAnimatedImage->decodeNextFrame()); in decodeNextFrame()
112 snap.mPic = mSkAnimatedImage->makePictureSnapshot(); in decodeNextFrame()
115 return snap; in decodeNextFrame()
120 Snapshot snap; in reset() local
124 snap.mPic = mSkAnimatedImage->makePictureSnapshot(); in reset()
125 snap.mDurationMS = currentFrameDuration(); in reset()
128 return snap; in reset()
/aosp_15_r20/external/tcpdump/
H A Dprint-llc.c53 { LLCSAP_SNAP, "SNAP" },
143 * header, plus the length of any SNAP header following it.
145 * Otherwise (for example, if the packet has unknown SAPs or has a SNAP
272 return (-(hdrlen + 5)); /* include LLC and SNAP header */ in llc_print()
274 return (hdrlen + 5); /* include LLC and SNAP header */ in llc_print()
431 ndo->ndo_protocol = "snap"; in snap_print()
441 * are any, so just print the SNAP header, not the MAC in snap_print()
589 * Print the SNAP header, but if the OUI is 000000, don't in snap_print()
594 ND_PRINT("SNAP, ethertype %s (0x%04x), length %u: ", in snap_print()
598 ND_PRINT("SNAP, oui %s (0x%06x), pid %s (0x%04x), length %u: ", in snap_print()
/aosp_15_r20/external/kernel-headers/original/uapi/linux/
H A Dif_fddi.h37 #define FDDI_K_SNAP_HLEN 21 /* Total octets in 802.2 SNAP header */
40 #define FDDI_K_SNAP_ZLEN 21 /* Min octets in 802.2 SNAP frame sans
43 #define FDDI_K_SNAP_DLEN 4470 /* Max octets in 802.2 SNAP payload */
46 #define FDDI_K_OUI_LEN 3 /* Octets in OUI in 802.2 SNAP
81 /* Define LLC and SNAP constants */
100 /* Define 802.2 SNAP header */
/aosp_15_r20/external/e2fsprogs/scrub/
H A De2scrub.in172 snap="${LVM2_LV_NAME}.e2scrub"
173 snap_dev="/dev/${LVM2_VG_NAME}/${snap}"
177 ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}"
180 ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}"
205 ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}" 2>/dev/null
209 ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}"
216 ${DBG} lvcreate -s -L "${snap_size_mb}m" -n "${snap}" "${LVM2_VG_NAME}/${LVM2_LV_NAME}"
/aosp_15_r20/external/wayland-protocols/chromium.org/components/exo/wayland/protocol/
H A Daura-shell.xml389 <description summary="surface snap directions">
390 Surface snap directions.
398 <description summary="client intents to snap the surface.">
400 Notify (or inform) the server the client's intent to snap the window.
401 To inform it's no longer willing to snap, send 'none'.
407 <description summary="snap the surface to the left.">
414 <description summary="snap the surface to the right.">
421 <description summary="Unset the surface snap.">
1139 <description summary="snap the surface to the primary snap position.">
1147 <description summary="snap the surface to the secondary snap position.">
[all …]

12345678910>>...49