MCPcopy Create free account

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

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

↓ 3 callersMethodsetShutdownHotword
Set that the hotword detection should shutdown
app/src/main/java/ai/saiy/android/service/helper/LocalRequest.java:387
↓ 3 callersMethodsetTTSLocale
Get the custom Text to Speech {@link Locale} @param locale to set
app/src/main/java/ai/saiy/android/processing/Outcome.java:170
↓ 3 callersMethodsetVoice
Set the language of the Voice Engine if required @param tts the {@link SaiyTextToSpeech} instance
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:1494
↓ 3 callersMethodsortBattery
Static method. <p> Iterate through the voice data array and return an element of the highest confidence match. @param ctx the application conte
app/src/main/java/ai/saiy/android/command/battery/Battery_en.java:157
↓ 3 callersMethodsortSpell
Static method. <p> Iterate through the voice data array to return only the voice data associated with the required command. @param ctx the appl
app/src/main/java/ai/saiy/android/command/spell/Spell_en.java:153
↓ 3 callersMethodsortTasker
Static method. <p> Iterate through the voice data array to return only the voice data associated with the required command. @param ctx the appl
app/src/main/java/ai/saiy/android/command/tasker/Tasker_en.java:153
↓ 3 callersMethodsortUserName
Static method. <p> Iterate through the voice data array to return only the voice data associated with the required command. @param ctx the appl
app/src/main/java/ai/saiy/android/command/username/UserName_en.java:147
↓ 3 callersMethodsortWolframAlpha
Static method. <p> Iterate through the voice data array to return only the voice data associated with the required command. @param ctx the appl
app/src/main/java/ai/saiy/android/command/wolframalpha/WolframAlpha_en.java:153
↓ 3 callersMethodspeak
Called to initiate speech @param bundle of instructions @param isSpeakListen true if the recognition should begin once the utterance has compl
app/src/main/java/ai/saiy/android/service/SelfAware.java:434
↓ 3 callersMethodstartProvider
A provider is resolved. Attempt to start the provider. <p> If this process fails, it suggests there is a problem with the song recognition application
app/src/main/java/ai/saiy/android/command/songrecognition/CommandSongRecognition.java:177
↓ 3 callersMethodstartSelfAwareIfRequired
Start the SelfAware service if it is not running using the {@link Global} application context. This context is used to prevent, where ever possible, A
app/src/main/java/ai/saiy/android/service/helper/SelfAwareHelper.java:808
↓ 3 callersMethodstartService
Start a service with a given intent @param ctx the application context @param intent the intent to execute @return true if the intent executed cor
app/src/main/java/ai/saiy/android/intent/ExecuteIntent.java:96
↓ 3 callersMethodstop
()
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:1629
↓ 3 callersMethodstream
Start streaming the Microsoft enrollment servers
app/src/main/java/ai/saiy/android/cognitive/identity/provider/microsoft/http/ValidateID.java:107
↓ 3 callersMethodtestCommand
Run a test command input by the user
app/src/main/java/ai/saiy/android/ui/fragment/FragmentBugs.java:254
↓ 2 callersMethodacquireDisplayWakeLock
Acquire a wake lock to turn on the device display for the duration of {@link #SCREEN_WAKE_TIME}
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:2572
↓ 2 callersMethodanalyse
Sort the ArrayList<Integer> to decide on the most probable command. @return the constant command integer {@link CC}
app/src/main/java/ai/saiy/android/nlu/local/FrequencyAnalysis.java:77
↓ 2 callersMethodannounceVRError
(@NonNull final SupportedLanguage sl, @NonNull final Locale vrLocale, @NonNul
app/src/main/java/ai/saiy/android/service/helper/SelfAwareHelper.java:270
↓ 2 callersMethodapply
<p>Find the Levenshtein distance between two Strings.</p> <p/> <p>A higher score indicates a greater distance.</p> <p/> <p>The previous implementation
app/src/main/java/ai/saiy/android/algorithms/distance/levenshtein/LevenshteinDistance.java:117
↓ 2 callersMethodaudioShutdown
Shutdown the microphone and release the resources
app/src/main/java/ai/saiy/android/recognition/provider/remote/RecognitionRemote.java:328
↓ 2 callersMethodaudioShutdown
Shutdown the microphone and release the resources
app/src/main/java/ai/saiy/android/recognition/provider/wit/RecognitionWit.java:355
↓ 2 callersMethodaudioShutdown
Shutdown the microphone and release the resources
app/src/main/java/ai/saiy/android/audio/RecognitionMic.java:313
↓ 2 callersMethodbuildVoice
()
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:2048
↓ 2 callersMethodcalculateBufferSize
Calculate the buffer size. @return the calculated buffer size
app/src/main/java/ai/saiy/android/audio/SaiyRecorder.java:286
↓ 2 callersMethodcancelComputingNotification
Remove the computing notification @param ctx the application context
app/src/main/java/ai/saiy/android/ui/notification/NotificationHelper.java:545
↓ 2 callersMethodcancelListening
Stop the recognition and cancel any pending requests
app/src/main/java/ai/saiy/android/recognition/provider/nuance/RecognitionNuance.java:220
↓ 2 callersMethodcancelListeningNotification
Remove the listening notification @param ctx the application context
app/src/main/java/ai/saiy/android/ui/notification/NotificationHelper.java:300
↓ 2 callersMethodcancelTimer
Cancel the timer, as it's no longer needed.
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentSuperuserHelper.java:866
↓ 2 callersMethodcheckMicrosoftConfig
Check the Microsoft credentials are correctly defined @param parcel the {@link RequestParcel} @return true if the parameters are configured correctly
app/src/main/java/ai/saiy/android/api/helper/Validation.java:604
↓ 2 callersMethodcheckNotNull
Simple check to avoid null pointers prior to resetting. @return if the configuration can be safely reset. False otherwise.
app/src/main/java/ai/saiy/android/localisation/SaiyResources.java:90
↓ 2 callersMethodcheckRemoteConfig
Check the remote credentials are correctly defined @param parcel the {@link RequestParcel} @return true if the parameters are configured correctly.
app/src/main/java/ai/saiy/android/api/helper/Validation.java:529
↓ 2 callersMethodcheckResult
Check the result of the validation request @param statusPair the {@link Pair} with the first parameter denoting success and the sec
app/src/main/java/ai/saiy/android/cognitive/identity/provider/microsoft/http/ValidateID.java:250
↓ 2 callersMethodcheckResult
Check the result of the enrollment request @param statusPair the {@link Pair} with the first parameter denoting success and the sec
app/src/main/java/ai/saiy/android/cognitive/identity/provider/microsoft/http/CreateIDEnrollment.java:246
↓ 2 callersMethodcheckSaiyRemotePermission
Check if the calling application has the correct permission to control Saiy. @return true if the permission has been granted.
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:305
↓ 2 callersMethodcheckUsageStatsPermission
Check if the user has granted the usage stats permission, which must be manually complete via the settings. @param ctx the application context @retur
app/src/main/java/ai/saiy/android/permissions/PermissionHelper.java:244
↓ 2 callersMethodcheckWitConfig
Check the Wit credentials are correctly defined @param parcel the {@link RequestParcel} @return true if the parameters are configured correctly.
app/src/main/java/ai/saiy/android/api/helper/Validation.java:587
↓ 2 callersMethodcloseConnection
()
app/src/main/java/ai/saiy/android/cognitive/knowledge/provider/wolframalpha/WolframAlphaCognitive.java:279
↓ 2 callersMethodcommandPreviousFinalChecked
Check if the previous command/text matches the current text we are considering processing @param text the current text @return true if the text match
app/src/main/java/ai/saiy/android/accessibility/SaiyAccessibilityService.java:713
↓ 2 callersMethodcompare
(final CustomCommandContainer c1, final CustomCommandContainer c2)
app/src/main/java/ai/saiy/android/algorithms/mongeelkan/MongeElkanHelper.java:145
↓ 2 callersMethodcompleteRequest
()
app/src/main/java/ai/saiy/android/service/ServiceConnector.java:198
↓ 2 callersMethoddatabaseExists
Check if the database exists @return true if it exists. False otherwise
app/src/main/java/ai/saiy/android/database/DBCustomCommand.java:124
↓ 2 callersMethoddeleteAccount
Delete a current {@link SaiyAccount} @param ctx the application context @param accountName the account name @param accountId the account id
app/src/main/java/ai/saiy/android/user/SaiyAccountHelper.java:377
↓ 2 callersMethoddeleteRow
Delete a row from the database @param rowID the row identifier
app/src/main/java/ai/saiy/android/database/DBCustomCommand.java:353
↓ 2 callersMethoddestroy
Cancel any future callbacks and disconnect the client.
app/src/main/java/ai/saiy/android/cognitive/motion/provider/google/MotionRecognition.java:168
↓ 2 callersMethoddoFragmentAddTransaction
Helper method to replace the current fragment @param fragment to transact @param tag of the fragment
app/src/main/java/ai/saiy/android/ui/activity/ActivityHome.java:749
↓ 2 callersMethoddoSpeech
Due to misbehaving voice engines, it's often necessary to restart them even if {@link #onInitListener} has returned successfully. This method handles
app/src/main/java/ai/saiy/android/service/SelfAware.java:1229
↓ 2 callersMethodenrollmentFailed
Notify the user that the account creation failed @param accountName the account name
app/src/main/java/ai/saiy/android/ui/fragment/helper/FragmentSuperuserHelper.java:812
↓ 2 callersMethodexamineIntent
For debugging the intent extras @param intent containing potential extras
app/src/main/java/ai/saiy/android/command/custom/CommandCustom.java:286
↓ 2 callersMethodexamineIntent
For debugging the intent extras @param intent containing potential extras
app/src/main/java/ai/saiy/android/broadcast/BRRemote.java:252
↓ 2 callersMethodexecute
Execute the translation request @param ctx the application context @param language the {@link TranslationLanguageBing} @param
app/src/main/java/ai/saiy/android/command/translate/provider/google/GoogleTranslate.java:227
↓ 2 callersMethodexecute
Execute the translation request @param ctx the application context @param language the {@link TranslationLanguageBing} @param
app/src/main/java/ai/saiy/android/command/translate/provider/bing/BingTranslate.java:234
↓ 2 callersMethodexecuteIntent
Execute a given intent @param ctx the application context @param intent the intent to execute @return true if the intent executed correctly. False
app/src/main/java/ai/saiy/android/intent/ExecuteIntent.java:64
↓ 2 callersMethodfetch
Fetch an ArrayList of currently blacklisted application package names @param ctx the application context @return an ArrayList containing blacklisted
app/src/main/java/ai/saiy/android/api/helper/BlackListHelper.java:55
↓ 2 callersMethodfilterLegacy
(@NonNull final ArrayList<SaiyVoice> voiceArray)
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:2335
↓ 2 callersMethodfinalMatch
Check if the final text matches a command we want to intercept @param text the intercepted text @return true if the text matches a command false othe
app/src/main/java/ai/saiy/android/accessibility/SaiyAccessibilityService.java:767
↓ 2 callersMethodformatString
(@NonNull final String toFormat)
app/src/main/java/ai/saiy/android/cognitive/knowledge/provider/wolframalpha/resolve/ResolveWolframAlpha.java:360
↓ 2 callersMethodfrom
Wraps an old deprecated OnUtteranceCompletedListener with a shiny new progress listener.
app/src/main/java/ai/saiy/android/tts/SaiyProgressListener.java:110
↓ 2 callersMethodgetAccessToken
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/containers/BVCredentials.java:132
↓ 2 callersMethodgetAccountType
Get the account type associated with the install location of the app @return the account type
app/src/main/java/ai/saiy/android/applications/Install.java:80
↓ 2 callersMethodgetAlgorithms
Get the serialised user defined {@link Algorithm} @param ctx the application context @return the double or default value
app/src/main/java/ai/saiy/android/utils/SPH.java:479
↓ 2 callersMethodgetAlgorithms
Get the standard {@link Algorithm} list to use dependent on the {@link SupportedLanguage}. Advanced users may have selected or deselected algorithms f
app/src/main/java/ai/saiy/android/algorithms/Algorithm.java:90
↓ 2 callersMethodgetAlternatives
()
app/src/main/java/ai/saiy/android/nlu/bluemix/Result.java:43
↓ 2 callersMethodgetAnalysis
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/Segment.java:44
↓ 2 callersMethodgetAnalysisResult
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/AnalysisSummary.java:35
↓ 2 callersMethodgetAnalysisSummary
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/Result.java:51
↓ 2 callersMethodgetAnnounceNotifications
Get the user's preference for announcing notifications. @param ctx the application context @return true if notification content should be announced,
app/src/main/java/ai/saiy/android/utils/SPH.java:1489
↓ 2 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/FragmentCustomisation.java:175
↓ 2 callersMethodgetAssociatedVoice
(@NonNull final Google google, final int type)
app/src/main/java/ai/saiy/android/tts/helper/TTSDefaults.java:119
↓ 2 callersMethodgetAudioQuality
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/Analysis.java:65
↓ 2 callersMethodgetAudioTrack
Helper method to double check the returned {@link SaiyAudioTrack} object hasn't been released elsewhere. @return the {@link SaiyAudioTrack} object, o
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:175
↓ 2 callersMethodgetBlacklistArray
Get the serialised string of the array of blacklisted applications which will be coerced into a {@link ai.saiy.android.api.helper.BlackList} objects u
app/src/main/java/ai/saiy/android/utils/SPH.java:713
↓ 2 callersMethodgetCache
(@NonNull final Context ctx)
app/src/main/java/ai/saiy/android/utils/UtilsVolley.java:34
↓ 2 callersMethodgetCacheDir
Check we can create a file in the desired location by attempting to create a temporary file there. @param ctx the application context @return a {@lin
app/src/main/java/ai/saiy/android/utils/UtilsFile.java:287
↓ 2 callersMethodgetCancelled
Get the standard cancel 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:408
↓ 2 callersMethodgetClipboardContent
()
app/src/main/java/ai/saiy/android/command/clipboard/ClipboardHelper.java:46
↓ 2 callersMethodgetClipboardDataError
Get the standard clipboard error data response. @param ctx the application context @param sl the {@link SupportedLanguage} @return the required resp
app/src/main/java/ai/saiy/android/personality/PersonalityResponse.java:640
↓ 2 callersMethodgetCommandConstant
()
app/src/main/java/ai/saiy/android/custom/CustomCommand.java:138
↓ 2 callersMethodgetCommandUnknownAction
Get the user default action for an unknown command @param ctx the application context @return the action constant
app/src/main/java/ai/saiy/android/utils/SPH.java:1675
↓ 2 callersMethodgetComposite
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/analysis/Mood.java:48
↓ 2 callersMethodgetConcept
()
app/src/main/java/ai/saiy/android/nlu/nuance/Interpretation.java:52
↓ 2 callersMethodgetConfidence
()
app/src/main/java/ai/saiy/android/cognitive/motion/provider/google/Motion.java:38
↓ 2 callersMethodgetConfidenceArray
()
app/src/main/java/ai/saiy/android/nlu/wit/ResolveWit.java:96
↓ 2 callersMethodgetContextual
()
app/src/main/java/ai/saiy/android/nlu/saiy/Entity.java:59
↓ 2 callersMethodgetCountryISO
Get the ISO3 Country string @return the ISO3 Country string
app/src/main/java/ai/saiy/android/localisation/SupportedLanguage.java:137
↓ 2 callersMethodgetCreated
()
app/src/main/java/ai/saiy/android/cognitive/identity/provider/microsoft/containers/ProfileItem.java:66
↓ 2 callersMethodgetCustomCommands
Extract all of the user's serialised {@link CustomCommand} from {@link DBCustomCommand} into an array of {@link CustomCommandContainer} @param ctx th
app/src/main/java/ai/saiy/android/custom/CustomCommandHelper.java:391
↓ 2 callersMethodgetCustomIntro
Get the user defined custom intro @param ctx the application context @return the user's name or 'master' if none is applied
app/src/main/java/ai/saiy/android/utils/SPH.java:1750
↓ 2 callersMethodgetCustomIntroRandom
Get the user's preference for randomising their custom intro. @param ctx the application context @return true if offline recognition is preferred
app/src/main/java/ai/saiy/android/utils/SPH.java:1789
↓ 2 callersMethodgetDefaultEngineSecure
for some TTS Engines, the {@link #getDefaultEngine()} is very slow - here we jump straight to the Secure Settings to access it. If an exception is thr
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:736
↓ 2 callersMethodgetDefaultLanguage
()
app/src/main/java/ai/saiy/android/tts/SaiyTextToSpeech.java:850
↓ 2 callersMethodgetDefaultTemperatureUnits
Get the user preferred temperature units @param ctx the application context @return the default units one of {@link BatteryInformation#CELSIUS} or {@
app/src/main/java/ai/saiy/android/utils/SPH.java:324
↓ 2 callersMethodgetDescription
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/AnalysisResult.java:57
↓ 2 callersMethodgetEmotion
Get the serialised string of the last emotion analysis which will be coerced into a {@link ai.saiy.android.cognitive.emotion.provider.beyondverbal.Ana
app/src/main/java/ai/saiy/android/utils/SPH.java:770
↓ 2 callersMethodgetEmotionCommandVerbose
Get the amount of times the user has been informed of this verbose information @param ctx the application context @return the integer number of times
app/src/main/java/ai/saiy/android/utils/SPH.java:224
↓ 2 callersMethodgetEngineNuance
Utility method to construct the {@link EngineNuance} instance @param params the {@link SelfAwareParameters} @param progressListener the {@l
app/src/main/java/ai/saiy/android/service/helper/SelfAwareConditions.java:1727
↓ 2 callersMethodgetEnrollmentAPIError
Get the vocal enrollment 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:744
↓ 2 callersMethodgetEntangledPair
Get the values to be used in {@link Quantum#onProgressUpdate(EntangledPair...)} @return the values
app/src/main/java/ai/saiy/android/processing/Outcome.java:116
↓ 2 callersMethodgetErrorRemoteFailedUnknown
Get the standard remote command failed unknown response. @param ctx the application context @param sl the {@link SupportedLanguage} @return the requ
app/src/main/java/ai/saiy/android/personality/PersonalityResponse.java:315
↓ 2 callersMethodgetExpiresIn
()
app/src/main/java/ai/saiy/android/cognitive/emotion/provider/beyondverbal/containers/BVCredentials.java:136
↓ 2 callersMethodgetFile
()
app/src/main/java/ai/saiy/android/audio/RecognitionMic.java:97
← previousnext →501–600 of 2,679, ranked by callers