/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ThumbnailCacheTest.java | 70 Result result = mCache.getThumbnail(URI_1, MID_SIZE); in testMiss() local 79 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact() local 89 Result result = mCache.getThumbnail(URI_0, LARGE_SIZE); in testHit_Smaller() local 99 Result result = mCache.getThumbnail(URI_0, SMALL_SIZE); in testHit_Larger() local 110 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Larger_HasBothSize() local 124 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact_MultiplePut() local 134 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_EqualLastModified() local 145 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testEvictOldest_SizeExceeded() local 158 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testCacheShrink_OnTrimMemory_Moderate() local 175 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testCacheShrink_OnTrimMemory_Background() local [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2FailureRequestTest.java | 61 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequest() local 78 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestMissingMessage() local 96 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestMissingMessageWithSpace() local 116 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestInvalidErrorCode() local 124 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestInvalidChallenge() local 132 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestShortChallenge() local 140 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureRequestInvalidPasswordChangeProtocol() local 149 DecodeResult<EapMsChapV2FailureRequest> result = in testDecodeFailureExtraAttribute() local
|
D | EapMsChapV2SuccessRequestTest.java | 63 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequest() local 77 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestEmptyMessage() local 92 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestMissingMessage() local 107 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestMissingMessageWithSpace() local 124 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestWrongOpCode() local 133 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestShortMessage() local 142 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestInvalidPrefix() local 151 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestShortAuthString() local 160 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestInvalidAuthString() local 169 DecodeResult<EapMsChapV2SuccessRequest> result = in testDecodeSuccessRequestExtraAttribute() local
|
D | EapMsChapV2ChallengeRequestTest.java | 58 DecodeResult<EapMsChapV2ChallengeRequest> result = in testDecodeChallengeRequest() local 72 DecodeResult<EapMsChapV2ChallengeRequest> result = in testDecodeChallengeRequestWrongOpCode() local 81 DecodeResult<EapMsChapV2ChallengeRequest> result = in testDecodeChallengeRequestShortChallenge() local 90 DecodeResult<EapMsChapV2ChallengeRequest> result = in testDecodeChallengeRequestShortMsLength() local 99 DecodeResult<EapMsChapV2ChallengeRequest> result = in testDecodeChallengeRequestLongMsLength() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | InitialLockSetupServiceTest.java | 106 int result = service.checkValidLock(LockTypes.PASSWORD, "hi".getBytes()); in testCheckValidLock_tooShort() local 115 int result = service.checkValidLock(LockTypes.PASSWORD, "password".getBytes()); in testCheckValidLock_longEnough() local 124 int result = service.checkValidLock(LockTypes.PIN, "12a3".getBytes()); in testCheckValidLockPin_withLetters() local 137 int result = service.checkValidLock(LockTypes.PATTERN, pattern); in testCheckValidLockPattern_tooShort() local 150 int result = service.checkValidLock(LockTypes.PATTERN, pattern); in testCheckValidLockPattern_longEnough() local 160 int result = service.setLock(LockTypes.PASSWORD, "password".getBytes()); in testSetLockPassword_doesNotWorkWithExistingPassword() local 168 int result = service.setLock(LockTypes.PASSWORD, "hi".getBytes()); in testSetLockPassword_doesNotWorkWithInvalidPassword() local 179 int result = service.setLock(LockTypes.PASSWORD, password); in testSetLockPassword_setsDevicePassword() local 191 int result = service.setLock(LockTypes.PIN, password); in testSetLockPin_setsDevicePin() local 212 int result = service.setLock(LockTypes.PATTERN, patternBytes); in testSetLockPattern_setsDevicePattern() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 95 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLoadingApps() local 106 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testGamesAreFiltered() local 119 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLegacyGamesAreFiltered() local 130 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheIsNotIgnored() local 146 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testMultipleUsers() local 159 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testUpdatedSystemAppCodeSizeIsCounted() local 169 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testVideoAppsAreFiltered() local 185 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testRemovedPackageDoesNotCrash() local 206 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testPackageIsNotDoubleCounted() local 218 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheOveragesAreCountedAsFree() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/utils/ |
D | LogTest.java | 36 String result = new Log(TAG, false, false).pii(PII); in testPii() local 37 assertEquals(Integer.toString(PII.hashCode()), result); in testPii() local 40 assertEquals(Integer.toString(PII.hashCode()), result); in testPii() local 43 assertEquals(Integer.toString(PII.hashCode()), result); in testPii() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateTest.java | 77 EapResult result = mEapState.process(null); in testProcessNullPacket() local 86 EapResult result = mEapState.process(REQUEST_UNSUPPORTED_TYPE_PACKET); in testProcessUnsupportedEapDataType() local 95 EapResult result = mEapState.process(SHORT_PACKET); in testProcessDecodeFailure() local 104 EapResult result = mEapState.process(EAP_RESPONSE_NOTIFICATION_PACKET); in testProcessResponse() local 113 EapResult result = mEapState.process(EAP_REQUEST_NAK_PACKET); in testProcessNakRequest() local 122 EapResult result = mEapState.process(EAP_REQUEST_MD5_CHALLENGE); in testProcessMd5Challenge() local
|
D | EapAkaPrimeStateTest.java | 60 EapResult result = mStateMachine.process(notification); in testProcessNotification() local 78 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidDecodeResult() local 89 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_FAILURE, ID_INT, null)); in testHandleEapFailure() local 96 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_SUCCESS, ID_INT, null)); in testHandleEapSuccess() local
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 94 EapResult result = mStateMachine.process(eapMessage); in testProcessSuccessRequest() local 116 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidSuccessRequest() local 143 EapResult result = mStateMachine.process(eapMessage); in testProcessFailureRequest() local 159 EapResult result = mStateMachine.process(eapMessage); in testProcessEmptyTypeData() local 172 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidPacket() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 103 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLoadingApps() local 114 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testGamesAreFiltered() local 127 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLegacyGamesAreFiltered() local 138 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheIsNotIgnored() local 153 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testMultipleUsers() local 166 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testUpdatedSystemAppCodeSizeIsCounted() local 176 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testVideoAppsAreFiltered() local 192 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testRemovedPackageDoesNotCrash() local 213 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testPackageIsNotDoubleCounted() local 225 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheOveragesAreCountedAsFree() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimTypeDataTest.java | 84 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(EAP_SIM_START_SUBTYPE); in testDecode() local 104 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(null); in testDecodeNullTypeData() local 111 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(INVALID_SUBTYPE); in testDecodeInvalidSubtype() local 118 DecodeResult<EapSimTypeData> result = in testDecodeInvalidAtRand() local 126 DecodeResult<EapSimTypeData> result = mEapSimTypeDataDecoder.decode(SHORT_TYPE_DATA); in testDecodeShortPacket() local 133 DecodeResult<EapSimTypeData> result = in testDecodeInvalidEapAttribute() local 152 DecodeResult<EapSimTypeData> result = in testDecodeDuplicateAttributes() local
|
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/ |
D | FetchDownloadsLoaderTest.java | 42 DownloadsResult result = in testEmptyDirectory() local 54 DownloadsResult result = in testFilesInDirectory() local 68 DownloadsResult result = in testNestedDirectories() local 91 DownloadsResult result = in testSumFileSizes() local 107 DownloadsResult result = in testFetchesThumbnailsForImages() local
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | DownloadsDeletionTypeTest.java | 72 DownloadsResult result = new DownloadsResult(); in testFetchDownloads() local 86 DownloadsResult result = new DownloadsResult(); in testSetChecked() local 107 DownloadsResult result = new DownloadsResult(); in testUncheckedFilesDoNotCountForSize() local 126 DownloadsResult result = new DownloadsResult(); in testSaveAndRestoreRemembersUncheckedFiles() local 145 DownloadsResult result = new DownloadsResult(); in testCallbackOnFileLoad() local 171 DownloadsResult result = new DownloadsResult(); in testLoadingState_completeEmptyOnNothingFound() local 179 DownloadsResult result = new DownloadsResult(); in testLoadingState_completeOnDeletableContentFound() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtIdReqTest.java | 60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtPermanentIdReq() local 82 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtPermanentIdReq() local 91 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtAnyIdReq() local 113 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtAnyIdReq() local 122 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtFullauthIdReq() local 144 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtFullauthIdReq() local
|
D | AtBiddingTest.java | 51 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeServerSupportsAkaPrime() local 63 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeDoesNotSupportAkaPrime() local 86 ByteBuffer result = ByteBuffer.allocate(AT_BIDDING_SUPPORTS_AKA_PRIME.length); in testEncodeServerSupportsAkaPrime() local 95 ByteBuffer result = ByteBuffer.allocate(AT_BIDDING_DOES_NOT_SUPPORT_AKA_PRIME.length); in testEncodeDoesNotSupportAkaPrime() local
|
D | AtKdfInputTest.java | 48 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode() local 60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeEmptyNetworkName() local 72 ByteBuffer result = ByteBuffer.allocate(AT_KDF_INPUT.length); in testEncode() local
|
D | AtCounterTest.java | 57 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounter() local 81 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtCounter() local 96 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounterTooSmall() local 118 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtCounterTooSmall() local
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | KnowledgeGraph.java | 60 JSONObject result = getResultFromKG(artist.getName(), "Person", "MusicGroup"); in populateArtist() local 81 JSONObject result = getResultFromKG(album.getTitle(), "MusicAlbum"); in populateAlbum() local 98 JSONObject result = getResultFromKG(movie.getTitle(), "Movie"); in populateMovie() local 114 JSONObject result = getResultFromKG(series.getTitle(), "TVSeries"); in populateSeries() local 130 JSONObject result = getResultFromKG(episode.getSeries().getTitle(), "TVEpisode"); in populateEpisode() local 148 JSONObject result = item.getJSONObject("result"); in getResultFromKG() local 158 private @Nullable String getImageUrl(@NonNull JSONObject result) { in getImageUrl() 175 private @Nullable String getDescription(@NonNull JSONObject result) { in getDescription() 185 private @Nullable String getDetailedDescription(@NonNull JSONObject result) { in getDetailedDescription()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | TvTrackInfoUtilsTest.java | 74 TvTrackInfo result = getBestTrackInfo(Collections.emptyList(), UN_MATCHED_ID, "en", 1); in testGetBestTrackInfo_empty() local 80 TvTrackInfo result = getBestTrackInfo(allTracks, "track_1", "en", 1); in testGetBestTrackInfo_exactMatch() local 86 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, "en", 5); in testGetBestTrackInfo_langAndChannelCountMatch() local 92 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, "fr", 1); in testGetBestTrackInfo_languageOnlyMatch() local 101 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 8); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage_23() local 111 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 8); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage() local 117 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, "kr", 1); in testGetBestTrackInfo_noMatches() local 126 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 0); in testGetBestTrackInfo_noMatchesWithNullLanguage_23() local 136 TvTrackInfo result = getBestTrackInfo(allTracks, UN_MATCHED_ID, null, 0); in testGetBestTrackInfo_noMatchesWithNullLanguage() local 142 TvTrackInfo result = getBestTrackInfo(nullLanguageTracks, "track_5", null, 6); in testGetBestTrackInfo_channelCountAndIdMatch() local
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/ |
D | TvContentRatingCacheTest.java | 67 ImmutableList<TvContentRating> result = in testGetRatings_US_TV_MA() local 100 String result = TvContentRatingCache.contentRatingsToString(null); in testContentRatingsToString_null() local 106 String result = TvContentRatingCache.contentRatingsToString(ImmutableList.of()); in testContentRatingsToString_none() local 112 String result = in testContentRatingsToString_one() local 122 String result = in testContentRatingsToString_twoInOrder() local 132 String result = in testContentRatingsToString_twoNotInOrder() local 142 String result = in testContentRatingsToString_double() local
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/eap/ |
D | EapSessionConfigTest.java | 55 EapSessionConfig result = new EapSessionConfig.Builder() in testBuildEapSim() local 71 EapSessionConfig result = new EapSessionConfig.Builder() in testBuildEapAka() local 85 EapSessionConfig result = in testBuildEapAkaPrime() local 103 EapSessionConfig result = in testBuildEapMsChapV2() local 114 EapSessionConfig result = new EapSessionConfig.Builder().setEapTtlsConfig().build(); in testBuildEapTtls() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelperTest.java | 128 final SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_cachedValuesAreLoaded() local 193 final SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_nullIfDataIsStale() local 246 final SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_nullIfWrongUser() local 259 final SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_nullIfEmpty() local 269 final StorageAsyncLoader.AppsStorageResult result = in cacheResult_succeeds() local
|
/packages/apps/Test/connectivity/sl4n/facades/wifi/ |
D | wifi_facade.cpp | 74 int result = hal_fn.wifi_get_ifaces(wifi_hal_handle, &num_ifaces, in WifiGetInterfaces() local 100 int result = hal_fn.wifi_get_iface_name(wifi_iface_handles[i], buf, in WifiGetInterfaces() local 142 int result = hal_fn.wifi_get_supported_feature_set( in WifiGetSupportedFeatureSet() local 162 bool result; in wifi_init_wrapper() local 179 int result; in wifi_get_supported_feature_set_wrapper() local
|
/packages/apps/Test/connectivity/sl4n/facades/test/ |
D | test_facade.cpp | 70 bool result; in test_bool_true_return_wrapper() local 87 int result; in test_bool_false_return_wrapper() local 104 int result; in test_null_return_wrapper() local 121 std::string result; in test_string_empty_return_wrapper() local 149 std::string result; in test_string_max_return_wrapper() local 202 bool result; in test_specific_param_naming_wrapper() local
|