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

1234567891011

/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_manager.cpp14 void ChannelManager::CloseHandle(int32_t handle) { argument
16 auto channel = channels_.find(handle);
18 ALOGE("Invalid channel handle: %d", handle);
28 int32_t handle = data_fd.Get(); local
29 channels_.emplace(handle,
31 return LocalChannelHandle(this, handle);
36 ChannelManager::ChannelData* ChannelManager::GetChannelData(int32_t handle) { argument
38 auto channel = channels_.find(handle);
/frameworks/native/services/sensorservice/
H A DBatteryService.cpp36 bool BatteryService::addSensor(uid_t uid, int handle) { argument
38 Info key(uid, handle);
48 bool BatteryService::removeSensor(uid_t uid, int handle) { argument
50 ssize_t index = mActivations.indexOf(Info(uid, handle));
58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { argument
60 if (addSensor(uid, handle)) {
62 mBatteryStatService->noteStartSensor(uid, handle);
67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { argument
69 if (removeSensor(uid, handle)) {
71 mBatteryStatService->noteStopSensor(uid, handle);
[all...]
H A DBatteryService.h33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
39 int handle; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } argument
44 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
50 bool addSensor(uid_t uid, int handle);
55 enableSensor(uid_t uid, int handle) argument
58 disableSensor(uid_t uid, int handle) argument
[all...]
H A DLinearAccelerationSensor.cpp39 .handle = '_lin',
68 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument
69 return mGravitySensor.setDelay(ident, handle, ns);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetMessage.java43 public BluetoothMasRequestGetMessage(String handle, CharsetType charset, boolean attachment) { argument
45 mHeaderSet.setHeader(HeaderSet.NAME, handle);
H A DBluetoothMasRequestSetMessageStatus.java34 public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, argument
38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
/frameworks/av/media/libaudiohal/
H A DEffectsFactoryHalLocal.cpp51 effect_handle_t handle; local
52 int result = EffectCreate(pEffectUuid, sessionId, ioId, &handle);
54 *effect = new EffectHalLocal(handle);
H A DEffectHalLocal.cpp27 EffectHalLocal::EffectHalLocal(effect_handle_t handle) argument
28 : mHandle(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.h40 AudioHwDevice(audio_module_handle_t handle, argument
44 : mHandle(handle)
58 audio_module_handle_t handle() const { return mHandle; } function in class:android::AudioHwDevice
71 audio_io_handle_t handle,
H A DSpdifStreamOut.cpp47 audio_io_handle_t handle,
94 handle,
46 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,
/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;
/frameworks/av/camera/
H A DICameraRecordingProxy.cpp74 void releaseRecordingFrameHandle(native_handle_t *handle) { argument
78 data.writeNativeHandle(handle);
82 // Close the native handle because camera received a dup copy.
83 native_handle_close(handle);
84 native_handle_delete(handle);
93 for (auto& handle : handles) {
94 data.writeNativeHandle(handle);
98 // Close the native handle because camera received a dup copy.
99 for (auto& handle : handles) {
100 native_handle_close(handle);
155 native_handle_t* handle = data.readNativeHandle(); local
[all...]
H A DICameraRecordingProxyListener.cpp53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
58 data.writeNativeHandle(handle);
62 // The native handle is dupped in ICameraClient so we need to free it here.
63 native_handle_close(handle);
64 native_handle_delete(handle);
84 for (auto& handle : handles) {
85 data.writeNativeHandle(handle);
90 // The native handle is dupped in ICameraClient so we need to free it here.
91 for (auto& handle : handles) {
92 native_handle_close(handle);
125 native_handle_t* handle = data.readNativeHandle(); local
157 native_handle_t* handle = data.readNativeHandle(); local
[all...]
/frameworks/av/include/media/stagefright/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h50 void *handle; member in struct:lib_entry_s
/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 DFileSource.cpp197 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
198 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/foundation/include/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/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/media/libstagefright/omx/
H A DOMX.cpp110 OMX_COMPONENTTYPE *handle; local
113 instance.get(), &handle);
120 instance->setHandle(handle);
164 CHECK(instance->handle() != NULL);
166 static_cast<OMX_COMPONENTTYPE *>(instance->handle()));
167 ALOGV("freeNode: handle destroyed: %p", instance->handle());

Completed in 3339 milliseconds

1234567891011