/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/modules/DnsResolver/tests/ |
D | tun_forwarder.h | 51 static base::Result<v4pair> makePair(const std::array<std::string, 2>& addrs); 64 static base::Result<v6pair> makePair(const std::array<std::string, 2>& addrs); 80 base::Result<void> validatePacket(netdutils::Slice tunPacket) const; 81 base::Result<void> validateIpv4Packet(netdutils::Slice ipv4Packet) const; 82 base::Result<void> validateIpv6Packet(netdutils::Slice ipv6Packet) const; 83 base::Result<void> validateUdpPacket(netdutils::Slice udpPacket) const; 84 base::Result<void> validateTcpPacket(netdutils::Slice tcpPacket) const; 88 base::Result<void> translatePacket(netdutils::Slice tunPacket) const; 89 base::Result<void> translateIpv4Packet(netdutils::Slice ipv4Packet) const; 90 base::Result<void> translateIpv6Packet(netdutils::Slice ipv6Packet) const;
|
D | tun_forwarder.cpp | 39 using android::base::Result; 68 Result<TunForwarder::v4pair> TunForwarder::v4pair::makePair( in makePair() 86 Result<TunForwarder::v6pair> TunForwarder::v6pair::makePair( in makePair() 220 Result<void> TunForwarder::validatePacket(Slice tunPacket) const { in validatePacket() 240 Result<void> TunForwarder::validateIpv4Packet(Slice ipv4Packet) const { in validateIpv4Packet() 270 Result<void> TunForwarder::validateIpv6Packet(Slice ipv6Packet) const { in validateIpv6Packet() 291 Result<void> TunForwarder::validateUdpPacket(Slice udpPacket) const { in validateUdpPacket() 298 Result<void> TunForwarder::validateTcpPacket(Slice tcpPacket) const { in validateTcpPacket() 313 Result<void> TunForwarder::translatePacket(Slice tunPacket) const { in translatePacket() 326 Result<void> TunForwarder::translateIpv4Packet(Slice ipv4Packet) const { in translateIpv4Packet() [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/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() 242 private Result<List<MediaItem>> mResult; 246 public FilesystemListTask(Result<List<MediaItem>> result, Uri[] uris, in FilesystemListTask() 305 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() argument 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/TV/src/com/android/tv/util/ |
D | AsyncDbTask.java | 57 public abstract class AsyncDbTask<Params, Progress, Result> 58 extends AsyncTask<Params, Progress, Result> { 82 public abstract static class AsyncQueryTask<Result> extends AsyncDbTask<Void, Void, Result> { 108 protected final Result doInBackground(Void... params) { in doInBackground() 156 Result result = onQuery(c); in doInBackground() 183 protected abstract Result onQuery(Cursor c); in onQuery()
|
/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.h | 46 struct Result { struct 52 QueryFuture(Query query, std::future<Result> result) in QueryFuture() argument 56 std::future<Result> result; 94 std::promise<Result> result;
|
D | resolv_tls_unit_test.cpp | 183 std::future<DnsTlsTransport::Result> f = transport.query(makeSlice(QUERY)); in TEST_F() 185 DnsTlsTransport::Result r = f.get(); in TEST_F() 200 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 267 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 286 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 307 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 327 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 351 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 379 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() 399 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() [all …]
|
D | DnsTlsTransport.h | 50 using Result = DnsTlsQueryMap::Result; variable 53 std::future<Result> query(const netdutils::Slice query) EXCLUDES(mLock);
|
/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/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 107 private enum Result { enum in CaptivePortalLoginActivity 113 Result(int metricsEvent) { this.metricsEvent = metricsEvent; } in Result() method in CaptivePortalLoginActivity.Result 164 done(Result.WANTED_AS_IS); in onCreate() 183 if (mNetwork.equals(lostNetwork)) done(Result.UNWANTED); in onCreate() 254 done(Result.DISMISSED); in handleCapabilitiesChanged() 291 private void done(Result result) { in done() 332 final Result result; in onOptionsItemSelected() 339 result = Result.WANTED_AS_IS; in onOptionsItemSelected() 342 result = Result.UNWANTED; in onOptionsItemSelected() 509 done(Result.DISMISSED); in testForCaptivePortal() [all …]
|
/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()
|
/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()
|