Home
last modified time | relevance | path

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

12345

/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderAdapter.cpp53 Status status = mDelegate->closeStream(streamHandleInfo.getHandle(), &result); in closeStream()
67 Status status = mDelegate->getStreamDescription(streamHandleInfo.getHandle(), in getStreamDescription()
82 Status status = mDelegate->startStream(streamHandleInfo.getHandle(), &result); in startStream()
94 Status status = mDelegate->pauseStream(streamHandleInfo.getHandle(), &result); in pauseStream()
106 Status status = mDelegate->stopStream(streamHandleInfo.getHandle(), &result); in stopStream()
118 Status status = mDelegate->flushStream(streamHandleInfo.getHandle(), &result); in flushStream()
133 streamHandleInfo.getHandle(), clientThreadId, periodNanoseconds, &result); in registerAudioThread()
147 streamHandleInfo.getHandle(), clientThreadId, &result); in unregisterAudioThread()
161 Status status = mDelegate->exitStandby(streamHandleInfo.getHandle(), &endpoint, &result); in exitStandby()
/frameworks/native/services/surfaceflinger/tests/
DTextureFiltering_test.cpp88 captureArgs.layerHandle = mParent->getHandle(); in TEST_F()
97 captureArgs.layerHandle = mParent->getHandle(); in TEST_F()
109 captureArgs.layerHandle = mParent->getHandle(); in TEST_F()
120 captureArgs.layerHandle = mParent->getHandle(); in TEST_F()
133 captureArgs.layerHandle = mParent->getHandle(); in TEST_F()
141 captureArgs.layerHandle = mLayer->getHandle(); in TEST_F()
151 captureArgs.layerHandle = mLayer->getHandle(); in TEST_F()
164 captureArgs.layerHandle = mLayer->getHandle(); in TEST_F()
174 captureArgs.layerHandle = mLayer->getHandle(); in TEST_F()
186 captureArgs.layerHandle = mLayer->getHandle(); in TEST_F()
[all …]
DScreenCapture_test.cpp69 mCaptureArgs.layerHandle = mRootSurfaceControl->getHandle(); in SetUp()
200 captureArgs.layerHandle = childLayer->getHandle(); in TEST_F()
261 captureArgs.layerHandle = childLayer->getHandle(); in TEST_F()
303 captureArgs.layerHandle = mBGSurfaceControl->getHandle(); in TEST_F()
319 captureArgs.layerHandle = mFGSurfaceControl->getHandle(); in TEST_F()
326 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
344 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
364 captureArgs.excludeHandles = {child2->getHandle()}; in TEST_F()
371 mCaptureArgs.excludeHandles = {mFGSurfaceControl->getHandle()}; in TEST_F()
380 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
[all …]
DLayerTypeTransaction_test.cpp66 captureArgs.layerHandle = parent->getHandle(); in TEST_P()
171 args.layerHandle = layer->getHandle(); in TEST_P()
188 sp<IBinder> handle = layer->getHandle(); in TEST_P()
DEffectLayer_test.cpp56 mParentLayer->getHandle()); in TEST_F()
77 mParentLayer->getHandle()); in TEST_F()
98 mParentLayer->getHandle()); in TEST_F()
/frameworks/native/services/sensorservice/
DSensorInterface.cpp63 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled); in activate()
68 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
97 return mCallback->onConfigurationChanged(mSensor.getHandle(), mEnabled, mSamplingPeriodNs, in activate()
109 return mCallback->onConfigurationChanged(mSensor.getHandle(), mEnabled, in batch()
120 return mCallback->onConfigurationChanged(mSensor.getHandle(), mEnabled, in setDelay()
DLimitedAxesImuSensor.cpp72 outEvent->sensor = mSensor.getHandle(); in process()
80 return mSensorDevice.activate(ident, mImu3dSensor.getHandle(), enabled); in activate()
84 return mSensorDevice.setDelay(ident, mImu3dSensor.getHandle(), ns); in setDelay()
DSensorFusion.cpp157 mSensorDevice.activate(ident, mAcc.getHandle(), enabled); in activate()
159 mSensorDevice.activate(ident, mMag.getHandle(), enabled); in activate()
162 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
173 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
175 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
178 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()
/frameworks/av/media/libheadtracking/
DSensorPoseProvider-example.cpp70 if (!provider->startSensor(headSensor->getHandle(), 500ms)) { in main()
74 if (!provider->startSensor(screenSensor->getHandle(), 500ms)) { in main()
78 provider->stopSensor(headSensor->getHandle()); in main()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java173 mHandleToSensor.put(sensor.getHandle(), sensor); in SystemSensorManager()
458 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl()
470 mHandleToSensor.remove(sensor.getHandle()); in cleanupSensorConnection()
521 mHandleToSensor.put(s.getHandle(), s); in updateDynamicSensorList()
568 mHandleToSensor.put(s.getHandle(), s); in createRuntimeSensorListLocked()
700 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList()
707 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
717 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
748 int sensorHandle = (sensor == null) ? -1 : sensor.getHandle(); in configureDirectChannelImpl()
888 int handle = sensor.getHandle(); in addSensor()
[all …]
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp275 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
297 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
316 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
341 composer->addRegionSamplingListener(greenSampleArea, mTopLayer->getHandle(), greenListener); in TEST_F()
349 composer->addRegionSamplingListener(graySampleArea, mTopLayer->getHandle(), grayListener); in TEST_F()
380 mTopLayer->getHandle(), in TEST_F()
390 mTopLayer->getHandle(), in TEST_F()
406 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
432 composer->addRegionSamplingListener(sampleAreaA, mTopLayer->getHandle(), listener); in TEST_F()
450 composer->addRegionSamplingListener(sampleAreaA, mTopLayer->getHandle(), listener); in TEST_F()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java499 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked()
544 status = mModule.unloadSoundModel(modelData.getHandle()); in unloadKeyphraseSoundModel()
586 int status = mModule.unloadSoundModel(modelData.getHandle()); in unloadGenericSoundModel()
653 return mModule.getModelState(modelData.getHandle()); in getGenericModelState()
686 return mModule.setParameter(modelData.getHandle(), modelParam, value); in setParameterLocked()
720 return mModule.getParameter(modelData.getHandle(), modelParam); in getParameterLocked()
759 return mModule.queryParameter(modelData.getHandle(), modelParam); in queryParameterLocked()
1093 Slog.d(TAG, "Stopping previously started dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
1094 if (mModule.stopRecognition(modelData.getHandle()) == STATUS_OK) { in forceStopAndUnloadModelLocked()
1098 Slog.e(TAG, "Failed to stop model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_UpdateLayerMetadataSnapshotTest.cpp95 auto layerAHandle = layerA->getHandle(); in TEST_F()
128 auto layerBHandle = layerB->getHandle(); in TEST_F()
133 auto layerDHandle = layerD->getHandle(); in TEST_F()
175 auto layerAHandle = layerA->getHandle(); in TEST_F()
DSchedulerTest.cpp719 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in TEST_F()
733 const auto handle = layer->getHandle(); in TEST_F()
768 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer1->getHandle()); in TEST_F()
770 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer2->getHandle()); in TEST_F()
797 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in TEST_F()
827 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in TEST_F()
841 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in frameRateTestScenario()
901 mScheduler->createDisplayEventConnection(Cycle::Render, {}, parent->getHandle()); in TEST_F()
928 mScheduler->createDisplayEventConnection(Cycle::Render, {}, parent->getHandle()); in TEST_F()
963 mScheduler->createDisplayEventConnection(Cycle::Render, {}, parent->getHandle()); in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_os_HidlMemory.cpp35 jmethodID getHandle; // NativeHandle HidlMemory.getHandle() member
105 jobject jhandle = env->CallObjectMethod(jobj, gFields.getHandle); in javaToNative()
151 gFields.getHandle = GetMethodIDOrDie(env, in register_android_os_HidlMemory()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp130 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor()
135 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor()
153 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp32 a.getHandle() == b.getHandle () && in sensorsMatch()
/frameworks/base/core/java/android/companion/virtual/sensor/
DVirtualSensorDirectChannelWriter.java162 Objects.requireNonNull(sensor).getHandle()); in configureChannel()
174 mConfiguredChannels.put(sensor.getHandle(), configs); in configureChannel()
201 Objects.requireNonNull(sensor).getHandle()); in writeSensorEvent()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java1026 int frontendId = getResourceIdFromHandle(fr.getHandle()); in requestFrontendInternal()
1037 grantingFrontendHandle = fr.getHandle(); in requestFrontendInternal()
1043 grantingFrontendHandle = fr.getHandle(); in requestFrontendInternal()
1060 inUseLowestPriorityFrHandle = fr.getHandle(); in requestFrontendInternal()
1211 grantingLnbHandle = lnb.getHandle(); in requestLnbInternal()
1218 inUseLowestPriorityLnbHandle = lnb.getHandle(); in requestLnbInternal()
1388 Slog.d(TAG, "releaseFrontend(id=" + fe.getHandle() + ", clientId=" + clientId + " )"); in releaseFrontendInternal()
1405 Slog.d(TAG, "releaseDemux(DemuxHandle=" + demux.getHandle() + ")"); in releaseDemuxInternal()
1413 Slog.d(TAG, "releaseLnb(lnbHandle=" + lnb.getHandle() + ")"); in releaseLnbInternal()
1476 grantingDemuxHandle = dr.getHandle(); in requestDemuxInternal()
[all …]
DTunerResourceBasic.java47 public int getHandle() { in getHandle() method in TunerResourceBasic
/frameworks/av/services/oboeservice/
DAAudioService.h122 return mService->startClient(streamHandleInfo.getHandle(), client, attr, clientHandle); in startClient()
127 return mService->stopClient(streamHandleInfo.getHandle(), clientHandle); in stopClient()
/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/libs/gui/
DSurfaceControl.cpp181 sp<IBinder> SurfaceControl::getHandle() const { in getHandle() function in android::SurfaceControl
183 return mBbqChild->getHandle(); in getHandle()
205 mChoreographer = std::make_shared<Choreographer>(looper, getHandle()); in getChoreographer()

12345