Searched defs:handle (Results 1 - 25 of 261) sorted by relevance

1234567891011

/frameworks/base/opengl/java/android/opengl/
H A DEGLConfig.java25 private EGLConfig(long handle) { argument
26 super(handle);
H A DEGLContext.java25 private EGLContext(long handle) { argument
26 super(handle);
H A DEGLDisplay.java25 private EGLDisplay(long handle) { argument
26 super(handle);
H A DEGLSurface.java25 private EGLSurface(long handle) { argument
26 super(handle);
H A DEGLObjectHandle.java32 protected EGLObjectHandle(int handle) { argument
33 mHandle = handle;
35 protected EGLObjectHandle(long handle) { argument
36 mHandle = handle;
50 * Returns the native handle of the wrapped EGL object. This handle can be
53 * For example, EGLDisplay dpy = (EGLDisplay)handle;
55 * @return the native handle of the wrapped EGL object.
/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLConfig.java25 private EGLConfig(long handle) { argument
26 super(handle);
H A DEGLContext.java25 private EGLContext(long handle) { argument
26 super(handle);
H A DEGLDisplay.java25 private EGLDisplay(long handle) { argument
26 super(handle);
H A DEGLSurface.java25 private EGLSurface(long handle) { argument
26 super(handle);
H A DEGLObjectHandle.java32 protected EGLObjectHandle(int handle) { argument
33 mHandle = handle;
35 protected EGLObjectHandle(long handle) { argument
36 mHandle = handle;
50 * Returns the native handle of the wrapped EGL object. This handle can be
53 * For example, EGLDisplay dpy = (EGLDisplay)handle;
55 * @return the native handle of the wrapped EGL object.
/frameworks/rs/
H A DrsFallbackAdaptation.cpp30 void* handle = dlopen("libRS_internal.so", RTLD_LAZY | RTLD_LOCAL); local
31 if (handle == NULL) {
35 if (loadSymbols(handle, mEntryFuncs) == false) {
41 dlclose(handle);
/frameworks/base/libs/androidfw/include/androidfw/
H A DZipFileRO.h168 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), argument
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockManagerInternal.java24 /** Stores the handle to a lockscreen credential to be used for Factory Reset Protection. */
25 void setFrpCredentialHandle(byte[] handle); argument
28 * Retrieves handle to a lockscreen credential to be used for Factory Reset Protection.
/frameworks/native/include/ui/
H A DDetachedBufferHandle.h26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be
32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { argument
33 return std::unique_ptr<DetachedBufferHandle>(new DetachedBufferHandle(std::move(handle)));
37 pdx::LocalChannelHandle& handle() { return mHandle; } function in class:android::DetachedBufferHandle
38 const pdx::LocalChannelHandle& handle() const { return mHandle; } function in class:android::DetachedBufferHandle
45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} argument
/frameworks/native/libs/ui/include/ui/
H A DDetachedBufferHandle.h26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be
32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { argument
33 return std::unique_ptr<DetachedBufferHandle>(new DetachedBufferHandle(std::move(handle)));
37 pdx::LocalChannelHandle& handle() { return mHandle; } function in class:android::DetachedBufferHandle
38 const pdx::LocalChannelHandle& handle() const { return mHandle; } function in class:android::DetachedBufferHandle
45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} argument
/frameworks/native/libs/ui/tests/
H A DGraphicBuffer_test.cpp49 std::unique_ptr<DetachedBufferHandle> handle = DetachedBufferHandle::Create(std::move(channel)); local
51 EXPECT_TRUE(handle->isValid());
52 EXPECT_TRUE(handle->handle().valid());
54 buffer->setDetachedBufferHandle(std::move(handle));
55 EXPECT_TRUE(handle == nullptr);
58 handle = buffer->takeDetachedBufferHandle();
59 EXPECT_TRUE(handle != nullptr);
60 EXPECT_TRUE(handle->isValid());
/frameworks/rs/cpp/
H A DrsDispatch.cpp26 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int targetApiLevel) { argument
29 dispatchTab.SetNativeLibDir = (SetNativeLibDirFnPtr)dlsym(handle, "rsaContextSetNativeLibDir");
36 dispatchTab.Allocation1DData = (Allocation1DDataFnPtr)dlsym(handle, "rsAllocation1DData");
37 dispatchTab.Allocation1DElementData = (Allocation1DElementDataFnPtr)dlsym(handle, "rsAllocation1DElementData");
38 dispatchTab.Allocation1DRead = (Allocation1DReadFnPtr)dlsym(handle, "rsAllocation1DRead");
39 dispatchTab.Allocation2DData = (Allocation2DDataFnPtr)dlsym(handle, "rsAllocation2DData");
40 dispatchTab.Allocation2DRead = (Allocation2DReadFnPtr)dlsym(handle, "rsAllocation2DRead");
41 dispatchTab.Allocation3DData = (Allocation3DDataFnPtr)dlsym(handle, "rsAllocation3DData");
42 dispatchTab.Allocation3DRead = (Allocation3DReadFnPtr)dlsym(handle, "rsAllocation3DRead");
43 dispatchTab.AllocationAdapterCreate = (AllocationAdapterCreateFnPtr)dlsym(handle, "rsAllocationAdapterCreat
[all...]
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp27 static int readAt(void *handle, void *buffer, int pos, int size) { argument
28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size);
30 static int size(void *handle) { argument
31 return ((android::MidiIoWrapper*)handle)->size();
94 mEasFile.handle = this;
/frameworks/av/media/libstagefright/
H A DBufferImpl.cpp52 const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size)
55 mHandle(handle) {
59 return (void *)(mHandle == nullptr ? mPointer : mHandle->handle());
51 SecureBuffer( const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size) argument
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) argument
28 : mHandle(handle),
/frameworks/av/services/audioflinger/
H A DAudioHwDevice.cpp36 audio_io_handle_t handle,
53 status_t status = outputStream->open(handle, devices, config, address);
78 status = outputStream->open(handle, devices, &originalConfig, address);
34 openOutputStream( AudioStreamOut **ppStreamOut, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address) argument
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteCommon.cpp123 /* throw a SQLiteException with a message appropriate for the error in handle */
124 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { argument
125 throw_sqlite3_exception(env, handle, NULL);
133 /* throw a SQLiteException with a message appropriate for the error in handle
136 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { argument
137 if (handle) {
142 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle),
143 sqlite3_errmsg(handle), message);
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.cpp30 ::ZipArchiveHandle handle; local
31 int32_t result = OpenArchive(zip_path.c_str(), &handle);
39 result = ::FindEntry(handle, name, &entry);
41 ::CloseArchive(handle);
48 handle, &entry, const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(out_contents->data())),
51 ::CloseArchive(handle);
56 ::CloseArchive(handle);
/frameworks/base/native/android/
H A Dnet.c26 static int getnetidfromhandle(net_handle_t handle, unsigned *netid) { argument
33 if (handle != NETWORK_UNSPECIFIED &&
34 (handle & k32BitMask) != kHandleMagic) {
39 *netid = ((handle >> (CHAR_BIT * sizeof(k32BitMask))) & k32BitMask);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallInfo.java31 private String handle; field in class:CallInfo
33 public CallInfo(String handle) { argument
34 this.handle = handle;
38 return handle;
75 destination.writeString(handle);

Completed in 371 milliseconds

1234567891011