Home
last modified time | relevance | path

Searched refs:mEngine (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngineThread.java12 FullRestoreEngine mEngine; field in FullRestoreEngineThread
17 mEngine = engine; in FullRestoreEngineThread()
29 mEngine = engine; in FullRestoreEngineThread()
37 return mEngine.isRunning(); in isRunning()
41 return mEngine.waitForResult(); in waitForResult()
47 while (mEngine.isRunning()) { in run()
48 mEngine.restoreOneFile(mEngineStream, mMustKillAgent, mEngine.mBuffer, in run()
49 mEngine.mOnlyPackage, mEngine.mAllowApks, mEngine.mEphemeralOpToken, in run()
50 mEngine.mMonitor); in run()
61 mEngine.handleTimeout(); in handleTimeout()
DPerformUnifiedRestoreTask.java846 FullRestoreEngine mEngine; field in PerformUnifiedRestoreTask.StreamFeederThread
872 mEngine = new FullRestoreEngine(backupManagerService, this, null, in run()
874 mEngineThread = new FullRestoreEngineThread(mEngine, mEnginePipes[0]); in run()
964 mDidLaunch = (mEngine.getAgent() != null); in run()
974 mAgent = mEngine.getAgent(); in run()
977 mWidgetData = mEngine.getWidgetData(); in run()
/frameworks/base/core/java/android/app/job/
DJobService.java54 private JobServiceEngine mEngine; field in JobService
58 if (mEngine == null) { in onBind()
59 mEngine = new JobServiceEngine(this) { in onBind()
71 return mEngine.getBinder(); in onBind()
98 mEngine.jobFinished(params, wantsReschedule); in jobFinished()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp34 impl::CompositionEngine mEngine; member in android::compositionengine::__anon2b52074d0111::CompositionEngineTest
45 mEngine.setHwComposer(std::unique_ptr<android::HWComposer>(mHwc)); in TEST_F()
47 EXPECT_EQ(mHwc, &mEngine.getHwComposer()); in TEST_F()
51 mEngine.setRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in TEST_F()
53 EXPECT_EQ(mRenderEngine, &mEngine.getRenderEngine()); in TEST_F()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java45 private final FusionEngine mEngine; field in FusedLocationProvider
52 mEngine.switchUser();
62 mEngine = new FusionEngine(context, Looper.myLooper(), this); in FusedLocationProvider()
73 mHandler.post(() -> mEngine.setRequest(null)); in destroy()
78 mHandler.post(() -> mEngine.setRequest(request)); in onSetRequest()
83 mEngine.dump(fd, pw, args); in onDump()
/frameworks/wilhelm/src/
Dsync.cpp38 if (thiz->mEngine.mShutdown) { in sync_start()
39 thiz->mEngine.mShutdownAck = SL_BOOLEAN_TRUE; in sync_start()
53 unsigned changedMask = thiz->mEngine.mChangedMask; in sync_start()
54 thiz->mEngine.mChangedMask = 0; in sync_start()
64 IObject *instance = (IObject *) thiz->mEngine.mInstances[i]; in sync_start()
Dsles_allinclusive.h459 ThreadPool_add_ppi(&(object)->mObject.mEngine->mThreadPool, \
462 ThreadPool_add_ppii(&(object)->mObject.mEngine->mThreadPool, \
465 ThreadPool_add_piipp(&(object)->mObject.mEngine->mThreadPool, \
Dlocks.cpp274 IEngine *thisEngine = &thiz->mEngine->mEngine; in object_unlock_exclusive_attributes_()
/frameworks/wilhelm/src/objects/
DCEngine.cpp71 thiz->mEngine.mShutdown = SL_BOOLEAN_TRUE; in CEngine_Realize()
86 SDL_open(&thiz->mEngine); in CEngine_Realize()
107 unsigned instanceCount = thiz->mEngine.mInstanceCount; in CEngine_Destroy()
108 unsigned instanceMask = thiz->mEngine.mInstanceMask; in CEngine_Destroy()
116 thiz, i + 1, thiz->mEngine.mInstances[i]); in CEngine_Destroy()
127 thiz->mEngine.mShutdown = SL_BOOLEAN_TRUE; in CEngine_Destroy()
129 while (!thiz->mEngine.mShutdownAck) { in CEngine_Destroy()
DCOutputMix.cpp66 IEngine *thisEngine = &outputMix->mObject.mEngine->mEngine; in COutputMix_PreDestroy()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp54 MidiEngine &mEngine; member in android::MidiSource
73 : mEngine(engine), in MidiSource()
96 mEngine.allocateBuffers(mBufferGroup); in start()
106 mEngine.releaseBuffers(); in stop()
129 mEngine.seekTo(seekTimeUs); in read()
131 buffer = mEngine.readBuffer(); in read()
285 mEngine = new MidiEngine(mDataSource, mFileMetadata, mTrackMetadata); in MidiExtractor()
286 mInitCheck = mEngine->initCheck(); in MidiExtractor()
294 delete mEngine; in ~MidiExtractor()
307 return new MidiSource(*mEngine, mTrackMetadata); in getTrack()
DMidiExtractor.h76 MidiEngine *mEngine; variable
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h233 : mEngine(engine), mFramebuffer(mEngine.getFramebufferForDrawing()), mStatus(NO_ERROR) { in BindNativeBufferAsFramebuffer()
234 mStatus = mFramebuffer->setNativeWindowBuffer(buffer, mEngine.isProtected(), in BindNativeBufferAsFramebuffer()
236 ? mEngine.bindFrameBuffer(mFramebuffer) in BindNativeBufferAsFramebuffer()
241 mEngine.unbindFrameBuffer(mFramebuffer); in ~BindNativeBufferAsFramebuffer()
246 RenderEngine& mEngine;
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1315 Engine mEngine; field in WallpaperService.IWallpaperEngineWrapper
1368 if (mEngine != null) { in dispatchPointer()
1369 mEngine.dispatchPointer(event); in dispatchPointer()
1377 if (mEngine != null) { in dispatchWallpaperCommand()
1378 mEngine.mWindow.dispatchWallpaperCommand(action, x, y, z, extras, false); in dispatchWallpaperCommand()
1409 mActiveEngines.remove(mEngine); in doDetachEngine()
1410 mEngine.detach(); in doDetachEngine()
1416 if (mActiveEngines.contains(mEngine)) { in executeMessage()
1430 mEngine = engine; in executeMessage()
1440 mEngine.doDesiredSizeChanged(message.arg1, message.arg2); in executeMessage()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp263 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
270 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
354 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
378 mEngine->setDeviceConnectionState(device, state); in setEngineDeviceConnectionState()
522 auto txSourceDevice = mEngine->getInputDeviceForAttributes(attr); in updateCallRouting()
648 int oldState = mEngine->getPhoneState(); in setPhoneState()
650 if (mEngine->setPhoneState(state) != NO_ERROR) { in setPhoneState()
689 mEngine->getOutputDevicesForAttributes(attributes_initializer(AUDIO_USAGE_MEDIA), in setPhoneState()
693 mEngine->getOutputDevicesForAttributes(attributes_initializer(AUDIO_USAGE_ALARM), in setPhoneState()
746 return mEngine->getPhoneState(); in getPhoneState()
[all …]
DAudioPolicyManager.h188 auto attributes = mEngine->getAttributesForStreamType(stream); in streamToStrategy()
189 return mEngine->getProductStrategyForAttributes(attributes); in streamToStrategy()
296 return mEngine->listAudioProductStrategies(strategies); in listAudioProductStrategies()
302 productStrategy = mEngine->getProductStrategyForAttributes(aa.getAttributes()); in getProductStrategyFromAudioAttributes()
308 return mEngine->listAudioVolumeGroups(groups); in listAudioVolumeGroups()
314 volumeGroup = mEngine->getVolumeGroupForAttributes(aa.getAttributes()); in getVolumeGroupFromAudioAttributes()
374 return mEngine->getVolumeGroups(); in getVolumeGroups()
383 return toVolumeSource(mEngine->getVolumeGroupForAttributes(attributes)); in toVolumeSource()
387 return toVolumeSource(mEngine->getVolumeGroupForStreamType(stream)); in toVolumeSource()
391 auto *curves = mEngine->getVolumeCurvesForVolumeGroup( in getVolumeCurves()
[all …]
/frameworks/native/libs/renderengine/gl/
DGLFramebuffer.cpp35 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
59 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
DImageManager.cpp33 ImageManager::ImageManager(GLESRenderEngine* engine) : mEngine(engine) {} in ImageManager()
127 mEngine->unbindExternalTextureBufferInternal(entry.bufferId); in threadMain()
130 result = mEngine->cacheExternalTextureBufferInternal(entry.buffer); in threadMain()
DGLFramebuffer.h47 GLESRenderEngine& mEngine;
DImageManager.h63 GLESRenderEngine* const mEngine; variable
/frameworks/wilhelm/src/itf/
DIEngine.cpp699 IEngine *thisEngine = &thiz->mObject.mEngine->mEngine; in IEngine_CreateOutputMix()
1048 return IEngine_CreateLEDDevice(&((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, in IXAEngine_CreateLEDDevice()
1059 return IEngine_CreateVibraDevice(&((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, in IXAEngine_CreateVibraDevice()
1086 &((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf); in IEngine_CreateMediaPlayer()
1292 return IEngine_CreateOutputMix(&((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, in IXAEngine_CreateOutputMix()
1303 return IEngine_CreateMetadataExtractor(&((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, in IXAEngine_CreateMetadataExtractor()
1314 return IEngine_CreateExtensionObject(&((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, in IXAEngine_CreateExtensionObject()
1360 &((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, objectID, in IXAEngine_QueryNumSupportedInterfaces()
1370 &((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, objectID, index, in IXAEngine_QuerySupportedInterfaces()
1379 &((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, pNumExtensions); in IXAEngine_QueryNumSupportedExtensions()
[all …]
DIObject.cpp125 result = ThreadPool_add_ppi(&thiz->mEngine->mThreadPool, HandleRealize, thiz, NULL, 0); in IObject_Realize()
253 result = ThreadPool_add_ppi(&thiz->mEngine->mThreadPool, HandleResume, thiz, NULL, 0); in IObject_Resume()
551 IEngine *thisEngine = &thiz->mEngine->mEngine; in IObject_Destroy()
811 IEngine *thisEngine = &thiz->mEngine->mEngine; in IObject_Publish()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp310 ieq->mThis->mEngine->mEqNumPresets = numPresets; in android_eq_init()
314 object_lock_exclusive(&ieq->mThis->mEngine->mObject); in android_eq_init()
316 if ((0 < numPresets) && (NULL == ieq->mThis->mEngine->mEqPresetNames)) { in android_eq_init()
317 ieq->mThis->mEngine->mEqPresetNames = (char **)new char *[numPresets]; in android_eq_init()
321 ieq->mThis->mEngine->mEqPresetNames[i] = new char[strlen(name) + 1]; in android_eq_init()
322 strcpy(ieq->mThis->mEngine->mEqPresetNames[i], name); in android_eq_init()
323 SL_LOGV(" EQ init: presets = %u is %s", i, ieq->mThis->mEngine->mEqPresetNames[i]); in android_eq_init()
327 object_unlock_exclusive(&ieq->mThis->mEngine->mObject); in android_eq_init()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java802 private FullBackupEngine mEngine; field in PerformFullTransportBackupTask.SinglePackageBackupRunner
843 mEngine = new FullBackupEngine(backupManagerService, out, mPreflight, mTarget, false, in run()
848 mPreflightResult = mEngine.preflightCheck(); in run()
856 mBackupResult = mEngine.backupOnePackage(); in run()
873 mEngine.sendQuotaExceeded(backupDataBytes, quotaBytes); in sendQuotaExceeded()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1047 if (connector.mEngine != null) { in updateFallbackConnection()
1059 if (connector.mEngine == null) { in updateFallbackConnection()
1075 IWallpaperEngine mEngine; field in WallpaperManagerService.WallpaperConnection.DisplayConnector
1087 mEngine.setDesiredSize(wpdData.mWidth, wpdData.mHeight); in ensureStatusHandled()
1095 mEngine.setDisplayPadding(wpdData.mPadding); in ensureStatusHandled()
1138 if (mEngine != null) { in disconnectLocked()
1139 mEngine.destroy(); in disconnectLocked()
1143 mEngine = null; in disconnectLocked()
1251 if (connector.mEngine != null) engineSize++; in getConnectedEngineSize()
1307 forEachDisplayConnector(connector -> connector.mEngine = null); in onServiceDisconnected()
[all …]

12