Searched defs:handle (Results 1 - 25 of 253) 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/av/media/libaaudio/tests/
H A Dtest_handle_tracker.cpp38 // should fail to find a bogus handle
39 found = tracker.get(type, 0); // bad handle
42 // create a valid handle and use it to lookup the object again
47 found = tracker.get(type, 0); // bad handle
76 // add a handle
84 aaudio_handle_t handle = tracker.put(type, &data[0]); local
85 EXPECT_TRUE(handle < 0);
88 // look up each handle
96 // now try to look up the same handle and fail
101 handle
[all...]
/frameworks/av/media/libaudiohal/
H A DEffectHalLocal.h54 effect_handle_t handle() const { return mHandle; } function in class:android::EffectHalLocal
64 explicit EffectHalLocal(effect_handle_t handle);
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteCommon.cpp23 /* throw a SQLiteException with a message appropriate for the error in handle */
24 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { argument
25 throw_sqlite3_exception(env, handle, NULL);
33 /* throw a SQLiteException with a message appropriate for the error in handle
36 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { argument
37 if (handle) {
42 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle),
43 sqlite3_errmsg(handle), message);
/frameworks/base/libs/androidfw/include/androidfw/
H A DZipFileRO.h162 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), argument
H A DApkAssets.h58 void operator()(::ZipArchiveHandle handle) { ::CloseArchive(handle); } argument
/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();
92 mEasFile.handle = this;
/frameworks/av/media/libstagefright/
H A DBufferImpl.cpp48 const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size)
51 mHandle(handle) {
55 return (void *)(mHandle == nullptr ? mPointer : mHandle->handle());
47 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/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);
/frameworks/native/cmds/servicemanager/
H A Dbctest.c13 uint32_t handle; local
25 handle = bio_get_ref(&reply);
27 if (handle)
28 binder_acquire(bs, handle);
32 return handle;
63 uint32_t handle; local
75 handle = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr");
76 if (!handle) {
80 svcmgr = handle;
81 fprintf(stderr,"svcmgr is via %x\n", handle);
[all...]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dion_buffer.h16 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height,
18 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height,
26 // Frees the underlying native handle and leaves the instance initialized to
30 // Allocates a new native handle with the given parameters, freeing the
31 // previous native handle if necessary. Returns 0 on success or a negative
32 // errno code otherwise. If allocation fails the previous native handle is
37 // Resets the underlying native handle and parameters, freeing the previous
38 // native handle if necessary.
39 void Reset(buffer_handle_t handle, uint32_t width, uint32_t height,
43 // Like Reset but also registers the native handle, whic
70 buffer_handle_t handle() const { function in class:android::dvr::IonBuffer
[all...]

Completed in 2630 milliseconds

1234567891011