Home
last modified time | relevance | path

Searched refs:resultType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java217 String resultType = null; in inferMimeType() local
222 resultType = "message/rfc822"; in inferMimeType()
230 resultType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileExtension); in inferMimeType()
231 if (TextUtils.isEmpty(resultType)) { in inferMimeType()
233 resultType = isTextPlain ? mimeType : "application/" + fileExtension; in inferMimeType()
237 resultType = mimeType; in inferMimeType()
242 if (TextUtils.isEmpty(resultType)) { in inferMimeType()
243 resultType = isTextPlain ? "text/plain" : "application/octet-stream"; in inferMimeType()
245 return resultType.toLowerCase(); in inferMimeType()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java700 int resultType = getResultType(batchScanParams); in resetBatchScan() local
701 int fullScanPercent = getFullScanStoragePercent(resultType); in resetBatchScan()
714 gattClientStartBatchScanNative(scannerId, resultType, scanInterval, scanWindow, 0, in resetBatchScan()
722 private int getFullScanStoragePercent(int resultType) { in getFullScanStoragePercent() argument
723 switch (resultType) { in getFullScanStoragePercent()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java373 final int resultType = resultViewHolder.getClickActionMetricName(); in logSearchResultClicked() local
376 mMetricsFeatureProvider.logSearchResultClick(result, mQuery, resultType, resultCount, in logSearchResultClicked()