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
↓ 3 callers
Method
syncContactDetail
Sets the Server Id for a contact detail and flags it as synchronized with the server. @param localDetailId The local Id of the contact detail to modi
src/com/vodafone360/people/database/DatabaseHelper.java:574
↓ 3 callers
Method
syncServerGetNextNewContactDetails
Returns the next batch of contacts which need to be added on the server. The {@link #syncServerFetchContactChanges(SQLiteDatabase, boolean)} method is
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:1737
↓ 3 callers
Method
syncSetServerId
Updates the detail server ID stored with the record and sets the detail as synchronized with the server. @param localId The local detail ID identifyi
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:703
↓ 3 callers
Method
syncSetServerIds
Updates the server and user IDs for a list of contacts. Also prepares a list of duplicates which will be filled with the Ids for contacts already pres
src/com/vodafone360/people/database/tables/ContactsTable.java:688
↓ 3 callers
Method
testGetExceptions
Helper method to test the get() exception cases to the provided DynamicArrayLong @param array the DynamicArrayLong to check
tests/src/com/vodafone360/people/tests/utils/DynamicArrayLongTest.java:218
↓ 3 callers
Method
testGetPageSize
()
tests/src/com/vodafone360/people/tests/engine/contactsync/UploadServerContactsTest.java:147
↓ 3 callers
Method
tick
Tick method to call each time there is time for processing the Native Contacts Import. Note: the method will block for some time to process a certain
src/com/vodafone360/people/engine/contactsync/NativeExporter.java:184
↓ 3 callers
Method
tick
Tick method to call each time there is time for processing the native contacts import. Note: the method will block for some time to process a certain
src/com/vodafone360/people/engine/contactsync/NativeImporter.java:284
↓ 3 callers
Method
toString
{@inheritDoc}
src/com/vodafone360/people/datatypes/VCardHelper.java:149
↓ 3 callers
Method
toString
{@inheritDoc}
src/com/vodafone360/people/datatypes/SystemNotification.java:312
↓ 3 callers
Method
toString
{@inheritDoc}
src/com/vodafone360/people/datatypes/UserProfile.java:128
↓ 3 callers
Method
unregisterObserver
()
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:1028
↓ 3 callers
Method
updateChatDatabase
Updates the database with the given ChatMessage and Type. @param message ChatMessage. @param type TimelineSummaryItem.Type.
src/com/vodafone360/people/engine/presence/PresenceEngine.java:388
↓ 3 callers
Method
updateNativeContact
Updates a native contact in the people database. Note: it assumes that the changes come from native as it sets flags to prevent syncing back to
src/com/vodafone360/people/engine/contactsync/PeopleContactsApi.java:221
↓ 3 callers
Method
updatePresence
This method is called by the Presence engine to notify a subscribed Activity of updates. @param contactId Update an Activity that shows this contact
src/com/vodafone360/people/service/agent/UiAgent.java:277
↓ 3 callers
Method
waitForEvent
(long timeout, int bitmask)
tests/src/com/vodafone360/people/tests/service/NowPlusServiceTestHelper.java:141
↓ 3 callers
Method
writeToOutputStream
Serializes the request's data structure to the passed output stream enabling the connection to easily prepare one or multiple) requests. @param os Th
src/com/vodafone360/people/service/io/Request.java:480
↓ 2 callers
Method
addConnectionListener
This method adds a listener for the connection state changes to the list, if it is not there yet. @param listener ITcpConnectionListener - listener.
src/com/vodafone360/people/service/transport/ConnectionManager.java:242
↓ 2 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/NativeChangeLogTable.java:376
↓ 2 callers
Method
addContactToGroup
Puts a contact into a group. @param localContactId The local Id of the contact @param groupId The local group Id @return SUCCESS or a suitable error
src/com/vodafone360/people/database/DatabaseHelper.java:1051
↓ 2 callers
Method
addDeleteDetailToBatch
Adds a delete detail operation to the batch. @param nabDetailId The NAB Id of the detail to delete
src/com/vodafone360/people/engine/contactsync/NativeContactsApi2.java:1322
↓ 2 callers
Method
addDetails
Adds details to the provided contact. @param contact @return
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:632
↓ 2 callers
Method
addGetMeProfileContactFirstTimeRequest
This method adds an external request to Contacts/getMyChanges() method to update the Me Profile status server, is called by the UI at the 1st sync.
src/com/vodafone360/people/engine/meprofile/SyncMeEngine.java:626
↓ 2 callers
Method
addGetMeProfileContactRequest
This method adds an external request to Contacts/getMyChanges() method to update the Me Profile status server. Is called when "pc "push message is rec
src/com/vodafone360/people/engine/meprofile/SyncMeEngine.java:617
↓ 2 callers
Method
addNativeContactMethod
(ContentResolver cr, int id, int kind, boolean isPrimary)
tests/src/com/vodafone360/people/tests/TestModule.java:921
↓ 2 callers
Method
addNewContact
Adds a new contact to the people database.
src/com/vodafone360/people/engine/contactsync/NativeImporter.java:524
↓ 2 callers
Method
addText
Add test to SimpleText item @param text String containing text to add.
src/com/vodafone360/people/datatypes/SimpleText.java:52
↓ 2 callers
Method
addToContentValues
Add setting from supplied PersistSettings instance to supplied ContentValues instance. @param contentValues ContentValue to update. @param setting Pe
src/com/vodafone360/people/service/PersistSettings.java:251
↓ 2 callers
Method
addUiEventToQueue
Add the given UiEvent and Bundle pair to the send later queue. @param uiEvent ServiceUiRequest to queue. @param bundle Bundle to queue.
src/com/vodafone360/people/service/agent/UiAgent.java:159
↓ 2 callers
Method
addUiGetGroupsRequest
Adds a request to get groups from the backend that are associated with the server contacts.
src/com/vodafone360/people/engine/groups/GroupsEngine.java:178
↓ 2 callers
Method
addUiSetIdentityStatus
Enables or disables the given social network. @param network Name of the identity, @param identityId Id of identity. @param identityStatus True if id
src/com/vodafone360/people/engine/identities/IdentityEngine.java:385
↓ 2 callers
Method
addUpdateMeProfileContactRequest
This method adds an external request to Contacts/setMe() method to update the Me Profile... @param meProfile Contact - contact to be pushed to the ser
src/com/vodafone360/people/engine/meprofile/SyncMeEngine.java:596
↓ 2 callers
Method
addUpdateMyStatusRequest
This method adds an external request to Contacts/setMe() method to update the Me Profile status... @param textStatus String - the new me profile statu
src/com/vodafone360/people/engine/meprofile/SyncMeEngine.java:607
↓ 2 callers
Method
addUpdateValuesToBatch
Adds current update values to the batch. @param nabDetailId The NAB ID of the detail to update
src/com/vodafone360/people/engine/contactsync/NativeContactsApi2.java:1306
↓ 2 callers
Method
allocStringBuffer
(String str)
src/com/vodafone360/people/utils/StringBufferPool.java:54
↓ 2 callers
Method
alterContactChangeValue
Alter the given ContactChange value. @param change the change to modify @param newValue the new value to set to the provided ContactChange @return a
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:1204
↓ 2 callers
Method
body
Return message body as byte array @return byte[] containing message body.
src/com/vodafone360/people/service/io/rpg/RpgMessage.java:73
↓ 2 callers
Method
bulkUpdateContacts
Implementation of contacts/bulkupdatecontacts API. Parameters are; [auth], List<Contact> contactlist @param engine Handle to ContactSync engine @para
src/com/vodafone360/people/service/io/api/Contacts.java:131
↓ 2 callers
Method
cacheRequestType
Add the given request type to the Application cache. @param requestType Request type ENUM. @param value Boolean to set for given request type.
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:834
↓ 2 callers
Method
cancel
()
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:175
↓ 2 callers
Method
checkConnectivity
Get current connectivity state from the NetworkAgent. If not connected completed UI request with COMMs error. @return true NetworkAgent reports we ar
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:663
↓ 2 callers
Method
checkExistAndAscendingOrder
Verifies that the array to check contains exactly the original ids and that it is sorted in ascending order. @param originalIds the array of ids that
tests/src/com/vodafone360/people/tests/engine/contactsync/PeopleContactsApiTest.java:433
↓ 2 callers
Method
checkForDuplicateThreads
Checks whether the current thread is not the same as the thread that should be running. If it is not the connection and the thread is stopped.
src/com/vodafone360/people/service/transport/tcp/ResponseReaderThread.java:321
↓ 2 callers
Method
cleanupActivityTable
Cleanup the Activity Table by deleting anything older than CLEANUP_MAX_AGE_DAYS, or preventing the total size from exceeding CLEANUP_MAX_QUANTITY. @p
src/com/vodafone360/people/database/tables/ActivitiesTable.java:1940
↓ 2 callers
Method
clearAllRequests
Clears all requests from the request queue and puts null responses on the response queue to tell the engines that they have been cleared. This should
src/com/vodafone360/people/service/io/QueueManager.java:119
↓ 2 callers
Method
clearCachedData
Clear all cached data currently stored in People application.
src/com/vodafone360/people/ApplicationCache.java:354
↓ 2 callers
Method
clearThumbnailCache
Clear the entire thumbnail cache to save memory.
src/com/vodafone360/people/ThumbnailCache.java:250
↓ 2 callers
Method
compare
(ContactChange change1, ContactChange change2)
src/com/vodafone360/people/engine/contactsync/NativeImporter.java:609
↓ 2 callers
Method
compareActivityIds
This method fires assertion error when the supplied List are not identical @param ids - the initial ActivityItem ids @param dbIds - ActivityItem ids f
tests/src/com/vodafone360/people/tests/database/NowPlusActivitiesTableTest.java:120
↓ 2 callers
Method
complete
Sets the internal state to DONE with the provided result status. @param result the result status to set
src/com/vodafone360/people/engine/contactsync/NativeExporter.java:169
↓ 2 callers
Method
compression
Get RPG request type from header @return true if RPG response is compressed false otherwise
src/com/vodafone360/people/service/io/rpg/RpgHeader.java:155
↓ 2 callers
Method
connect
(RemoteService service)
src/com/vodafone360/people/service/transport/ConnectionManager.java:112
↓ 2 callers
Method
convertUserIds
Set the user ID, network ID and local contact ID values in the given ChatMessage. The original msg.getUserId() is formatted <network>::<userId>, mean
src/com/vodafone360/people/engine/presence/ChatDbUtils.java:73
↓ 2 callers
Method
copyWithNewValue
Creates a copy of the ContactChange with a modified value. @param newValue the new value to set @return a copy of the ContactChange with a new value
src/com/vodafone360/people/engine/contactsync/ContactChange.java:457
↓ 2 callers
Method
create
Create Contact Groups Table. @param writeableDb A writable SQLite database @throws SQLException If an SQL compilation error occurs
src/com/vodafone360/people/database/tables/ContactGroupsTable.java:109
↓ 2 callers
Method
create
Create Settings Table and add a record with default setting values. @param writableDb A writable SQLite database.
src/com/vodafone360/people/database/tables/StateTable.java:225
↓ 2 callers
Method
create
Create Server Change Log Table. @param writeableDb A writable SQLite database @throws SQLException If an SQL compilation error occurs
src/com/vodafone360/people/database/tables/ContactChangeLogTable.java:177
↓ 2 callers
Method
create
Creates Groups Table and populate it with system groups. @param context A context for reading strings from the resources @param writeableDb A writabl
src/com/vodafone360/people/database/tables/GroupsTable.java:128
↓ 2 callers
Method
create
Create Contact Source Table. @param writeableDb A writable SQLite database @throws SQLException If an SQL compilation error occurs
src/com/vodafone360/people/database/tables/ContactSourceTable.java:107
↓ 2 callers
Method
create
This method creates the PresenceTable. @param writableDb - the writable database @throws SQLException is thrown when request to create a table fails
src/com/vodafone360/people/database/tables/MePresenceCacheTable.java:108
↓ 2 callers
Method
create
Create Server Change Log Table. @param writeableDb A writable SQLite database @throws SQLException If an SQL compilation error occurs
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:185
↓ 2 callers
Method
createCipher
Creation of Cipher @return true if cipher created otherwise false
src/com/vodafone360/people/database/utils/EncryptionUtils.java:156
↓ 2 callers
Method
createFromHashTable
Create ActivityContact from Hashtable (generated from Hessian encoded response). @param hash Hashtable containing ActivityContact data @return Activi
src/com/vodafone360/people/datatypes/ActivityContact.java:159
↓ 2 callers
Method
createFromHashTable
Create ContactListResponse from Hashtable generated by Hessian-decoder @param hash Hashtable containing ContactListResponse parameters @return Contac
src/com/vodafone360/people/datatypes/ContactListResponse.java:129
↓ 2 callers
Method
createFromHashtable
Create ContactDetailDeletion from Hashtable generated by Hessian-decoder @param hash Hashtable containing Contact detail deletion parameters @return
src/com/vodafone360/people/datatypes/ContactDetailDeletion.java:132
↓ 2 callers
Method
createFromHashtable
Create PublicKeyDetails from Hashtable. @param hash Hashtable containing Public key information. @return PublicKeyDetails generated from HAshtable.
src/com/vodafone360/people/datatypes/PublicKeyDetails.java:116
↓ 2 callers
Method
createFromHashtable
Create ContactDetail from Hashtable generated by Hessian-decoder @param hash Hashtable containing ContactDetail parameters @return ContactDetail crea
src/com/vodafone360/people/datatypes/ContactDetail.java:431
↓ 2 callers
Method
createFromHashtable
Create ContactChanges from Hashtable generated by Hessian-decoder @param hash Hashtable generated by Hessian-decoder @return ContactChanges created f
src/com/vodafone360/people/datatypes/ContactChanges.java:164
↓ 2 callers
Method
createFromHashtable
Populate IdentityCapability from supplied Hashtable. @param hash Hashtable containing identity capability details. @return IdentityCapability instanc
src/com/vodafone360/people/datatypes/IdentityCapability.java:153
↓ 2 callers
Method
createFromHashtable
Create ChatMessage from Hashtable generated by Hessian-decoder @param hash Hashtable containing ChatMessage parameters
src/com/vodafone360/people/datatypes/Conversation.java:79
↓ 2 callers
Method
createFromHashtable
Populate Identity from supplied Hashtable. @param hash Hashtable containing identity details. @return Identity instance.
src/com/vodafone360/people/datatypes/Identity.java:291
↓ 2 callers
Method
createFromParcel
(Parcel in)
src/com/vodafone360/people/datatypes/ContactDetail.java:1074
↓ 2 callers
Method
createFromParcel
(Parcel in)
src/com/vodafone360/people/datatypes/Identity.java:634
↓ 2 callers
Method
createPushEvent
Create PushEvent from RpgPushMessage. @param msg RpgPushMessage @param engId EngineId associated with message @return PushEvent created from supplied
src/com/vodafone360/people/datatypes/PushEvent.java:54
↓ 2 callers
Method
createSignOfHastable
Calculates the sign value from a Hash table @param hashTable - Given Hash table @return Sign value String @throws NullPointerException when hashTable
src/com/vodafone360/people/service/utils/AuthUtils.java:169
↓ 2 callers
Method
createSigningString
Calculates a signing string from a name/value pair @param inputString - String name. @param inputObject - Object value can be Hashtable, Vector, byte
src/com/vodafone360/people/service/utils/AuthUtils.java:139
↓ 2 callers
Method
createTable
()
tests/src/com/vodafone360/people/tests/database/MePresenceCacheTableTest.java:15
↓ 2 callers
Method
createTable
creates table that will be tested in this suite
tests/src/com/vodafone360/people/tests/database/ContactSourceTableTest.java:49
↓ 2 callers
Method
createVectorOfContactDetail
Create vector from list of ContactDetails. This vector is passed to the Hessian encoder for generation of Hessian encoded message body. @param list L
src/com/vodafone360/people/service/io/api/ApiUtils.java:68
↓ 2 callers
Method
createWhereClauseFromList
Utility function to create a where clause string from a list of conditions. TODO: Move to utility class @param field The name of the table field to b
src/com/vodafone360/people/database/DatabaseHelper.java:2248
↓ 2 callers
Method
decodeString
Decode MMS data based on character set. @param charset Character set. @param data MMS data. @return Decoded MMS data as String.
src/com/vodafone360/people/engine/activities/MmsDecoder.java:317
↓ 2 callers
Method
decodeType
(int tag)
src/com/caucho/hessian/micro/MicroHessianInput.java:363
↓ 2 callers
Method
decryptPassword
Decryption of the password. @param passwordEn password in bytes @return string
src/com/vodafone360/people/database/utils/EncryptionUtils.java:126
↓ 2 callers
Method
deleteAllContactSources
Removes all sources associated with a specific contact. @param localContactId The local Contact ID from Contacts table @param writeableDb A writable
src/com/vodafone360/people/database/tables/ContactSourceTable.java:167
↓ 2 callers
Method
deleteAllGroups
Removes all groups from the database. @return SUCCESS or a suitable error code
src/com/vodafone360/people/database/DatabaseHelper.java:704
↓ 2 callers
Method
deleteAllGroups
Removes all groups from the table. The {@link #populateSystemGroups(Context, SQLiteDatabase)} function should be called afterwards to ensure the syste
src/com/vodafone360/people/database/tables/GroupsTable.java:376
↓ 2 callers
Method
deleteContact
Deletes a contact summary record @param localContactID The primary key ID of the contact to delete @param writableDb Writeable SQLite database @retur
src/com/vodafone360/people/database/tables/ContactSummaryTable.java:417
↓ 2 callers
Method
deleteContact
Removes all references to a contact from the table (should be called when a contact is deleted). @param localContactId The local contact Id from the
src/com/vodafone360/people/database/tables/ContactGroupsTable.java:197
↓ 2 callers
Method
deleteThumbnail
Deletes a given Thumbnail @param localContactID The local Id of the contact with the Thumbnail
src/com/vodafone360/people/database/DatabaseHelper.java:2117
↓ 2 callers
Method
dequeueRequest
This method stores removes a busy state of engine and males the change available to UI through the ApplicationCache. This method is normally called be
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:860
↓ 2 callers
Method
describeContents
{@inheritDoc}
src/com/vodafone360/people/datatypes/PublicKeyDetails.java:174
↓ 2 callers
Method
describeContents
{@inheritDoc}
src/com/vodafone360/people/datatypes/IdentityCapability.java:230
↓ 2 callers
Method
doContactsMatch
Compares the details given with a specific contact in the database. If the contacts match a list of native sync information is returned. @param c Con
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:1479
↓ 2 callers
Method
doGroupItemsMatch
Compares two group items @param gi1 @param gi2 @return true if GroupItems match
tests/src/com/vodafone360/people/tests/database/GroupsTableTest.java:78
↓ 2 callers
Method
doWork
Start or bring the thread out of wait state to do some background work.
src/com/vodafone360/people/ThumbnailCache.java:289
↓ 2 callers
Method
encryptPassword
Encrypting the password. @param password string password @return byte array containing encrypted password, return NULL if supplied password S
src/com/vodafone360/people/database/utils/EncryptionUtils.java:95
↓ 2 callers
Method
encryptRSA
Encrypts bytes with the given RSA Public Key. @param pubKey the RSA Public Key. @param data the data to encrypt. @return the encrypted data. @throws
src/com/vodafone360/people/engine/login/RSAEncryptionUtils.java:107
↓ 2 callers
Method
enqueueRequest
This method stores the current busy state of engine in ApplicationCache to make it available to UI. This method is normally called before setting new
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:814
↓ 2 callers
Method
ensureThumbnailFolderExists
Checks if the thumbnail folder exists and creates it if not.
src/com/vodafone360/people/utils/ThumbnailUtils.java:141
↓ 2 callers
Method
feedSyncableContactsInDatabase
Feeds the People database with random contacts. @param contactsCount the number of contact to create
tests/src/com/vodafone360/people/tests/engine/contactsync/UpdateNativeContactsTest.java:372
← previous
next →
701–800 of 3,317, ranked by callers