/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPatch.cpp | 45 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle); 47 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle); 61 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "", 62 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle); 76 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "", 77 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle); 86 status_t AudioPatchCollection::addAudioPatch(audio_patch_handle_t handle, argument 89 ssize_t index = indexOfKey(handle); 92 ALOGW("addAudioPatch() patch %d already in", handle); 95 add(handle, patc 103 removeAudioPatch(audio_patch_handle_t handle) argument [all...] |
/frameworks/av/services/oboeservice/ |
H A D | AAudioClientTracker.cpp | 179 aaudio_handle_t handle = serviceStream->getHandle(); local 180 ALOGW("binderDied() close abandoned stream 0x%08X\n", handle); 181 aaudioService->closeStream(handle);
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHalHidl.h | 59 * 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...] |
H A D | SoundTriggerHalLegacy.cpp | 80 sound_model_handle_t *handle) 85 return mHwDevice->load_sound_model(mHwDevice, sound_model, callback, cookie, handle); 88 int SoundTriggerHalLegacy::unloadSoundModel(sound_model_handle_t handle) argument 93 return mHwDevice->unload_sound_model(mHwDevice, handle); 96 int SoundTriggerHalLegacy::startRecognition(sound_model_handle_t handle, argument 104 return mHwDevice->start_recognition(mHwDevice, handle, config, callback, cookie); 107 int SoundTriggerHalLegacy::stopRecognition(sound_model_handle_t handle) argument 112 return mHwDevice->stop_recognition(mHwDevice, handle); 77 loadSoundModel(struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) argument
|
/frameworks/av/soundtrigger/ |
H A D | ISoundTrigger.cpp | 54 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 D | ISoundTriggerHwService.cpp | 80 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/java/android/hardware/radio/ |
H A D | Utils.java | 134 static void close(ICloseHandle handle) { argument 136 handle.close();
|
/frameworks/base/media/java/android/media/ |
H A D | AudioDevicePort.java | 39 AudioDevicePort(AudioHandle handle, String deviceName, argument 42 super(handle,
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyList.java | 52 public void append(int handle, int property, int type, long value) { argument 53 mObjectHandles.add(handle); 60 public void append(int handle, int property, String value) { argument 61 mObjectHandles.add(handle);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputApplicationHandle.cpp | 94 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);
|
H A D | com_android_server_locksettings_SyntheticPasswordManager.cpp | 41 const gatekeeper::password_handle_t *handle = local 43 jlong sid = handle->user_id;
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConferenceParticipant.java | 30 * The conference participant's handle (e.g., phone number). 55 * @param handle The conference participant's handle (e.g., phone number). 60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument 61 mHandle = handle; 76 Uri handle = source.readParcelable(classLoader); 80 return new ConferenceParticipant(handle, displayName, endpoint, state); 129 * The conference participant's handle (e.g., phone number).
|
/frameworks/native/services/sensorservice/ |
H A D | SensorInterface.cpp | 65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, 71 status_t HardwareSensor::flush(void* ident, int handle) { argument 72 return mSensorDevice.flush(ident, handle); 75 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument 76 return mSensorDevice.setDelay(ident, handle, ns); 79 void HardwareSensor::autoDisable(void *ident, int handle) { argument 80 mSensorDevice.autoDisable(ident, handle);
|
H A D | SensorList.cpp | 30 int handle, SensorInterface* si, bool isForDebug, bool isVirtual) { 32 if (handle == si->getSensor().getHandle() && 33 mUsedHandle.insert(handle).second) { 34 // will succeed as the mUsedHandle does not have this handle 35 mHandleMap.emplace(handle, Entry(si, isForDebug, isVirtual)); 38 // handle exist already or handle mismatch 42 bool SensorList::remove(int handle) { argument 44 auto entry = mHandleMap.find(handle); 52 String8 SensorList::getName(int handle) cons 29 add( int handle, SensorInterface* si, bool isForDebug, bool isVirtual) argument [all...] |
H A D | SensorList.h | 41 bool add(int handle, SensorInterface* si, bool isForDebug = false, bool isVirtual = false); 43 // After a handle is removed, the object that SensorInterface * pointing to may get deleted if 45 bool remove(int handle); 55 String8 getName(int handle) const; 56 sp<SensorInterface> getInterface(int handle) const; 57 bool isNewHandle(int handle) const; 100 T getOne(int handle, const TF& accessor, T def = T()) const; 125 T SensorList::getOne(int handle, const TF& accessor, T def) const { argument 127 auto i = mHandleMap.find(handle);
|
H A D | SensorRegistrationInfo.h | 37 SensorRegistrationInfo(int32_t handle, const String8 &packageName, argument 39 mSensorHandle = handle;
|
/frameworks/native/vulkan/libvulkan/ |
H A D | debug_report.h | 58 static Node* FromHandle(VkDebugReportCallbackEXT handle) { argument 59 return reinterpret_cast<Node*>(uintptr_t(handle));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | KeepaliveStatus.java | 61 public KeepaliveStatus(int handle, int code) { argument 62 sessionHandle = handle;
|
/frameworks/av/camera/ |
H A D | ICameraClient.cpp | 86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 91 data.writeNativeHandle(handle); 112 for (auto& handle : handles) { 113 data.writeNativeHandle(handle); 171 native_handle_t* handle = data.readNativeHandle(); local 172 if (handle == nullptr) { 173 ALOGE("%s: Received a null native handle", __FUNCTION__); 177 // The native handle will be freed in BpCamera::releaseRecordingFrameHandle. 178 recordingFrameHandleCallbackTimestamp(timestamp, handle); 205 native_handle_t* handle local [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | CryptoPlugin.cpp | 111 native_handle_t *handle = const_cast<native_handle_t *>( local 113 destPtr = static_cast<void *>(handle);
|
/frameworks/av/media/libeffects/proxy/ |
H A D | EffectProxy.cpp | 145 int EffectProxyRelease(effect_handle_t handle) { argument 146 EffectContext * pContext = (EffectContext *)handle; 266 // The DSP wrapper needs to handle this CMD
|
/frameworks/av/media/libmedia/ |
H A D | IDataSource.cpp | 109 sp<DecryptHandle> handle; local 111 handle = new DecryptHandle(); 112 handle->decryptId = reply.readInt32(); 113 handle->mimeType = reply.readString8(); 114 handle->decryptApiType = reply.readInt32(); 115 handle->status = reply.readInt32(); 119 handle->decryptInfo = new DecryptInfo(); 120 handle->decryptInfo->decryptBufferLength = bufferLength; 127 handle->copyControlVector.add(key, value); 134 handle 188 sp<DecryptHandle> handle = DrmInitialization(mime); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
H A D | amrwbdec_test.cpp | 82 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local 83 if (handle == NULL) { 163 sf_writef_short(handle, outputBuf, kSamplesPerFrame / kChannels); 168 sf_close(handle);
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
H A D | SoftGSM.cpp | 316 int SoftGSM::DecodeGSM(gsm handle, argument 321 gsm_decode(handle, in, out); 326 gsm_decode(handle, in, out);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
H A D | m4v_h263_enc_test.cpp | 179 // 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);
|