/frameworks/native/libs/vr/libpdx_uds/ |
H A D | channel_manager.cpp | 14 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 D | BatteryService.cpp | 36 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 D | BatteryService.h | 33 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 D | LinearAccelerationSensor.cpp | 39 .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 D | BluetoothMasRequestGetMessage.java | 43 public BluetoothMasRequestGetMessage(String handle, CharsetType charset, boolean attachment) { argument 45 mHeaderSet.setHeader(HeaderSet.NAME, handle);
|
H A D | BluetoothMasRequestSetMessageStatus.java | 34 public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, argument 38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
|
/frameworks/av/media/libaudiohal/ |
H A D | EffectsFactoryHalLocal.cpp | 51 effect_handle_t handle; local 52 int result = EffectCreate(pEffectUuid, sessionId, ioId, &handle); 54 *effect = new EffectHalLocal(handle);
|
H A D | EffectHalLocal.cpp | 27 EffectHalLocal::EffectHalLocal(effect_handle_t handle) argument 28 : mHandle(handle) {
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3dec_test.cpp | 80 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 D | AudioHwDevice.h | 40 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 D | SpdifStreamOut.cpp | 47 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 D | AudioMixPort.java | 24 * - 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 D | MediaProjectionInfo.java | 30 public MediaProjectionInfo(String packageName, UserHandle handle) { argument 32 mUserHandle = handle;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyList.java | 53 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 D | ICameraRecordingProxy.cpp | 74 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 D | ICameraRecordingProxyListener.cpp | 53 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 D | ThrottledSource.h | 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 62 mSource->getDrmInfo(handle, client);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.h | 50 void *handle; member in struct:lib_entry_s
|
/frameworks/av/media/libmedia/ |
H A D | OMXBuffer.cpp | 59 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 D | FileSource.cpp | 197 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 198 handle = mDecryptHandle;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | DrcPresModeWrap.cpp | 62 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 D | amrnbdec_test.cpp | 79 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 D | ThrottledSource.h | 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 62 mSource->getDrmInfo(handle, client);
|
/frameworks/av/media/libstagefright/include/ |
H A D | ThrottledSource.h | 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 62 mSource->getDrmInfo(handle, client);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 110 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());
|