Home
last modified time | relevance | path

Searched refs:objectPtr (Results 1 - 13 of 13) sorted by relevance

/foundation/multimedia/media_library/frameworks/js/src/
H A Dfetch_file_result_napi.cpp464 switch (context->objectPtr->fetchResType_) { in GetNapiResFromAsset()
538 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetFirstObject()
539 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetFirstObject()
586 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetNextObject()
587 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetNextObject()
634 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetLastObject()
635 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetLastObject()
695 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetPositionObject()
696 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetPositionObject()
772 switch (context->objectPtr in GetAllObjectCompleteCallback()
[all...]
H A Dfile_asset_napi.cpp1217 const auto fileAsset = context->objectPtr; in BuildCommitModifyValuesBucket()
1256 if (context->objectPtr->GetMediaType() == MEDIA_TYPE_IMAGE || in BuildCommitModifyUriApi9()
1257 context->objectPtr->GetMediaType() == MEDIA_TYPE_VIDEO) { in BuildCommitModifyUriApi9()
1259 } else if (context->objectPtr->GetMediaType() == MEDIA_TYPE_AUDIO) { in BuildCommitModifyUriApi9()
1261 } else if (context->objectPtr->GetMediaType() == MEDIA_TYPE_FILE) { in BuildCommitModifyUriApi9()
1269 if (context->objectPtr->GetMediaType() == MEDIA_TYPE_IMAGE || in BuildCommitModifyUriApi10()
1270 context->objectPtr->GetMediaType() == MEDIA_TYPE_VIDEO) { in BuildCommitModifyUriApi10()
1272 } else if (context->objectPtr->GetMediaType() == MEDIA_TYPE_AUDIO) { in BuildCommitModifyUriApi10()
1280 if (context->objectPtr->GetPhotoSubType() == static_cast<int32_t>(PhotoSubType::BURST)) { in CheckDisplayNameInCommitModify()
1284 if (context->objectPtr in CheckDisplayNameInCommitModify()
[all...]
H A Dalbum_napi.cpp665 PhotoAlbumSubType subType = context->objectPtr->GetAlbumSubType(); in UpdateCompatAlbumSelection()
715 context->predicates.EqualTo(MEDIA_DATA_DB_BUCKET_ID, context->objectPtr->GetAlbumId()); in UpdateSelection()
735 context->selectionArgs.emplace_back(std::to_string(context->objectPtr->GetAlbumId())); in UpdateSelection()
762 (MediaFileUtils::GetNetworkIdFromUri(context->objectPtr->GetAlbumUri())) + MEDIALIBRARY_DATA_URI_IDENTIFIER; in GetFileAssetsNative()
774 context->fetchResult->SetNetworkId(MediaFileUtils::GetNetworkIdFromUri(context->objectPtr->GetAlbumUri())); in GetFileAssetsNative()
829 auto objectPtr = context->objectPtr; in CommitModifyNative() local
830 if (MediaFileUtils::CheckAlbumName(objectPtr->GetAlbumName()) < 0) { in CommitModifyNative()
832 NAPI_ERR_LOG("album name invalid = %{private}s", objectPtr->GetAlbumName().c_str()); in CommitModifyNative()
840 valuesBucket.Put(MEDIA_DATA_DB_TITLE, objectPtr in CommitModifyNative()
[all...]
H A Dsmart_album_napi.cpp935 asyncContext->objectPtr = asyncContext->objectInfo->smartAlbumAssetPtr; in JSAddFileAssets()
936 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "SmartAlbumAsset is nullptr"); in JSAddFileAssets()
977 asyncContext->objectPtr = asyncContext->objectInfo->smartAlbumAssetPtr; in JSRemoveFileAssets()
978 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "SmartAlbumAsset is nullptr"); in JSRemoveFileAssets()
1019 asyncContext->objectPtr = asyncContext->objectInfo->smartAlbumAssetPtr; in JSCommitModify()
1020 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "SmartAlbumAsset is nullptr"); in JSCommitModify()
1121 context->predicates.EqualTo(SMARTALBUMMAP_DB_ALBUM_ID, context->objectPtr->GetAlbumId()); in UpdateSelection()
1123 if (context->objectPtr->GetAlbumId() == TRASH_ALBUM_ID_VALUES) { in UpdateSelection()
1131 if (context->objectPtr->GetAlbumId() == TRASH_ALBUM_ID_VALUES) { in UpdateSelection()
1138 context->selectionArgs.emplace_back(std::to_string(context->objectPtr in UpdateSelection()
[all...]
/foundation/multimedia/media_library/frameworks/js/src/sendable/
H A Dsendable_fetch_file_result_napi.cpp379 switch (context->objectPtr->fetchResType_) { in GetNapiResFromAsset()
454 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetFirstObject()
455 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetFirstObject()
502 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetNextObject()
503 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetNextObject()
579 switch (context->objectPtr->fetchResType_) { in GetAllObjectCompleteCallback()
669 asyncContext->objectPtr = asyncContext->objectInfo->propertyPtr; in JSGetAllObject()
670 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, result, "propertyPtr is nullptr"); in JSGetAllObject()
726 switch (objectPtr->fetchResType_) { in GetFirstAsset()
728 fileAsset = objectPtr in GetFirstAsset()
[all...]
H A Dsendable_file_asset_napi.cpp463 const auto fileAsset = context->objectPtr; in BuildCommitModifyValuesBucket()
502 if (context->objectPtr->GetMediaType() == MEDIA_TYPE_IMAGE || in BuildCommitModifyUriApi9()
503 context->objectPtr->GetMediaType() == MEDIA_TYPE_VIDEO) { in BuildCommitModifyUriApi9()
505 } else if (context->objectPtr->GetMediaType() == MEDIA_TYPE_AUDIO) { in BuildCommitModifyUriApi9()
507 } else if (context->objectPtr->GetMediaType() == MEDIA_TYPE_FILE) { in BuildCommitModifyUriApi9()
515 if (context->objectPtr->GetMediaType() == MEDIA_TYPE_IMAGE || in BuildCommitModifyUriApi10()
516 context->objectPtr->GetMediaType() == MEDIA_TYPE_VIDEO) { in BuildCommitModifyUriApi10()
518 } else if (context->objectPtr->GetMediaType() == MEDIA_TYPE_AUDIO) { in BuildCommitModifyUriApi10()
526 if (context->objectPtr->GetMediaType() != MediaType::MEDIA_TYPE_FILE) { in CheckDisplayNameInCommitModify()
527 if (MediaFileUtils::CheckDisplayName(context->objectPtr in CheckDisplayNameInCommitModify()
[all...]
/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/
H A Dsendable_file_asset_napi.h112 std::shared_ptr<FileAsset> objectPtr = nullptr; member
H A Dsendable_fetch_file_result_napi.h98 std::shared_ptr<SendableFetchResultProperty> objectPtr; member in OHOS::Media::FetchFileResultSendableAsyncContext
/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dalbum_napi.h107 std::shared_ptr<AlbumAsset> objectPtr; member
H A Dsmart_album_napi.h109 std::shared_ptr<SmartAlbumAsset> objectPtr; member
H A Dfetch_file_result_napi.h103 std::shared_ptr<FetchResultProperty> objectPtr; member in OHOS::Media::FetchFileResultAsyncContext
H A Dfile_asset_napi.h175 std::shared_ptr<FileAsset> objectPtr = nullptr; member
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_invoker.cpp850 uintptr_t objectPtr = input_.ReadPointer(); in OnAttemptAcquire() local
854 if ((refs != nullptr) && (!objectPtr)) { in OnAttemptAcquire()

Completed in 19 milliseconds