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
↓ 11 callers
Method
reqId
Get request ID from header @return request ID
src/com/vodafone360/people/service/io/rpg/RpgHeader.java:137
↓ 11 callers
Method
runNativeExporter
Runs the NativeExporter until it finishes synchronizing. @param ncam the NativeContactsApiMockup instance @param pcam the PeopleContactsApiMockup ins
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeExporterTest.java:412
↓ 11 callers
Method
setOutputStream
Sets the output-stream so that the heartbeat-sender can send its heartbeats to the RPG. @param outputStream The open output-stream that the heartbeat
src/com/vodafone360/people/service/transport/tcp/HeartbeatSenderThread.java:198
↓ 11 callers
Method
tag
String value associated with Tags item. @return String value associated with Tags item.
src/com/vodafone360/people/datatypes/Contact.java:92
↓ 11 callers
Method
toArray
@see LinekdList.toArray();
src/com/vodafone360/people/engine/content/FiFoQueue.java:203
↓ 10 callers
Method
add
Appends a value to the array. The values are added from index=0 and after each other. If the array is full, its size is increased so that the value ca
src/com/vodafone360/people/utils/DynamicArrayLong.java:75
↓ 10 callers
Method
addStatusesSyncRequest
This method adds a request to start sync of the most recent statuses from Now+ server.
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:749
↓ 10 callers
Method
decodeTag
()
src/com/caucho/hessian/micro/MicroHessianInput.java:357
↓ 10 callers
Method
deleteContact
Deletes a contact from the database and fires an internal database change event. @param localContactID The local ID of the contact to delete @return
src/com/vodafone360/people/database/DatabaseHelper.java:402
↓ 10 callers
Method
deleteContactChanges
Remove contact changes from the change log. This will be called once the changes have been sent to the server. @param changeInfoList A list of change
src/com/vodafone360/people/database/DatabaseHelper.java:662
↓ 10 callers
Method
displayException
(Exception e)
tests/src/com/vodafone360/people/tests/engine/LoginEngineTest.java:196
↓ 10 callers
Method
generateRandomChangesForKey
( List<ContactChange> ccList, int key, long internalContactId, long backendContactId, l
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactChangeHelper.java:586
↓ 10 callers
Method
getContact
(long nativeId)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:729
↓ 10 callers
Method
getContactSyncEngine
Fetch contact sync engine @return ContactSyncEngine object
src/com/vodafone360/people/engine/EngineManager.java:384
↓ 10 callers
Method
getExpiryDate
Gets the calculated expiry date. @return the expiry date in milliseconds, -1 if not set.
src/com/vodafone360/people/service/io/Request.java:431
↓ 10 callers
Method
getLocalContactId
()
src/com/vodafone360/people/datatypes/ChatMessage.java:166
↓ 10 callers
Method
getOrg
s Create Organisation item from String containing VCArd organisation representation. @param val String containing VCard organisation. @return Organis
src/com/vodafone360/people/datatypes/VCardHelper.java:536
↓ 10 callers
Method
getPayload
Returns communities presence status @return communities presence status, e.g. {google:online, pc:online, mobile:online}
src/com/vodafone360/people/engine/presence/User.java:156
↓ 10 callers
Method
getType
Get the Type from a given Integer value. @param input Integer.ordinal value of the Type @return Relevant Type or UNKNOWN if the Integer is not known.
src/com/vodafone360/people/database/tables/ActivitiesTable.java:230
↓ 10 callers
Method
getUpdatedDetails
Gets an array for ContatChange updates for the provided Contact @param pcam the PeopleContactsApiMockup instance @param nativeContactId the contact na
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeExporterTest.java:426
↓ 10 callers
Method
kickWorkerThread
Restarts the WorkerThread if it is in a sleeping or suspended state, ignored otherwise. This method is called by various events including: new UI or n
src/com/vodafone360/people/engine/IEngineEventCallback.java:28
↓ 10 callers
Method
matchRegularExpression
Matches a regular expression on the passed String. This method uses the matches()-method of Java's regex-package to match the regular expression again
src/com/vodafone360/people/utils/StringUtils.java:49
↓ 10 callers
Method
moveToNextState
Changes the state of the processor to the next internal state. Is called when the current state has finished.
src/com/vodafone360/people/engine/contactsync/UploadServerContacts.java:628
↓ 10 callers
Method
printContactChangeList
(ContactChange[] ccList)
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactChangeHelper.java:116
↓ 10 callers
Method
randomContact
(long internalContactId, long backendContactId, long nabContactId)
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactChangeHelper.java:291
↓ 10 callers
Method
randomPositiveInt
(int limit)
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactChangeHelper.java:904
↓ 10 callers
Method
sendMessage
This method should be used to send a message to a contact @param to LocalContactIds of ContactSummary/TimelineSummary items the message is
src/com/vodafone360/people/service/interfaces/IPeopleService.java:310
↓ 10 callers
Method
sendUnsolicitedUiEvent
Send an unsolicited UI Event to the UI. If there are no on screen Activities, then queue the message for later. The queue is of size one, so higher pr
src/com/vodafone360/people/service/agent/UiAgent.java:117
↓ 10 callers
Method
setEmail
Set email address @param emailAddress String containing email address @param inType detailKeyTypes vale specifying address type.
src/com/vodafone360/people/datatypes/ContactDetail.java:715
↓ 10 callers
Method
setOption
Stores a persist setting option in the database. @param setting The setting to store. Must have an option set with data. @param writableDb Writable S
src/com/vodafone360/people/database/tables/StateTable.java:708
↓ 10 callers
Method
setSyncStatus
Used by processors to provide an indication of their current progress. @param SyncStatus Status of the processor, must not be NULL. @throws InvalidPa
src/com/vodafone360/people/engine/contactsync/IContactSyncCallback.java:77
↓ 10 callers
Method
start
Start content observer.
src/com/vodafone360/people/service/agent/NetworkAgent.java:172
↓ 9 callers
Method
addDeletedContactDetailChange
Inserts "Delete Contact Detail" operation into the change log. @param detail Must have a valid local contact ID, local detail ID and key.
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:322
↓ 9 callers
Method
addEngine
Add a new engine to the EngineManager. @param newEngine Engine to be added.
src/com/vodafone360/people/engine/EngineManager.java:204
↓ 9 callers
Method
addToDecode
Add raw response to decoding queue @param resp raw data
src/com/vodafone360/people/service/transport/DecoderThread.java:127
↓ 9 callers
Method
close
De-activate content observer.
src/com/vodafone360/people/service/agent/NetworkAgent.java:182
↓ 9 callers
Method
doContactsMatch
Compare two given contacts. @param firstContact contact to compare @param secondContact contact to compare @return identical true if given contacts ar
tests/src/com/vodafone360/people/tests/TestModule.java:1069
↓ 9 callers
Method
feedAccount
(Account account)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:895
↓ 9 callers
Method
flush
(FileOutputStream input)
src/com/vodafone360/people/utils/CloseUtils.java:117
↓ 9 callers
Method
getAccounts
()
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:950
↓ 9 callers
Method
getAccountsByType
(int type)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:973
↓ 9 callers
Method
getCurrentTimeout
The result of this function must be returned by getNextRunTime() instead of -1 for the timer to work. @return The required next run time (in millisec
src/com/vodafone360/people/engine/BaseEngine.java:500
↓ 9 callers
Method
getEngine
Called by processor to fetch the contact sync engine (needed for sending requests to the server). @return The contact sync engine reference.
src/com/vodafone360/people/engine/contactsync/IContactSyncCallback.java:60
↓ 9 callers
Method
getName
Return VCard name field @return VCardHelper.Name containing name.
src/com/vodafone360/people/datatypes/ContactDetail.java:659
↓ 9 callers
Method
getOnlineStatusId
@return the ordinal of the online status name on the overall hardcoded status list.
src/com/vodafone360/people/engine/presence/NetworkPresence.java:72
↓ 9 callers
Method
lazyLoadPeopleService
()
tests/src/com/vodafone360/people/tests/service/PeopleServiceTest.java:177
↓ 9 callers
Method
newState
Changes the state of the engine. @param newState The new state
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:768
↓ 9 callers
Method
processCommsInQueue
Should be called by the run() function to process the comms in queue. Calling this function will result in the processCommsResponse function being cal
src/com/vodafone360/people/engine/BaseEngine.java:340
↓ 9 callers
Method
runProcessor
(int count, State state)
tests/src/com/vodafone360/people/tests/engine/contactsync/DownloadServerContactsTest.java:214
↓ 9 callers
Method
setActivatedSession
Helper function to store the new session in the database and inform clients that the session has changed. @param session The new session or NULL if t
src/com/vodafone360/people/engine/login/LoginEngine.java:1113
↓ 9 callers
Method
setEngine
(BaseEngine eng)
tests/src/com/vodafone360/people/tests/engine/EngineTestFramework.java:130
↓ 9 callers
Method
setInputStream
Sets the input stream that will be used to read responses from. @param inputStream The input stream to read from. Should not be null as th
src/com/vodafone360/people/service/transport/tcp/ResponseReaderThread.java:173
↓ 9 callers
Method
setName
Set VCard name field using VCardHelper. @param name VCardHelper name item.
src/com/vodafone360/people/datatypes/ContactDetail.java:648
↓ 9 callers
Method
tableFieldName
Option's State table record name @return Name of the State table field corresponding to this Option.
src/com/vodafone360/people/service/PersistSettings.java:169
↓ 9 callers
Method
threadWait
Utility method to put the thread waiting @param time
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeContactsApiTest.java:717
↓ 9 callers
Method
toString
@return the name of the field as it appears in the database.
src/com/vodafone360/people/database/tables/ContactChangeLogTable.java:105
↓ 9 callers
Method
toString
@return the name of the field as it appears in the database.
src/com/vodafone360/people/database/tables/MyIdentitiesCacheTable.java:94
↓ 9 callers
Method
toString
@return the name of the field as it appears in the database.
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:126
↓ 9 callers
Method
toString
{@inheritDoc}
src/com/vodafone360/people/datatypes/VCardHelper.java:83
↓ 8 callers
Method
addDeletedContactChange
Inserts "Delete Contact" operation into the change log. @param localContactId Local contact ID from the Contacts table @param nativeContactId Native
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:286
↓ 8 callers
Method
addPeopleAccount
(String username)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:944
↓ 8 callers
Method
copyContactChange
Copies a ContactChange. @param change the change to copy @return a deep copy of the ContactChange
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeImporterTest.java:1223
↓ 8 callers
Method
createTable
()
tests/src/com/vodafone360/people/tests/database/NowPlusContactsTableTest.java:72
↓ 8 callers
Method
fetchSyncNativeId
(Long localDetailID)
tests/src/com/vodafone360/people/tests/engine/contactsync/FetchNativeContactsTest.java:267
↓ 8 callers
Method
fireNewState
This method fires states change of an engine to UI (between "busy" and IDLE). This method is normally called after the new state has been changed and
src/com/vodafone360/people/engine/activities/ActivitiesEngine.java:797
↓ 8 callers
Method
getConnectionState
This method returns the current connection state of the application. @see ITcpConnectionListener @return int - the connection state @see ITcpConnecti
src/com/vodafone360/people/service/transport/ConnectionManager.java:264
↓ 8 callers
Method
getNetworkId
()
src/com/vodafone360/people/datatypes/ChatMessage.java:182
↓ 8 callers
Method
getSocialNetworkValue
This method returns the SocialNetwork object based on index in the SocialNetwork enum. This method should be called to get the SocialNetwork for a cha
src/com/vodafone360/people/engine/presence/NetworkPresence.java:166
↓ 8 callers
Method
init
initialise the cipher. @param forEncryption if true the cipher is initialised for encryption, if false for decryption. @param param the ke
src/org/bouncycastle/crypto/AsymmetricBlockCipher.java:16
↓ 8 callers
Method
isFirstTimeSyncComplete
Checks if the SyncMe and ContactSync Engines have both completed first time sync. @return true if both engines have completed first time sync
src/com/vodafone360/people/engine/presence/PresenceEngine.java:167
↓ 8 callers
Method
onConnectionStateChanged
Contains the main logic that determines the agent state for network access
src/com/vodafone360/people/service/agent/NetworkAgent.java:500
↓ 8 callers
Method
processUiQueue
Should be called by the run() function to process the UI request queue. Calling this function will result in the processUiRequest function being calle
src/com/vodafone360/people/engine/BaseEngine.java:414
↓ 8 callers
Method
setMeProfile
This method create a Me Profile contact in the database. @param dbHelper DatabaseHelper - the database. @param meProfile Contact - the Me Profile cont
src/com/vodafone360/people/engine/meprofile/SyncMeDbUtils.java:79
↓ 8 callers
Method
setRegistrationComplete
Helper function to set the registration complete flag and update the database with the new state. @param value true if registration is completed
src/com/vodafone360/people/engine/login/LoginEngine.java:982
↓ 8 callers
Method
setValue
Sets the value of the member data item associated with the specified tag. @param tag Current tag @param val Value associated with the tag
src/com/vodafone360/people/datatypes/ContactDetail.java:457
↓ 8 callers
Method
stopEventThread
()
tests/src/com/vodafone360/people/tests/engine/EngineTestFramework.java:228
↓ 8 callers
Method
tag
String value associated with detailKeyTypes item. @return String value for detailKeyTypes item.
src/com/vodafone360/people/datatypes/ContactDetail.java:94
↓ 8 callers
Method
updateContactDisplayName
Updates the summary for a contact Replaces the complex logic of updating the summary with a new contactdetail. Instead the method gets a whole contact
src/com/vodafone360/people/database/tables/ContactSummaryTable.java:978
↓ 7 callers
Method
addEventCallback
Allows the Activity to register a Handler, so that it can receive new call back events from the Service layer. @param Handler to listen for call back
src/com/vodafone360/people/service/interfaces/IPeopleService.java:51
↓ 7 callers
Method
addNativeContact
Adds a native contact to the people database. Note: it assumes that the new contact comes from native as it sets flags to prevent syncing back
src/com/vodafone360/people/engine/contactsync/PeopleContactsApi.java:203
↓ 7 callers
Method
compareTimeLineIds
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:217
↓ 7 callers
Method
copy
Copy parameters from UserProfile object. @param source UserProfile object to populate Contact with.
src/com/vodafone360/people/datatypes/Contact.java:418
↓ 7 callers
Method
createDummyDetailsName
()
tests/src/com/vodafone360/people/tests/TestModule.java:94
↓ 7 callers
Method
defaultValue
Return the default value for current setting. @return the default value for current setting.
src/com/vodafone360/people/service/PersistSettings.java:128
↓ 7 callers
Method
deleteDatabase
Deletes the database and then fires a Database Changed Event to the UI.
src/com/vodafone360/people/database/DatabaseHelper.java:332
↓ 7 callers
Method
fetchContact
Fetches a contact from the database. @param localContactId The primary key ID of the contact to find @param contact A newly created contact object th
src/com/vodafone360/people/database/tables/ContactsTable.java:569
↓ 7 callers
Method
fetchContactGroups
Fetches all the groups associated with a given contact. @param localContactId The local contact Id from the Contacts table @param groupIds A list tha
src/com/vodafone360/people/database/tables/ContactGroupsTable.java:222
↓ 7 callers
Method
fetchLogonCredentialsAndPublicKey
Fetches cached user login credentials (with encryption information). @param details An empty LoginDetails object to be filled @param pubKeyDetails An
src/com/vodafone360/people/database/tables/StateTable.java:358
↓ 7 callers
Method
fetchMeProfile
This method reads Me Profile contact from the database. @param dbHelper DatabaseHelper - the database @param contact Contact - the empty (stub) contac
src/com/vodafone360/people/engine/meprofile/SyncMeDbUtils.java:112
↓ 7 callers
Method
generateTestUserID
(Long contactID)
tests/src/com/vodafone360/people/tests/engine/contactsync/UploadServerContactsTest.java:527
↓ 7 callers
Method
getAuthenticationType
Returns the authentication type of this request. This can be one of the following: USE_API, which must be used for authentication requests that need a
src/com/vodafone360/people/service/io/Request.java:377
↓ 7 callers
Method
getBooleanProperty
Get boolean property value for key. @param key Key for required property. @return boolean key value.
src/com/vodafone360/people/SettingsManager.java:153
↓ 7 callers
Method
getContact
Gets a contact from its native id. @param nativeId the native id of the contact @return an array of ContactChange representing the contact, null if n
src/com/vodafone360/people/engine/contactsync/PeopleContactsApi.java:267
↓ 7 callers
Method
getContactIdsForAllAccounts
Utility method to get contact ids for all existing accounts.
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeContactsApiTest.java:673
↓ 7 callers
Method
getConversationId
()
src/com/vodafone360/people/datatypes/ChatMessage.java:142
↓ 7 callers
Method
getDisplayName
Simplified logic in comparison to the real code in ContactSummaryTable.getDisplayNameDetail and updateDisplayName which should behave the same way. @p
tests/src/com/vodafone360/people/tests/database/NowPlusContactSummaryTest.java:641
↓ 7 callers
Method
getInHessian
(InputStream is, boolean isRequest)
src/com/vodafone360/people/service/utils/hessian/HessianUtils.java:36
↓ 7 callers
Method
getLatestVersion
Get the latest version. @return the latest version
src/com/vodafone360/people/engine/upgrade/UpgradeStatus.java:81
↓ 7 callers
Method
getQueryData
Fetches change log information from a cursor at the current position. The {@link #getQueryStringSql(String)} method should be used to make the query.
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:241
↓ 7 callers
Method
getState
Gets the SIM card state. @see TelephonyManager#getSimState() @param context the application context @return the SIM card state
src/com/vodafone360/people/utils/SimCard.java:122
← previous
next →
201–300 of 3,317, ranked by callers