/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 20 import static android.provider.Downloads.Impl.COLUMN_DESTINATION; 21 import static android.provider.Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI; 22 import static android.provider.Downloads.Impl.COLUMN_MEDIASTORE_URI; 23 import static android.provider.Downloads.Impl.COLUMN_MEDIA_SCANNED; 24 import static android.provider.Downloads.Impl.COLUMN_OTHER_UID; 25 import static android.provider.Downloads.Impl.DESTINATION_FILE_URI; 26 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD; 27 import static android.provider.Downloads.Impl.MEDIA_NOT_SCANNABLE; 28 import static android.provider.Downloads.Impl.MEDIA_NOT_SCANNED; 29 import static android.provider.Downloads.Impl.MEDIA_SCANNED; [all …]
|
D | DownloadInfo.java | 19 import static android.provider.Downloads.Impl.VISIBILITY_VISIBLE; 20 import static android.provider.Downloads.Impl.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 66 info.mId = getLong(Downloads.Impl._ID); in updateFromDatabase() 67 info.mUri = getString(Downloads.Impl.COLUMN_URI); in updateFromDatabase() 68 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1; in updateFromDatabase() 69 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in updateFromDatabase() 70 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase() 71 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE)); in updateFromDatabase() 72 info.mDestination = getInt(Downloads.Impl.COLUMN_DESTINATION); in updateFromDatabase() 73 info.mVisibility = getInt(Downloads.Impl.COLUMN_VISIBILITY); in updateFromDatabase() [all …]
|
D | DownloadThread.java | 21 import static android.provider.Downloads.Impl.COLUMN_CONTROL; 22 import static android.provider.Downloads.Impl.COLUMN_DELETED; 23 import static android.provider.Downloads.Impl.COLUMN_STATUS; 24 import static android.provider.Downloads.Impl.CONTROL_PAUSED; 25 import static android.provider.Downloads.Impl.STATUS_BAD_REQUEST; 26 import static android.provider.Downloads.Impl.STATUS_CANCELED; 27 import static android.provider.Downloads.Impl.STATUS_CANNOT_RESUME; 28 import static android.provider.Downloads.Impl.STATUS_FILE_ERROR; 29 import static android.provider.Downloads.Impl.STATUS_HTTP_DATA_ERROR; 30 import static android.provider.Downloads.Impl.STATUS_INSUFFICIENT_SPACE_ERROR; [all …]
|
D | MediaScanTriggerJob.java | 19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI; 20 import static android.provider.Downloads.Impl.COLUMN_DESTINATION; 21 import static android.provider.Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI; 22 import static android.provider.Downloads.Impl.COLUMN_MEDIASTORE_URI; 23 import static android.provider.Downloads.Impl.COLUMN_MEDIA_SCANNED; 24 import static android.provider.Downloads.Impl.DESTINATION_EXTERNAL; 25 import static android.provider.Downloads.Impl.DESTINATION_FILE_URI; 26 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD; 27 import static android.provider.Downloads.Impl.MEDIA_SCANNED; 28 import static android.provider.Downloads.Impl._DATA; [all …]
|
D | DownloadIdleService.java | 101 Downloads.Impl._ID, 102 Downloads.Impl.COLUMN_STATUS, 103 Downloads.Impl.COLUMN_LAST_MODIFICATION, 104 Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI }; 118 final Cursor cursor = resolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in cleanStale() 119 StaleQuery.PROJECTION, Downloads.Impl.COLUMN_STATUS + " >= '200' AND " in cleanStale() 120 + Downloads.Impl.COLUMN_LAST_MODIFICATION + " <= '" + modifiedBefore in cleanStale() 121 + "' AND " + Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI + " == '0'", in cleanStale() 129 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id), null, null); in cleanStale() 141 Downloads.Impl._ID, [all …]
|
D | DownloadReceiver.java | 21 import static android.provider.Downloads.Impl.AUTHORITY; 123 try (Cursor cursor = resolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null, null, in handleBootCompleted() 186 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); in hideNotification() 190 status = getInt(cursor, Downloads.Impl.COLUMN_STATUS); in hideNotification() 191 visibility = getInt(cursor, Downloads.Impl.COLUMN_VISIBILITY); in hideNotification() 200 if (Downloads.Impl.isStatusCompleted(status) && in hideNotification() 204 values.put(Downloads.Impl.COLUMN_VISIBILITY, in hideNotification() 205 Downloads.Impl.VISIBILITY_VISIBLE); in hideNotification() 230 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, ids[0]); in sendNotificationClickedIntent() 234 packageName = getString(cursor, Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE); in sendNotificationClickedIntent() [all …]
|
D | DownloadNotifier.java | 22 import static android.provider.Downloads.Impl.STATUS_QUEUED_FOR_WIFI; 23 import static android.provider.Downloads.Impl.STATUS_RUNNING; 150 Downloads.Impl._ID, 151 Downloads.Impl.COLUMN_STATUS, 152 Downloads.Impl.COLUMN_VISIBILITY, 153 Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, 154 Downloads.Impl.COLUMN_CURRENT_BYTES, 155 Downloads.Impl.COLUMN_TOTAL_BYTES, 156 Downloads.Impl.COLUMN_DESTINATION, 157 Downloads.Impl.COLUMN_TITLE, [all …]
|
D | Helpers.java | 25 import static android.provider.Downloads.Impl.COLUMN_DESTINATION; 26 import static android.provider.Downloads.Impl.DESTINATION_EXTERNAL; 27 import static android.provider.Downloads.Impl.DESTINATION_FILE_URI; 28 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD; 29 import static android.provider.Downloads.Impl.FLAG_REQUIRES_CHARGING; 30 import static android.provider.Downloads.Impl.FLAG_REQUIRES_DEVICE_IDLE; 31 import static android.provider.Downloads.Impl._DATA; 262 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 291 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 804 case Downloads.Impl.DESTINATION_CACHE_PARTITION: in getDestinationDirectory() [all …]
|
D | StopRequestException.java | 18 import static android.provider.Downloads.Impl.STATUS_UNHANDLED_HTTP_CODE; 19 import static android.provider.Downloads.Impl.STATUS_UNHANDLED_REDIRECT;
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
D | PublicApiAccessTest.java | 51 Downloads.Impl.COLUMN_COOKIE_DATA, 52 Downloads.Impl.COLUMN_REFERER, 53 Downloads.Impl.COLUMN_USER_AGENT, 54 Downloads.Impl.COLUMN_NO_INTEGRITY, 55 Downloads.Impl.COLUMN_NOTIFICATION_CLASS, 56 Downloads.Impl.COLUMN_NOTIFICATION_EXTRAS, 57 Downloads.Impl.COLUMN_OTHER_UID, 58 Downloads.Impl.COLUMN_APP_DATA, 59 Downloads.Impl.COLUMN_CONTROL, 60 Downloads.Impl.COLUMN_STATUS, [all …]
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | DownloadProviderFunctionalTest.java | 61 assertEquals(Downloads.Impl.STATUS_PENDING, getDownloadStatus(downloadUri)); in testDownloadTextFile() 63 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testDownloadTextFile() 76 updateDownload(downloadUri, Downloads.Impl.COLUMN_DESTINATION, in testDownloadToCache() 77 Integer.toString(Downloads.Impl.DESTINATION_CACHE_PARTITION)); in testDownloadToCache() 78 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testDownloadToCache() 93 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testRoaming() 97 updateDownload(downloadUri, Downloads.Impl.COLUMN_DESTINATION, in testRoaming() 98 Integer.toString(Downloads.Impl.DESTINATION_CACHE_PARTITION_NOROAMING)); in testRoaming() 99 runUntilStatus(downloadUri, Downloads.Impl.STATUS_WAITING_FOR_NETWORK); in testRoaming() 103 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testRoaming() [all …]
|
D | HelpersTest.java | 19 import static android.provider.Downloads.Impl.COLUMN_DESTINATION; 20 import static android.provider.Downloads.Impl.DESTINATION_CACHE_PARTITION_PURGEABLE; 21 import static android.provider.Downloads.Impl.DESTINATION_EXTERNAL; 22 import static android.provider.Downloads.Impl.DESTINATION_FILE_URI; 23 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD; 24 import static android.provider.Downloads.Impl._DATA; 25 import static android.provider.Downloads.Impl._ID; 93 "video/mp4", Downloads.Impl.DESTINATION_CACHE_PARTITION); in testGenerateSaveFile() 100 null, null, null, null, Downloads.Impl.DESTINATION_CACHE_PARTITION); in testGenerateSaveFileDupes() 104 null, null, null, null, Downloads.Impl.DESTINATION_CACHE_PARTITION); in testGenerateSaveFileDupes() [all …]
|
D | AbstractDownloadProviderFunctionalTest.java | 235 try (Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in assertDatabaseEmpty() 242 try (Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null, in assertDatabaseSecureAgainstBadSelection() 256 String[] columns = new String[] {Downloads.Impl._DATA}; in cleanUpDownloads() 257 Cursor cursor = mResolver.query(Downloads.Impl.CONTENT_URI, columns, null, null, null); in cleanUpDownloads() 268 mResolver.delete(Downloads.Impl.CONTENT_URI, null, null); in cleanUpDownloads()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | DrmConvertSession.java | 128 int result = Downloads.Impl.STATUS_UNKNOWN_ERROR; in close() 135 result = Downloads.Impl.STATUS_NOT_ACCEPTABLE; in close() 142 result = Downloads.Impl.STATUS_SUCCESS; in close() 144 result = Downloads.Impl.STATUS_FILE_ERROR; in close() 147 result = Downloads.Impl.STATUS_FILE_ERROR; in close() 150 result = Downloads.Impl.STATUS_FILE_ERROR; in close() 160 result = Downloads.Impl.STATUS_FILE_ERROR; in close()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | mock_codec_interface.cc | 21 struct CodecInterface::Impl : public MockCodecInterface { struct in bluetooth::le_audio::CodecInterface 23 Impl(const types::LeAudioCodecId& codec_id) { in Impl() argument 26 ~Impl() = default; 33 impl = new Impl(codec_id); in CodecInterface()
|
D | codec_interface.cc | 32 struct CodecInterface::Impl { struct in bluetooth::le_audio::CodecInterface 33 Impl(const types::LeAudioCodecId& codec_id) : codec_id_(codec_id) {} in Impl() function 34 ~Impl() { Cleanup(); } in ~Impl() argument 257 impl = new Impl(codec_id); in CodecInterface()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageService.java | 52 final Intent intent = new Intent(context, Impl.class); in formatAsPublic() 59 final Intent intent = new Intent(context, Impl.class); in formatAsPrivate() 66 final Intent intent = new Intent(context, Impl.class); in unmount() 72 public static class Impl extends IntentService { class in SettingsStorageService 74 public Impl() { in Impl() method in SettingsStorageService.Impl 75 super(Impl.class.getName()); in Impl()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | Downloads.java | 41 public static final class Impl implements BaseColumns { class in Downloads 42 private Impl() {} in Impl() method in Downloads.Impl 796 private static final String QUERY_WHERE_CLAUSE = Impl.COLUMN_NOTIFICATION_PACKAGE + "=? AND " 797 + Impl.COLUMN_NOTIFICATION_CLASS + "=?"; 804 context.getContentResolver().delete(Impl.CONTENT_URI, QUERY_WHERE_CLAUSE, in removeAllDownloadsByPackage()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/taskstack/ |
D | TaskStackChangeListeners.java | 41 private final Impl mImpl; 44 mImpl = new Impl(executor); in TaskStackChangeListeners() 78 private static class Impl extends TaskStackListener { class in TaskStackChangeListeners 85 Impl(Executor executor) { in Impl() method in TaskStackChangeListeners.Impl
|
/packages/modules/Bluetooth/system/gd/os/android/ |
D | wakelock_native.cc | 66 struct WakelockNative::Impl { struct in bluetooth::os::internal::WakelockNative 67 Impl() : suspend_death_recipient(AIBinder_DeathRecipient_new(onSuspendDeath)) {} in Impl() function 139 WakelockNative::WakelockNative() : pimpl_(std::make_unique<Impl>()) {} in WakelockNative()
|
/packages/services/Car/libs/procfs-inspector/server/ |
D | main.cpp | 32 std::unique_ptr<procfsinspector::Impl> server(new procfsinspector::Impl()); in main()
|
/packages/modules/Bluetooth/system/gd/os/host/ |
D | wakelock_native.cc | 31 struct WakelockNative::Impl {}; struct in bluetooth::os::internal::WakelockNative 50 WakelockNative::WakelockNative() : pimpl_(std::make_unique<Impl>()) {} in WakelockNative()
|
/packages/modules/Bluetooth/system/gd/os/chromeos/ |
D | wakelock_native.cc | 31 struct WakelockNative::Impl {}; struct in bluetooth::os::internal::WakelockNative 50 WakelockNative::WakelockNative() : pimpl_(std::make_unique<Impl>()) {} in WakelockNative()
|
/packages/modules/Bluetooth/system/gd/os/linux/ |
D | wakelock_native.cc | 31 struct WakelockNative::Impl {}; struct in bluetooth::os::internal::WakelockNative 50 WakelockNative::WakelockNative() : pimpl_(std::make_unique<Impl>()) {} in WakelockNative()
|
/packages/modules/Bluetooth/system/gd/os/internal/ |
D | wakelock_native.h | 47 struct Impl; 48 std::unique_ptr<Impl> pimpl_;
|