Home
last modified time | relevance | path

Searched refs:usageType (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMetadataEntryParser.java68 public UsageStats(String usageType, long lastTimeUsed, int timesUsed) { in UsageStats() argument
69 this.mUsageType = usageType; in UsageStats()
215 final String usageType = usageStat.getString(USAGE_TYPE); in parseDataToMetaDataEntry() local
216 if (TextUtils.isEmpty(usageType)) { in parseDataToMetaDataEntry()
223 usageType, lastTimeUsed, usageCount); in parseDataToMetaDataEntry()
DContactsProvider2.java5083 final String usageType = usageStats.mUsageType; in updateFromMetaDataEntry() local
5084 final int typeInt = getDataUsageFeedbackType(usageType.toLowerCase(), null); in updateFromMetaDataEntry()
6727 final String usageType = uri.getQueryParameter(DataUsageFeedback.USAGE_TYPE); in queryLocal() local
6728 final int typeInt = getDataUsageFeedbackType(usageType, USAGE_TYPE_ALL); in queryLocal()
8232 String[] projection, boolean distinct, Integer usageType) { in setTablesAndProjectionMapForData() argument
8233 setTablesAndProjectionMapForData(qb, uri, projection, distinct, false, usageType); in setTablesAndProjectionMapForData()
8237 String[] projection, boolean distinct, boolean addSipLookupColumns, Integer usageType) { in setTablesAndProjectionMapForData() argument
8248 sb, usageType == null ? USAGE_TYPE_ALL : usageType, DataColumns.CONCRETE_ID); in setTablesAndProjectionMapForData()
8350 private void appendDataUsageStatJoin(StringBuilder sb, int usageType, String dataIdColumn) { in appendDataUsageStatJoin() argument
8351 if (usageType != USAGE_TYPE_ALL) { in appendDataUsageStatJoin()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java429 String usageType = DataUsageFeedback.USAGE_TYPE_CALL;
435 usageType = DataUsageFeedback.USAGE_TYPE_SHORT_TEXT;
442 .appendQueryParameter(DataUsageFeedback.USAGE_TYPE, usageType)
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java9765 private void sendFeedback(String data1, String usageType, ContentValues values) { in sendFeedback() argument
9768 MoreAsserts.assertNotEqual(0, updateDataUsageFeedback(usageType, dataId)); in sendFeedback()
9774 private void updateDataUsageFeedback(String usageType, Uri resultUri) { in updateDataUsageFeedback() argument
9776 final boolean successful = updateDataUsageFeedback(usageType, id) > 0; in updateDataUsageFeedback()
9780 private int updateDataUsageFeedback(String usageType, long... ids) { in updateDataUsageFeedback() argument
9788 .appendQueryParameter(DataUsageFeedback.USAGE_TYPE, usageType) in updateDataUsageFeedback()