Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brandall76/Saiy-PS
/ functions
Functions
2,679 in github.com/brandall76/Saiy-PS
⨍
Functions
2,679
◇
Types & classes
397
↓ 5 callers
Method
getParentActivity
Utility to return the parent activity neatly cast. No need for instanceOf as this fragment helper will never be attached to another activity. @return
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentCustomisationHelper.java:234
↓ 5 callers
Method
getPingCheck
Get the user's preference for pinging the network prior to making a request. @param ctx the application context @return true if the network should be
app/src/main/java/ai/saiy/android/utils/SPH.java:1514
↓ 5 callers
Method
getPlaintext
()
app/src/main/java/ai/saiy/android/cognitive/knowledge/provider/wolframalpha/parse/SubPod.java:57
↓ 5 callers
Method
getRequestTime
Get the time the remote request was made @return the EPOCH time the request was made
app/src/main/java/ai/saiy/android/api/helper/BlackList.java:82
↓ 5 callers
Method
getRowId
()
app/src/main/java/ai/saiy/android/cache/speech/SpeechCacheResult.java:41
↓ 5 callers
Method
getSaiySoundPool
Get the initialised {@link SaiySoundPool} object @return the {@link SaiySoundPool}
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2622
↓ 5 callers
Method
getSupportedLanguage
()
app/src/main/java/ai/saiy/android/nlu/NLUCoerce.java:644
↓ 5 callers
Method
getTTSLocale
Get the Text to Speech Locale @param ctx the application context @return the Text to Speech {@link Locale}
app/src/main/java/ai/saiy/android/command/helper/CommandRequest.java:80
↓ 5 callers
Method
getText
()
app/src/main/java/ai/saiy/android/command/translate/CommandTranslateValues.java:96
↓ 5 callers
Method
getType
()
app/src/main/java/ai/saiy/android/cognitive/motion/provider/google/Motion.java:42
↓ 5 callers
Method
getUtterance
Get the utterance to speak, either from the remote request or the {@link Bundle} of instructions @return the utterance to speak
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2114
↓ 5 callers
Method
getVibrateCondition
Get the user's preferred vibration condition @param ctx the application context @return true if the user requires haptic feedback
app/src/main/java/ai/saiy/android/utils/SPH.java:1414
↓ 5 callers
Method
isAvailable
()
app/src/main/java/ai/saiy/android/audio/RecognitionMic.java:117
↓ 5 callers
Method
isListening
Check if the recognition is currently in use @return true if the state is SPEAKING or PROCESSING
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:448
↓ 5 callers
Method
isNetworkAvailable
(final Context ctx)
app/src/main/java/ai/saiy/android/utils/Conditions/Network.java:73
↓ 5 callers
Method
isRecording
()
app/src/main/java/ai/saiy/android/audio/RecognitionMic.java:113
↓ 5 callers
Method
onDone
(final String utteranceId)
app/src/main/java/ai/saiy/android/service/SelfAware.java:1956
↓ 5 callers
Method
onError
Report an error to the {@link SaiyHotwordListener} @param errorCode of the problem
app/src/main/java/ai/saiy/android/recognition/provider/sphinx/RecognitionSphinx.java:208
↓ 5 callers
Method
releaseVoiceEngine
We don't need the voice engine any more. The surrounding try catch blocks may seem like noob overkill, but based on crash reports they safely handle m
app/src/main/java/ai/saiy/android/service/SelfAware.java:2157
↓ 5 callers
Method
restartHotword
Check if the hotword detection should restart @return true if the detection should restart, false otherwise
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2146
↓ 5 callers
Method
setCondition
Set any required additional condition @param condition the {@link Condition} constant
app/src/main/java/ai/saiy/android/processing/Outcome.java:60
↓ 5 callers
Method
setDefaultTTSVoice
Set the serialised string of the user's default Text to Speech Voice which has been coerced into a {@link android.speech.tts.Voice} object using {@lin
app/src/main/java/ai/saiy/android/utils/SPH.java:864
↓ 5 callers
Method
setDescription
(final String description)
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/AnalysisResult.java:61
↓ 5 callers
Method
setMicListener
(@NonNull final IMic iMic)
app/src/main/java/ai/saiy/android/audio/RecognitionMic.java:101
↓ 5 callers
Method
setVoice
(final Voice voice)
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:1090
↓ 5 callers
Method
speak
Process a Text to Speech utterance request, considering API versions, sound effects, silence and other possibilities. @param text the utteranc
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:195
↓ 5 callers
Method
startHotwordDetection
Called to start the hotword detection. @param bundle of instructions
app/src/main/java/ai/saiy/android/service/SelfAware.java:371
↓ 5 callers
Method
startService
Start the {@link SelfAware} service @param ctx the application context
app/src/main/java/ai/saiy/android/service/helper/SelfAwareHelper.java:826
↓ 5 callers
Method
unpack
(@NonNull final NLUWit nluWit)
app/src/main/java/ai/saiy/android/nlu/wit/ResolveWit.java:61
↓ 4 callers
Method
addLength
Add information from the buffer @param buffer the audio buffer @param bufferReadResult the previous read result
app/src/main/java/ai/saiy/android/audio/pause/PauseDetector.java:105
↓ 4 callers
Method
begin
Start the pause detection
app/src/main/java/ai/saiy/android/audio/pause/PauseDetector.java:95
↓ 4 callers
Method
deleteEntry
Delete a given entry @param rowId the row identifier @return true if the deletion was successful
app/src/main/java/ai/saiy/android/database/DBSpeech.java:218
↓ 4 callers
Method
execute
Get the Bing OAuth refresh token and store in {@link BingCredentials} @param ctx the application context @param synchronous whether or not th
app/src/main/java/ai/saiy/android/command/translate/provider/bing/BingOAuth.java:74
↓ 4 callers
Method
getAlgorithm
()
app/src/main/java/ai/saiy/android/nlu/local/AlgorithmicContainer.java:54
↓ 4 callers
Method
getBufferSize
()
app/src/main/java/ai/saiy/android/audio/SaiyRecorder.java:182
↓ 4 callers
Method
getBytes
Get the compressed audio @param initEngine the initialised {@link android.speech.tts.TextToSpeech} package name @param voice the {@link android.
app/src/main/java/ai/saiy/android/database/DBSpeech.java:386
↓ 4 callers
Method
getClipboardContentPair
Static method to get the primary clipboard content, or the relevant error string. @param ctx the application context @return the clipboard content or
app/src/main/java/ai/saiy/android/command/clipboard/ClipboardHelper.java:184
↓ 4 callers
Method
getCondition
()
app/src/main/java/ai/saiy/android/memory/Memory.java:81
↓ 4 callers
Method
getCount
()
app/src/main/java/ai/saiy/android/cognitive/knowledge/provider/wolframalpha/parse/Infos.java:48
↓ 4 callers
Method
getDefaultLanguageModel
Get the default Language Model @param ctx the application context @return the default language model
app/src/main/java/ai/saiy/android/utils/SPH.java:198
↓ 4 callers
Method
getDefaultTranslationProvider
Get the default translation provider @param ctx the application context @return the default translation provider
app/src/main/java/ai/saiy/android/utils/SPH.java:878
↓ 4 callers
Method
getDuration
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/Result.java:55
↓ 4 callers
Method
getEntities
()
app/src/main/java/ai/saiy/android/nlu/wit/NLUWit.java:54
↓ 4 callers
Method
getEventType
Check the event type for debugging @param eventType the Accessibility event type @return the Accessibility event type
app/src/main/java/ai/saiy/android/accessibility/SaiyAccessibilityService.java:952
↓ 4 callers
Method
getExpires
()
app/src/main/java/ai/saiy/android/command/translate/provider/bing/BingCredentials.java:48
↓ 4 callers
Method
getHandler
()
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2517
↓ 4 callers
Method
getId
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/Secondary.java:40
↓ 4 callers
Method
getInput
()
app/src/main/java/ai/saiy/android/nlu/local/AlgorithmicContainer.java:46
↓ 4 callers
Method
getIntents
()
app/src/main/java/ai/saiy/android/nlu/saiy/NLUSaiy.java:51
↓ 4 callers
Method
getInterceptGoogle
Get the user's preference for intercepting the Google Now commands. @param ctx the application context @return true if Google Now commands should be
app/src/main/java/ai/saiy/android/utils/SPH.java:1464
↓ 4 callers
Method
getIntro
Gets a random or user defined intro @param ctx the application context @return intro utterance
app/src/main/java/ai/saiy/android/personality/PersonalityHelper.java:61
↓ 4 callers
Method
getItemType
()
app/src/main/java/ai/saiy/android/tts/sound/SoundEffectItem.java:55
↓ 4 callers
Method
getMaxUtteranceLength
Limit of length of input string passed to speak and synthesizeToFile. @see #speak @see #synthesizeToFile
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:823
↓ 4 callers
Method
getModeOne
(final String[] stringArray)
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/AnalysisResultHelper.java:187
↓ 4 callers
Method
getModeThree
(final String[] stringArray)
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/AnalysisResultHelper.java:201
↓ 4 callers
Method
getNavIdFromTag
Get the navigation id corresponding to the Fragment's tag @param tag of the Fragment @return the navigation id
app/src/main/java/ai/saiy/android/ui/activity/ActivityHome.java:866
↓ 4 callers
Method
getNoNetwork
Get the standard no network connection response, adding the user's name if defined. @param ctx the application context @param sl the {@link Supporte
app/src/main/java/ai/saiy/android/personality/PersonalityResponse.java:369
↓ 4 callers
Method
getOkayGoogleFix
Get whether the hotword should use a workaround @param ctx the application context @return true as the default, or false if the user has disabled thi
app/src/main/java/ai/saiy/android/utils/SPH.java:1864
↓ 4 callers
Method
getPackageName
Get the package name of the remote caller @return the remote package name
app/src/main/java/ai/saiy/android/api/helper/BlackList.java:73
↓ 4 callers
Method
getParentActivity
Utility to return the parent activity neatly cast. No need for instanceOf as this fragment will never be attached to another activity. @return the {@
app/src/main/java/ai/saiy/android/ui/fragment/FragmentBugs.java:307
↓ 4 callers
Method
getParentActivity
Utility to return the parent activity neatly cast. No need for instanceOf as this fragment helper will never be attached to another activity. @return
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentHomeHelper.java:217
↓ 4 callers
Method
getQubit
Get the values to be used in {@link Quantum#onPostExecute(Qubit)} @return the values
app/src/main/java/ai/saiy/android/processing/Outcome.java:134
↓ 4 callers
Method
getQueueType
Get the Text to Speech queue type @return one of {@link TextToSpeech#QUEUE_ADD} or {@link TextToSpeech#QUEUE_FLUSH}
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:484
↓ 4 callers
Method
getRecogniserBusyFix
Get whether the recogniser should use a workaround @param ctx the application context @return true as the default, or false if the user has disabled
app/src/main/java/ai/saiy/android/utils/SPH.java:1839
↓ 4 callers
Method
getRefreshToken
()
app/src/main/java/ai/saiy/android/command/translate/provider/bing/BingCredentials.java:63
↓ 4 callers
Method
getResponseSuccess
()
app/src/main/java/ai/saiy/android/custom/CustomCommand.java:150
↓ 4 callers
Method
getResultsArray
()
app/src/main/java/ai/saiy/android/nlu/NLUCoerce.java:648
↓ 4 callers
Method
getSecureErrorResponse
Get the secure error response. @param ctx the application context @param sl the {@link SupportedLanguage} @return the required response
app/src/main/java/ai/saiy/android/personality/PersonalityResponse.java:446
↓ 4 callers
Method
getStartAtBoot
Check if the {@link SelfAware} should start at boot @param ctx the application context @return true if the {@link SelfAware} should start at boot, fa
app/src/main/java/ai/saiy/android/utils/SPH.java:1191
↓ 4 callers
Method
getSubPods
()
app/src/main/java/ai/saiy/android/cognitive/knowledge/provider/wolframalpha/parse/Pod.java:151
↓ 4 callers
Method
getToastContent
()
app/src/main/java/ai/saiy/android/processing/EntangledPair.java:55
↓ 4 callers
Method
getToastUnknown
Get whether or not to toast unknown commands. @param ctx the application context @return true if commands should be toasted, false otherwise
app/src/main/java/ai/saiy/android/utils/SPH.java:1116
↓ 4 callers
Method
getUseOffline
Get the user's preference for offline voice recognition. @param ctx the application context @return true if offline recognition is preferred
app/src/main/java/ai/saiy/android/utils/SPH.java:1639
↓ 4 callers
Method
getUtterance
Get the speech utterance from the request @return the {@link String} utterance or the default of {@link SaiyRequestParams#SILENCE}
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:371
↓ 4 callers
Method
getVoice
()
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:924
↓ 4 callers
Method
hasDetected
Check if a pause has been detected
app/src/main/java/ai/saiy/android/audio/pause/PauseDetector.java:129
↓ 4 callers
Method
initialise
Initialise the Voice Recorder @return The audio record initialisation state.
app/src/main/java/ai/saiy/android/audio/SaiyRecorder.java:111
↓ 4 callers
Method
intentToCC
Compare the literal intent String name and match it to one of the {@link CC} constants @param name of the intent @return the corresponding {@link CC}
app/src/main/java/ai/saiy/android/nlu/NLUConstants.java:91
↓ 4 callers
Method
isClipboard
See if the command required the translation to be from the current clipboard content @param utterance the utterance @return true if the translation i
app/src/main/java/ai/saiy/android/command/clipboard/ClipboardHelper.java:234
↓ 4 callers
Method
monitor
Monitor the audio data
app/src/main/java/ai/saiy/android/audio/pause/PauseDetector.java:136
↓ 4 callers
Method
newInstance
(@Nullable final Bundle args)
app/src/main/java/ai/saiy/android/ui/fragment/FragmentSettings.java:62
↓ 4 callers
Method
onBufferReceived
(final int bufferReadResult, final byte[] buffer)
app/src/main/java/ai/saiy/android/audio/IMic.java:26
↓ 4 callers
Method
onComplete
()
app/src/main/java/ai/saiy/android/recognition/SaiyRecognitionListener.java:173
↓ 4 callers
Method
onError
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/BeyondVerbal.java:117
↓ 4 callers
Method
onPartialResults
Called when partial recognition results are available. The callback might be called at any time between {@link #onBeginningOfSpeech()} and {@link #onR
app/src/main/java/ai/saiy/android/recognition/SaiyRecognitionListener.java:189
↓ 4 callers
Method
releaseRecognition
Release the native voice recognition service
app/src/main/java/ai/saiy/android/service/SelfAware.java:2206
↓ 4 callers
Method
resolveSuccess
Convert the responses of {@link #LANG_COUNTRY_AVAILABLE} {@link #LANG_AVAILABLE} {@link #LANG_COUNTRY_VAR_AVAILABLE} {@link #LANG_MISSING_DATA} {@link
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:1965
↓ 4 callers
Method
restartStatusMonitor
Restart the status monitor for {@link SelfAwareConditions#getHandler()}
app/src/main/java/ai/saiy/android/service/SelfAware.java:2293
↓ 4 callers
Method
returnOutcome
A single point of return to check the elapsed time in debugging. @param outcome the constructed {@link Outcome} @return the constructed {@link Outcom
app/src/main/java/ai/saiy/android/command/translate/CommandTranslate.java:105
↓ 4 callers
Method
returnOutcome
A single point of return to check the elapsed time for debugging. @param outcome the constructed {@link Outcome} @return the constructed {@link Outco
app/src/main/java/ai/saiy/android/command/wolframalpha/CommandWolframAlpha.java:152
↓ 4 callers
Method
setAction
(final int action)
app/src/main/java/ai/saiy/android/command/helper/CommandRequest.java:227
↓ 4 callers
Method
setCommandUnknownAction
Set the user default action for an unknown command @param ctx the application context @param action to set
app/src/main/java/ai/saiy/android/utils/SPH.java:1686
↓ 4 callers
Method
setLanguage
(@NonNull final String language)
app/src/main/java/ai/saiy/android/command/translate/CommandTranslateValues.java:84
↓ 4 callers
Method
setName
(@NonNull final String name)
app/src/main/java/ai/saiy/android/command/username/CommandUserNameValues.java:46
↓ 4 callers
Method
setQuestion
(@NonNull final String question)
app/src/main/java/ai/saiy/android/command/wolframalpha/CommandWolframAlphaValues.java:47
↓ 4 callers
Method
setResultsArray
Set the array of voice data @param resultsArray the array of voice data
app/src/main/java/ai/saiy/android/command/helper/CommandRequest.java:150
↓ 4 callers
Method
setTaskName
(@NonNull final String taskName)
app/src/main/java/ai/saiy/android/command/tasker/CommandTaskerValues.java:47
↓ 4 callers
Method
setText
(@NonNull final String text)
app/src/main/java/ai/saiy/android/command/spell/CommandSpellValues.java:61
↓ 4 callers
Method
setText
(@NonNull final String text)
app/src/main/java/ai/saiy/android/command/translate/CommandTranslateValues.java:92
↓ 4 callers
Method
setTranslatedText
(@NonNull final String translatedText)
app/src/main/java/ai/saiy/android/processing/Qubit.java:48
← previous
next →
301–400 of 2,679, ranked by callers