Home
last modified time | relevance | path

Searched refs:Handle (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/libs/hwui/
DWebViewFunctorManager.h35 class Handle : public LightRefBase<Handle> {
37 ~Handle() { renderthread::RenderProxy::destroyFunctor(id()); } in ~Handle()
54 Handle(WebViewFunctor& ref) : mReference(ref) {} in Handle() function
67 sp<Handle> createHandle() { in createHandle()
70 return sp<Handle>{new Handle(*this)}; in createHandle()
91 sp<WebViewFunctor::Handle> handleFor(int functor);
99 std::vector<sp<WebViewFunctor::Handle>> mActiveFunctors;
DWebViewFunctorManager.cpp140 sp<WebViewFunctor::Handle> toRelease; in releaseFunctor()
185 sp<WebViewFunctor::Handle> WebViewFunctorManager::handleFor(int functor) { in handleFor()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java73 public static class Handle implements Closeable { class in NativeLibraryHelper
82 public static Handle create(File packageFile) throws IOException { in create()
91 public static Handle create(Package pkg) throws IOException { in create()
98 public static Handle create(PackageLite lite) throws IOException { in create()
103 private static Handle create(List<String> codePaths, boolean multiArch, in create()
119 return new Handle(apkHandles, multiArch, extractNativeLibs, debuggable); in create()
122 public static Handle createFd(PackageLite lite, FileDescriptor fd) throws IOException { in createFd()
130 return new Handle(apkHandles, lite.multiArch, lite.extractNativeLibs, lite.debuggable); in createFd()
133 Handle(long[] apkHandles, boolean multiArch, boolean extractNativeLibs, in Handle() method in NativeLibraryHelper.Handle
176 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
[all …]
DPackageHelper.java386 NativeLibraryHelper.Handle handle = null; in calculateInstalledSize()
388 handle = fd != null ? NativeLibraryHelper.Handle.createFd(pkg, fd) in calculateInstalledSize()
389 : NativeLibraryHelper.Handle.create(pkg); in calculateInstalledSize()
398 NativeLibraryHelper.Handle handle, String abiOverride) throws IOException { in calculateInstalledSize()
402 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, in calculateInstalledSize()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java27 import static android.widget.espresso.TextViewActions.Handle;
457 .perform(dragHandle(textView, Handle.SELECTION_START, text.indexOf('a'))); in testToolbarAndSelectionHandle()
462 .perform(dragHandle(textView, Handle.SELECTION_END, text.length())); in testToolbarAndSelectionHandle()
485 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('a'))); in testInsertionHandle()
489 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('f'))); in testInsertionHandle()
504 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('a'))); in testInsertionHandle_multiLine()
508 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('f'))); in testInsertionHandle_multiLine()
526 .perform(dragHandle(textView, Handle.SELECTION_START, text.indexOf('a'))); in testSelectionHandles()
530 .perform(dragHandle(textView, Handle.SELECTION_END, text.indexOf('k') + 1)); in testSelectionHandles()
550 .perform(dragHandle(textView, Handle.SELECTION_START, text.indexOf('f'))); in testSelectionHandles_bidi()
[all …]
/frameworks/rs/script_api/
Drs_object_types.spec44 summary: Handle to an element
53 summary: Handle to a Type
62 summary: Handle to an allocation
71 summary: Handle to a Sampler
80 summary: Handle to a Script
Drs_graphics.spec122 summary: Handle to a Font
134 summary: Handle to a Mesh
145 summary: Handle to a ProgramFragment
156 summary: Handle to a ProgramVertex
167 summary: Handle to a ProgramRaster
178 summary: Handle to a ProgramStore
/frameworks/base/libs/hwui/pipeline/skia/
DVkFunctorDrawable.h35 VkFunctorDrawHandler(sp<WebViewFunctor::Handle> functor_handle, const SkMatrix& matrix,
43 sp<WebViewFunctor::Handle> mFunctorHandle;
DFunctorDrawable.h73 sp<WebViewFunctor::Handle> handle;
DVkFunctorDrawable.cpp37 VkFunctorDrawHandler::VkFunctorDrawHandler(sp<WebViewFunctor::Handle> functor_handle, in VkFunctorDrawHandler()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java311 public enum Handle { enum in TextViewActions
330 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex) { in dragHandle()
349 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex, in dragHandle()
419 private final Handle mHandleType;
424 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates()
455 final int currentOffset = mHandleType == Handle.SELECTION_START ? in locateHandlePointsTextIndex()
/frameworks/base/core/java/android/os/
DSystemProperties.java324 @Nullable public static Handle find(@NonNull String name) { in find()
329 return new Handle(nativeHandle); in find()
337 public static final class Handle { class in SystemProperties
369 private Handle(long nativeHandle) { in Handle() method in SystemProperties.Handle
/frameworks/rs/script_api/include/
Drs_object_types.rsh48 * rs_element: Handle to an element
57 * rs_type: Handle to a Type
66 * rs_allocation: Handle to an allocation
75 * rs_sampler: Handle to a Sampler
84 * rs_script: Handle to a Script
/frameworks/base/core/java/android/app/
DPropertyInvalidatedCache.java179 private volatile SystemProperties.Handle mPropertyHandle;
247 SystemProperties.Handle handle = mPropertyHandle; in getCurrentNonce()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverView.java.template56 // Handle the system event and clean up
/frameworks/hardware/interfaces/bufferhub/1.0/
Dtypes.hal39 * Handle comes from android.hardware.graphics.allocator@2.0. Represents
DIBufferHub.hal42 * @param nativeHandle Handle received from allocateBuffer.
/frameworks/native/services/surfaceflinger/
DLayer.cpp237 return new Handle(mFlinger, this); in getHandle()
1017 sp<Handle> handle = static_cast<Handle*>(relativeToHandle.get()); in setRelativeLayer()
1220 sp<Handle> handle = static_cast<Handle*>(barrierHandle.get()); in deferTransactionUntil_legacy()
1463 sp<Handle> handle = nullptr; in reparentChildren()
1468 handle = static_cast<Handle*>(newParentHandle.get()); in reparentChildren()
1509 auto handle = static_cast<Handle*>(newParentHandle.get()); in reparent()
1862 sp<Layer::Handle> handle = static_cast<Layer::Handle*>(binderHandle.get()); in extractLayerFromBinder()
DLayer.h812 class Handle : public BBinder, public LayerCleaner {
814 Handle(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) in Handle() function
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp180 template <class Handle>
181 Handle AllocHandle(VkInstance instance, HandleType::Enum type) { in AllocHandle()
182 return reinterpret_cast<Handle>( in AllocHandle()
186 template <class Handle>
187 Handle AllocHandle(VkDevice device, HandleType::Enum type) { in AllocHandle()
188 return reinterpret_cast<Handle>( in AllocHandle()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dshared.rsh99 // Handle signed zeroes
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelperImpl.java316 NativeLibraryHelper.Handle handle = null; in derivePackageAbi()
318 handle = NativeLibraryHelper.Handle.create(pkg); in derivePackageAbi()
/frameworks/base/core/tests/systemproperties/src/android/os/
DSystemPropertiesTest.java99 SystemProperties.Handle handle = SystemProperties.find("doesnotexist_2341431"); in testHandle()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dshared.rsh118 // Handle signed zeroes
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dshared.rsh120 // Handle signed zeroes

12