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
↓ 7 callers
Method
getTos
()
src/com/vodafone360/people/datatypes/ChatMessage.java:158
↓ 7 callers
Method
getUserId
@return user account name on Nowplus or other social network
src/com/vodafone360/people/engine/presence/NetworkPresence.java:79
↓ 7 callers
Method
getValidatedBirthdate
Validates the birth date by checking if <p> a) the preferred date is before the current date or b) the preferred date is before 1916 and correcting it
src/com/vodafone360/people/utils/MathUtils.java:94
↓ 7 callers
Method
kickWidgetUpdateNow
Sends an update event to the widget. @param context Android context.
src/com/vodafone360/people/utils/WidgetUtils.java:43
↓ 7 callers
Method
makePostalAddress
Create VCard representation of postal address. @param address PostalAddress item. @return VCard representation of postal address.
src/com/vodafone360/people/datatypes/VCardHelper.java:476
↓ 7 callers
Method
markDbChanged
Called by processors when they make changes to the people database. This is implemented outside the database framework to ensure UI updates happen mor
src/com/vodafone360/people/engine/contactsync/BaseSyncProcessor.java:140
↓ 7 callers
Method
modifyCredentialsAndPublicKey
Modify cached user credentials settings (without encryption information). @param details The new credentials. @param pubKeyDetails The new key detail
src/com/vodafone360/people/database/tables/StateTable.java:474
↓ 7 callers
Method
nextState
(State state)
tests/src/com/vodafone360/people/tests/engine/contactsync/UploadServerContactsTest.java:244
↓ 7 callers
Method
onDestroy
()
tests/src/com/vodafone360/people/tests/engine/contactsync/HelperClasses.java:90
↓ 7 callers
Method
processTimeout
This function must be called by run() in the derived engine implementation for the timer to work. @return true if the timeout was processed
src/com/vodafone360/people/engine/BaseEngine.java:513
↓ 7 callers
Method
setBackendContactId
Set the change's Backend Contact ID. @param The Backend Contact ID to set
src/com/vodafone360/people/engine/contactsync/ContactChange.java:582
↓ 7 callers
Method
syncDeleteContactList
Function used by the contact sync engine to delete a list of contacts from the database. @param contactIdList The list of contact IDs received from t
src/com/vodafone360/people/database/DatabaseHelper.java:1582
↓ 7 callers
Method
thumbnailPath
Return path to file containing specified thumb-nail. @param thumbnailId ID of thumb-nail. @return path to thumb-nail file, NULL if it does not exist.
src/com/vodafone360/people/utils/ThumbnailUtils.java:80
↓ 7 callers
Method
toString
()
src/com/vodafone360/people/database/tables/PresenceTable.java:124
↓ 7 callers
Method
toString
()
src/com/vodafone360/people/engine/contactsync/SyncStatus.java:216
↓ 7 callers
Method
valueForLikelihoodPercentage
Returns provided value if the probability Threshold given is met Otherwise returns zero @param treshold @param value @return value or zero
tests/src/com/vodafone360/people/tests/engine/contactsync/ContactChangeHelper.java:900
↓ 7 callers
Method
verifyPeopleAccountPresence
Utility method to verify the presence of people accounts @param numExpectedAccounts The number of expected Accounts
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeContactsApiTest.java:748
↓ 7 callers
Method
waitForEvent
(long timeout, int respType)
tests/src/com/vodafone360/people/tests/service/PeopleServiceTest.java:149
↓ 6 callers
Method
addTimelineEvents
Adds a list of timeline events to the database. Each event is grouped by contact and grouped by contact + native type. @param itemList List of timeli
src/com/vodafone360/people/database/tables/ActivitiesTable.java:1035
↓ 6 callers
Method
addUiRegistrationRequest
Called by the INowPlusService implementation to start the sign-up process. Adds a registration UI request to the queue and kicks the worker thread. @
src/com/vodafone360/people/engine/login/LoginEngine.java:274
↓ 6 callers
Method
containsAll
@see LinkedList.containsAll(Collection<?>)
src/com/vodafone360/people/engine/content/FiFoQueue.java:147
↓ 6 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/PresenceTable.java:163
↓ 6 callers
Method
create
Creates the contact detail table. @param writeableDb The SQLite database @throws SQLException If the table already exists or the database is
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:279
↓ 6 callers
Method
createInstance
Create NativeContactsApi singleton instance for later usage. The instance can retrieved by calling getInstance(). The instance can be destroyed by cal
src/com/vodafone360/people/engine/contactsync/NativeContactsApi.java:148
↓ 6 callers
Method
createRequestWithTimeout
Creates a request for the "undefined" engine. @param timeout the timeout for the request in milliseconds
tests/src/com/vodafone360/people/tests/service/utils/TimeOutWatcherTest.java:240
↓ 6 callers
Method
expect
(String expect, int ch)
src/com/caucho/hessian/micro/MicroHessianInput.java:513
↓ 6 callers
Method
feedPeopleContactsApiWithNewSyncableContacts
Feeds the PeopleContactApiMockup with new Contacts to sync. @param pcam the PeopleContactsApiMockup instance @param contactsCount the number of new co
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeExporterTest.java:476
↓ 6 callers
Method
fetchContactChangeLogCursor
Fetches a list of changes from the table for a specific type. The list is ordered by local contact ID. @param type The type of change to return (cann
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:625
↓ 6 callers
Method
fetchLatestStatusUpdateTime
Fetches the timestamp of the latest status activity that was synced. Used to keep track of which activities have already been added. @param readableD
src/com/vodafone360/people/database/tables/StateTable.java:985
↓ 6 callers
Method
fetchLogonCredentials
Fetches cached user login credentials (without encryption information). @param details An empty LoginDetails object to be filled @param readableDb Re
src/com/vodafone360/people/database/tables/StateTable.java:298
↓ 6 callers
Method
fetchTimelineEventList
Fetches timeline events grouped by local contact ID, name or contact address. Events returned will be in reverse-chronological order. If a native type
src/com/vodafone360/people/database/tables/ActivitiesTable.java:981
↓ 6 callers
Method
generateRandomBoolean
()
tests/src/com/vodafone360/people/tests/TestModule.java:346
↓ 6 callers
Method
getAvailableThirdPartyIdentities
Gets all third party identities and adds the mobile identity from 360 to them. @return A list of all 3rd party identities the user is signed in to pl
src/com/vodafone360/people/service/interfaces/IPeopleService.java:168
↓ 6 callers
Method
getConnectionThread
()
tests/src/com/vodafone360/people/tests/service/transport/tcp/conn_less/respreader/MockResponseReaderThread.java:47
↓ 6 callers
Method
getConnectionThread
()
tests/src/com/vodafone360/people/tests/service/transport/tcp/conn_less/hb_tests/MockHeartbeatSenderThread.java:51
↓ 6 callers
Method
getContactDetail
Fetches the preffered ContactDetail for this Contact for example the preffered phone number or email address If no such is found, an unpreffered conta
src/com/vodafone360/people/datatypes/Contact.java:618
↓ 6 callers
Method
getContactId
Contact ID. @return Contact ID.
src/com/vodafone360/people/ThumbnailCache.java:108
↓ 6 callers
Method
getInternalState
Returns the current internal state of the processor (for testing only). @return InternalState of processor.
src/com/vodafone360/people/engine/contactsync/UploadServerContacts.java:1164
↓ 6 callers
Method
getPackageVersionCode
Returns the version code from the AndroidManifest.xml file @param context Android context. @return Version code as an integer, or "" if name not foun
src/com/vodafone360/people/utils/VersionUtils.java:141
↓ 6 callers
Method
getPostalAddress
Get PostalAddress from supplied string. @param val String containing address. @return Postal address generated from supplied String.
src/com/vodafone360/people/datatypes/VCardHelper.java:494
↓ 6 callers
Method
getPresenceEngine
Fetch presence engine @return Presence Engine object
src/com/vodafone360/people/engine/EngineManager.java:354
↓ 6 callers
Method
getQueryData
Returns the contact detail for the current record in the cursor. Query to produce the cursor must be obtained using the {@link #getFullQueryList()} .
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:377
↓ 6 callers
Method
getRequestTimeoutWatcher
Returns a timeout-watcher of requests from the request queue. @return The timeout watcher inside the request queue.
src/com/vodafone360/people/service/io/QueueManager.java:110
↓ 6 callers
Method
getUserId
()
src/com/vodafone360/people/datatypes/ChatMessage.java:174
↓ 6 callers
Method
getVCardList
Create array of VCard items from supplied String. @param val String containing VCard items. @param itemList List of VCard items to populate.
src/com/vodafone360/people/datatypes/VCardHelper.java:253
↓ 6 callers
Method
getValue
Get value associated with this PersistSettings. @return Object representing value associated with this PersistSettings.
src/com/vodafone360/people/service/PersistSettings.java:447
↓ 6 callers
Method
hasDetailChanged
Utility function which compares two contact details to determine if they have the same value. TODO: Move to utility class @param oldDetail The first
src/com/vodafone360/people/database/DatabaseHelper.java:2185
↓ 6 callers
Method
isFirstTimeSyncComplete
Determines if the first time contact sync has been completed. @return true if completed.
src/com/vodafone360/people/engine/contactsync/ContactSyncEngine.java:512
↓ 6 callers
Method
isMeProfile
Checks if a given contact id belongs to the Me Contact. @param dbHelper DatabaseHelper - the database @param localContactId The contact id to check @r
src/com/vodafone360/people/engine/meprofile/SyncMeDbUtils.java:147
↓ 6 callers
Method
makeName
Return VCard name string from supplied Name. @param name Name item. @return String generated from supplied Name.
src/com/vodafone360/people/datatypes/VCardHelper.java:355
↓ 6 callers
Method
modifyContactDetail
Modifies an existing contact detail in the database. Also fires an internal database change event. @param detail A {@link ContactDetail} object which
src/com/vodafone360/people/database/DatabaseHelper.java:477
↓ 6 callers
Method
modifyPictureLoadedFlag
Modifies the avatar loaded flag for a particular contact @param localContactID The primary key ID of the contact @param value Can be one of the follo
src/com/vodafone360/people/database/tables/ContactSummaryTable.java:689
↓ 6 callers
Method
newState
Changes the state of the engine and informs the observers. @param newState The new state
src/com/vodafone360/people/engine/contactsync/ContactSyncEngine.java:1279
↓ 6 callers
Method
nextState
(State state)
tests/src/com/vodafone360/people/tests/engine/contactsync/DownloadServerContactsTest.java:225
↓ 6 callers
Method
onConnectionStateChanged
(int state)
src/com/vodafone360/people/service/transport/tcp/ITcpConnectionListener.java:11
↓ 6 callers
Method
populateFromHashtable
Create ItemList from Hashtable generate by Hessian-decoder. @param hash Hashtable containing ItemList parameters.
src/com/vodafone360/people/datatypes/ItemList.java:84
↓ 6 callers
Method
protocolException
(String message)
src/com/caucho/hessian/micro/MicroHessianInput.java:520
↓ 6 callers
Method
sendHeartbeat
Prepares the necessary Hessian payload and writes it directly to the open output-stream of the socket. @throws Exception Thrown if there was an unkno
src/com/vodafone360/people/service/transport/tcp/HeartbeatSenderThread.java:268
↓ 6 callers
Method
setBackendDetailId
Set the change's Backend Detail ID. @param The Backend Detail ID to set
src/com/vodafone360/people/engine/contactsync/ContactChange.java:598
↓ 6 callers
Method
setBoolean
Return the value of the given field, or defaultValue if the value is not present. @param cursor SQLite cursor. @param field Column identifier. @param
src/com/vodafone360/people/database/utils/SqlUtils.java:117
↓ 6 callers
Method
setFlags
Set the change flags. @param flags The flags to set
src/com/vodafone360/people/engine/contactsync/ContactChange.java:518
↓ 6 callers
Method
setNewState
(AgentState newState)
src/com/vodafone360/people/service/agent/NetworkAgent.java:588
↓ 6 callers
Method
setUserId
(String senderUserId)
src/com/vodafone360/people/datatypes/ChatMessage.java:178
↓ 6 callers
Method
syncAddContactDetailList
Function used by the contact sync engine to add a list of contact details to the database. @param detailList The list of details received from the se
src/com/vodafone360/people/database/DatabaseHelper.java:1740
↓ 6 callers
Method
syncDeleteNativeChangeLog
Removes a list of changes from the change log table. This method is used once the native has been successfully updated by the client. @param changeId
src/com/vodafone360/people/database/tables/NativeChangeLogTable.java:585
↓ 6 callers
Method
toString
{@inheritDoc}
src/com/vodafone360/people/service/PersistSettings.java:175
↓ 6 callers
Method
updateContactNameInSummary
Updates the ContactSummary table with the new/changed Contact. @param writableDatabase - SQLiteDatabase writable database. @param localContactId - lon
src/com/vodafone360/people/database/DatabaseHelper.java:2391
↓ 6 callers
Method
updateProgress
Helper method to update the progress UI.
src/com/vodafone360/people/engine/contactsync/UploadServerContacts.java:1147
↓ 6 callers
Method
updateTimelineNames
Updates the contents of the activities table when a contact detail changes. @param cd The new or modified contact detail @param contactFriendlyName N
src/com/vodafone360/people/database/DatabaseHelper.java:1837
↓ 6 callers
Method
validateContactId
Validates a contact exists and returns the relevant contact id information. @param localContactId The local Id of the contact to find @param readable
src/com/vodafone360/people/database/tables/ContactsTable.java:322
↓ 5 callers
Method
addCallerIsSyncAdapterParameter
Static utility method that adds the Sync Adapter flag to the provided URI @param uri URI to add the flag to @return URI with the flag
src/com/vodafone360/people/engine/contactsync/NativeContactsApi2.java:1987
↓ 5 callers
Method
addContactToGroup
Associates a contact and a group @param localContactId The local contact Id from the Contacts table @param zybGroupId The server group ID from groups
src/com/vodafone360/people/database/tables/ContactGroupsTable.java:140
↓ 5 callers
Method
addGroupRel
Inserts "Add contact to group" operation into the change log. @param localContactId Local contact ID from the Contacts table @param serverContactId S
src/com/vodafone360/people/database/tables/ContactChangeLogTable.java:281
↓ 5 callers
Method
addValuesToBatch
Adds current values to the batch. @param nabContactId The existing NAB Contact ID if it is an update or an invalid id if a new contact
src/com/vodafone360/people/engine/contactsync/NativeContactsApi2.java:1280
↓ 5 callers
Method
calculateExpiryDate
Calculates the expiry date based on the timeout. TODO: should have instead an execute() method to call when performing the request. it would set the r
src/com/vodafone360/people/service/io/Request.java:594
↓ 5 callers
Method
compareContactWithContactSummary
Compares a Contact summary with its original contact. @param contact the original contact @param contactSummary the contact summary
tests/src/com/vodafone360/people/tests/database/NowPlusContactSummaryTest.java:604
↓ 5 callers
Method
complete
/ Completion of fetch from Native message log. Notify ActivitiesEngine that message-log sync. has completed. Close Cursors. @param status ServiceSta
src/com/vodafone360/people/engine/activities/FetchSmsLogEvents.java:194
↓ 5 callers
Method
create
Creates a suitable processor for a required contact sync activity. @see ProcessorFactory#create(int, IContactSyncCallback, DatabaseHelper, Conte
src/com/vodafone360/people/engine/contactsync/DefaultProcessorFactory.java:50
↓ 5 callers
Method
createFromHashtable
Create UserProfile from Hashtable. @param hash Hashtable containing User Profile information. @return UserProfile generated from Hashtable.
src/com/vodafone360/people/datatypes/UserProfile.java:179
↓ 5 callers
Method
createTable
()
tests/src/com/vodafone360/people/tests/database/NowPlusChangeLogTest.java:64
↓ 5 callers
Method
createVCardList
Create String from array of VCard items. @param itemList List array of VCard items. @return String constructed from array of Items.
src/com/vodafone360/people/datatypes/VCardHelper.java:217
↓ 5 callers
Method
destroyInstance
Destroy NativeContactsApi singleton instance if created. The instance can be recreated by calling createInstance() @see NativeContactsApi#createInsta
src/com/vodafone360/people/engine/contactsync/NativeContactsApi.java:182
↓ 5 callers
Method
fetchActivitiesIds
Returns a list of activity IDs already synced, in reverse chronological order Fetches from the given timestamp. @param actIdList An empty list which
src/com/vodafone360/people/database/tables/ActivitiesTable.java:600
↓ 5 callers
Method
fetchContactByServerId
Fetches a contact, given a server Id. @param contactServerId The server ID of the contact to fetch @param contact An empty Contact object which will
src/com/vodafone360/people/database/DatabaseHelper.java:2139
↓ 5 callers
Method
fetchLatestPhoneCallTime
Fetches the timestamp of the latest phone call timeline activity that was synced. Used to keep track of which activities have already been added. @pa
src/com/vodafone360/people/database/tables/StateTable.java:1092
↓ 5 callers
Method
fetchMeProfileId
Fetches the local contact ID for the me profile (which is stored in the contacts table with the other contacts). @param readableDb Readable SQLite da
src/com/vodafone360/people/database/tables/StateTable.java:841
↓ 5 callers
Method
generateFakeTimeLinesList
TODO: fill in the method properly @return
tests/src/com/vodafone360/people/tests/TestModule.java:442
↓ 5 callers
Method
get
Gets the value from its given position in the array. @param position the position of the value in the array @return the value at the provided positio
src/com/vodafone360/people/utils/DynamicArrayLong.java:118
↓ 5 callers
Method
getAgeMillis
Returns the age of a given System.currentTimeMillis() value. @param time Time to check @return Age in milliseconds
src/com/vodafone360/people/engine/upgrade/UpgradeUtils.java:137
↓ 5 callers
Method
getAuthTimestamp
Gets the time stamp when this request's hash was calculated. @return The time stamp representing the creation date of this request.
src/com/vodafone360/people/service/io/Request.java:404
↓ 5 callers
Method
getDefaultBoolean
Return the default (boolean) value for supplied Option. @param option Option @return default boolean value for specified Option or false if if the
src/com/vodafone360/people/service/PersistSettings.java:187
↓ 5 callers
Method
getInputStream
()
tests/src/com/vodafone360/people/tests/service/transport/tcp/conn_less/respreader/MockResponseReaderThread.java:43
↓ 5 callers
Method
getInstance
(Context context)
tests/src/com/vodafone360/people/tests/engine/contactsync/NativeContactsApiTestHelper.java:50
↓ 5 callers
Method
getMeProfileUserId
@param databaseHelper @return
src/com/vodafone360/people/engine/presence/PresenceDbUtils.java:82
↓ 5 callers
Method
getMyChattableIdentities
Takes all third party identities that have a chat capability set to true. @return A list of chattable 3rd party identities the user is signed in to.
src/com/vodafone360/people/engine/identities/IdentityEngine.java:320
↓ 5 callers
Method
getNetworkAgent
Return handle to {@link NetworkAgent} @return handle to {@link NetworkAgent}
src/com/vodafone360/people/service/RemoteService.java:305
↓ 5 callers
Method
getNextResponse
Retrieves the next response from the response list if there is one and it is equal to the passed engine ID. @param source The originating engine id t
src/com/vodafone360/people/service/io/ResponseQueue.java:228
↓ 5 callers
Method
getQueryStringSql
Returns the SQL for doing a raw query on the contact details table. The {@link #getQueryData(Cursor)} method can be used for fetching the data from th
src/com/vodafone360/people/database/tables/ContactDetailsTable.java:319
↓ 5 callers
Method
getRequestsArray
Gets an array containing all the requests being watched for timeouts. @return array containing all requests, NULL if list of requests maintai
src/com/vodafone360/people/service/utils/TimeOutWatcher.java:357
↓ 5 callers
Method
getServiceInterface
Return current IPeopleService interface. TODO: The case where mServiceInterface = NULL needs to be considered. @return current IPeopleService interfa
src/com/vodafone360/people/MainApplication.java:184
← previous
next →
301–400 of 3,317, ranked by callers