/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadProvider.java | 143 Downloads.Impl.CONTENT_URI, 165 Downloads.Impl._ID); in addMapping() 167 Downloads.Impl._DATA); in addMapping() 191 Downloads.Impl.COLUMN_TITLE); in addMapping() 198 addMapping(map, Downloads.Impl._ID); in addMapping() 199 addMapping(map, Downloads.Impl._DATA); in addMapping() 471 new String[] { Downloads.Impl._ID, Downloads.Impl._DATA}, in canonicalizeDataPaths() 784 filteredValues.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_SUCCESS); in insert() 791 filteredValues.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_PENDING); in insert() 1696 Downloads.Impl._DATA, Downloads.Impl.COLUMN_STATUS, in openFile() [all …]
|
H A D | DownloadInfo.java | 66 info.mId = getLong(Downloads.Impl._ID); in updateFromDatabase() 67 info.mUri = getString(Downloads.Impl.COLUMN_URI); in updateFromDatabase() 70 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase() 332 if (mControl == Downloads.Impl.CONTROL_PAUSED) { in isReadyToSchedule() 338 case Downloads.Impl.STATUS_PENDING: in isReadyToSchedule() 339 case Downloads.Impl.STATUS_RUNNING: in isReadyToSchedule() 341 case Downloads.Impl.STATUS_WAITING_TO_RETRY: in isReadyToSchedule() 342 case Downloads.Impl.STATUS_QUEUED_FOR_WIFI: in isReadyToSchedule() 367 if (!Downloads.Impl.isStatusCompleted(mStatus)) { in hasCompletionNotification() 461 return queryDownloadInt(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_PENDING); in queryDownloadStatus() [all …]
|
H A 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; 28 import static android.provider.Downloads.Impl.STATUS_FILE_ERROR; 33 import static android.provider.Downloads.Impl.STATUS_RUNNING; 34 import static android.provider.Downloads.Impl.STATUS_SUCCESS; 182 values.put(Downloads.Impl.COLUMN_URI, mUri); in buildContentValues() [all …]
|
H A 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 …]
|
H A 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() 129 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id), null, null); in cleanStale() 141 Downloads.Impl._ID, 142 Downloads.Impl._DATA }; [all …]
|
H A D | DownloadReceiver.java | 21 import static android.provider.Downloads.Impl.AUTHORITY; 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() 235 clazz = getString(cursor, Downloads.Impl.COLUMN_NOTIFICATION_CLASS); in sendNotificationClickedIntent() 236 isPublicApi = getInt(cursor, Downloads.Impl.COLUMN_IS_PUBLIC_API) != 0; in sendNotificationClickedIntent() [all …]
|
H A D | DownloadNotifier.java | 23 import static android.provider.Downloads.Impl.STATUS_RUNNING; 141 Downloads.Impl._ID, 142 Downloads.Impl.COLUMN_STATUS, 143 Downloads.Impl.COLUMN_VISIBILITY, 144 Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, 145 Downloads.Impl.COLUMN_CURRENT_BYTES, 146 Downloads.Impl.COLUMN_TOTAL_BYTES, 147 Downloads.Impl.COLUMN_DESTINATION, 148 Downloads.Impl.COLUMN_TITLE, 149 Downloads.Impl.COLUMN_DESCRIPTION, [all …]
|
/aosp12/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
H A D | PublicApiAccessTest.java | 52 Downloads.Impl.COLUMN_REFERER, 53 Downloads.Impl.COLUMN_USER_AGENT, 57 Downloads.Impl.COLUMN_OTHER_UID, 58 Downloads.Impl.COLUMN_APP_DATA, 59 Downloads.Impl.COLUMN_CONTROL, 60 Downloads.Impl.COLUMN_STATUS, 107 values.put(Downloads.Impl.COLUMN_VISIBILITY, Downloads.Impl.VISIBILITY_VISIBLE); in buildValidValues() 122 values.put(Downloads.Impl.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_EXTERNAL); in testInvalidDestination() 124 values.put(Downloads.Impl.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_CACHE_PARTITION); in testInvalidDestination() 136 values.put(Downloads.Impl.COLUMN_VISIBILITY, Downloads.Impl.VISIBILITY_HIDDEN); in testInvalidVisibility() [all …]
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 1068 mBaseUri = Downloads.Impl.CONTENT_URI; 1266 values.putNull(Downloads.Impl._DATA); in restartDownload() 1267 values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_PENDING); in restartDownload() 1280 values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_PENDING); in forceDownload() 1281 values.put(Downloads.Impl.COLUMN_CONTROL, Downloads.Impl.CONTROL_RUN); in forceDownload() 1559 values.put(Downloads.Impl._DATA, path); in addCompletedDownload() 1561 values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_SUCCESS); in addCompletedDownload() 1657 whereClause.append(Downloads.Impl._ID); in getWhereClauseForIds() 1821 case Downloads.Impl.STATUS_PENDING: in translateStatus() 1824 case Downloads.Impl.STATUS_RUNNING: in translateStatus() [all …]
|
/aosp12/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | DownloadProviderFunctionalTest.java | 62 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testDownloadTextFile() 75 updateDownload(downloadUri, Downloads.Impl.COLUMN_DESTINATION, in testDownloadToCache() 77 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testDownloadToCache() 92 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testRoaming() 96 updateDownload(downloadUri, Downloads.Impl.COLUMN_DESTINATION, in testRoaming() 102 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testRoaming() 112 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testCleartextTrafficPermittedFlagHonored() 155 return getDownloadField(downloadUri, Downloads.Impl._DATA); in getDownloadFilename() 175 values.put(Downloads.Impl.COLUMN_URI, getServerUri(path)); in requestDownload() 176 values.put(Downloads.Impl.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_EXTERNAL); in requestDownload() [all …]
|
H A 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() 114 "video/mp4", Downloads.Impl.DESTINATION_CACHE_PARTITION); in testGenerateSaveFileNoExtension() [all …]
|
/aosp12/frameworks/av/media/bufferpool/2.0/ |
H A D | AccessorImpl.cpp | 152 Accessor::Impl::Impl( in Impl() function in android::hardware::media::bufferpool::V2_0::implementation::Accessor::Impl 156 Accessor::Impl::~Impl() { in ~Impl() 159 ResultStatus Accessor::Impl::connect( in connect() 238 ResultStatus Accessor::Impl::fetch( in fetch() 271 void Accessor::Impl::flush() { in flush() 301 bool Accessor::Impl::isValid() { in isValid() 305 Accessor::Impl::Impl::BufferPool::BufferPool() in BufferPool() 323 Accessor::Impl::Impl::BufferPool::~BufferPool() { in ~BufferPool() 792 void Accessor::Impl::BufferPool::flush(const std::shared_ptr<Accessor::Impl> &impl) { in flush() 898 std::unique_ptr<Accessor::Impl::AccessorInvalidator> Accessor::Impl::sInvalidator; [all …]
|
H A D | AccessorImpl.h | 38 class Accessor::Impl 39 : public std::enable_shared_from_this<Accessor::Impl> { 41 Impl(const std::shared_ptr<BufferPoolAllocator> &allocator); 43 ~Impl(); 128 const std::weak_ptr<Accessor::Impl> mImpl; 130 const std::shared_ptr<Accessor::Impl> &impl) in Pending() 164 const std::shared_ptr<Accessor::Impl> &impl); 250 const std::shared_ptr<Accessor::Impl> &impl); 380 void flush(const std::shared_ptr<Accessor::Impl> &impl); 382 friend class Accessor::Impl; [all …]
|
H A D | BufferPoolClient.cpp | 38 class BufferPoolClient::Impl class in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient 166 struct BufferPoolClient::Impl::BlockPoolDataDtor { 182 struct BufferPoolClient::Impl::ClientBuffer { 268 BufferPoolClient::Impl::Impl(const sp<Accessor> &accessor, const sp<IObserver> &observer) in Impl() function in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient::Impl 289 BufferPoolClient::Impl::Impl(const sp<IAccessor> &accessor, const sp<IObserver> &observer) in Impl() function in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient::Impl 344 ResultStatus BufferPoolClient::Impl::flush() { in flush() 356 ResultStatus BufferPoolClient::Impl::allocate( in allocate() 401 ResultStatus BufferPoolClient::Impl::receive( in receive() 506 bool BufferPoolClient::Impl::postSend( in postSend() 535 bool BufferPoolClient::Impl::postReceive( in postReceive() [all …]
|
/aosp12/frameworks/av/media/codec2/vndk/util/ |
H A D | C2InterfaceUtils.cpp | 730 Impl clone() const; 733 static std::shared_ptr<Impl> Clone(const std::shared_ptr<Impl> &); 735 Impl(const C2FieldDescriptor &field_, std::shared_ptr<Impl> parent_, in Impl() function 742 std::shared_ptr<C2FieldUtils::Info::Impl> C2FieldUtils::Info::Impl::Clone(const std::shared_ptr<Imp… in Clone() argument 749 C2FieldUtils::Info::Impl C2FieldUtils::Info::Impl::clone() const { in clone() 750 Impl res = Impl(*this); in clone() 830 Impl() = default; 832 virtual ~Impl() = default; 852 Impl(std::shared_ptr<C2FieldUtils::Info::Impl> head) in Impl() function 884 virtual ~Impl() = default; [all …]
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | GlobalDebugImpl.h | 406 using Impl = GlobalDebugImpl<Symfile, uint32_t, Uint64_P>; in CreateGlobalDebugImpl() local 408 static_assert(offsetof(typename Impl::JITCodeEntry, seqlock) == 28, "layout"); in CreateGlobalDebugImpl() 409 static_assert(sizeof(typename Impl::JITCodeEntry) == 32, "layout"); in CreateGlobalDebugImpl() 410 static_assert(sizeof(typename Impl::JITDescriptor) == 48, "layout"); in CreateGlobalDebugImpl() 415 using Impl = GlobalDebugImpl<Symfile, uint32_t, Uint64_A>; in CreateGlobalDebugImpl() local 417 static_assert(offsetof(typename Impl::JITCodeEntry, seqlock) == 32, "layout"); in CreateGlobalDebugImpl() 418 static_assert(sizeof(typename Impl::JITCodeEntry) == 40, "layout"); in CreateGlobalDebugImpl() 419 static_assert(sizeof(typename Impl::JITDescriptor) == 48, "layout"); in CreateGlobalDebugImpl() 425 using Impl = GlobalDebugImpl<Symfile, uint64_t, Uint64_A>; in CreateGlobalDebugImpl() local 428 static_assert(sizeof(typename Impl::JITCodeEntry) == 48, "layout"); in CreateGlobalDebugImpl() [all …]
|
/aosp12/frameworks/av/media/bufferpool/1.0/ |
H A D | BufferPoolClient.cpp | 36 class BufferPoolClient::Impl class in android::hardware::media::bufferpool::V1_0::implementation::BufferPoolClient 39 explicit Impl(const sp<Accessor> &accessor); 41 explicit Impl(const sp<IAccessor> &accessor); 163 struct BufferPoolClient::Impl::ClientBuffer { 247 BufferPoolClient::Impl::Impl(const sp<Accessor> &accessor) in Impl() function in android::hardware::media::bufferpool::V1_0::implementation::BufferPoolClient::Impl 261 BufferPoolClient::Impl::Impl(const sp<IAccessor> &accessor) in Impl() function in android::hardware::media::bufferpool::V1_0::implementation::BufferPoolClient::Impl 301 ResultStatus BufferPoolClient::Impl::allocate( in allocate() 346 ResultStatus BufferPoolClient::Impl::receive( in receive() 451 bool BufferPoolClient::Impl::postSend( in postSend() 475 bool BufferPoolClient::Impl::postReceive( in postReceive() [all …]
|
H A D | AccessorImpl.cpp | 131 uint32_t Accessor::Impl::sSeqId = time(nullptr); 133 Accessor::Impl::Impl( in Impl() function in android::hardware::media::bufferpool::V1_0::implementation::Accessor::Impl 137 Accessor::Impl::~Impl() { in ~Impl() 140 ResultStatus Accessor::Impl::connect( in connect() 180 ResultStatus Accessor::Impl::allocate( in allocate() 206 ResultStatus Accessor::Impl::fetch( in fetch() 231 void Accessor::Impl::cleanUp(bool clearCache) { in cleanUp() 238 Accessor::Impl::Impl::BufferPool::BufferPool() in BufferPool() 251 Accessor::Impl::Impl::BufferPool::~BufferPool() { in ~BufferPool() 264 bool Accessor::Impl::BufferPool::handleOwnBuffer( in handleOwnBuffer() [all …]
|
/aosp12/frameworks/av/media/codec2/vndk/ |
H A D | C2Buffer.cpp | 284 std::shared_ptr<ReadViewBuddy::Impl> rvi = std::shared_ptr<ReadViewBuddy::Impl>( in map() 314 std::shared_ptr<WriteViewBuddy::Impl> rvi = std::shared_ptr<WriteViewBuddy::Impl>( in map() 665 class C2PooledBlockPool::Impl { class in C2PooledBlockPool 680 ~Impl() { in ~Impl() 1057 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map() 1078 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map() 1153 class C2BufferData::Impl { class in C2BufferData 1218 class C2Buffer::Impl { class in C2Buffer 1225 ~Impl() { in ~Impl() 1304 : mImpl(new Impl(this, blocks)) {} in C2Buffer() [all …]
|
H A D | C2Fence.cpp | 24 class C2Fence::Impl { class in C2Fence 36 virtual ~Impl() = default; 38 Impl() = default; 84 class _C2FenceFactory::SurfaceFenceImpl: public C2Fence::Impl { 130 C2Fence::C2Fence(std::shared_ptr<Impl> impl) : mImpl(impl) {} in C2Fence() 136 C2Fence::Impl *p in CreateSurfaceFence() 139 return C2Fence(std::shared_ptr<C2Fence::Impl>(p)); in CreateSurfaceFence()
|
H A D | C2AllocatorIon.cpp | 111 class Impl; 113 Impl *mImpl; 119 class C2AllocationIon::Impl { class in android::C2AllocationIon 246 virtual ~Impl() { in ~Impl() 332 class C2AllocationIon::ImplV2 : public C2AllocationIon::Impl { 347 : Impl(ionFd, capacity, bufferFd, -1 /*buffer*/, id, err) { in ImplV2() 375 C2AllocationIon::Impl *C2AllocationIon::Impl::Import(int ionFd, size_t capacity, int bufferFd, in Import() 381 return new Impl(ionFd, capacity, bufferFd, buffer, id, ret); in Import() 387 C2AllocationIon::Impl *C2AllocationIon::Impl::Alloc(int ionFd, size_t size, size_t align, in Alloc() 477 mImpl(Impl::Alloc(ionFd, size, align, heapMask, flags, id)) { } in C2AllocationIon() [all …]
|
/aosp12/frameworks/av/media/libstagefright/xmlparser/ |
H A D | MediaCodecsXmlParser.cpp | 158 struct MediaCodecsXmlParser::Impl { struct in android::MediaCodecsXmlParser 383 Impl() in Impl() argument 413 : mImpl(new Impl()) { in MediaCodecsXmlParser() 467 MediaCodecsXmlParser::Impl::State::State(MediaCodecsXmlParser::Impl::Data *data) in State() 472 MediaCodecsXmlParser::Impl::Section 635 MediaCodecsXmlParser::Impl::Result 906 MediaCodecsXmlParser::Impl::Result MediaCodecsXmlParser::Impl::Data::addGlobal( in addGlobal() 987 MediaCodecsXmlParser::Impl::Result 1137 MediaCodecsXmlParser::Impl::Result 1304 void MediaCodecsXmlParser::Impl::State::addDetail( in addDetail() [all …]
|
/aosp12/frameworks/native/include/ftl/ |
H A D | small_vector.h | 275 using Impl = std::vector<T>; variable 294 using Impl::Impl; 296 using Impl::empty; 297 using Impl::max_size; 298 using Impl::size; 300 using Impl::reserve; 303 iterator begin() { return Impl::data(); } in begin() 304 iterator end() { return Impl::data() + size(); } in end() 339 Impl::push_back(v); in push_back() 344 Impl::push_back(std::move(v)); in push_back() [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
H A 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()
|
/aosp12/system/iorap/src/binder/ |
H A D | iiorap_impl.cc | 95 class IIorapImpl::Impl { class in iorap::binder::IIorapImpl 98 explicit EventManagerTaskCallbacks(iorap::borrowed<IIorapImpl::Impl*> impl) { in EventManagerTaskCallbacks() 112 iorap::borrowed<IIorapImpl::Impl*> impl_; 116 ~Impl() { in ~Impl() 317 using Impl = IIorapImpl::Impl; typedef 324 impl_.reset(new Impl(std::move(s_service_params_))); in IIorapImpl() 394 Impl* self, in SendArgs() 407 Status SendArgs(const char* function_name, Impl* self, Args&&... rest) { in SendArgs() 417 Impl* self, in SendArgs() 442 Impl* self, in SendArgs() [all …]
|