Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/av/media/libaaudio/tests/
Dtest_return_stop.cpp71 AudioEngine *engine = (struct AudioEngine *)userData; in s_myDataCallbackProc() local
72 engine->callbackCount++; in s_myDataCallbackProc()
73 if (engine->stopped) { in s_myDataCallbackProc()
74 engine->callbackCountAfterStop++; in s_myDataCallbackProc()
77 engine->framesRead = (int32_t)AAudioStream_getFramesRead(stream); in s_myDataCallbackProc()
78 if (engine->startingFramesRead == 0) { in s_myDataCallbackProc()
79 engine->startingFramesRead.store(engine->framesRead.load()); in s_myDataCallbackProc()
81 engine->framesCalled += numFrames; in s_myDataCallbackProc()
82 if (engine->framesCalled >= engine->stopAtFrame) { in s_myDataCallbackProc()
83 engine->stopped = true; in s_myDataCallbackProc()
[all …]
Dtest_callback_race.cpp122 AudioEngine* engine = (AudioEngine*) userData; in s_myDataCallbackProc() local
123 engine->mCallbackStarted = true; in s_myDataCallbackProc()
127 engine->mStopResult = AAudioStream_requestStop(stream); in s_myDataCallbackProc()
128 engine->mCallbackFinished = true; in s_myDataCallbackProc()
129 return engine->mCallbackResult; in s_myDataCallbackProc()
136 AudioEngine *engine = (AudioEngine *)userData; in s_myErrorCallbackProc() local
137 engine->mError = error; in s_myErrorCallbackProc()
153 AudioEngine engine; in TEST() local
154 engine.checkCloseJoins(AAUDIO_DIRECTION_INPUT, in TEST()
160 AudioEngine engine; in TEST() local
[all …]
Dtest_disconnect_race.cpp151 AudioEngine *engine = (AudioEngine *)userData; in s_myErrorCallbackProc() local
152 engine->mError = error; in s_myErrorCallbackProc()
153 engine->mCallbackStarted = true; in s_myErrorCallbackProc()
157 if (engine->mCallStopFromCallback) { in s_myErrorCallbackProc()
158 engine->mStopResult = AAudioStream_requestStop(stream); in s_myErrorCallbackProc()
160 engine->mCallbackFinished = true; in s_myErrorCallbackProc()
190 AudioEngine engine; in main() local
191 engine.checkCloseJoins(direction, perfMode, callStop); in main()
/frameworks/base/tests/Internal/src/android/service/wallpaper/
DWallpaperServiceTest.java47 WallpaperService.Engine engine = service.onCreateEngine(); in testDeliversAmbientModeChanged() local
48 engine.setCreated(true); in testDeliversAmbientModeChanged()
50 engine.doAmbientModeChanged(false, 0); in testDeliversAmbientModeChanged()
51 assertFalse("ambient mode should be false", engine.isInAmbientMode()); in testDeliversAmbientModeChanged()
55 engine.doAmbientModeChanged(true, 0); in testDeliversAmbientModeChanged()
56 assertTrue("ambient mode should be false", engine.isInAmbientMode()); in testDeliversAmbientModeChanged()
76 WallpaperService.Engine engine = service.onCreateEngine(); in testDeliversZoomChanged() local
77 engine.setCreated(true); in testDeliversZoomChanged()
79 engine.setZoom(.5f); in testDeliversZoomChanged()
80 assertEquals("engine scale was not updated", .5f, engine.getZoom(), .001f); in testDeliversZoomChanged()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngineThread.java16 FullRestoreEngineThread(FullRestoreEngine engine, ParcelFileDescriptor engineSocket) { in FullRestoreEngineThread() argument
17 mEngine = engine; in FullRestoreEngineThread()
18 engine.setRunning(true); in FullRestoreEngineThread()
28 FullRestoreEngineThread(FullRestoreEngine engine, InputStream inputStream) { in FullRestoreEngineThread() argument
29 mEngine = engine; in FullRestoreEngineThread()
30 engine.setRunning(true); in FullRestoreEngineThread()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java116 String engine = getString(mContext.getContentResolver(), in getDefaultEngine() local
118 return isEngineInstalled(engine) ? engine : getHighestRankedEngineName(); in getDefaultEngine()
171 EngineInfo engine = getEngineInfo(resolveInfo, pm); in getEngines() local
172 if (engine != null) { in getEngines()
173 engines.add(engine); in getEngines()
189 public boolean isEngineInstalled(String engine) { in isEngineInstalled() argument
190 if (engine == null) { in isEngineInstalled()
194 return getEngineInfo(engine) != null; in isEngineInstalled()
201 public Intent getSettingsIntent(String engine) { in getSettingsIntent() argument
204 intent.setPackage(engine); in getSettingsIntent()
[all …]
DEventLogTags.logtags5 76001 tts_speak_success (engine|3),(caller_uid|1),(caller_pid|1),(length|1),(locale|3),(rate|1),(pi…
6 76002 tts_speak_failure (engine|3),(caller_uid|1),(caller_pid|1),(length|1),(locale|3),(rate|1),(pi…
8 76003 tts_v2_speak_success (engine|3),(caller_uid|1),(caller_pid|1),(length|1),(request_config|3),(…
9 76004 tts_v2_speak_failure (engine|3),(caller_uid|1),(caller_pid|1),(length|1),(request_config|3), …
/frameworks/base/startop/scripts/trace_analyzer/lib/
Dtrace2db.py207 engine = create_engine('sqlite:///' + db_filename, echo=_DEBUG)
210 Base.metadata.create_all(engine)
212 Session = sessionmaker(bind=engine)
214 return (session, engine)
239 def insert_pending_entries(engine, kls, lst): argument
246 engine.execute(kls.__table__.insert(), lst)
259 def parse_file_buf(filebuf, session, engine, raw_ftrace_entry_filter, limit=None) -> int: argument
271 insert_pending_entries(engine, RawFtraceEntry, pending_entries)
272 insert_pending_entries(engine, SchedSwitch, pending_sched_switch)
273 insert_pending_entries(engine, SchedBlockedReason, pending_sched_blocked_reasons)
[all …]
/frameworks/base/services/texttospeech/java/com/android/server/texttospeech/
DTextToSpeechManagerPerUserService.java63 void createSessionLocked(String engine, ITextToSpeechSessionCallback sessionCallback) { in createSessionLocked() argument
64 TextToSpeechSessionConnection.start(getContext(), mUserId, engine, sessionCallback); in createSessionLocked() local
89 static void start(Context context, @UserIdInt int userId, String engine, in start() argument
91 new TextToSpeechSessionConnection(context, userId, engine, callback).start(); in start()
94 private TextToSpeechSessionConnection(Context context, @UserIdInt int userId, String engine, in TextToSpeechSessionConnection() argument
97 new Intent(TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE).setPackage(engine), in TextToSpeechSessionConnection()
101 mEngine = engine; in TextToSpeechSessionConnection()
DTextToSpeechManagerService.java63 public void createSession(String engine, in createSession() argument
69 perUserService.createSessionLocked(engine, sessionCallback); in createSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/wallpaper/
DWallpaperServiceTests.java69 WallpaperService.Engine engine = service.onCreateEngine(); in testNotifyColorsChanged_rateLimit() local
72 engine.notifyColorsChanged(); in testNotifyColorsChanged_rateLimit()
77 engine.notifyColorsChanged(); in testNotifyColorsChanged_rateLimit()
85 engine.notifyColorsChanged(); in testNotifyColorsChanged_rateLimit()
/frameworks/av/media/libstagefright/renderfright/gl/filters/
DBlurFilter.cpp33 BlurFilter::BlurFilter(GLESRenderEngine& engine) in BlurFilter() argument
34 : mEngine(engine), in BlurFilter()
35 mCompositionFbo(engine), in BlurFilter()
36 mPingFbo(engine), in BlurFilter()
37 mPongFbo(engine), in BlurFilter()
38 mMixProgram(engine), in BlurFilter()
39 mBlurProgram(engine) { in BlurFilter()
/frameworks/native/libs/renderengine/gl/filters/
DBlurFilter.cpp33 BlurFilter::BlurFilter(GLESRenderEngine& engine) in BlurFilter() argument
34 : mEngine(engine), in BlurFilter()
35 mCompositionFbo(engine), in BlurFilter()
36 mPingFbo(engine), in BlurFilter()
37 mPongFbo(engine), in BlurFilter()
38 mMixProgram(engine), in BlurFilter()
39 mBlurProgram(engine) { in BlurFilter()
/frameworks/base/core/java/android/security/net/config/
DRootTrustManager.java71 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted() argument
76 config.getTrustManager().checkClientTrusted(certs, authType, engine); in checkClientTrusted()
98 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted() argument
100 SSLSession session = engine.getHandshakeSession(); in checkServerTrusted()
106 config.getTrustManager().checkServerTrusted(certs, authType, engine); in checkServerTrusted()
DNetworkSecurityTrustManager.java79 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted() argument
81 mDelegate.checkClientTrusted(certs, authType, engine); in checkClientTrusted()
99 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted() argument
102 mDelegate.getTrustedChainForServer(certs, authType, engine); in checkServerTrusted()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngineInstance.cpp28 extern "C" void destroyEngineInstance(EngineInterface *engine) in destroyEngineInstance() argument
30 delete static_cast<Engine*>(engine); in destroyEngineInstance()
/frameworks/native/libs/renderengine/gl/
DGLFramebuffer.cpp34 GLFramebuffer::GLFramebuffer(GLESRenderEngine& engine) in GLFramebuffer() argument
35 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
DGLFramebuffer.h36 explicit GLFramebuffer(GLESRenderEngine& engine);
37 explicit GLFramebuffer(GLESRenderEngine& engine, bool multiTarget);
DGLImage.cpp50 GLImage::GLImage(const GLESRenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} in GLImage() argument
/frameworks/av/media/libstagefright/renderfright/gl/
DGLFramebuffer.cpp33 GLFramebuffer::GLFramebuffer(GLESRenderEngine& engine) in GLFramebuffer() argument
34 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
DGLFramebuffer.h36 explicit GLFramebuffer(GLESRenderEngine& engine);
37 explicit GLFramebuffer(GLESRenderEngine& engine, bool multiTarget);
DGLImage.cpp49 GLImage::GLImage(const GLESRenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} in GLImage() argument
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperConnection.aidl28 void attachEngine(IWallpaperEngine engine, int displayId); in attachEngine() argument
29 void engineShown(IWallpaperEngine engine); in engineShown() argument
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngineInstance.cpp43 static Engine engine; in getEngine() local
44 return &engine; in getEngine()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java32 import com.example.android.rs.vr.engine.Cube;
33 import com.example.android.rs.vr.engine.Pipeline;
34 import com.example.android.rs.vr.engine.RsBrickedBitMask;
35 import com.example.android.rs.vr.engine.TriData;
36 import com.example.android.rs.vr.engine.VectorUtil;
37 import com.example.android.rs.vr.engine.ViewMatrix;
38 import com.example.android.rs.vr.engine.Volume;
39 import com.example.android.rs.vr.engine.VrPipline1;
40 import com.example.android.rs.vr.engine.VrState;

123456