/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phFriNfc_MifareStdMap.cpp | 63 NFCSTATUS Result); 144 NFCSTATUS Result = NFCSTATUS_SUCCESS; in phFriNfc_MapTool_SetCardState() local 191 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, NFCSTATUS_NO_NDEF_SUPPORT); in phFriNfc_MapTool_SetCardState() 195 Result = ((NdefMap->CardState == PH_NDEFMAP_CARD_STATE_INVALID) in phFriNfc_MapTool_SetCardState() 197 : Result); in phFriNfc_MapTool_SetCardState() 199 return Result; in phFriNfc_MapTool_SetCardState() 1220 NFCSTATUS Result) { in phFriNfc_MifStd_H_Complete() argument 1226 .CompletionRoutine(NdefMap->CompletionRoutine->Context, Result); in phFriNfc_MifStd_H_Complete() 1242 NFCSTATUS Result = NFCSTATUS_SUCCESS; in phFriNfc_MifStd4k_H_CheckNdef() local 1256 Result = phFriNfc_MifareStdMap_ChkNdef(NdefMap); in phFriNfc_MifStd4k_H_CheckNdef() [all …]
|
D | phFriNfc_MifStdFormat.cpp | 154 NFCSTATUS Result = in phFriNfc_MfStd_Format() local 181 Result = phFriNfc_MfStd_H_WrRdAuth(NdefSmtCrdFmt); in phFriNfc_MfStd_Format() 183 return Result; in phFriNfc_MfStd_Format() 484 NFCSTATUS Result = NFCSTATUS_SUCCESS; in phFriNfc_MfStd_H_Transceive() local 494 Result = phFriNfc_ExtnsTransceive( in phFriNfc_MfStd_H_Transceive() 498 return Result; in phFriNfc_MfStd_H_Transceive() 513 NFCSTATUS Result = Status; in phFriNfc_MfStd_H_CallDisCon() local 518 Result = phNxNciExtns_MifareStd_Reconnect(); in phFriNfc_MfStd_H_CallDisCon() 519 return Result; in phFriNfc_MfStd_H_CallDisCon() 534 NFCSTATUS Result = NFCSTATUS_SUCCESS; in phFriNfc_MfStd_H_CallCon() local [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ThumbnailCacheTest.java | 32 import com.android.documentsui.ThumbnailCache.Result; 70 Result result = mCache.getThumbnail(URI_1, MID_SIZE); in testMiss() 79 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact() 89 Result result = mCache.getThumbnail(URI_0, LARGE_SIZE); in testHit_Smaller() 99 Result result = mCache.getThumbnail(URI_0, SMALL_SIZE); in testHit_Larger() 110 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Larger_HasBothSize() 124 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact_MultiplePut() 134 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_EqualLastModified() 145 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testEvictOldest_SizeExceeded() 158 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testCacheShrink_OnTrimMemory_Moderate() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 70 public Result getThumbnail(Uri uri, Point size) { in getThumbnail() 75 return Result.obtainMiss(); in getThumbnail() 83 return Result.obtain(Result.CACHE_HIT_EXACT, size, entry); in getThumbnail() 95 return Result.obtain(Result.CACHE_HIT_LARGER, otherSize, entry); in getThumbnail() 108 return Result.obtain(Result.CACHE_HIT_SMALLER, otherSize, entry); in getThumbnail() 114 return Result.obtainMiss(); in getThumbnail() 186 public static final class Result { class in ThumbnailCache 210 private static final Pools.SimplePool<Result> sPool = new Pools.SimplePool<>(1); 217 private static Result obtainMiss() { in obtainMiss() 221 private static Result obtain(@Status int status, Point size, Entry entry) { in obtain() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | EmailAsyncTask.java | 41 public abstract class EmailAsyncTask<Params, Progress, Result> { 141 private final InnerTask<Params, Progress, Result> mInnerTask; 149 mInnerTask = new InnerTask<Params, Progress, Result>(this); in EmailAsyncTask() 159 protected abstract Result doInBackground(Params... params); in doInBackground() 169 protected void onCancelled(Result result) { in onCancelled() 179 protected void onSuccess(Result result) { in onSuccess() 187 public final EmailAsyncTask<Params, Progress, Result> executeParallel(Params... params) { in executeParallel() 196 public final EmailAsyncTask<Params, Progress, Result> executeSerial(Params... params) { in executeSerial() 204 public final EmailAsyncTask<Params, Progress, Result> cancelPreviousAndExecuteParallel( in cancelPreviousAndExecuteParallel() 213 public final EmailAsyncTask<Params, Progress, Result> cancelPreviousAndExecuteSerial( in cancelPreviousAndExecuteSerial() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | ContentProviderTask.java | 42 public class ContentProviderTask extends AsyncTask<Void, Void, ContentProviderTask.Result> { 50 public static class Result { class in ContentProviderTask 59 private Result(Exception exception, ContentProviderResult[] results) { in Result() method in ContentProviderTask.Result 69 private static Result newSuccess(ContentProviderResult[] success) { in newSuccess() 70 return new Result(null, success); in newSuccess() 77 private static Result newFailure(Exception failure) { in newFailure() 78 return new Result(failure, null); in newFailure() 83 protected Result doInBackground(Void... params) { in doInBackground() 84 Result result; in doInBackground() 86 result = Result.newSuccess(mResolver.applyBatch(mAuthority, mOps)); in doInBackground() [all …]
|
/packages/services/Car/evs/app/ |
D | RenderTopView.cpp | 77 android::mat4 Result(1.0f); in cameraLookMatrix() local 78 Result[0][0] = vRt.x; in cameraLookMatrix() 79 Result[1][0] = vRt.y; in cameraLookMatrix() 80 Result[2][0] = vRt.z; in cameraLookMatrix() 81 Result[0][1] = vUp.x; in cameraLookMatrix() 82 Result[1][1] = vUp.y; in cameraLookMatrix() 83 Result[2][1] = vUp.z; in cameraLookMatrix() 84 Result[0][2] =-vAt.x; in cameraLookMatrix() 85 Result[1][2] =-vAt.y; in cameraLookMatrix() 86 Result[2][2] =-vAt.z; in cameraLookMatrix() [all …]
|
/packages/apps/Email/src/com/android/email/activity/ |
D | ContactStatusLoader.java | 40 public class ContactStatusLoader extends AsyncTaskLoader<ContactStatusLoader.Result> { 64 public static class Result { class in ContactStatusLoader 65 public static final Result UNKNOWN = new Result(null, PRESENCE_UNKNOWN_RESOURCE_ID, null); 76 public Result(Bitmap photo, int presenceResId, Uri lookupUri) { in Result() method in ContactStatusLoader.Result 94 public Result loadInBackground() { in loadInBackground() 103 public static Result getContactInfo(Context context, String emailAddress) { in getContactInfo() 110 return Result.UNKNOWN; in getContactInfo() 116 return Result.UNKNOWN; in getContactInfo() 144 return new Result(photo, presenceStatusResId, lookupUri); in getContactInfo()
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredAccountWorkerImpl.java | 53 import com.android.dialer.preferredsim.PreferredAccountWorker.Result.Builder; 98 public ListenableFuture<Result> selectAccount( in selectAccount() 103 private Result doInBackground(String phoneNumber, List<PhoneAccountHandle> candidates) { in doInBackground() 130 Result.builder( in doInBackground() 141 private Result usePreferredSim( in usePreferredSim() 146 resultBuilder = Result.builder(preferred); in usePreferredSim() 150 resultBuilder = Result.builder(createDialogOptionsBuilder(candidates, dataId, null)); in usePreferredSim() 156 private Result useDefaultSim( in useDefaultSim() 162 return Result.builder(defaultPhoneAccount).build(); in useDefaultSim() 166 return Result.builder(createDialogOptionsBuilder(candidates, dataId, null)).build(); in useDefaultSim() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | WeakAsyncTask.java | 23 public abstract class WeakAsyncTask<Params, Progress, Result, WeakTarget> extends 24 AsyncTask<Params, Progress, Result> { 42 protected final Result doInBackground(Params... params) { in doInBackground() 53 protected final void onPostExecute(Result result) { in onPostExecute() 64 protected abstract Result doInBackground(WeakTarget target, Params... params); in doInBackground() 66 protected void onPostExecute(WeakTarget target, Result result) { in onPostExecute()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | DataModel.java | 33 import android.service.media.MediaBrowserService.Result; 92 public void onQueryByFolder(String parentId, Result<List<MediaItem>> result) { in onQueryByFolder() 97 public void onQueryByAlbum(String parentId, Result<List<MediaItem>> result) { in onQueryByAlbum() 109 public void onQueryByArtist(String parentId, Result<List<MediaItem>> result) { in onQueryByArtist() 121 public void onQueryByGenre(String parentId, Result<List<MediaItem>> result) { in onQueryByGenre() 133 private void queryInBackground(Result<List<MediaItem>> result, in queryInBackground() 201 public void onQueryByKey(String lastCategory, String parentId, Result<List<MediaItem>> result) { in onQueryByKey() 243 private Result<List<MediaItem>> mResult; 247 public FilesystemListTask(Result<List<MediaItem>> result, Uri[] uris, in FilesystemListTask() 306 private Result<List<MediaItem>> mResult; [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | SafeAsyncTask.java | 36 public abstract class SafeAsyncTask<Params, Progress, Result> 37 extends AsyncTask<Params, Progress, Result> { 81 public final SafeAsyncTask<Params, Progress, Result> executeOnThreadPool( in executeOnThreadPool() 89 protected abstract Result doInBackgroundTimed(final Params... params); in doInBackgroundTimed() 92 protected final Result doInBackground(final Params... params) { in doInBackground() 128 protected void onPostExecute(final Result result) { in onPostExecute()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.cpp | 97 const TrieMap::Result TrieMap::get(const int key, const int bitmapEntryIndex) const { in get() 148 const TrieMap::Result TrieMap::iterateNext(std::vector<TableIterationState> *const iterationState, in iterateNext() 167 return Result(entry.getValue(), true, INVALID_INDEX); in iterateNext() 171 return Result(valueEntry.getValueOfValueEntry(), true, valueEntryIndex + 1); in iterateNext() 176 return Result(0, false, INVALID_INDEX); in iterateNext() 283 const TrieMap::Result TrieMap::getInternal(const uint32_t key, const uint32_t hashedKey, in getInternal() 289 return Result(0, false, INVALID_INDEX); in getInternal() 293 return Result(terminalEntry.getValue(), true, INVALID_INDEX); in getInternal() 297 return Result(valueEntry.getValueOfValueEntry(), true, valueEntryIndex + 1); in getInternal()
|
D | trie_map.h | 39 struct Result { struct 44 Result(const uint64_t value, const bool isValid, const int nextLevelBitmapEntryIndex) in Result() function 120 const Result result = mTrieMap->iterateNext(&mStateStack, &mKey); 187 const Result getRoot(const int key) const { in getRoot() 191 const Result get(const int key, const int bitmapEntryIndex) const; 306 const Result getInternal(const uint32_t key, const uint32_t hashedKey, 316 const Result iterateNext(std::vector<TableIterationState> *const iterationState,
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | ImagePersistWorker.java | 25 import com.android.dialer.callcomposer.camera.ImagePersistWorker.Result; 39 public class ImagePersistWorker implements Worker<Void, Result> { 47 abstract static class Result { class in ImagePersistWorker 68 abstract Result build(); in build() 89 public Result doInBackground(Void unused) throws Exception { in doInBackground() 96 return Result.builder() in doInBackground()
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ContactResolver.java | 158 public static class ContactResolverTask extends AsyncTask<Void, Result, Void> { 195 publishProgress(new Result(request, null)); in doInBackground() 213 publishProgress(new Result(request, null)); in doInBackground() 237 publishProgress(new Result(request, result)); in doInBackground() 256 protected void onProgressUpdate(final Result... values) { in onProgressUpdate() 280 private static class Result { class in ContactResolver 284 private Result(final ContactRequestHolder request, final ReusableBitmap bitmap) { in Result() method in ContactResolver.Result
|
/packages/apps/TV/src/com/android/tv/util/ |
D | AsyncDbTask.java | 52 public abstract class AsyncDbTask<Params, Progress, Result> 53 extends AsyncTask<Params, Progress, Result> { 77 public abstract static class AsyncQueryTask<Result> extends AsyncDbTask<Void, Void, Result> { 103 protected final Result doInBackground(Void... params) { in doInBackground() 151 Result result = onQuery(c); in doInBackground() 178 protected abstract Result onQuery(Cursor c); in onQuery()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 85 private enum Result { enum in CaptivePortalLoginActivity 91 Result(int metricsEvent) { this.metricsEvent = metricsEvent; } in Result() method in CaptivePortalLoginActivity.Result 124 done(Result.WANTED_AS_IS); in onCreate() 143 if (mNetwork.equals(lostNetwork)) done(Result.UNWANTED); in onCreate() 222 private void done(Result result) { in done() 263 final Result result; in onOptionsItemSelected() 268 result = Result.WANTED_AS_IS; in onOptionsItemSelected() 272 result = Result.UNWANTED; in onOptionsItemSelected() 388 done(Result.DISMISSED); in testForCaptivePortal() 428 done(Result.WANTED_AS_IS); in onPageStarted()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 291 final Result result = getResult(capitalizeType, mLocale, suggestionsLimit, in onGetSuggestionsInternal() 329 private static final class Result { class in AndroidWordLevelSpellCheckerSession 332 public Result(final String[] gatheredSuggestions, final boolean hasRecommendedSuggestions) { in Result() method in AndroidWordLevelSpellCheckerSession.Result 338 private static Result getResult(final int capitalizeType, final Locale locale, in getResult() 342 return new Result(null /* gatheredSuggestions */, in getResult() 371 return new Result(gatheredSuggestions, hasRecommendedSuggestions); in getResult()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | HealthServiceWearInfoProvider.java | 21 import android.hardware.health.V2_0.Result; 55 final MutableInt success = new MutableInt(Result.NOT_SUPPORTED); in load() 66 if (result == Result.SUCCESS) { in load() 93 if (success.value != Result.SUCCESS) { in load()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | FullresRenderingRequestTask.java | 19 static class RenderResult implements Result { 47 public Result doInBackground(Request message) { in doInBackground() 57 public void onResult(Result message) { in onResult()
|
D | RenderingRequestTask.java | 35 static class RenderResult implements Result { 63 public Result doInBackground(Request message) { in doInBackground() 79 public void onResult(Result message) { in onResult()
|
D | HighresRenderingRequestTask.java | 39 static class RenderResult implements Result { 70 public Result doInBackground(Request message) { in doInBackground() 80 public void onResult(Result message) { in onResult()
|
D | ProcessingTask.java | 32 static interface Result {} interface in ProcessingTask 83 public abstract Result doInBackground(Request message); in doInBackground() 84 public abstract void onResult(Result message); in onResult()
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/ |
D | PreferredAccountWorker.java | 33 abstract class Result { class 80 public abstract Result build(); in build() 94 ListenableFuture<Result> selectAccount(String phoneNumber, List<PhoneAccountHandle> candidates); in selectAccount()
|