Home
last modified time | relevance | path

Searched refs:docCount (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java37 public static final void showDocumentsClipped(Activity activity, int docCount) { in showDocumentsClipped() argument
39 activity, R.plurals.clipboard_files_clipped, docCount); in showDocumentsClipped()
43 public static final void showMove(Activity activity, int docCount) { in showMove() argument
44 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount); in showMove()
48 public static final void showCopy(Activity activity, int docCount) { in showCopy() argument
49 CharSequence message = Shared.getQuantityString(activity, R.plurals.copy_begin, docCount); in showCopy()
53 public static final void showCompress(Activity activity, int docCount) { in showCompress() argument
54 … CharSequence message = Shared.getQuantityString(activity, R.plurals.compress_begin, docCount); in showCompress()
58 public static final void showExtract(Activity activity, int docCount) { in showExtract() argument
59 … CharSequence message = Shared.getQuantityString(activity, R.plurals.extract_begin, docCount); in showExtract()
[all …]
DDialogController.java37 void showFileOperationStatus(int status, int opType, int docCount); in showFileOperationStatus() argument
72 public void showFileOperationStatus(@Status int status, @OpType int opType, int docCount) { in showFileOperationStatus() argument
82 if (docCount == 0) { in showFileOperationStatus()
95 Snackbars.showMove(mActivity, docCount); in showFileOperationStatus()
98 Snackbars.showCopy(mActivity, docCount); in showFileOperationStatus()
101 Snackbars.showCompress(mActivity, docCount); in showFileOperationStatus()
104 Snackbars.showExtract(mActivity, docCount); in showFileOperationStatus()
107 Snackbars.showDelete(mActivity, docCount); in showFileOperationStatus()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerUserInstanceTest.java354 int docCount = 500; in testUpdate() local
357 createFakePackageInfos(docCount), in testUpdate()
358 createFakeResolveInfos(docCount)); in testUpdate()
359 CountDownLatch latch = setupLatch(docCount); in testUpdate()
366 assertThat(appIds.size()).isEqualTo(docCount); in testUpdate()
371 int docCount = 10; in testUpdate_setsLastAppUpdatedTimestamp() local
374 createFakePackageInfos(docCount), in testUpdate_setsLastAppUpdatedTimestamp()
375 createFakeResolveInfos(docCount)); in testUpdate_setsLastAppUpdatedTimestamp()
453 int docCount = 100; in testStart_initialRun_schedulesUpdateJob() local
457 createFakePackageInfos(docCount), in testStart_initialRun_schedulesUpdateJob()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java144 int docCount = 2; in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local
148 for (int j = 0; j < docCount; j++) { in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun()
158 int docCount = 2; in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local
162 for (int j = 0; j < docCount; j++) { in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun()
189 int docCount = 10; in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun() local
194 for (int j = 0; j < docCount; j++) { in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun()
203 for (int j = 0; j < docCount; j++) { in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun()
247 int docCount = 100; in testStart_initialRun_schedulesFullUpdateJob() local
248 CountDownLatch latch = new CountDownLatch(docCount); in testStart_initialRun_schedulesFullUpdateJob()
271 for (int i = 0; i < docCount; i++) { in testStart_initialRun_schedulesFullUpdateJob()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java167 int docCount = 0; in createJumboClipData() local
169 if (docCount++ < Shared.MAX_DOCS_IN_INTENT) { in createJumboClipData()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
DTestDialogController.java43 public void showFileOperationStatus(int status, int opType, int docCount) { in showFileOperationStatus() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperations.java146 void onOperationResult(@Status int status, @OpType int opType, int docCount); in onOperationResult() argument
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java89 @FileOperationService.OpType int opType, int docCount) {