Home
last modified time | relevance | path

Searched refs:Engine (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp48 StreamCollection &Engine::getCollection<audio_stream_type_t>() in getCollection()
53 InputSourceCollection &Engine::getCollection<audio_source_t>() in getCollection()
59 const StreamCollection &Engine::getCollection<audio_stream_type_t>() const in getCollection()
64 const InputSourceCollection &Engine::getCollection<audio_source_t>() const in getCollection()
69 Engine::Engine() : mPolicyParameterMgr(new ParameterManagerWrapper()) in Engine() function in android::audio_policy::Engine
73 status_t Engine::loadFromHalConfigWithFallback( in loadFromHalConfigWithFallback()
79 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) in loadFromXmlConfigWithFallback()
88 status_t Engine::initCheck() in initCheck()
99 Element<Key> *Engine::getFromCollection(const Key &key) const in getFromCollection()
106 status_t Engine::add(const std::string &name, const Key &key) in add()
[all …]
DEngine.h32 class Engine : public EngineBase, AudioPolicyPluginInterface
35 Engine();
36 virtual ~Engine() = default;
119 Engine(const Engine &object);
120 Engine &operator=(const Engine &object);
DEngineInstance.cpp41 Engine *EngineInstance::getEngine() const in getEngine()
43 static Engine engine; in getEngine()
/frameworks/base/tests/Internal/src/android/service/wallpaper/
DWallpaperServiceTest.java38 public Engine onCreateEngine() { in testDeliversAmbientModeChanged()
39 return new Engine() { in testDeliversAmbientModeChanged()
47 WallpaperService.Engine engine = service.onCreateEngine(); in testDeliversAmbientModeChanged()
66 public Engine onCreateEngine() { in testDeliversZoomChanged()
67 return new Engine() { in testDeliversZoomChanged()
76 WallpaperService.Engine engine = service.onCreateEngine(); in testDeliversZoomChanged()
92 public Engine onCreateEngine() { in testNotifyColorsOfDestroyedEngine_doesntCrash()
93 return new Engine(); in testNotifyColorsOfDestroyedEngine_doesntCrash()
96 WallpaperService.Engine engine = service.onCreateEngine(); in testNotifyColorsOfDestroyedEngine_doesntCrash()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h45 class Engine : public EngineBase
48 Engine() = default;
49 virtual ~Engine() = default;
50 Engine(const Engine &object) = delete;
51 Engine &operator=(const Engine &object) = delete;
DEngine.cpp60 status_t Engine::loadFromHalConfigWithFallback( in loadFromHalConfigWithFallback()
65 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) { in loadFromXmlConfigWithFallback()
70 status_t Engine::loadWithFallback(const T& configSource) { in loadWithFallback()
85 status_t Engine::setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) in setForceUse()
158 bool Engine::isBtScoActive(DeviceVector& availableOutputDevices, in isBtScoActive()
194 void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy, in filterOutputDevicesForStrategy()
288 product_strategy_t Engine::remapStrategyFromContext(product_strategy_t strategy, in remapStrategyFromContext()
329 DeviceVector Engine::getDevicesForStrategyInt(legacy_strategy strategy, in getDevicesForStrategyInt()
560 DeviceVector Engine::getPreferredAvailableDevicesForInputSource( in getPreferredAvailableDevicesForInputSource()
579 DeviceVector Engine::getDisabledDevicesForInputSource( in getDisabledDevicesForInputSource()
[all …]
DEngineInstance.cpp25 return new (std::nothrow) Engine(); in createEngineInstance()
30 delete static_cast<Engine*>(engine); in destroyEngineInstance()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java276 public class Engine { class in TextToSpeech
815 params.putInt(Engine.KEY_PARAM_SESSION_ID, audioSessionId); in addDeviceSpecificSessionIdToParams()
1274 params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); in speak()
1342 params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID));
1397 params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID));
1482 mParams.putInt(Engine.KEY_PARAM_RATE, intRate);
1506 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch);
1525 mParams.putParcelable(Engine.KEY_PARAM_AUDIO_ATTRIBUTES,
1648 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName);
1649 mParams.putString(Engine.KEY_PARAM_LANGUAGE, voiceLanguage);
[all …]
DTextToSpeechService.java36 import android.speech.tts.TextToSpeech.Engine;
409 return getSecureSettingInt(Settings.Secure.TTS_DEFAULT_RATE, Engine.DEFAULT_RATE); in getDefaultSpeechRate()
413 return getSecureSettingInt(Settings.Secure.TTS_DEFAULT_PITCH, Engine.DEFAULT_PITCH); in getDefaultPitch()
724 mVolume = Engine.DEFAULT_VOLUME; in AudioOutputParams()
725 mPan = Engine.DEFAULT_PAN; in AudioOutputParams()
745 Engine.KEY_PARAM_AUDIO_ATTRIBUTES, android.media.AudioAttributes.class); in createFromParamsBundle()
748 Engine.KEY_PARAM_STREAM, Engine.DEFAULT_STREAM); in createFromParamsBundle()
759 Engine.KEY_PARAM_SESSION_ID, in createFromParamsBundle()
762 Engine.KEY_PARAM_VOLUME, in createFromParamsBundle()
763 Engine.DEFAULT_VOLUME), in createFromParamsBundle()
[all …]
DTtsEngines.java33 import android.speech.tts.TextToSpeech.Engine;
141 Intent intent = new Intent(Engine.INTENT_ACTION_TTS_SERVICE); in getEngineInfo()
163 Intent intent = new Intent(Engine.INTENT_ACTION_TTS_SERVICE); in getEngines()
203 Intent intent = new Intent(Engine.INTENT_ACTION_TTS_SERVICE); in getSettingsIntent()
236 parser = si.loadXmlMetaData(pm, TextToSpeech.Engine.SERVICE_META_DATA); in settingsActivityFromServiceInfo()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DMockableCheckVoiceData.java41 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL, returnVal); in onCreate()
46 returnVal.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES, in onCreate()
50 returnVal.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES, in onCreate()
54 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, returnVal); in onCreate()
/frameworks/base/tests/Internal/src/stub/
DDummyWallpaperService.java26 public Engine onCreateEngine() { in onCreateEngine()
27 return new Engine(); in onCreateEngine()
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/utils/
DTestWallpaperService.java26 public Engine onCreateEngine() { in onCreateEngine()
27 return new Engine(); in onCreateEngine()
/frameworks/base/services/tests/servicestests/src/com/android/server/wallpaper/
DWallpaperServiceTests.java59 public Engine onCreateEngine() { in testNotifyColorsChanged_rateLimit()
60 return new WallpaperService.Engine(clockFunction, handler) { in testNotifyColorsChanged_rateLimit()
69 WallpaperService.Engine engine = service.onCreateEngine(); in testNotifyColorsChanged_rateLimit()
/frameworks/av/services/audiopolicy/engineconfigurable/include/
DAudioPolicyEngineInstance.h25 class Engine; variable
59 Engine *getEngine() const;
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DNetworkTimeUpdateServiceTest.java34 import com.android.server.timedetector.NetworkTimeUpdateService.Engine.RefreshCallbacks;
70 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_nullNetwork()
91 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_success()
128 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_failThenFailRepeatedly()
171 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_successThenFailRepeatedly()
251 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_successThenFail_tryAgainTimesZero()
326 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_successThenFail_tryAgainTimesNegative()
402 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_successFailSuccess()
508 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_noRefreshIfLatestIsFresh()
550 NetworkTimeUpdateService.Engine engine = new NetworkTimeUpdateService.EngineImpl( in engineImpl_refreshAndRescheduleIfRequired_failureHandlingAfterLatestIsTooOld()
[all …]
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/
DLiveWallpaper.kt141 override fun onCreateEngine(): Engine { in getWallpaperEngine()
185 private var wallpaperServiceEngine: WallpaperService.Engine? = null
223 internal fun setServiceEngineReference(wallpaperServiceEngine: WallpaperService.Engine) { in setServiceEngineReference()
236 private inner class LiveWallpaperEngineWrapper : WallpaperService.Engine() {
/frameworks/av/services/audiopolicy/engineconfigurable/sepolicy/
Dfile.te1 # Policy Engine remote connection for runtime debug of parameter framework
/frameworks/base/services/core/java/com/android/server/timedetector/
DNetworkTimeUpdateService.java77 private final Engine.RefreshCallbacks mRefreshCallbacks;
78 private final Engine mEngine;
108 mRefreshCallbacks = new Engine.RefreshCallbacks() { in NetworkTimeUpdateService()
301 interface Engine { interface in NetworkTimeUpdateService
330 static class EngineImpl implements Engine {
/frameworks/wilhelm/tools/mphtogen/
Dmphtogen.c57 _(Engine) in main()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DREADME.md1 Configurable Policy Engine Example
/frameworks/av/services/audiopolicy/enginedefault/
DAndroid.bp14 "src/Engine.cpp",
/frameworks/av/services/audiopolicy/engineconfigurable/
DAndroid.bp21 "src/Engine.cpp",
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java49 public Engine onCreateEngine() { in onCreateEngine()
53 class ClockEngine extends Engine {
/frameworks/av/services/audiopolicy/enginedefault/config/example/
DAndroid.bp17 // Import this namespace in order to use AOSP Phone with Default Engine configuration example

123