Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 861) sorted by relevance

12345678910>>...35

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DThumbnailCacheTest.java69 Result result = mCache.getThumbnail(URI_1, MID_SIZE); in testMiss() local
78 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact() local
88 Result result = mCache.getThumbnail(URI_0, LARGE_SIZE); in testHit_Smaller() local
98 Result result = mCache.getThumbnail(URI_0, SMALL_SIZE); in testHit_Larger() local
109 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Larger_HasBothSize() local
123 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact_MultiplePut() local
133 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_EqualLastModified() local
144 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testEvictOldest_SizeExceeded() local
157 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testCacheShrink_OnTrimMemory_Moderate() local
174 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testCacheShrink_OnTrimMemory_Background() local
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DTvTrackInfoUtilsTest.java64 TvTrackInfo result = getBestTrackInfo(Collections.emptyList(), UN_MATCHED_ID, "en", 1); in testGetBestTrackInfo_empty() local
70 TvTrackInfo result = getBestTrackInfo(ALL, "1", "en", 1); in testGetBestTrackInfo_exactMatch() local
76 TvTrackInfo result = getBestTrackInfo(ALL, UN_MATCHED_ID, "en", 5); in testGetBestTrackInfo_langAndChannelCountMatch() local
82 TvTrackInfo result = getBestTrackInfo(ALL, UN_MATCHED_ID, "fr", 1); in testGetBestTrackInfo_languageOnlyMatch() local
88 TvTrackInfo result = getBestTrackInfo(ALL, UN_MATCHED_ID, null, 8); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage() local
94 TvTrackInfo result = getBestTrackInfo(ALL, UN_MATCHED_ID, "kr", 1); in testGetBestTrackInfo_noMatches() local
100 TvTrackInfo result = getBestTrackInfo(ALL, UN_MATCHED_ID, null, 0); in testGetBestTrackInfo_noMatchesWithNullLanguage() local
106 TvTrackInfo result = getBestTrackInfo(NULL_LANGUAGE_TRACKS, "5", null, 6); in testGetBestTrackInfo_channelCountAndIdMatch() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java94 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLoadingApps() local
105 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testGamesAreFiltered() local
118 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testLegacyGamesAreFiltered() local
129 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheIsNotIgnored() local
145 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testMultipleUsers() local
158 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testUpdatedSystemAppCodeSizeIsCounted() local
168 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testVideoAppsAreFiltered() local
184 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testRemovedPackageDoesNotCrash() local
205 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testPackageIsNotDoubleCounted() local
217 SparseArray<StorageAsyncLoader.AppsStorageResult> result = mLoader.loadInBackground(); in testCacheOveragesAreCountedAsFree() local
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DDownloadsDeletionTypeTest.java73 DownloadsResult result = new DownloadsResult(); in testFetchDownloads() local
87 DownloadsResult result = new DownloadsResult(); in testSetChecked() local
108 DownloadsResult result = new DownloadsResult(); in testUncheckedFilesDoNotCountForSize() local
127 DownloadsResult result = new DownloadsResult(); in testSaveAndRestoreRemembersUncheckedFiles() local
146 DownloadsResult result = new DownloadsResult(); in testCallbackOnFileLoad() local
172 DownloadsResult result = new DownloadsResult(); in testLoadingState_completeEmptyOnNothingFound() local
180 DownloadsResult result = new DownloadsResult(); in testLoadingState_completeOnDeletableContentFound() local
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java42 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/Settings/tests/robotests/src/com/android/settings/search/
DIntentSearchViewHolderTest.java105 final SearchResult result = getSearchResult(TITLE, SUMMARY, mIcon); in testBindViewElements_allUpdated() local
120 final SearchResult result = getSearchResult(TITLE, SUMMARY, null); in testBindViewIcon_nullIcon_imageDrawableIsNull() local
128 final SearchResult result = new Builder() in testBindViewElements_emptySummary_hideSummaryView() local
146 final SearchResult result = new Builder() in testBindViewElements_withBreadcrumb_shouldFormatBreadcrumb() local
163 final SearchResult result = new Builder() in testBindElements_placeholderSummary_visibilityIsGone() local
178 final SearchResult result = new Builder() in testBindElements_dynamicSummary_visibilityIsGone() local
195 final SearchResult result = getAppSearchResult( in testBindViewElements_appSearchResult() local
213 final SearchResult result = getSearchResult(TITLE, SUMMARY, mIcon); in testBindViewElements_validSubSettingIntent_shouldLaunch() local
229 final SearchResult result = getSearchResult(TITLE, SUMMARY, mIcon); in testBindViewElements_invalidSubSettingIntent_shouldNotLaunchAnything() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java88 int result = processIntent(intent, true); in testNullHandle() local
100 int result = processIntent(intent, true); in testVoicemailCall() local
125 int result = processIntent(intent, true); in badCallActionHelper() local
137 ReceiverIntentPair result = regularCallTestHelper(callIntent, null); in testAlreadyDisconnectedCall() local
151 int result = processIntent(intent, true); in testNoNumberSupplied() local
171 int result = processIntent(intent, false); in testEmergencyCallWithNonDefaultDialer() local
226 int result = processIntent(intent, true); in testActionEmergencyWithNonEmergencyNumber() local
241 int result = processIntent(intent, true); in emergencyCallTestHelper() local
260 ReceiverIntentPair result = regularCallTestHelper(callIntent, null); in testUnmodifiedRegularCall() local
275 ReceiverIntentPair result = regularCallTestHelper(callIntent, null); in testUnmodifiedSipCall() local
[all …]
/packages/apps/Test/connectivity/sl4n/facades/wifi/
Dwifi_facade.cpp74 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/
DCachedStorageValuesHelperTest.java125 SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_cachedValuesAreLoaded() local
190 SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_nullIfDataIsStale() local
243 SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_nullIfWrongUser() local
256 SparseArray<StorageAsyncLoader.AppsStorageResult> result = in getCachedAppsStorageResult_nullIfEmpty() local
266 final StorageAsyncLoader.AppsStorageResult result = in cacheResult_succeeds() local
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleZoneUtilTest.java41 int[] result = { 0, 31, 0, 1}; in testZoneToIndex() local
51 int[] result = {0, 1, 3, 32}; in testGetNumberOfZones() local
60 int[] result = {0, 1, 0x100}; in testGetFirstZone() local
83 int[] result = {0, 0, 0x100, 0x200, 0x4, 0x80000000}; in testGetNextZone() local
/packages/apps/ExactCalculator/src/com/android/calculator2/
DDragController.java90 public void setDisplayResult(CalculatorResult result) { in setDisplayResult()
115 final CalculatorResult result = vh.getResult(); in animateViews() local
201 void initializeColorAnimators(AlignedTextView formula, CalculatorResult result); in initializeColorAnimators()
203 void initializeScales(AlignedTextView formula, CalculatorResult result); in initializeScales()
207 void initializeFormulaTranslationY(AlignedTextView formula, CalculatorResult result); in initializeFormulaTranslationY()
209 void initializeResultTranslationX(CalculatorResult result); in initializeResultTranslationX()
211 void initializeResultTranslationY(CalculatorResult result); in initializeResultTranslationY()
243 public void initializeColorAnimators(AlignedTextView formula, CalculatorResult result) { in initializeColorAnimators()
251 public void initializeScales(AlignedTextView formula, CalculatorResult result) { in initializeScales()
257 CalculatorResult result) { in initializeFormulaTranslationY()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java227 final Intent result = mActivity.setResult.getLastValue().second; in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() local
253 final Intent result = mActivity.setResult.getLastValue().second; in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() local
283 final Intent result = mActivity.setResult.getLastValue().second; in testSaveDocument_SetsCorrectResultAndFinishes() local
323 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent() local
350 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection() local
375 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen() local
402 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection() local
427 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionCreate() local
/packages/apps/Test/connectivity/sl4n/facades/test/
Dtest_facade.cpp70 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/
DHtmlifyBeginResult.java25 public final Spanned result; field in HtmlifyBeginResult
28 public HtmlifyBeginResult(Spanned result, Object extras) { in HtmlifyBeginResult()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoBitmapLoader.java57 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/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dneapi.c70 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf… in njx_get_candidate()
100 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_si… in njx_get_stroke()
130 static NJ_INT16 set_previous_selection(NJ_CLASS *iwnn, NJ_RESULT *result) { in set_previous_selection()
150 static NJ_INT16 set_learn_word_info(NJ_CLASS *iwnn, NJ_LEARN_WORD_INFO *lword, NJ_RESULT *result) in set_learn_word_info()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStorageSizesControllerTest.java79 AppStorageStats result = mock(AppStorageStats.class); in properlyPopulatedAfterValidEntry() local
96 AppStorageStats result = mock(AppStorageStats.class); in fakeCacheFlagSetsCacheToZero() local
114 AppStorageStats result = mock(AppStorageStats.class); in fakeDataFlagSetsDataAndCacheToZero() local
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodingstest.cpp318 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/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java509 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_differentYear() local
526 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_sameYear() local
536 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_today() local
546 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_todayMidnight() local
556 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_tomorrow() local
566 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_yesterday() local
576 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_multiDay() local
586 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_allDay() local
596 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_allDayToday() local
606 String result = Utils.getDisplayedDatetime(start, end, NOW_TIME, DEFAULT_TIMEZONE, in testGetDisplayedDatetime_allDayMultiday() local
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DResourcesProvider.java76 final MatrixCursor result = new MatrixCursor(projection != null ? projection in queryRoots() local
89 final MatrixCursor result = new MatrixCursor(projection != null ? projection in queryDocument() local
113 final MatrixCursor result = new MatrixCursor(projection != null ? projection in queryChildDocuments() local
131 void includeDocument(MatrixCursor result, String documentId) throws FileNotFoundException { in includeDocument()
/packages/apps/TV/common/src/com/android/tv/common/
DCollectionUtils.java42 T[] result = Arrays.copyOf(first, totalLength); in concatAll() local
59 List<T> result = new ArrayList<>(originals); in union() local
76 List<T> result = new ArrayList<>(originals); in subtract() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeSettingsTest.java53 final String result = mBuilder.append(original, false, R.string.zen_mode_alarms); in testAppend_conditionFalse_shouldNotAppend() local
63 final String result = mBuilder.append(original, true, R.string.zen_mode_alarms); in testAppend_conditionTrue_shouldAppend() local
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DCommonDatabaseUtils.java41 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/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java73 SparseArray<AppsStorageResult> result = new SparseArray<>(); in loadApps() local
95 AppsStorageResult result = new AppsStorageResult(); in getStorageResultForUser() local
164 protected void onDiscardResult(SparseArray<AppsStorageResult> result) { in onDiscardResult()
182 void handleResult(SparseArray<AppsStorageResult> result); in handleResult()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailAsyncTask.java125 public void onCancelled(Result2 result) { in onCancelled()
131 public void onPostExecute(Result2 result) { in onPostExecute()
169 protected void onCancelled(Result result) { in onCancelled()
179 protected void onSuccess(Result result) { in onSuccess()
270 /* package */ final void callOnCancelledForTest(Result result) { in callOnCancelledForTest()
274 /* package */ final void callOnPostExecuteForTest(Result result) { in callOnPostExecuteForTest()

12345678910>>...35