/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 …]
|
D | GlobalSearchLoaderTest.java | 149 final DirectoryResult result = mLoader.loadInBackground(); in testSearchResult_includeDirectory() local 161 final DirectoryResult result = mLoader.loadInBackground(); in testSearchResult_isNotMovable() local 190 final DirectoryResult result = mLoader.loadInBackground(); in testSearchResult_includeSearchString() local 223 final DirectoryResult result = mLoader.loadInBackground(); in testSearchResult_includeDifferentRoot() 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/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
|
D | StorageUsageBasePreferenceControllerTest.java | 62 SparseArray<StorageAsyncLoader.AppsStorageResult> result, long usedSizeBytes) { in calculateCategoryUsage() 87 StorageAsyncLoader.AppsStorageResult result = in onDataLoaded_setsSummary() local 104 StorageAsyncLoader.AppsStorageResult result = in onDataLoaded_setProgressBarPercentage() 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/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/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | NewOutgoingCallIntentBroadcasterTest.java | 113 int result = processIntent(intent, true).disconnectCause; in testNullHandle() local 126 int result = processIntent(intent, true).disconnectCause; in testVoicemailCall() local 154 int result = processIntent(intent, true).disconnectCause; in badCallActionHelper() local 167 ReceiverIntentPair result = regularCallTestHelper(callIntent, null); in testAlreadyDisconnectedCall() local 182 int result = processIntent(intent, true).disconnectCause; in testNoNumberSupplied() local 204 int result = processIntent(intent, false).disconnectCause; in testEmergencyCallWithNonDefaultDialer() local 264 int result = processIntent(intent, true).disconnectCause; in testActionEmergencyWithNonEmergencyNumber() local 279 int result = processIntent(intent, true).disconnectCause; in emergencyCallTestHelper() local 299 ReceiverIntentPair result = regularCallTestHelper(callIntent, null); in testUnmodifiedRegularCall() local 315 ReceiverIntentPair result = regularCallTestHelper(callIntent, null); in testUnmodifiedSipCall() local [all …]
|
/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
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | HtmlifyBeginResult.java | 25 public final Spanned result; field in HtmlifyBeginResult 28 public HtmlifyBeginResult(Spanned result, Object extras) { in HtmlifyBeginResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | PreferenceControllerListHelperTest.java | 80 final List<BasePreferenceController> result = PreferenceControllerListHelper in filterControllers_noFilter_shouldReturnSameList() local 101 final List<BasePreferenceController> result = PreferenceControllerListHelper in filterControllers_noDuplicationFromFilter_shouldReturnSameList() local 122 final List<BasePreferenceController> result = PreferenceControllerListHelper in filterControllers_hasDuplicationFromFilter_shouldReturnSameList() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSizesControllerTest.java | 77 AppStorageStats result = mock(AppStorageStats.class); in properlyPopulatedAfterValidEntry() local 94 AppStorageStats result = mock(AppStorageStats.class); in fakeCacheFlagSetsCacheToZero() local 112 AppStorageStats result = mock(AppStorageStats.class); in fakeDataFlagSetsDataAndCacheToZero() local
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 231 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear() local 248 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_sameYear() local 258 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_today() local 268 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_todayMidnight() local 278 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_tomorrow() local 288 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_yesterday() local 298 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_multiDay() local 308 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_allDay() local 318 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_allDayToday() local 328 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_allDayMultiday() local [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoBitmapLoader.java | 57 final BitmapResult result = new BitmapResult(); in loadInBackground() local 90 public void deliverResult(BitmapResult result) { in deliverResult() 115 final BitmapResult result = new BitmapResult(); in onStartLoading() local 141 public void onCanceled(BitmapResult result) { in onCanceled()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | encodingstest.cpp | 318 bool result = UTF8<>::Decode(is, &decodedCodepoint); in TEST() local 329 bool result = UTF8<>::Validate(is, os2); in TEST() local 378 bool result = UTF16<>::Decode(is, &decodedCodepoint); in TEST() local 389 bool result = UTF16<>::Validate(is, os2); in TEST() local 409 bool result = UTF32<>::Decode(is, &decodedCodepoint); in TEST() local 420 bool result = UTF32<>::Validate(is, os2); in TEST() local
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallStatsUtils.java | 41 private static int probeResultToEnum(@Nullable final CaptivePortalProbeResult result) { in probeResultToEnum() 59 @NonNull final CaptivePortalProbeResult result) { in write()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ResourcesProvider.java | 82 final MatrixCursor result = new MatrixCursor(projection != null ? projection in queryRoots() local 95 final MatrixCursor result = new MatrixCursor(projection != null ? projection in queryDocument() local 119 final MatrixCursor result = new MatrixCursor(projection != null ? projection in queryChildDocuments() local 137 void includeDocument(MatrixCursor result, String documentId) throws FileNotFoundException { in includeDocument()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 276 final Intent result = mActivity.setResult.getLastValue().second; in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() local 304 final Intent result = mActivity.setResult.getLastValue().second; in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() local 334 final Intent result = mActivity.setResult.getLastValue().second; in testSaveDocument_SetsCorrectResultAndFinishes() local 384 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent() local 411 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection() local 436 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen() local 463 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection() local 488 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionCreate() local
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | CollectionUtils.java | 40 T[] result = Arrays.copyOf(first, totalLength); in concatAll() local 57 List<T> result = new ArrayList<>(originals); in union() local 72 List<T> result = new ArrayList<>(originals); in subtract() local
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | CommonDatabaseUtils.java | 41 String[] result = null; in singleRecordToArray() local 54 ArrayList<String[]> result = new ArrayList<String[]>(); in multiRecordToArray() local 106 final Object[] result = new Object[projection.length]; in getArrayFromContentValues() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 399 final List<ContextualCard> result = mManager.getCardsWithViewType(noSuggestionCards); in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards() local 419 final List<ContextualCard> result = mManager.getCardsWithViewType(oneSuggestionCards); in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards() local 442 final List<ContextualCard> result = mManager.getCardsWithViewType( in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local 463 final List<ContextualCard> result = mManager.getCardsWithViewType( in getCardsWithViewType_twoNonConsecutiveSuggestionCards_shouldNotHaveHalfCards() local 487 final List<ContextualCard> result = mManager.getCardsWithViewType( in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local 511 final List<ContextualCard> result = mManager.getCardsWithViewType( in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards() local 524 final List<ContextualCard> result = mManager.getCardsWithViewType(oneDeferredSetupCards); in getCardsWithViewType_onlyDeferredSetupCard_shouldHaveDeferredSetupCard() local 542 final List<ContextualCard> result = mManager.getCardsWithViewType(cards); in getCardsWithViewType_hasDeferredSetupCard_shouldHaveDeferredSetupCard() local 560 final List<ContextualCard> result = mManager.getCardsWithViewType(cards); in getCardsWithViewType_noDeferredSetupCard_shouldNotHaveDeferredSetupCard() local 591 final List<ContextualCard> result = new ArrayList<>(); in buildCategoriedCards() local
|