Searched refs:fetchMode (Results 1 - 2 of 2) sorted by relevance
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_photo_access_helper_napi.cpp | 1168 const unique_ptr<SendablePhotoAccessHelperAsyncContext> &context, const int32_t fetchMode) in ParseHiddenPhotosDisplayMode() 1170 switch (fetchMode) { in ParseHiddenPhotosDisplayMode() 1179 env, OHOS_INVALID_PARAM_CODE, "Invalid fetch mode: " + to_string(fetchMode)); in ParseHiddenPhotosDisplayMode() 1210 int32_t fetchMode = 0; in ParseArgsGetHiddenAlbums() local 1213 CHECK_ARGS(env, SendableMediaLibraryNapiUtils::GetInt32(env, context->argv[PARAM0], fetchMode), in ParseArgsGetHiddenAlbums() 1217 CHECK_ARGS(env, SendableMediaLibraryNapiUtils::GetInt32(env, context->argv[PARAM0], fetchMode), in ParseArgsGetHiddenAlbums() 1227 CHECK_NULLPTR_RET(ParseHiddenPhotosDisplayMode(env, context, fetchMode)); in ParseArgsGetHiddenAlbums() 1229 context->hiddenAlbumFetchMode = fetchMode; in ParseArgsGetHiddenAlbums() 1230 if (fetchMode == HiddenPhotosDisplayMode::ASSETS_MODE) { in ParseArgsGetHiddenAlbums() 1167 ParseHiddenPhotosDisplayMode(napi_env env, const unique_ptr<SendablePhotoAccessHelperAsyncContext> &context, const int32_t fetchMode) ParseHiddenPhotosDisplayMode() argument
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_library_napi.cpp | 7824 const unique_ptr<MediaLibraryAsyncContext> &context, const int32_t fetchMode) in ParseHiddenPhotosDisplayMode() 7826 switch (fetchMode) { in ParseHiddenPhotosDisplayMode() 7835 env, OHOS_INVALID_PARAM_CODE, "Invalid fetch mode: " + to_string(fetchMode)); in ParseHiddenPhotosDisplayMode() 7868 int32_t fetchMode = 0; in ParseArgsGetHiddenAlbums() local 7872 env, MediaLibraryNapiUtils::GetInt32(env, context->argv[PARAM0], fetchMode), OHOS_INVALID_PARAM_CODE); in ParseArgsGetHiddenAlbums() 7876 env, MediaLibraryNapiUtils::GetInt32(env, context->argv[PARAM0], fetchMode), OHOS_INVALID_PARAM_CODE); in ParseArgsGetHiddenAlbums() 7886 CHECK_NULLPTR_RET(ParseHiddenPhotosDisplayMode(env, context, fetchMode)); in ParseArgsGetHiddenAlbums() 7888 context->hiddenAlbumFetchMode = fetchMode; in ParseArgsGetHiddenAlbums() 7889 if (fetchMode == HiddenPhotosDisplayMode::ASSETS_MODE) { in ParseArgsGetHiddenAlbums() 7823 ParseHiddenPhotosDisplayMode(napi_env env, const unique_ptr<MediaLibraryAsyncContext> &context, const int32_t fetchMode) ParseHiddenPhotosDisplayMode() argument
|
Completed in 17 milliseconds