Home
last modified time | relevance | path

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

12

/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
177 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
[all …]
DPackageHelper.java387 NativeLibraryHelper.Handle handle = null; in calculateInstalledSize()
389 handle = fd != null ? NativeLibraryHelper.Handle.createFd(pkg, fd) in calculateInstalledSize()
390 : NativeLibraryHelper.Handle.create(pkg); in calculateInstalledSize()
399 NativeLibraryHelper.Handle handle, String abiOverride) throws IOException { in calculateInstalledSize()
403 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, in calculateInstalledSize()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java38 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
Drs_for_each.spec48 summary: Handle to a kernel invocation context
89 summary: Handle to a kernel function
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java310 public enum Handle { enum in TextViewActions
329 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex) { in dragHandle()
348 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex, in dragHandle()
418 private final Handle mHandleType;
423 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates()
454 final int currentOffset = mHandleType == Handle.SELECTION_START ? in locateHandlePointsTextIndex()
/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
Drs_graphics.rsh163 * rs_font: Handle to a Font
181 * rs_mesh: Handle to a Mesh
199 * rs_program_fragment: Handle to a ProgramFragment
217 * rs_program_vertex: Handle to a ProgramVertex
235 * rs_program_raster: Handle to a ProgramRaster
253 * rs_program_store: Handle to a ProgramStore
Drs_for_each.rsh51 * rs_kernel_context: Handle to a kernel invocation context
94 * rs_kernel: Handle to a kernel function
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverView.java.template56 // Handle the system event and clean up
/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/native/services/surfaceflinger/
DLayer.cpp215 return new Handle(mFlinger, this); in getHandle()
1191 sp<Handle> handle = static_cast<Handle*>(relativeToHandle.get()); in setRelativeLayer()
1347 sp<Handle> handle = static_cast<Handle*>(barrierHandle.get()); in deferTransactionUntil()
1563 sp<Handle> handle = nullptr; in reparentChildren()
1568 handle = static_cast<Handle*>(newParentHandle.get()); in reparentChildren()
1599 auto handle = static_cast<Handle*>(newParentHandle.get()); in reparent()
DLayer.h694 class Handle : public BBinder, public LayerCleaner {
696 Handle(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) in Handle() function
DClient.cpp157 auto layerHandle = reinterpret_cast<Layer::Handle*>(parentHandle.get()); in createSurface()
DSurfaceInterceptor.cpp151 const auto layerHandle(static_cast<const Layer::Handle*>(handle.get())); in getLayer()
362 otherLayer = static_cast<Layer::Handle*>(state.barrierHandle.get())->owner.promote(); in addSurfaceChangesLocked()
DSurfaceFlinger.cpp4797 auto layerHandle = reinterpret_cast<Layer::Handle*>(layerHandleBinder.get()); in captureLayers()
/frameworks/data-binding/compilerCommon/
DXMLLexer.g489 // ----------------- Handle <? ... ?> ---------------------
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
Dshared.rsh102 // Handle signed zeroes
/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
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java1452 NativeLibraryHelper.Handle handle = null; in extractNativeLibraries()
1454 handle = NativeLibraryHelper.Handle.create(packageDir); in extractNativeLibraries()
DPackageManagerService.java3378 NativeLibraryHelper.Handle handle = null; in decompressPackage()
3380 handle = NativeLibraryHelper.Handle.create(dstCodePath); in decompressPackage()
11688 NativeLibraryHelper.Handle handle = null;
11690 handle = NativeLibraryHelper.Handle.create(pkg);
15882 NativeLibraryHelper.Handle handle = null;
15884 handle = NativeLibraryHelper.Handle.create(codeFile);
/frameworks/base/config/
Dboot-image-profile.txt8507 …rnal/content/NativeLibraryHelper$Handle;->create(Ljava/io/File;)Lcom/android/internal/content/Nati…
8508 …veBinariesWithOverride(Lcom/android/internal/content/NativeLibraryHelper$Handle;Ljava/io/File;Ljav…
38426 HSPLcom/android/internal/content/NativeLibraryHelper$Handle;->close()V
38427 …ativeLibraryHelper$Handle;->create(Landroid/content/pm/PackageParser$Package;)Lcom/android/interna…
38428 …l/content/NativeLibraryHelper$Handle;->create(Ljava/util/List;ZZZ)Lcom/android/internal/content/Na…
38429 HSPLcom/android/internal/content/NativeLibraryHelper$Handle;->finalize()V
38430 …inariesForSupportedAbi(Lcom/android/internal/content/NativeLibraryHelper$Handle;Ljava/io/File;[Lja…
38432 …per;->findSupportedAbi(Lcom/android/internal/content/NativeLibraryHelper$Handle;[Ljava/lang/String…
38433 …eLibraryHelper;->hasRenderscriptBitcode(Lcom/android/internal/content/NativeLibraryHelper$Handle;)Z
59835 Lcom/android/internal/content/NativeLibraryHelper$Handle;

12