Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/360/360-Engine-for-Android
/ functions
Functions
3,317 in github.com/360/360-Engine-for-Android
⨍
Functions
3,317
◇
Types & classes
434
↓ 5 callers
Method
getSyncMeEngine
Fetch sync me engine, starting it if necessary. @return The SyncMeEngine
src/com/vodafone360/people/engine/EngineManager.java:335
↓ 5 callers
Method
getTypeCode
String value associated with type item. @return String value for type item.
src/com/vodafone360/people/datatypes/ActivityItem.java:233
↓ 5 callers
Method
getUserPresenceByLocalContactId
This method returns user/me profile presence state. @param localContactId - me profile localContactId @param readableDatabase - the database to read
src/com/vodafone360/people/database/tables/PresenceTable.java:297
↓ 5 callers
Method
isDone
Returns the import state. @return true if the import is finished, false if not
src/com/vodafone360/people/engine/contactsync/NativeImporter.java:314
↓ 5 callers
Method
isPersistable
Determines if an class implements the persistable interface. @param c Class whih is to be checked @return true if the given class implements the need
src/com/vodafone360/people/database/persistenceHelper/PersistenceHelper.java:53
↓ 5 callers
Method
kickWorkerThread
Ensures that the WorkerThread runs at least once.
src/com/vodafone360/people/service/RemoteService.java:225
↓ 5 callers
Method
modifyCredentials
Modify cached user credentials settings (without encryption information). @param details The new credentials. @param writableDb Writable SQLite datab
src/com/vodafone360/people/database/tables/StateTable.java:430
↓ 5 callers
Method
modifyDetail
Updates an existing contact detail in the table. @param detail The modified detail. @param syncToServer Mark the new detail so it will be synced to t
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:652
↓ 5 callers
Method
newState
Changes the state of the engine. @param newState The new state
src/com/vodafone360/people/engine/meprofile/SyncMeEngine.java:317
↓ 5 callers
Method
newState
Change current IdentityEngine state. @param newState new state.
src/com/vodafone360/people/engine/identities/IdentityEngine.java:644
↓ 5 callers
Method
removeContact
(long nabContactId)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:1006
↓ 5 callers
Method
removeContactGroup
Clears the grouping of an activity in the database, if the given activity is newer. This is so that only the latest activity is returned for a particu
src/com/vodafone360/people/database/tables/ActivitiesTable.java:1249
↓ 5 callers
Method
removePeopleAccount
()
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:1022
↓ 5 callers
Method
removeRequest
Removes the request for the given request ID from the queue and searches the queue for requests older than Settings.REMOVE_REQUEST_FROM_QUEUE_MILLIS a
src/com/vodafone360/people/service/io/QueueManager.java:144
↓ 5 callers
Method
setAlarm
Set an Alarm with the AlarmManager to trigger the next update check. @param set Set or cancel the Alarm @param realTime Time when the Alarm should be
src/com/vodafone360/people/service/RemoteService.java:315
↓ 5 callers
Method
setBlob
Return the value of the given field, or NULL if the value is not present. @param cursor SQLite cursor. @param field Column identifier. @return Value
src/com/vodafone360/people/database/utils/SqlUtils.java:168
↓ 5 callers
Method
setInt
Return the value of the given field, or NULL if the value is not present. @param cursor SQLite cursor. @param field Column identifier. @param default
src/com/vodafone360/people/database/utils/SqlUtils.java:98
↓ 5 callers
Method
setTransferStatus
Setter for the TransferStatus. @param status The TransferStatus to set for this object
src/com/vodafone360/people/engine/content/ContentObject.java:266
↓ 5 callers
Method
setUpContactSyncMeEngineTestFramework
Sets up the test framework. @param factory the factory used by the ContactSyncEngine @param observer the test framework observer
tests/src/com/vodafone360/people/tests/engine/SyncMeEngineTest.java:113
↓ 5 callers
Method
startEventWatcher
(DatabaseHelper db)
tests/src/com/vodafone360/people/tests/database/DbTestUtility.java:62
↓ 5 callers
Method
startThread
Starts the main connection thread.
src/com/vodafone360/people/service/transport/IConnection.java:32
↓ 5 callers
Method
stopEventWatcher
()
tests/src/com/vodafone360/people/tests/database/DbTestUtility.java:83
↓ 5 callers
Method
syncDeleteContactDetailList
Function used by the contact sync engine to delete a list of contact details from the database. @param contactDetailList The list of details which ha
src/com/vodafone360/people/database/DatabaseHelper.java:1968
↓ 5 callers
Method
syncServerFetchContactChanges
Fetches all the details that have changed and need to be synced with the server. Details associated with new contacts are returned separately, this is
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:1700
↓ 5 callers
Method
tag
Return string value for the specified tag. @return String value for tag.
src/com/vodafone360/people/service/io/rpg/PushMessageTypes.java:91
↓ 5 callers
Method
tag
String value for Tags item. @return String value for Tags item.
src/com/vodafone360/people/datatypes/GroupItem.java:70
↓ 5 callers
Method
testContext
(Context context)
tests/src/com/vodafone360/people/tests/service/PeopleServiceTest.java:168
↓ 5 callers
Method
testGetPageFromReqId
(int reqId)
tests/src/com/vodafone360/people/tests/engine/contactsync/DownloadServerContactsTest.java:132
↓ 5 callers
Method
toString
()
src/com/vodafone360/people/utils/LRUHashMap.java:216
↓ 5 callers
Method
toString
()
src/com/vodafone360/people/database/tables/ConversationsTable.java:106
↓ 5 callers
Method
updateTermsState
Informs the UI to update any terms which are being shown on screen. @param serviceStatus Current ServiceStatus. @param messageText Legacy call for ol
src/com/vodafone360/people/engine/login/LoginEngine.java:1309
↓ 4 callers
Method
addActivities
Adds a list of activities to table. The activities added will be grouped in the database, based on local contact Id, name or contact address (see {@li
src/com/vodafone360/people/database/tables/ActivitiesTable.java:642
↓ 4 callers
Method
addContactChange
Inserts a contact change into the table. @param info contact change info. This must have a valid type field and depending on type other fi
src/com/vodafone360/people/database/tables/ContactChangeLogTable.java:460
↓ 4 callers
Method
addErrorToResponseQueue
Adds errors to the response queue whenever there is an HTTP error on the backend. @param reqIds The request IDs the error happened for.
src/com/vodafone360/people/service/transport/http/HttpConnectionThread.java:464
↓ 4 callers
Method
addListener
Add a listener which will receive events whenever the login state changes. @param listener The callback interface
src/com/vodafone360/people/engine/login/LoginEngine.java:449
↓ 4 callers
Method
addUiLoginRequest
Called by the INowPlusService implementation to start a manual login. Adds a manual login UI request to the queue and kicks the worker thread. @param
src/com/vodafone360/people/engine/login/LoginEngine.java:253
↓ 4 callers
Method
areChangeListsEqual
(ContactChange[] a, ContactChange[] b, boolean compareAll)
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactChangeHelper.java:226
↓ 4 callers
Method
areStringValuesSame
String values comparison @param s1 First String to test. @param s2 Second String to test. @return true if Strings match (or both are null), false oth
src/com/vodafone360/people/datatypes/Identity.java:242
↓ 4 callers
Method
clearTimeout
Cancels the current timer (has no effect if the timer was not active).
src/com/vodafone360/people/engine/BaseEngine.java:489
↓ 4 callers
Method
complete
Completion of fetch from Native call log. Notify ActivitiesEngine that call-log sync. has completed. @param status ServiceStatus containing result of
src/com/vodafone360/people/engine/activities/FetchCallLogEvents.java:392
↓ 4 callers
Method
copyAndCompressBitmap
Copies and compresses the given bitmap image. @param destinationPath Path to save new image. @param inputPhoto Input Bitmap to save. @return TRUE if
src/com/vodafone360/people/utils/ThumbnailUtils.java:161
↓ 4 callers
Method
create
Creates a processor from the provided type. @param type the type of the processor to create @param callback the observer of processor state @param db
src/com/vodafone360/people/engine/contactsync/ProcessorFactory.java:97
↓ 4 callers
Method
createDummyDetailsNickname
(ContactDetail name)
tests/src/com/vodafone360/people/tests/TestModule.java:130
↓ 4 callers
Method
createFakeActivitiesList
TODO: fill in the method properly @return
tests/src/com/vodafone360/people/tests/TestModule.java:354
↓ 4 callers
Method
createFromHashtable
Create Contact item from Hashtable generated by Hessian-decoder @param hash Hashtable containing Contact parameters @return Contact item created from
src/com/vodafone360/people/datatypes/Contact.java:317
↓ 4 callers
Method
createHashTable
Create a Hash table from supplied Map, this is passed to Hessian encoder to create Hessian encoded request body. @param map The source map. @return H
src/com/vodafone360/people/service/io/api/ApiUtils.java:51
↓ 4 callers
Method
createHeader
Generate RPG header as byte array @return byte array containing RPG header
src/com/vodafone360/people/service/io/rpg/RpgHeader.java:200
↓ 4 callers
Method
createHessianByteArray
Create Hessian encoded byte array from Hashtable @param ht Hashtable to encode @return encoded byte array @throws IOException
src/com/vodafone360/people/service/utils/hessian/HessianEncoder.java:49
↓ 4 callers
Method
deleteContact
Deletes a contact from the Contacts table. @param localContactID The primary key ID of the contact @param writeableDb Writeable SQLite database @retu
src/com/vodafone360/people/database/tables/ContactsTable.java:369
↓ 4 callers
Method
deleteContactFromGroup
Removes a group from a contact. @param localContactId The local Id of the contact @param groupId The local group Id @return SUCCESS or a suitable err
src/com/vodafone360/people/database/DatabaseHelper.java:1107
↓ 4 callers
Method
deleteGroupRel
Inserts "Remove contact from group" operation into the change log. @param localContactId Local contact ID from the Contacts table @param serverContac
src/com/vodafone360/people/database/tables/ContactChangeLogTable.java:317
↓ 4 callers
Method
deleteNativeContact
Deletes a Contact in the people database from its native id. Note: it assumes that the deletion comes from native as it sets flags to prevent s
src/com/vodafone360/people/engine/contactsync/PeopleContactsApi.java:166
↓ 4 callers
Method
deleteThumbnailsDirectory
Utility to delete the thumbnails directory (assumes that we have root privileges).
tests/src/com/vodafone360/people/tests/utils/ThumbnailUtilsTest.java:260
↓ 4 callers
Method
doContactsFieldsMatch
Check if ContactsTable entries match. @param firstContact contact to compare @param secondContact contact to compare @return identical
tests/src/com/vodafone360/people/tests/TestModule.java:1120
↓ 4 callers
Method
emptyUiRequestQueue
Called by engines in the UI thread to cancel all UI requests. The engine should ensure that the active UI request is completed (if necessary) before c
src/com/vodafone360/people/engine/BaseEngine.java:559
↓ 4 callers
Method
fetchActivitiesIds
Fetches a list of activity IDs from a given time. @param activityIdList an empty list to be populated @param timeStamp The oldest time that should be
src/com/vodafone360/people/database/DatabaseHelper.java:1231
↓ 4 callers
Method
fetchContactIdFromNative
Searches for a contact based on native ID and if found, returns the ID information @param nativeContactId The native contact ID to search for @param
src/com/vodafone360/people/database/tables/ContactsTable.java:430
↓ 4 callers
Method
fetchContactInfo
Searches the database for a contact with a given phone number. @param phoneNumber The telephone number to find @param contact An empty Contact object
src/com/vodafone360/people/database/DatabaseHelper.java:1033
↓ 4 callers
Method
fetchContactRevision
Fetches the current contact revision for the server sync. @param readableDb Readable SQLite database for fetching the information @return The revisio
src/com/vodafone360/people/database/tables/StateTable.java:596
↓ 4 callers
Method
fetchLocalFromServerId
Searches the table for a contact server ID and if found, returns the local ID @param contactServerId The server ID @param statement The statement ret
src/com/vodafone360/people/database/tables/ContactsTable.java:658
↓ 4 callers
Method
fetchMeProfileRevision
Fetches the current me profile revision for the server sync. @param readableDb Readable SQLite database for fetching the information @return The revi
src/com/vodafone360/people/database/tables/StateTable.java:1388
↓ 4 callers
Method
fetchSession
Fetches the current session from the database. @param readableDb Readable SQLite database for fetching the information @return The session object or
src/com/vodafone360/people/database/tables/StateTable.java:740
↓ 4 callers
Method
filterContactChanges
Removes the nickname ContactChange if any as we don't support it currently. @param changes the array of ContactChange to filter @return the filtered
tests/src/com/vodafone360/people/tests/engine/contactsync/PeopleContactsApiTest.java:382
↓ 4 callers
Method
find
Find CapabilityID for specified String. @param name String containing name of required CapabilityID @return CapabilityID for supplied String, null if
src/com/vodafone360/people/datatypes/IdentityCapability.java:59
↓ 4 callers
Method
findContactChangeIndex
Finds the index of a ContactChange within a ContactChange array. @param array the ContactChange array where to search @param changeToFind the Contact
tests/src/com/vodafone360/people/tests/engine/contactsync/PeopleContactsApiTest.java:487
↓ 4 callers
Method
getAccountsByType
Fetches all the existing Accounts on the device corresponding to the provided Type Only supported on 2.X. The 1.X implementation always returns null.
src/com/vodafone360/people/engine/contactsync/NativeContactsApi.java:321
↓ 4 callers
Method
getActivitiesEngine
Fetch activities engine @return a ActivitiesEngine object
src/com/vodafone360/people/engine/EngineManager.java:315
↓ 4 callers
Method
getAnonymisedMsisdn
Converts an identifiable MSISDN value to something that can be sent via a third party. E.g. "+49123456789" becomes "+49100000000". @param input Priva
src/com/vodafone360/people/utils/SimCard.java:322
↓ 4 callers
Method
getCache
Retrieves current NetworkPresence values in the cache. @param readableDatabase Readable object to access db @return Current cached values or null if t
src/com/vodafone360/people/database/tables/MePresenceCacheTable.java:133
↓ 4 callers
Method
getCheckFrequency
Return the PREFS_CHECK_FREQUENCY Preference value. @param context Context @return Current value for PREFS_CHECK_FREQUENCY or the PREFS_CHECK_
src/com/vodafone360/people/engine/upgrade/UpgradeUtils.java:48
↓ 4 callers
Method
getContact
Gets data for one Contact. @param nabContactId Native ID for the contact @return A {@link ContactChange} array with contact's data or null
src/com/vodafone360/people/engine/contactsync/NativeContactsApi.java:361
↓ 4 callers
Method
getContact
(long nabContactId)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:827
↓ 4 callers
Method
getDownloadPageSize
()
tests/src/com/vodafone360/people/tests/engine/contactsync/DownloadServerContactsTest.java:153
↓ 4 callers
Method
getFailedRetrying
Returns whether we have failed trying to regain the connection (happens after 3 retries). @return True if we have failed reconnecting, false if we ar
src/com/vodafone360/people/service/transport/tcp/TcpConnectionThread.java:650
↓ 4 callers
Method
getHumanReadableTime
Display the Absolute Time in a human readable format (for testing only). @param absoluteTime Time to convert @param currentTime Current time, for cre
src/com/vodafone360/people/engine/EngineManager.java:549
↓ 4 callers
Method
getImageView
ImageView to populate. @return ImageView to populate.
src/com/vodafone360/people/ThumbnailCache.java:117
↓ 4 callers
Method
getIsActive
<p> Returns true if the heartbeat thread is currently running/active. </p> <p> Calling startConnection() will make this method return as the heartbeat
src/com/vodafone360/people/service/transport/tcp/HeartbeatSenderThread.java:370
↓ 4 callers
Method
getIsRunning
()
src/com/vodafone360/people/service/transport/DecoderThread.java:134
↓ 4 callers
Method
getKeyToString
Get the change Key String value. @return The Key String value for this change
src/com/vodafone360/people/engine/contactsync/ContactChange.java:483
↓ 4 callers
Method
getLocalString
Returns the Local string in a formation suitable for the back end. @return Local as a String
src/com/vodafone360/people/service/io/api/Auth.java:482
↓ 4 callers
Method
getLoginRequired
Called by the UI to determine if the Service is currently logged into the Vodafone 360 back end. Called by the StartActivity and other key classes, so
src/com/vodafone360/people/service/interfaces/IPeopleService.java:71
↓ 4 callers
Method
getMd5Hash
Generates a MD5 hash of the input. @param input - String from which MD5 will be created @return String containing MD5 hash created from input paramet
src/com/vodafone360/people/service/utils/AuthUtils.java:57
↓ 4 callers
Method
getModulus
()
src/org/bouncycastle/crypto/params/RSAKeyParameters.java:18
↓ 4 callers
Method
getMyThirdPartyIdentities
Gets all third party identities the user is currently signed up for. @return A list of 3rd party identities the user is signed in to or an empty list
src/com/vodafone360/people/service/interfaces/IPeopleService.java:178
↓ 4 callers
Method
getProgress
Get the current sync progress percentage for the current task. @return Current sync progress percentage.
src/com/vodafone360/people/engine/contactsync/SyncStatus.java:145
↓ 4 callers
Method
getRequest
Return Request from specified request ID. Only used for unit tests. @param requestId Request Id of required request @return Request with or null if r
src/com/vodafone360/people/service/io/QueueManager.java:156
↓ 4 callers
Method
getSubscriberId
Gets the Subscriber Id. @see SIM_CARD_NOT_READABLE @see SIM_CARD_ABSENT @param databaseHelper the DatabaseHelper @return the Subscriber Id or SIM_CA
src/com/vodafone360/people/utils/SimCard.java:157
↓ 4 callers
Method
getTel
Get telephone number as String from VCard representation. @param val VCard representation of telephone number. @return String containing telephone nu
src/com/vodafone360/people/datatypes/VCardHelper.java:466
↓ 4 callers
Method
getTimeout
Gets the set timeout. @return the timeout in milliseconds, -1 if not set.
src/com/vodafone360/people/service/io/Request.java:422
↓ 4 callers
Method
getType
(final Uri uri)
src/com/vodafone360/people/service/aidl/DatabaseProvider.java:107
↓ 4 callers
Method
getType
Gets the type of the accounts. @return the account type
src/com/vodafone360/people/engine/contactsync/NativeContactsApi.java:246
↓ 4 callers
Method
getType
{@inheritDoc}
src/com/vodafone360/people/datatypes/GroupItem.java:116
↓ 4 callers
Method
getValue
This method returns the SocialNetwork object based on the underlying string. @param value - the String containing the SocialNetwork name. @return Soci
src/com/vodafone360/people/engine/presence/NetworkPresence.java:149
↓ 4 callers
Method
haltAndRetryConnection
<p> Retries to establish a network connection after a network error has occurred or the coverage of the network was lost. The amount of retries depend
src/com/vodafone360/people/service/transport/tcp/TcpConnectionThread.java:324
↓ 4 callers
Method
header
Return the RPG header for this message. @return Message's RPG header
src/com/vodafone360/people/service/io/rpg/RpgMessage.java:64
↓ 4 callers
Method
invokePoll
Invokes a poll on the RPG with the passed arguments. @param pollInterval The polling interval the server takes as an argument. LONG_POLLIN
src/com/vodafone360/people/service/transport/http/PollThread.java:223
↓ 4 callers
Method
isContactChangeInList
Determines if a specific contact and change type exists in the change log. @param localContactId Local contact ID from the Contacts table @param type
src/com/vodafone360/people/database/tables/ContactChangeLogTable.java:510
↓ 4 callers
Method
isContactSyncReady
This method is necessary for the tests. It catches the InvalidParameterException coming from EngineManager.getInstance(), when the instance is null @
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:394
↓ 4 callers
Method
isIdentityFieldBlankorNull
Test whether identity name or network is empty or null. @return true if identity name or network is empty or null, false otherwise.
src/com/vodafone360/people/datatypes/Identity.java:231
↓ 4 callers
Method
isValueInsideErrorMargin
Tells whether or not a value is contained within an acceptable error margin. @return true if below the error margin, false if not
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactSyncEngineTest.java:1197
← previous
next →
401–500 of 3,317, ranked by callers