Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/job/
DJobService.java63 private JobServiceEngine mEngine; field in JobService
67 if (mEngine == null) { in onBind()
68 mEngine = new JobServiceEngine(this) { in onBind()
80 return mEngine.getBinder(); in onBind()
135 mEngine.jobFinished(params, needsReschedule); in jobFinished()
/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.h451 ThreadPool_add_ppi(&(object)->mObject.mEngine->mThreadPool, \
454 ThreadPool_add_ppii(&(object)->mObject.mEngine->mThreadPool, \
457 ThreadPool_add_piipp(&(object)->mObject.mEngine->mThreadPool, \
Dlocks.cpp274 IEngine *thisEngine = &thiz->mEngine->mEngine; in object_unlock_exclusive_attributes_()
Dentry.cpp157 thiz->mEngine.mLossOfControlGlobal = lossOfControlGlobal; in liCreateEngine()
Dsles.cpp518 thiz->mEngine = (CEngine *) thiz; in construct()
520 thiz->mEngine = (CEngine *) thisEngine->mThis; in construct()
Dclasses.h180 IEngine mEngine; member
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java52 private final FusionEngine mEngine; field in FusedLocationProvider
66 mEngine = new FusionEngine(context, Looper.myLooper()); in FusedLocationProvider()
76 mEngine.switchUser(); in FusedLocationProvider()
90 mEngine.init(FusedLocationProvider.this);
93 mEngine.deinit();
98 mEngine.setRequest(wrapper.request, wrapper.source);
123 mEngine.dump(fd, pw, args); in onDump()
/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/libstagefright/
DMidiExtractor.cpp54 sp<MidiEngine> mEngine; member in android::MidiSource
73 : mEngine(engine), in MidiSource()
96 mEngine->allocateBuffers(); in start()
106 mEngine->releaseBuffers(); in stop()
128 mEngine->seekTo(seekTimeUs); in read()
130 buffer = mEngine->readBuffer(); in read()
271 mEngine = new MidiEngine(mDataSource, mFileMetadata, mTrackMetadata); in MidiExtractor()
272 mInitCheck = mEngine->initCheck(); in MidiExtractor()
290 return new MidiSource(mEngine, mTrackMetadata); in getTrack()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1103 Engine mEngine; field in WallpaperService.IWallpaperEngineWrapper
1138 if (mEngine != null) { in dispatchPointer()
1139 mEngine.dispatchPointer(event); in dispatchPointer()
1147 if (mEngine != null) { in dispatchWallpaperCommand()
1148 mEngine.mWindow.dispatchWallpaperCommand(action, x, y, z, extras, false); in dispatchWallpaperCommand()
1179 mEngine = engine; in executeMessage()
1185 mActiveEngines.remove(mEngine); in executeMessage()
1186 mEngine.detach(); in executeMessage()
1190 mEngine.doDesiredSizeChanged(message.arg1, message.arg2); in executeMessage()
1194 mEngine.doDisplayPaddingChanged((Rect) message.obj); in executeMessage()
[all …]
/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()
812 IEngine *thisEngine = &thiz->mEngine->mEngine; in IObject_Publish()
DIDynamicInterfaceManagement.cpp138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz, in IDynamicInterfaceManagement_AddInterface()
386 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleResume, in IDynamicInterfaceManagement_ResumeInterface()
DIOutputMixExt.cpp183 IEngine *thisEngine = &thisObject->mEngine->mEngine; in IOutputMixExt_FillBuffer()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp140 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
167 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
196 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
202 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
261 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
280 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
293 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
529 int oldState = mEngine->getPhoneState(); in setPhoneState()
531 if (mEngine->setPhoneState(state) != NO_ERROR) { in setPhoneState()
634 return mEngine->getPhoneState(); in getPhoneState()
[all …]
/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()
DAudioPlayer_to_android.cpp53 if (ap->mObject.mEngine->mAudioManager != 0) { in audioManagerPlayerEvent()
54 ap->mObject.mEngine->mAudioManager->playerEvent(ap->mPIId, event); in audioManagerPlayerEvent()
1086 if (df_pcm->endianness != pAudioPlayer->mObject.mEngine->mEngine.mNativeEndianness) { in android_audioPlayer_checkSourceSink()
1799 if (pAudioPlayer->mObject.mEngine->mAudioManager == 0) { in android_audioPlayer_realize()
1803 pAudioPlayer->mPIId = pAudioPlayer->mObject.mEngine->mAudioManager->trackPlayer( in android_audioPlayer_realize()
DAudioRecorder_to_android.cpp253 if (df_pcm->endianness != ar->mObject.mEngine->mEngine.mNativeEndianness) { in android_audioRecorder_checkSourceSink()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java72 DrawableEngine mEngine; field in ImageWallpaper
89 if (mEngine != null) { in onTrimMemory()
90 mEngine.trimMemory(level); in onTrimMemory()
96 mEngine = new DrawableEngine(); in onCreateEngine()
97 return mEngine; in onCreateEngine()
/frameworks/av/media/libstagefright/include/
DMidiExtractor.h76 sp<MidiEngine> mEngine; variable
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp267 RenderEngine& engine, EGLImageKHR image) : mEngine(engine) in BindImageAsFramebuffer()
269 mEngine.bindImageAsFramebuffer(image, &mTexName, &mFbName, &mStatus); in BindImageAsFramebuffer()
277 mEngine.unbindFramebuffer(mTexName, mFbName); in ~BindImageAsFramebuffer()
DRenderEngine.h85 RenderEngine& mEngine; variable
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java616 IWallpaperEngine mEngine; field in WallpaperManagerService.WallpaperConnection
673 mEngine = null; in onServiceDisconnected()
739 mEngine = engine; in attachEngine()
742 mEngine.setDesiredSize(mWallpaper.width, mWallpaper.height); in attachEngine()
750 mEngine.setDisplayPadding(mWallpaper.padding); in attachEngine()
1301 if (wallpaper.connection.mEngine != null) { in setDimensionHints()
1303 wallpaper.connection.mEngine.setDesiredSize( in setDimensionHints()
1358 if (wallpaper.connection.mEngine != null) { in setDisplayPadding()
1360 wallpaper.connection.mEngine.setDisplayPadding(padding); in setDisplayPadding()
1791 if (wallpaper.connection.mEngine != null) { in detachWallpaperLocked()
[all …]

12