Home
last modified time | relevance | path

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

12345

/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_stop_hang.cpp72 AudioEngine *engine = (struct AudioEngine *)userData; in s_myDataCallbackProc() local
73 std::lock_guard<std::mutex> lock(engine->doneLock); in s_myDataCallbackProc()
74 engine->started = true; in s_myDataCallbackProc()
76 engine->done = true; in s_myDataCallbackProc()
87 static aaudio_result_t s_OpenAudioStream(struct AudioEngine *engine) { in s_OpenAudioStream() argument
89 aaudio_result_t result = AAudio_createStreamBuilder(&engine->builder); in s_OpenAudioStream()
97 AAudioStreamBuilder_setPerformanceMode(engine->builder, AAUDIO_PERFORMANCE_MODE_LOW_LATENCY); in s_OpenAudioStream()
98 AAudioStreamBuilder_setDataCallback(engine->builder, s_myDataCallbackProc, engine); in s_OpenAudioStream()
99 AAudioStreamBuilder_setErrorCallback(engine->builder, s_myErrorCallbackProc, engine); in s_OpenAudioStream()
102 result = AAudioStreamBuilder_openStream(engine->builder, &engine->stream); in s_OpenAudioStream()
[all …]
/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()
/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/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/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/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()
DGLImage.cpp50 GLImage::GLImage(const GLESRenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} in GLImage() argument
DImageManager.cpp33 ImageManager::ImageManager(GLESRenderEngine* engine) : mEngine(engine) {} in ImageManager() argument
/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/base/core/java/android/service/wallpaper/
DIWallpaperConnection.aidl27 void attachEngine(IWallpaperEngine engine, int displayId); in attachEngine() argument
28 void engineShown(IWallpaperEngine engine); in engineShown() argument
/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;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngineInstance.cpp43 static Engine engine; in getEngine() local
44 return &engine; in getEngine()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp40 auto engine = impl::createCompositionEngine(); in TEST_F() local
41 EXPECT_TRUE(engine.get() != nullptr); in TEST_F()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DMandelbulb.java24 import com.example.android.rs.vr.engine.ScriptC_mandelbulb;
25 import com.example.android.rs.vr.engine.Volume;
DDroid.java24 import com.example.android.rs.vr.engine.ScriptC_bugdroid;
25 import com.example.android.rs.vr.engine.Volume;
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp91 preproc_fx_handle_t engine; // handle on webRTC engine member
272 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcInit()
288 effect->engine = static_cast<preproc_fx_handle_t>(agc); in AgcCreate()
301 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcGetParameter()
362 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcSetParameter()
401 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcEnable()
409 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcDisable()
437 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); in AecInit()
451 effect->engine = static_cast<preproc_fx_handle_t>(aec); in AecCreate()
503 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); in AecEnable()
[all …]
/frameworks/base/core/proto/android/stats/otaupdate/
Dupdateengine_enums.proto26 // The attempt result reported by the update engine for an OTA update.
43 // The error code reported by the update engine after an OTA update attempt
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DPipeline.java16 package com.example.android.rs.vr.engine;
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp40 MidiEngine &engine,
71 MidiEngine &engine, in MidiSource() argument
73 : mEngine(engine), in MidiSource()
/frameworks/base/libs/hwui/tests/scripts/
Dprep_ryu.sh3 adb shell stop thermal-engine
Dprep_volantis.sh20 adb shell stop thermal-engine

12345