Home
last modified time | relevance | path

Searched refs:AddProp (Results 1 - 25 of 73) sorted by relevance

123

/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dvolumemanager_n_exporter.cpp76 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 Dstorage_statistics_n_exporter.cpp191 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 Dnapi_file_iterator_exporter.cpp52 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 Dcloud_file_napi.cpp112 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 Dreaderiterator_n_exporter.cpp73 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 Dnapi_root_iterator_exporter.cpp47 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 Dwatcher_n_exporter.cpp148 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 Dprop_n_exporter.cpp25 return exports_.AddProp({ in Export()
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/
H A Dn_val.h75 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 Dn_val.h114 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 Dprop_n_exporter.cpp36 return exports_.AddProp({ in Export()
/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
H A Dprop_n_exporter.cpp25 return exports_.AddProp({ in Export()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_value.h82 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 Dn_val.h85 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 Dwebgl_vertex_array_object.cpp58 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_transform_feedback.cpp58 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_uniform_location.cpp58 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_sampler.cpp56 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_shader.cpp57 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_sync.cpp58 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_buffer.cpp60 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_renderbuffer.cpp61 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_query.cpp58 return exports_.AddProp(className, clas); in Export()
H A Dwebgl_program.cpp59 return exports_.AddProp(className, clas); in Export()
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/
H A Dgrant_permissions.cpp46 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()

Completed in 8 milliseconds

123