Searched defs:handle (Results 26 - 50 of 200) sorted by relevance

12345678

/frameworks/av/camera/
H A DICameraRecordingProxyListener.cpp52 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
57 data.writeNativeHandle(handle);
61 // The native handle is dupped in ICameraClient so we need to free it here.
62 native_handle_close(handle);
63 native_handle_delete(handle);
94 native_handle_t* handle = data.readNativeHandle(); local
95 if (handle == nullptr) {
96 ALOGE("%s: Received a null native handle", __FUNCTION__);
99 // The native handle will be freed in
101 recordingFrameHandleCallbackTimestamp(timestamp, handle);
[all...]
H A DICameraClient.cpp85 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
90 data.writeNativeHandle(handle);
147 native_handle_t* handle = data.readNativeHandle(); local
148 if (handle == nullptr) {
149 ALOGE("%s: Received a null native handle", __FUNCTION__);
153 // The native handle will be freed in BpCamera::releaseRecordingFrameHandle.
154 recordingFrameHandleCallbackTimestamp(timestamp, handle);
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3dec_test.cpp80 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local
81 if (handle == NULL) {
119 sf_writef_short(handle, outputBuf,
125 sf_close(handle);
/frameworks/av/services/audioflinger/
H A DAudioHwDevice.h41 AudioHwDevice(audio_module_handle_t handle, argument
45 : mHandle(handle)
59 audio_module_handle_t handle() const { return mHandle; } function in class:android::AudioHwDevice
73 audio_io_handle_t handle,
H A DSpdifStreamOut.cpp48 audio_io_handle_t handle,
95 handle,
47 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
/frameworks/base/media/java/android/media/
H A DAudioMixPort.java24 * - the unique audio I/O handle assigned by AudioFlinger to this mix.
33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, argument
36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks,
H A DAudioDevicePort.java39 AudioDevicePort(AudioHandle handle, String deviceName, argument
42 super(handle,
/frameworks/base/media/java/android/media/projection/
H A DMediaProjectionInfo.java30 public MediaProjectionInfo(String packageName, UserHandle handle) { argument
32 mUserHandle = handle;
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java53 public void append(int handle, int property, int type, long value) { argument
58 mObjectHandles[index] = handle;
64 public void append(int handle, int property, String value) { argument
69 mObjectHandles[index] = handle;
H A DMtpServer.java50 public void sendObjectAdded(int handle) { argument
51 native_send_object_added(handle);
54 public void sendObjectRemoved(int handle) { argument
55 native_send_object_removed(handle);
73 private native final void native_send_object_added(int handle); argument
74 private native final void native_send_object_removed(int handle); argument
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp56 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) argument
61 err = mAllocMod->registerBuffer(mAllocMod, handle);
64 handle, err, strerror(-err));
68 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) argument
73 err = mAllocMod->unregisterBuffer(mAllocMod, handle);
76 handle, err, strerror(-err));
80 status_t GraphicBufferMapper::lock(buffer_handle_t handle, argument
86 err = mAllocMod->lock(mAllocMod, handle, static_cast<int>(usage),
94 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, argument
104 err = mAllocMod->lock_ycbcr(mAllocMod, handle, static_cas
112 unlock(buffer_handle_t handle) argument
123 lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr, int fenceFd) argument
147 lockAsyncYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
177 unlockAsync(buffer_handle_t handle, int *fenceFd) argument
[all...]
/frameworks/native/vulkan/include/vulkan/
H A Dvk_android_native_buffer.h40 // Buffer handle and stride returned from gralloc alloc()
41 buffer_handle_t handle; member in struct:__anon1589
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h49 void *handle; member in struct:lib_entry_s
/frameworks/av/media/libstagefright/
H A DFileSource.cpp195 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
196 handle = mDecryptHandle;
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DDrcPresModeWrap.cpp62 CDrcPresModeWrapper::setDecoderHandle(const HANDLE_AACDECODER handle) argument
64 mHandleDecoder = handle;
219 else { // handle other used encoder target levels
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
H A Damrnbdec_test.cpp79 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local
80 if(!handle){
134 sf_writef_short(handle, (int16_t*)outputBuf, kSamplesPerFrame);
140 sf_close(handle);
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/radio/
H A DIRadioService.cpp80 virtual status_t attach(radio_handle_t handle, argument
88 data.writeInt32(handle);
153 radio_handle_t handle = data.readInt32(); local
165 status_t status = attach(handle, client, configPtr, withAudio, radio);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPatch.cpp46 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
48 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
62 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
63 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle);
77 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
78 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle);
87 status_t AudioPatchCollection::addAudioPatch(audio_patch_handle_t handle, argument
90 ssize_t index = indexOfKey(handle);
93 ALOGW("addAudioPatch() patch %d already in", handle);
96 add(handle, patc
104 removeAudioPatch(audio_patch_handle_t handle) argument
[all...]
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp54 sound_model_handle_t *handle)
56 if (modelMemory == 0 || handle == NULL) {
68 reply.read(handle, sizeof(sound_model_handle_t));
73 virtual status_t unloadSoundModel(sound_model_handle_t handle) argument
77 data.write(&handle, sizeof(sound_model_handle_t));
85 virtual status_t startRecognition(sound_model_handle_t handle, argument
90 data.write(&handle, sizeof(sound_model_handle_t));
104 virtual status_t stopRecognition(sound_model_handle_t handle) argument
108 data.write(&handle, sizeof(sound_model_handle_t));
136 sound_model_handle_t handle; local
53 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
146 sound_model_handle_t handle; local
154 sound_model_handle_t handle; local
166 sound_model_handle_t handle; local
[all...]
H A DISoundTriggerHwService.cpp80 virtual status_t attach(const sound_trigger_module_handle_t handle, argument
86 data.write(&handle, sizeof(sound_trigger_module_handle_t));
154 sound_trigger_module_handle_t handle; local
155 data.read(&handle, sizeof(sound_trigger_module_handle_t));
159 status_t status = attach(handle, client, module);
/frameworks/base/core/jni/
H A Dandroid_util_jar_StrictJarFile.cpp60 ZipArchiveHandle handle; local
61 int32_t error = OpenArchive(fileChars.c_str(), &handle);
63 CloseArchive(handle);
68 return reinterpret_cast<jlong>(handle);
97 IterationHandle* handle = new IterationHandle(); local
101 handle->CookieAddress(), NULL, NULL);
105 handle->CookieAddress(), &entry_name, NULL);
113 return reinterpret_cast<jlong>(handle);
120 IterationHandle* handle = reinterpret_cast<IterationHandle*>(iterationHandle); local
121 const int32_t error = Next(*handle
[all...]
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java103 NativeLibraryHelper.Handle handle = null;
107 handle = NativeLibraryHelper.Handle.create(pkg);
108 return copyPackageToContainerInner(pkg, handle, containerId, key, isExternal,
114 IoUtils.closeQuietly(handle);
313 private String copyPackageToContainerInner(PackageLite pkg, NativeLibraryHelper.Handle handle, argument
319 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle,
342 final int res = NativeLibraryHelper.copyNativeBinariesWithOverride(handle, libraryRoot,
/frameworks/base/services/core/java/com/android/server/am/
H A DUserState.java64 public UserState(UserHandle handle) { argument
65 mHandle = handle;
66 mUnlockProgress = new ProgressReporter(handle.getIdentifier());
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp94 NativeInputApplicationHandle* handle; local
96 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr);
99 handle = new NativeInputApplicationHandle(objWeak);
100 handle->incStrong((void*)android_server_InputApplicationHandle_getHandle);
102 reinterpret_cast<jlong>(handle));
104 return handle;
117 NativeInputApplicationHandle* handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); local
118 handle->decStrong((void*)android_server_InputApplicationHandle_getHandle);

Completed in 1391 milliseconds

12345678