Home
last modified time | relevance | path

Searched refs:getHandle (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java121 mHandleToSensor.put(sensor.getHandle(), sensor); in SystemSensorManager()
324 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl()
336 mHandleToSensor.remove(sensor.getHandle()); in cleanupSensorConnection()
387 mHandleToSensor.put(s.getHandle(), s); in updateDynamicSensorList()
492 newList.get(i).getHandle() > oldList.get(j).getHandle()) ) { in diffSortedSensorList()
499 newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
509 newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
540 int sensorHandle = (sensor == null) ? -1 : sensor.getHandle(); in configureDirectChannelImpl()
663 int handle = sensor.getHandle(); in addSensor()
698 final int handle = sensor.getHandle(); in removeSensor()
[all …]
/frameworks/native/services/sensorservice/
DSensorFusion.cpp148 mSensorDevice.activate(ident, mAcc.getHandle(), enabled); in activate()
150 mSensorDevice.activate(ident, mMag.getHandle(), enabled); in activate()
153 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
164 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DCorrectedGyroSensor.cpp71 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
76 mSensorDevice.setDelay(ident, mGyro.getHandle(), ns); in setDelay()
DSensorInterface.cpp62 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled); in activate()
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
DSensorList.cpp32 if (handle == si->getSensor().getHandle() && in add()
128 s.getHandle(), in dump()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java475 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked()
495 if (mModule == null || modelData == null || modelData.getHandle() == INVALID_VALUE || in unloadKeyphraseSoundModel()
508 status = mModule.unloadSoundModel(modelData.getHandle()); in unloadKeyphraseSoundModel()
544 int status = mModule.unloadSoundModel(modelData.getHandle()); in unloadGenericSoundModel()
898 modelData.getHandle(), e); in sendErrorCallbacksToAllLocked()
909 Slog.d(TAG, "Stopping previously started dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
910 if (mModule.stopRecognition(modelData.getHandle()) != STATUS_OK) { in forceStopAndUnloadModelLocked()
914 Slog.e(TAG, "Failed to stop model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
918 Slog.d(TAG, "Unloading previously loaded dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
919 if (mModule.unloadSoundModel(modelData.getHandle()) == STATUS_OK) { in forceStopAndUnloadModelLocked()
[all …]
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp129 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor()
134 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor()
152 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp32 a.getHandle() == b.getHandle () && in sensorsMatch()
/frameworks/native/opengl/tools/glgen/static/egl/
DEGLObjectHandle.java43 public int getHandle() { in getHandle() method in EGLObjectHandle
/frameworks/base/opengl/java/android/opengl/
DEGLObjectHandle.java43 public int getHandle() { in getHandle() method in EGLObjectHandle
/frameworks/native/services/surfaceflinger/tests/
DStress_test.cpp37 client->destroySurface(surf->getHandle()); in TEST()
DTransaction_test.cpp693 mFGSurfaceControl->deferTransactionUntil(mSyncSurfaceControl->getHandle(), in TEST_F()
699 mFGSurfaceControl->deferTransactionUntil(mSyncSurfaceControl->getHandle(), in TEST_F()
756 relativeSurfaceControl->setRelativeLayer(mFGSurfaceControl->getHandle(), 1); in TEST_F()
969 mFGSurfaceControl->reparentChildren(mBGSurfaceControl->getHandle()); in TEST_F()
1095 mChild->deferTransactionUntil(mFGSurfaceControl->getHandle(), in TEST_F()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java37 public String getHandle() { in getHandle() method in CallInfo
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioSourceDescriptor.h40 audio_patch_handle_t getHandle() const { return mPatchDesc->mHandle; } in getHandle() function
DHwModule.h78 audio_module_handle_t getHandle() const { return mHandle; } in getHandle() function
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java54 if (s.getHandle() == sensorHandle) { in calculateApp()
/frameworks/base/core/jni/
Dandroid_os_HwBlob.h44 status_t getHandle(size_t *handle) const;
/frameworks/base/telecomm/java/android/telecom/
DConferenceParticipant.java131 public Uri getHandle() { in getHandle() method in ConferenceParticipant
/frameworks/native/libs/sensor/include/sensor/
DSensor.h74 int32_t getHandle() const;
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp38 dst.sensorHandle = src.getHandle(); in convertSensor()
/frameworks/base/native/android/
Dsensor.cpp200 sensorHandle = static_cast<Sensor const *>(sensor)->getHandle(); in ASensorManager_configureDirectReport()
218 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, in ASensorEventQueue_registerSensor()
/frameworks/native/include/gui/
DSurfaceControl.h139 sp<IBinder> getHandle() const;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfaceController.java139 mSurfaceControl.reparentChildren(other.getHandle()); in reparentChildrenInTransaction()
253 .mWinAnimator.mSurfaceController.mSurfaceControl.getHandle(), in setLayer()
495 IBinder getHandle() { in getHandle() method in WindowSurfaceController
499 return mSurfaceControl.getHandle(); in getHandle()
/frameworks/base/core/java/android/hardware/location/
DNanoAppInstanceInfo.java270 public int getHandle() { in getHandle() method in NanoAppInstanceInfo
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapEventReport.java139 public String getHandle() { in getHandle() method in BluetoothMapEventReport

123