Searched refs:handle (Results 151 - 175 of 490) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
H A Dm4v_h263_enc_test.cpp179 // Initialize the handle.
180 tagvideoEncControls handle; local
181 memset(&handle, 0, sizeof(tagvideoEncControls));
184 if (!PVInitVideoEncoder(&handle, &encParams)) {
191 if (!PVGetVolHeader(&handle, outputBuf, &headerLength, 0)) {
225 if (!PVEncodeVideoFrame(&handle, &vin, &vout,
227 !PVGetHintTrack(&handle, &hintTrack)) {
233 PVGetOverrunBuffer(&handle);
249 PVCleanUpVideoEncoder(&handle);
/frameworks/av/services/audioflinger/
H A DPatchPanel.h39 audio_patch_handle_t *handle);
42 status_t releaseAudioPatch(audio_patch_handle_t handle);
65 // handle for audio HAL patch handle present only when the audio HAL version is >= 3.0
78 // handle for audio patch connecting source device to record thread input.
81 // handle for audio patch connecting playback thread output to sink device
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHalHidl.h59 * Only one active recognition per model at a time. The SoundTrigger service will handle
61 * The implementation returns a unique handle used by other functions (unload_sound_model(),
67 sound_model_handle_t *handle);
73 virtual int unloadSoundModel(sound_model_handle_t handle);
79 virtual int startRecognition(sound_model_handle_t handle,
87 virtual int stopRecognition(sound_model_handle_t handle);
111 SoundModel(sound_model_handle_t handle, sound_model_callback_t callback, argument
113 : mHandle(handle), mHalHandle(halHandle),
185 sp<SoundModel> getModel(sound_model_handle_t handle);
186 sp<SoundModel> removeModel(sound_model_handle_t handle);
[all...]
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp153 sound_model_handle_t *handle)
160 return mISoundTrigger->loadSoundModel(modelMemory, handle);
163 status_t SoundTrigger::unloadSoundModel(sound_model_handle_t handle) argument
169 return mISoundTrigger->unloadSoundModel(handle);
172 status_t SoundTrigger::startRecognition(sound_model_handle_t handle, argument
179 return mISoundTrigger->startRecognition(handle, dataMemory);
182 status_t SoundTrigger::stopRecognition(sound_model_handle_t handle) argument
188 return mISoundTrigger->stopRecognition(handle);
152 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
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/libs/androidfw/
H A DZipFileRO.cpp69 ZipArchiveHandle handle; local
70 const int32_t error = OpenArchive(zipFileName, &handle);
73 CloseArchive(handle);
77 return new ZipFileRO(handle, strdup(zipFileName));
84 ZipArchiveHandle handle; local
85 const int32_t error = OpenArchiveFd(fd, debugFileName, &handle, assume_ownership);
88 CloseArchive(handle);
92 return new ZipFileRO(handle, strdup(debugFileName));
/frameworks/base/libs/androidfw/include/androidfw/
H A DZipFileRO.h168 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), argument
/frameworks/base/media/java/android/media/
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/telecomm/java/android/telecom/
H A DConnectionRequest.java48 * Sets the phone account handle for the resulting {@link ConnectionRequest}
151 * @param handle The handle (e.g., phone number) to which the {@link Connection} is to connect.
156 Uri handle,
158 this(accountHandle, handle, extras, VideoProfile.STATE_AUDIO_ONLY, null, false, null, null);
163 * @param handle The handle (e.g., phone number) to which the {@link Connection} is to connect.
169 Uri handle,
172 this(accountHandle, handle, extras, videoState, null, false, null, null);
177 * @param handle Th
154 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras) argument
167 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState) argument
187 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState, String telecomCallId, boolean shouldShowIncomingCallUi) argument
198 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState, String telecomCallId, boolean shouldShowIncomingCallUi, ParcelFileDescriptor rttPipeFromInCall, ParcelFileDescriptor rttPipeToInCall) argument
[all...]
/frameworks/hardware/interfaces/sensorservice/1.0/
H A DISensorManager.hal103 createGrallocDirectChannel(handle buffer, uint64_t size)
/frameworks/ml/nn/runtime/test/benchmark/libnnbenchmark/
H A Dbenchmark_jni.cpp38 void* handle = new BenchmarkModel(modelFileName); local
41 return (jlong)(uintptr_t)handle;
/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_smoke_test.cpp137 ZipArchiveHandle handle; member in class:android::os::dumpstate::ZippedBugReportContentsTest
139 ASSERT_EQ(OpenArchive(ZippedBugreportGenerationTest::getZipFilePath(), &handle), 0);
142 CloseArchive(handle);
147 EXPECT_EQ(FindEntry(handle, ZipString(filename), &entry), 0);
156 EXPECT_EQ(FindEntry(handle, ZipString("main_entry.txt"), &mainEntryLoc), 0);
159 ExtractToMemory(handle, &mainEntryLoc, (uint8_t*)buf, mainEntryLoc.uncompressed_length);
169 EXPECT_EQ(FindEntry(handle, ZipString("version.txt"), &entry), 0);
172 ExtractToMemory(handle, &entry, (uint8_t*)buf, entry.uncompressed_length);
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h51 buffer_handle_t* handle, uint32_t* stride, uint64_t graphicBufferId,
54 status_t free(buffer_handle_t handle);
/frameworks/native/libs/ui/include/ui/
H A DGraphicBufferAllocator.h51 buffer_handle_t* handle, uint32_t* stride, uint64_t graphicBufferId,
54 status_t free(buffer_handle_t handle);
/frameworks/native/libs/ui/include_vndk/ui/
H A DGraphicBufferAllocator.h51 buffer_handle_t* handle, uint32_t* stride, uint64_t graphicBufferId,
54 status_t free(buffer_handle_t handle);
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_parcelable.cpp19 return {}; // Returns an empty channel handle.
22 // Take channel handle out of the parcelable and reset the parcelable.
23 pdx::LocalChannelHandle handle = channel_parcelable_->TakeChannelHandle(); local
27 return handle;
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dclient.h50 // Returns a reference to IPC channel handle.
257 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
258 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
259 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
261 const LocalChannelHandle& handle) override;
263 const BorrowedChannelHandle& handle) override;
265 const RemoteChannelHandle& handle) override;
268 bool GetFileHandle(FileReference ref, LocalHandle* handle) override;
270 LocalChannelHandle* handle) override;
/frameworks/native/services/sensorservice/
H A DRotationVectorSensor.h40 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
64 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DKeepaliveStatus.java61 public KeepaliveStatus(int handle, int code) { argument
62 sessionHandle = handle;
/frameworks/base/tests/CoreTests/android/core/
H A DRequestAPITest.java71 RequestHandle handle =
76 handle.waitUntilComplete();
121 RequestHandle handle = mRequestQueue.queueRequest(
124 handle.waitUntilComplete();
197 RequestHandle handle = mRequestQueue.queueRequest(
202 handle.waitUntilComplete();
270 RequestHandle handle = mRequestQueue.queueRequest(
275 handle.waitUntilComplete();
297 RequestHandle handle = mRequestQueue.queueRequest(
302 handle
[all...]
/frameworks/av/media/libmedia/
H A DOMXBuffer.cpp59 OMXBuffer::OMXBuffer(const sp<NativeHandle> &handle) argument
61 mNativeHandle(handle) {
105 return parcel->writeNativeHandle(mNativeHandle->handle());
160 sp<NativeHandle> handle = NativeHandle::create( local
163 mNativeHandle = handle;
/frameworks/av/media/libstagefright/
H A DFrameRenderTracker.cpp60 if (it->mGraphicBuffer->handle == buf->handle) {
179 ALOGI(" RENDERED: handle: %p, media time: %lldus, index: %zd, render time: %lldns",
180 it->mGraphicBuffer == NULL ? NULL : it->mGraphicBuffer->handle,
183 ALOGI(" QUEUED: handle: %p, media time: %lldus, fence: %s",
184 it->mGraphicBuffer->handle, (long long)it->mMediaTimeUs,
187 ALOGI(" DEQUEUED: handle: %p, media time: %lldus, index: %zd",
188 it->mGraphicBuffer->handle, (long long)it->mMediaTimeUs, it->mIndex);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java108 Log.d(TAG, "onServiceAdded() - handle=" + service.getInstanceId()
151 int offset, boolean isLong, int handle) {
152 if (VDBG) Log.d(TAG, "onCharacteristicReadRequest() - handle=" + handle);
155 BluetoothGattCharacteristic characteristic = getCharacteristicByHandle(handle);
157 Log.w(TAG, "onCharacteristicReadRequest() no char for handle " + handle);
175 int offset, boolean isLong, int handle) {
176 if (VDBG) Log.d(TAG, "onCharacteristicReadRequest() - handle=" + handle);
393 getCharacteristicByHandle(int handle) argument
409 getDescriptorByHandle(int handle) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
115 (EGLContext)handle == EGL_NO_CONTEXT) {
120 (EGLDisplay)handle == EGL_NO_DISPLAY) {
125 (EGLSurface)handle == EGL_NO_SURFACE) {
129 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));

Completed in 427 milliseconds

1234567891011>>