MCPcopy Create free account

hub / github.com/brandall76/Saiy-PS / functions

Functions2,679 in github.com/brandall76/Saiy-PS

↓ 2,472 callersMethodi
(@NonNull final String clsName, @NonNull final String message)
app/src/main/java/ai/saiy/android/utils/MyLog.java:55
↓ 811 callersMethodw
(@NonNull final String clsName, @NonNull final String message)
app/src/main/java/ai/saiy/android/utils/MyLog.java:59
↓ 596 callersMethodgetString
Get a localised string @param resourceId of the string @return the string
app/src/main/java/ai/saiy/android/localisation/SaiyResources.java:121
↓ 281 callersMethodget
(final Object key)
app/src/main/java/ai/saiy/android/service/helper/SelfAwareParameters.java:326
↓ 263 callersMethodgetString
(final int id)
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentAboutHelper.java:326
↓ 210 callersMethode
(@NonNull final String clsName, @NonNull final String message)
app/src/main/java/ai/saiy/android/utils/MyLog.java:63
↓ 198 callersMethodgetApplicationContext
Utility method to ensure we double check the context being used. @return the application context
app/src/main/java/ai/saiy/android/ui/fragment/FragmentHome.java:245
↓ 190 callersMethodsize
()
app/src/main/java/ai/saiy/android/user/SaiyAccountList.java:40
↓ 156 callersMethodnotNaked
Utility method to check if a string is null or empty. Purely to prevent clutter wherever such as check is needed. @param toCheck the input String @re
app/src/main/java/ai/saiy/android/utils/UtilsString.java:81
↓ 150 callersMethodv
(@NonNull final String clsName, @NonNull final String message)
app/src/main/java/ai/saiy/android/utils/MyLog.java:51
↓ 134 callersMethodgetPref
For convenience @param ctx the application context @return the {@link SharedPreferences} object
app/src/main/java/ai/saiy/android/utils/SPH.java:149
↓ 113 callersMethodnotNaked
(@Nullable final List<?> array)
app/src/main/java/ai/saiy/android/utils/UtilsList.java:30
↓ 111 callersMethodresolveBody
Strip out all but the required command and prepare the strings to use @param ctx the application context @param utterance the utterance @param
app/src/main/java/ai/saiy/android/command/translate/Translate.java:138
↓ 104 callersMethodgetElapsed
Method to time the completion of code sections. @param clsName the class name identifier @param then the start time @return the elapsed time in mi
app/src/main/java/ai/saiy/android/utils/MyLog.java:74
↓ 99 callersMethodtoString
()
app/src/main/java/ai/saiy/android/tts/helper/SaiyVoice.java:131
↓ 88 callersMethodd
(@NonNull final String clsName, @NonNull final String message)
app/src/main/java/ai/saiy/android/utils/MyLog.java:47
↓ 77 callersMethodputString
(@NonNull final String key, @NonNull final String value)
app/src/main/java/ai/saiy/android/service/helper/SelfAwareParameters21.java:78
↓ 67 callersMethodgetEditor
For convenience @param pref {@link SharedPreferences} object @return the {@link android.content.SharedPreferences.Editor} object
app/src/main/java/ai/saiy/android/utils/SPH.java:159
↓ 66 callersMethodgetParcel
Get the request parcel sent via IPC @return the {@link RequestParcel}
app/src/main/java/ai/saiy/android/api/helper/Callback.java:84
↓ 66 callersMethodsetOutcome
Set the outcome of the command processing @param outcome one of {@link #SUCCESS} or {@link #FAILURE}
app/src/main/java/ai/saiy/android/processing/Outcome.java:89
↓ 60 callersMethodsetUtterance
Set the utterance to be spoken @param utterance to be spoken
app/src/main/java/ai/saiy/android/processing/Outcome.java:143
↓ 59 callersMethodgetParent
Utility method to return the parent fragment this helper is helping. @return the parent fragment
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentSettingsHelper.java:607
↓ 58 callersMethodsetResolved
(final boolean resolved)
app/src/main/java/ai/saiy/android/command/helper/CommandRequest.java:176
↓ 54 callersMethodgetContext
()
app/src/main/java/ai/saiy/android/nlu/NLUCoerce.java:652
↓ 54 callersMethodsetIconExtra
(final int iconExtra)
app/src/main/java/ai/saiy/android/ui/containers/ContainerUI.java:84
↓ 53 callersMethodsetState
Set the global state of recognition
app/src/main/java/ai/saiy/android/recognition/Recognition.java:48
↓ 52 callersMethodgetScore
()
app/src/main/java/ai/saiy/android/nlu/microsoft/Intent.java:45
↓ 51 callersMethodsetTitle
(@NonNull final String title)
app/src/main/java/ai/saiy/android/ui/containers/ContainerUI.java:60
↓ 48 callersMethodexecute
Start the service connection
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:109
↓ 47 callersMethodgetStringResource
Get the XML resource String for the {@link SupportedLanguage} which will handle any necessary variation. @param ctx the application context @par
app/src/main/java/ai/saiy/android/localisation/SaiyResourcesHelper.java:57
↓ 46 callersMethodgetCallback
Get the current {@link Callback} @return the current {@link Callback}
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:1000
↓ 45 callersMethodmanageCallback
An event has occurred that may require a callback to a remote listener. Check the existence of such and remove the callback as done if required. @par
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:1103
↓ 45 callersMethodsetAction
Set the action the outcome needs to apply @param action one of {@link LocalRequest#ACTION_SPEAK_ONLY} or {@link LocalRequest#ACTION_SPE
app/src/main/java/ai/saiy/android/processing/Outcome.java:80
↓ 44 callersMethodsetIconMain
(final int iconMain)
app/src/main/java/ai/saiy/android/ui/containers/ContainerUI.java:76
↓ 44 callersMethodsetSubtitle
(@NonNull final String subtitle)
app/src/main/java/ai/saiy/android/ui/containers/ContainerUI.java:68
↓ 40 callersMethodtoString
Returns the String representation of this language. @return The String representation of this language.
app/src/main/java/ai/saiy/android/command/translate/provider/google/TranslationLanguageGoogle.java:182
↓ 39 callersMethodonError
(final int error)
app/src/main/java/ai/saiy/android/audio/IMic.java:28
↓ 38 callersMethodputInt
(@NonNull final String key, final int value)
app/src/main/java/ai/saiy/android/service/helper/SelfAwareParameters21.java:73
↓ 37 callersMethodgetUserNameOrNot
Gets the name of the user to include in speech 50% of the time. @param ctx the application context @return the name of the user or an empty string
app/src/main/java/ai/saiy/android/personality/PersonalityHelper.java:71
↓ 36 callersMethodgetParent
Utility method to return the parent fragment this helper is helping. @return the parent fragment
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentSuperuserHelper.java:915
↓ 36 callersMethodsetUtterance
(@NonNull final String utterance)
app/src/main/java/ai/saiy/android/command/helper/CommandRequest.java:219
↓ 35 callersMethodgetLocale
Get the {@link Locale} of the Bing language @return the {@link Locale}
app/src/main/java/ai/saiy/android/command/translate/provider/bing/TranslationLanguageBing.java:114
↓ 35 callersMethodgetName
()
app/src/main/java/ai/saiy/android/nlu/saiy/Entity.java:67
↓ 34 callersMethodgetLocale
Get the {@link Locale} @return the Locale
app/src/main/java/ai/saiy/android/localisation/SupportedLanguage.java:119
↓ 34 callersMethodgetPackageName
Get the package name of the remote application @return the package name
app/src/main/java/ai/saiy/android/api/helper/Callback.java:66
↓ 33 callersMethodgetKeyphrase
()
app/src/main/java/ai/saiy/android/custom/CustomCommand.java:142
↓ 32 callersMethodgetArrayResource
Get the XML resource array for the {@link SupportedLanguage} which will handle and necessary variation. @param ctx the application context @para
app/src/main/java/ai/saiy/android/localisation/SaiyResourcesHelper.java:40
↓ 32 callersMethodsetText
(final String text)
app/src/main/java/ai/saiy/android/tts/sound/SoundEffectItem.java:51
↓ 31 callersMethodexecute
Action the intent
app/src/main/java/ai/saiy/android/error/Issue.java:81
↓ 31 callersMethodgetVRLocale
Get the default {@link Locale} of the voice recognition @param ctx the application context @return the default {@link Locale} of the recognition
app/src/main/java/ai/saiy/android/utils/SPH.java:1291
↓ 31 callersMethodstart
Start monitoring the foreground application to see if/when the user leaves Google Now. Once they do, the hotword detection can restart. A time limit t
app/src/main/java/ai/saiy/android/recognition/helper/GoogleNowMonitor.java:55
↓ 30 callersMethodclose
()
app/src/main/java/ai/saiy/android/database/DBSpeech.java:114
↓ 30 callersMethodgetBundle
Get the instruction {@link Bundle} @return the instruction {@link Bundle}
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2189
↓ 29 callersMethodputBoolean
(@NonNull final String key, final boolean value)
app/src/main/java/ai/saiy/android/service/helper/SelfAwareParameters21.java:58
↓ 28 callersMethodgetApplicationContext
Utility method to ensure we double check the context being used. @return the application context
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentSuperuserHelper.java:895
↓ 26 callersMethodgetState
Get the global state of recognition
app/src/main/java/ai/saiy/android/recognition/Recognition.java:74
↓ 26 callersMethodgetString
(final int id)
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentAdvancedSettingsHelper.java:550
↓ 26 callersMethodtoString
()
app/src/main/java/ai/saiy/android/algorithms/needlemanwunch/simmetrics/NeedlemanWunch.java:158
↓ 25 callersMethodgetTTSLocale
Get the default {@link Locale} of the Text to Speech engine @param ctx the application context @return the default {@link Locale} of the engine
app/src/main/java/ai/saiy/android/utils/SPH.java:1316
↓ 25 callersMethodremoveRunnableCallback
Remove callbacks associated with the {@link Runnable} @param runnable that callbacks should be removed from, or null if all should be removed.
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2526
↓ 25 callersMethodstop
Stops playing the audio data. When used on an instance created in {@link #MODE_STREAM} mode, audio will stop playing after the last buffer that was wr
app/src/main/java/ai/saiy/android/audio/SaiyAudioTrack.java:107
↓ 25 callersMethodstopListening
Stop the recognition currently in use @param shutdown true if the hotword detection should be permanently shutdown
app/src/main/java/ai/saiy/android/service/SelfAware.java:638
↓ 25 callersMethodstringToLocale
Utility method to convert a string to a {@link Locale}. If this process fails, the best possible format will be returned. @param stringLocale the str
app/src/main/java/ai/saiy/android/utils/UtilsLocale.java:57
↓ 25 callersMethodstripNameSpace
Remove any spaces before punctuation, left by a response failing to add in the user's name. @param input the input String @return the stripped string
app/src/main/java/ai/saiy/android/utils/UtilsString.java:91
↓ 24 callersMethodgetGenericMatch
()
app/src/main/java/ai/saiy/android/nlu/local/AlgorithmicContainer.java:70
↓ 24 callersMethodgetStringArray
Get a localised string array @param resourceId of the string array @return the string array
app/src/main/java/ai/saiy/android/localisation/SaiyResources.java:100
↓ 24 callersMethodonError
(final Exception ex)
app/src/main/java/ai/saiy/android/recognition/provider/bluemix/IWebSocketCallback.java:34
↓ 24 callersMethodreset
Must be called once no further localised resources are required. If it is not, {@link Build.VERSION_CODES#JELLY_BEAN_MR1} devices will have their glob
app/src/main/java/ai/saiy/android/localisation/SaiyResources.java:73
↓ 24 callersMethodsetUtterance
Set the utterance inside the instruction {@link Bundle} @param utterance to set
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:362
↓ 24 callersMethodsetVariableData
(@NonNull final Object variableData)
app/src/main/java/ai/saiy/android/nlu/local/AlgorithmicContainer.java:90
↓ 23 callersMethodgetLanguage
()
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:867
↓ 23 callersMethodservingRemote
At present, only one remote callback at a time will be allowed to register. This might seem sensible given the nature of the interaction, but when oth
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:361
↓ 22 callersMethodgetApplicationContext
Utility method to ensure we double check the context being used. @return the application context
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentAdvancedSettingsHelper.java:559
↓ 22 callersMethodgetBundle
Get the {@link Bundle} of instructions @return the {@link Bundle} of instructions
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:446
↓ 21 callersMethodremove
Loop through the voice data, removing any occurrences that contain the filtered profanity. @return the remaining entries
app/src/main/java/ai/saiy/android/nlu/local/Profanity.java:93
↓ 20 callersMethodgetInitialisedEngine
Get the previously initialised TTS Engine package name. If it doesn't match the user's default we need to reinitialise the Engine. @return the packag
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:1683
↓ 20 callersMethodgetIntent
()
app/src/main/java/ai/saiy/android/nlu/saiy/Intent.java:55
↓ 20 callersMethodgetMicListener
()
app/src/main/java/ai/saiy/android/audio/RecognitionMic.java:105
↓ 20 callersMethodgetParent
Utility method to return the parent fragment this helper is helping. @return the parent fragment
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentHomeHelper.java:226
↓ 20 callersMethodshowToast
Show an error toast on the main thread. @param toastWords the String to toast @param length one of {@link Toast#LENGTH_LONG} or {@link Toast#LENG
app/src/main/java/ai/saiy/android/service/helper/SelfAwareHelper.java:1020
↓ 19 callersMethodgetApplicationContext
Utility method to ensure we double check the context being used. @return the application context
app/src/main/java/ai/saiy/android/ui/fragment/FragmentSuperUser.java:252
↓ 19 callersMethodgetType
()
app/src/main/java/ai/saiy/android/nlu/microsoft/Entity.java:69
↓ 18 callersMethodclear
()
app/src/main/java/ai/saiy/android/service/helper/SelfAwareParameters.java:344
↓ 18 callersMethodgetValue
()
app/src/main/java/ai/saiy/android/nlu/saiy/Entity.java:71
↓ 18 callersMethodsetCC
(CC cc)
app/src/main/java/ai/saiy/android/command/helper/CommandRequest.java:114
↓ 18 callersMethodtoast
Utility method to toast making sure it's on the main thread @param text to toast @param length one of {@link Toast#LENGTH_SHORT} {@link Toast#LENGT
app/src/main/java/ai/saiy/android/ui/activity/ActivityHome.java:951
↓ 16 callersMethodgetApplicationContext
Utility method to ensure we double check the context being used. @return the application context
app/src/main/java/ai/saiy/android/ui/fragment/FragmentAdvancedSettings.java:220
↓ 16 callersMethodgetSupportedLanguage
Get the supported language of the locale or the parent, to use for localised resources. @param userLocale the user's {@link Locale} @return the Suppo
app/src/main/java/ai/saiy/android/localisation/SupportedLanguage.java:210
↓ 16 callersMethodgetText
()
app/src/main/java/ai/saiy/android/nlu/wit/NLUWit.java:62
↓ 16 callersMethodhandleError
Handle errors - TODO - fugly
app/src/main/java/ai/saiy/android/recognition/provider/google/chromium/RecognitionGoogleChromium.java:590
↓ 16 callersMethodsetAction
Set the request action @param action one of {@link #ACTION_SPEAK_ONLY} {@link #ACTION_SPEAK_LISTEN}
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:261
↓ 16 callersMethodshutdown
Shutdown the audio session @param from a String label to identify the source of the request. Useful for logging only.
app/src/main/java/ai/saiy/android/audio/SaiyRecorder.java:228
↓ 16 callersMethodsort
Strip out all but the required command and prepare the strings to use @param voiceData ArrayList<String> of voice data @return only the voice data as
app/src/main/java/ai/saiy/android/command/spell/Spell.java:107
↓ 15 callersMethodaudioShutdown
Shutdown the microphone and release the resources
app/src/main/java/ai/saiy/android/recognition/provider/google/chromium/RecognitionGoogleChromium.java:653
↓ 15 callersMethodgetAccountId
()
app/src/main/java/ai/saiy/android/user/SaiyAccount.java:125
↓ 15 callersMethodgetCC
()
app/src/main/java/ai/saiy/android/processing/EntangledPair.java:43
↓ 15 callersMethodgetIndex
()
app/src/main/java/ai/saiy/android/nlu/saiy/Entity.java:63
↓ 15 callersMethodgetParent
Utility method to return the parent fragment this helper is helping. @return the parent fragment
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentBugsHelper.java:231
↓ 15 callersMethodgetParentActivity
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/FragmentSuperuserHelper.java:906
↓ 15 callersMethodgetService
()
app/src/main/java/ai/saiy/android/service/SelfAware.java:169
next →1–100 of 2,679, ranked by callers