/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | volumemanager_n_exporter.cpp | 76 volumeInfoObject.AddProp("id", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetId()).val_); in GetAllVolumes() 77 volumeInfoObject.AddProp("uuid", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetUuid()).val_); in GetAllVolumes() 78 volumeInfoObject.AddProp("diskId", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetDiskId()).val_); in GetAllVolumes() 79 volumeInfoObject.AddProp("description", in GetAllVolumes() 81 volumeInfoObject.AddProp("removable", NVal::CreateBool(env, (bool)true).val_); in GetAllVolumes() 82 volumeInfoObject.AddProp("state", NVal::CreateInt32(env, (*volumeInfo)[i].GetState()).val_); in GetAllVolumes() 83 volumeInfoObject.AddProp("path", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetPath()).val_); in GetAllVolumes() 84 volumeInfoObject.AddProp("fsType", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetFsTypeString()).val_); in GetAllVolumes() 226 volumeObject.AddProp("id", NVal::CreateUTF8String(env, volumeInfo->GetId()).val_); in GetVolumeByUuid() 227 volumeObject.AddProp("uui in GetVolumeByUuid() [all...] |
H A D | storage_statistics_n_exporter.cpp | 191 bundleObject.AddProp("appSize", NVal::CreateInt64(env, (bundleStats->appSize_)).val_); in GetBundleStats() 192 bundleObject.AddProp("cacheSize", NVal::CreateInt64(env, in GetBundleStats() 194 bundleObject.AddProp("dataSize", NVal::CreateInt64(env, (bundleStats->dataSize_)).val_); in GetBundleStats() 229 bundleObject.AddProp("appSize", NVal::CreateInt64(env, (bundleStats->appSize_)).val_); in GetCurrentBundleStats() 230 bundleObject.AddProp("cacheSize", NVal::CreateInt64(env, in GetCurrentBundleStats() 232 bundleObject.AddProp("dataSize", NVal::CreateInt64(env, (bundleStats->dataSize_)).val_); in GetCurrentBundleStats() 326 totalObject.AddProp("total", NVal::CreateInt64(env, (storageStats->total_)).val_); in GetUserStorageStats() 327 totalObject.AddProp("audio", NVal::CreateInt64(env, (storageStats->audio_)).val_); in GetUserStorageStats() 328 totalObject.AddProp("video", NVal::CreateInt64(env, (storageStats->video_)).val_); in GetUserStorageStats() 329 totalObject.AddProp("imag in GetUserStorageStats() [all...] |
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/file_info/ |
H A D | napi_file_iterator_exporter.cpp | 52 return exports_.AddProp(className, classValue); in Export() 111 nVal.AddProp("value", objFileInfoExporter); in MakeListFileResult() 112 nVal.AddProp("done", NVal::CreateBool(env, true).val_); in MakeListFileResult() 116 nVal.AddProp("value", objFileInfoExporter); in MakeListFileResult() 117 nVal.AddProp("done", NVal::CreateBool(env, false).val_); in MakeListFileResult() 148 nVal.AddProp("value", objFileInfoExporter); in MakeScanFileResult() 149 nVal.AddProp("done", NVal::CreateBool(env, true).val_); in MakeScanFileResult() 170 nVal.AddProp("value", objFileInfoExporter); in MakeScanFileResult() 171 nVal.AddProp("done", NVal::CreateBool(env, true).val_); in MakeScanFileResult() 179 nVal.AddProp("valu in MakeScanFileResult() [all...] |
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_file_napi.cpp | 112 obj.AddProp("state", NVal::CreateInt32(env, (int32_t)msg->downloadProgress_.state).val_); in OnComplete() 113 obj.AddProp("processed", NVal::CreateInt64(env, msg->downloadProgress_.downloadedSize).val_); in OnComplete() 114 obj.AddProp("size", NVal::CreateInt64(env, msg->downloadProgress_.totalSize).val_); in OnComplete() 115 obj.AddProp("uri", NVal::CreateUTF8String(env, msg->downloadProgress_.path).val_); in OnComplete() 118 obj.AddProp("state", NVal::CreateInt32(env, (int32_t)msg->downloadProgress_.batchState).val_); in OnComplete() 119 obj.AddProp("downloadedSize", NVal::CreateInt64(env, msg->downloadProgress_.batchDownloadSize).val_); in OnComplete() 120 obj.AddProp("totalSize", NVal::CreateInt64(env, msg->downloadProgress_.batchTotalSize).val_); in OnComplete() 121 obj.AddProp("successfulNum", NVal::CreateInt64(env, msg->downloadProgress_.batchSuccNum).val_); in OnComplete() 122 obj.AddProp("failedNum", NVal::CreateInt64(env, msg->downloadProgress_.batchFailNum).val_); in OnComplete() 123 obj.AddProp("totalNu in OnComplete() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_readeriterator/ |
H A D | readeriterator_n_exporter.cpp | 73 objReaderIteratorResult.AddProp("done", NVal::CreateBool(env, (readerIteratorEntity->offset == 0)).val_); in Next() 75 objReaderIteratorResult.AddProp("value", NVal::CreateUTF8String(env, str->str, str->len).val_); in Next() 78 objReaderIteratorResult.AddProp("value", NVal::CreateUTF8String(env, "").val_); in Next() 110 return exports_.AddProp(className, classValue); in Export()
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/root_info/ |
H A D | napi_root_iterator_exporter.cpp | 47 return exports_.AddProp(className, classValue); in Export() 114 retNVal.AddProp("value", objRootInfoExporter); in Next() 115 retNVal.AddProp("done", NVal::CreateBool(env, done).val_); in Next()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/ |
H A D | watcher_n_exporter.cpp | 148 objn.AddProp("fileName", NVal::CreateUTF8String(env, callbackContext->fileName_).val_); in WatcherCallbackComplete() 149 objn.AddProp("event", NVal::CreateUint32(env, callbackContext->event_).val_); in WatcherCallbackComplete() 150 objn.AddProp("cookie", NVal::CreateUint32(env, callbackContext->cookie_).val_); in WatcherCallbackComplete() 226 return exports_.AddProp(className, classValue); in Export()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/ |
H A D | prop_n_exporter.cpp | 25 return exports_.AddProp({ in Export()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/ |
H A D | n_val.h | 75 bool AddProp(std::vector<napi_property_descriptor> &&propVec) const; 76 bool AddProp(std::string propName, napi_value nVal) const;
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/ |
H A D | n_val.h | 114 bool AddProp(std::vector<napi_property_descriptor> &&propVec) const; 116 bool AddProp(std::string propName, napi_value val) const;
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/properties/ |
H A D | prop_n_exporter.cpp | 36 return exports_.AddProp({ in Export()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/ |
H A D | prop_n_exporter.cpp | 25 return exports_.AddProp({ in Export()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_value.h | 82 bool AddProp(std::vector<napi_property_descriptor> &&propVec) const; 83 bool AddProp(const std::string &propName, napi_value val) const;
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/ |
H A D | n_val.h | 85 bool AddProp(std::vector<napi_property_descriptor> &&propVec) const; 86 bool AddProp(std::string propName, napi_value nVal) const;
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_vertex_array_object.cpp | 58 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_transform_feedback.cpp | 58 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_uniform_location.cpp | 58 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_sampler.cpp | 56 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_shader.cpp | 57 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_sync.cpp | 58 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_buffer.cpp | 60 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_renderbuffer.cpp | 61 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_query.cpp | 58 return exports_.AddProp(className, clas); in Export()
|
H A D | webgl_program.cpp | 59 return exports_.AddProp(className, clas); in Export()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | grant_permissions.cpp | 46 obj.AddProp("uri", NVal::CreateUTF8String(env, iter.uri).val_); in GetErrData() 47 obj.AddProp("code", NVal::CreateInt32(env, iter.code).val_); in GetErrData() 48 obj.AddProp("message", NVal::CreateUTF8String(env, iter.message).val_); in GetErrData()
|