Home
last modified time | relevance | path

Searched refs:isUpdate (Results 1 - 25 of 27) sorted by relevance

12

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_installer.h46 uint8_t bundleStyle, InstallerCallback installerCallback, bool &isUpdate);
48 const char *dataPath, bool isUpdate);
50 bool isUpdate);
52 uint8_t StorePermissions(const char *bundleName, PermissionTrans *permissions, int32_t permNum, bool isUpdate);
H A Dbundle_installer.h43 bool isUpdate, uint8_t hapType);
44 uint8_t UpdateBundleInfo(const char *appId, const BundleRes &bundleRes, BundleInfo *bundleInfo, bool isUpdate,
54 uint8_t StorePermissions(const char *bundleName, PermissionTrans *permissions, int32_t permNum, bool isUpdate);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync_utils.h82 UpdateWaterMark &isUpdate);
85 WaterMark deleteLocalMark, UpdateWaterMark &isUpdate);
91 const std::vector<SendDataItem> &data, UpdateWaterMark &isUpdate);
94 const std::vector<SendDataItem> &inData, UpdateWaterMark &isUpdate);
H A Dsingle_ver_data_sync_utils.cpp407 WaterMark localMark, UpdateWaterMark &isUpdate) in GetFullSyncDataTimeRange()
422 isUpdate.normalUpdateMark = true; in GetFullSyncDataTimeRange()
428 WaterMark localMark, WaterMark deleteLocalMark, UpdateWaterMark &isUpdate) in GetQuerySyncDataTimeRange()
443 isUpdate.normalUpdateMark = true; in GetQuerySyncDataTimeRange()
452 isUpdate.deleteUpdateMark = true; in GetQuerySyncDataTimeRange()
472 const std::vector<SendDataItem> &data, UpdateWaterMark &isUpdate) in GetRecvDataTimeRange()
475 return SingleVerDataSyncUtils::GetFullSyncDataTimeRange(data, 0, isUpdate); in GetRecvDataTimeRange()
477 return SingleVerDataSyncUtils::GetQuerySyncDataTimeRange(data, 0, 0, isUpdate); in GetRecvDataTimeRange()
481 const std::vector<SendDataItem> &inData, UpdateWaterMark &isUpdate) in GetSyncDataTimeRange()
484 return SingleVerDataSyncUtils::GetFullSyncDataTimeRange(inData, localMark, isUpdate); in GetSyncDataTimeRange()
406 GetFullSyncDataTimeRange(const std::vector<SendDataItem> &inData, WaterMark localMark, UpdateWaterMark &isUpdate) GetFullSyncDataTimeRange() argument
427 GetQuerySyncDataTimeRange(const std::vector<SendDataItem> &inData, WaterMark localMark, WaterMark deleteLocalMark, UpdateWaterMark &isUpdate) GetQuerySyncDataTimeRange() argument
471 GetRecvDataTimeRange(SyncType syncType, const std::vector<SendDataItem> &data, UpdateWaterMark &isUpdate) GetRecvDataTimeRange() argument
480 GetSyncDataTimeRange(SyncType syncType, WaterMark localMark, WaterMark deleteMark, const std::vector<SendDataItem> &inData, UpdateWaterMark &isUpdate) GetSyncDataTimeRange() argument
[all...]
H A Dsingle_ver_data_sync.h152 const std::vector<SendDataItem> &inData, UpdateWaterMark &isUpdate);
H A Dsingle_ver_data_sync.cpp456 const std::vector<SendDataItem> &inData, UpdateWaterMark &isUpdate) in GetSyncDataTimeRange()
462 return SingleVerDataSyncUtils::GetSyncDataTimeRange(syncType, localMark, deleteMark, inData, isUpdate); in GetSyncDataTimeRange()
455 GetSyncDataTimeRange(SyncType syncType, SingleVerSyncTaskContext *context, const std::vector<SendDataItem> &inData, UpdateWaterMark &isUpdate) GetSyncDataTimeRange() argument
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_installer.cpp202 bool isUpdate = false; in Install() local
203 uint8_t errorCode = ProcessBundleInstall(path, randStr, installRecord, bundleStyle, installerCallback, isUpdate); in Install()
221 if (bundleStyle == THIRD_APP_FLAG && !isUpdate) { in Install()
229 uint8_t bundleStyle, InstallerCallback installerCallback, bool &isUpdate) in ProcessBundleInstall()
300 isUpdate = GtManagerService::GetInstance().QueryBundleInfo(installRecord.bundleName) != nullptr; in ProcessBundleInstall()
301 errorCode = HandleFileAndBackUpRecord(installRecord, tmpCodePath, randStr, bundleInfo->dataPath, isUpdate); in ProcessBundleInstall()
312 isUpdate); in ProcessBundleInstall()
315 errorCode = UpdateBundleInfo(bundleStyle, labelId, iconId, bundleInfo, isUpdate); in ProcessBundleInstall()
450 const char *randStr, const char *dataPath, bool isUpdate) in HandleFileAndBackUpRecord()
480 if (!isUpdate) { in HandleFileAndBackUpRecord()
228 ProcessBundleInstall(const char *path, const char *randStr, InstallRecord &installRecord, uint8_t bundleStyle, InstallerCallback installerCallback, bool &isUpdate) ProcessBundleInstall() argument
449 HandleFileAndBackUpRecord(const InstallRecord &record, const char *tmpPath, const char *randStr, const char *dataPath, bool isUpdate) HandleFileAndBackUpRecord() argument
521 UpdateBundleInfo(uint8_t bundleStyle, uint32_t labelId, uint32_t iconId, BundleInfo *bundleInfo, bool isUpdate) UpdateBundleInfo() argument
759 StorePermissions(const char *bundleName, PermissionTrans *permissions, int32_t permNum, bool isUpdate) StorePermissions() argument
[all...]
H A Dbundle_installer.cpp229 bool isUpdate = ManagerService::GetInstance().QueryBundleInfo(installRecord.bundleName) != nullptr; in ProcessBundleInstall() local
230 errorCode = HandleFileAndBackUpRecord(codePath.c_str(), randStr, installRecord, isUpdate, hapType); in ProcessBundleInstall()
236 isUpdate); in ProcessBundleInstall()
239 errorCode = UpdateBundleInfo(installRecord.appId, bundleRes, bundleInfo, isUpdate, hapType); in ProcessBundleInstall()
346 bool isUpdate, uint8_t hapType) in HandleFileAndBackUpRecord()
366 if (!isUpdate) { in HandleFileAndBackUpRecord()
394 bool isUpdate, uint8_t hapType) in UpdateBundleInfo()
403 if (!isUpdate) { in UpdateBundleInfo()
675 bool isUpdate) in StorePermissions()
678 if (isUpdate) { in StorePermissions()
345 HandleFileAndBackUpRecord(const char *codePath, const char *randStr, InstallRecord &record, bool isUpdate, uint8_t hapType) HandleFileAndBackUpRecord() argument
393 UpdateBundleInfo(const char *appId, const BundleRes &bundleRes, BundleInfo *bundleInfo, bool isUpdate, uint8_t hapType) UpdateBundleInfo() argument
674 StorePermissions(const char *bundleName, PermissionTrans *permissions, int32_t permNum, bool isUpdate) StorePermissions() argument
[all...]
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_coap.c37 bool isUpdate; member
59 info->isUpdate = false; in RegisterAllCapBitmap()
68 info->isUpdate = true; in RegisterAllCapBitmap()
88 info->isUpdate = false; in UnregisterAllCapBitmap()
99 info->isUpdate = true; in UnregisterAllCapBitmap()
215 if (g_publishMgr->isUpdate && DiscCoapRegisterCapability(CAPABILITY_NUM, g_publishMgr->allCap) != SOFTBUS_OK) { in Publish()
291 if (g_publishMgr->isUpdate) { in UnPublish()
338 if (!g_subscribeMgr->isUpdate) { in UpdateFilter()
592 SOFTBUS_DPRINTF(fd, "publish isUpdate : %d\n", g_publishMgr->isUpdate); in CoapPubInfoDump()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_executor.h215 inline sqlite3_stmt *GetDataSaveStatement(bool isUpdate) const in GetDataSaveStatement()
217 return isUpdate ? updateStatement : insertStatement; in GetDataSaveStatement()
231 const SyncDataDevices &devices, bool isUpdate);
274 const std::string &deviceName, bool isUpdate);
366 int BindSyncDataTime(sqlite3_stmt *statement, const DataItem &dataItem, bool isUpdate);
H A Dsqlite_single_ver_storage_executor.cpp1202 const std::string &origDev, const std::string &deviceName, bool isUpdate) in SaveSyncDataToDatabase()
1208 auto statement = saveSyncStatements_.GetDataSaveStatement(isUpdate); in SaveSyncDataToDatabase()
1214 int errCode = BindSavedSyncData(statement, dataItem, hashKey, {origDev, devName}, isUpdate); in SaveSyncDataToDatabase()
1374 bool isUpdate = (notify.dataStatus.preStatus != DataStatus::NOEXISTED); in SaveSyncDataItem() local
1376 errCode = SaveSyncDataToDatabase(dataItem, notify.hashKey, origDev, deviceInfo.deviceName, isUpdate); in SaveSyncDataItem()
1471 const Key &hashKey, const SyncDataDevices &devices, bool isUpdate) in BindSavedSyncData()
1473 const int hashKeyIndex = isUpdate ? BIND_SYNC_UPDATE_HASH_KEY_INDEX : BIND_SYNC_HASH_KEY_INDEX; in BindSavedSyncData()
1498 errCode = BindSyncDataTime(statement, dataItem, isUpdate); in BindSavedSyncData()
2246 int SQLiteSingleVerStorageExecutor::BindSyncDataTime(sqlite3_stmt *statement, const DataItem &dataItem, bool isUpdate) in BindSyncDataTime() argument
2254 const int writeTimeIndex = isUpdate in BindSyncDataTime()
1201 SaveSyncDataToDatabase(const DataItem &dataItem, const Key &hashKey, const std::string &origDev, const std::string &deviceName, bool isUpdate) SaveSyncDataToDatabase() argument
1470 BindSavedSyncData(sqlite3_stmt *statement, const DataItem &dataItem, const Key &hashKey, const SyncDataDevices &devices, bool isUpdate) BindSavedSyncData() argument
[all...]
H A Dsqlite_single_ver_storage_executor_cache.cpp274 bool isUpdate = notify.dataStatus.preStatus != DataStatus::NOEXISTED; in MigrateDataItem() local
275 sqlite3_stmt *statement = migrateSyncStatements_.GetDataSaveStatement(isUpdate); in MigrateDataItem()
286 errCode = BindSavedSyncData(statement, dataItem, dataItem.hashKey, { dataItem.origDev, dataItem.dev }, isUpdate); in MigrateDataItem()
/foundation/window/window_manager/previewer/src/
H A Dwindow_impl.cpp1033 bool isUpdate = false; in SetViewportConfig() local
1036 isUpdate = true; in SetViewportConfig()
1040 isUpdate = true; in SetViewportConfig()
1044 isUpdate = true; in SetViewportConfig()
1048 isUpdate = true; in SetViewportConfig()
1050 if (isUpdate) { in SetViewportConfig()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_pattern.h98 void SetOptionsButtonUpdateColorFlags(size_t index, bool isUpdate);
H A Dcalendar_dialog_pattern.cpp269 void CalendarDialogPattern::SetOptionsButtonUpdateColorFlags(size_t index, bool isUpdate) in SetOptionsButtonUpdateColorFlags() argument
275 updateColorFlags[index] = isUpdate; in SetOptionsButtonUpdateColorFlags()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_service.cpp411 bool isUpdate = false; in AddDeviceConfig() local
425 isUpdate = true; in AddDeviceConfig()
471 ConfigChange changeType = isUpdate ? ConfigChange::CONFIG_UPDATE : ConfigChange::CONFIG_ADD; in AddDeviceConfig()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/decision_db/src/
H A Dlnn_decision_db.c186 static int32_t GetDecisionDbKey(uint8_t *dbKey, uint32_t len, bool isUpdate) in GetDecisionDbKey() argument
195 if (!isUpdate && SoftBusAccessFile(dbKeyFilePath, SOFTBUS_F_OK) == SOFTBUS_OK) { in GetDecisionDbKey()
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/
H A Dnetfirewall_db_helper.h289 int32_t CheckIfNeedUpdateEx(const std::string &tableName, bool &isUpdate, int32_t ruleId, NetFirewallRule &oldRule);
/foundation/window/window_manager/wm/src/
H A Dwindow_session_impl.cpp3030 bool isUpdate = false; in RegisterAvoidAreaChangeListener() local
3038 isUpdate = true; in RegisterAvoidAreaChangeListener()
3041 if (isUpdate) { in RegisterAvoidAreaChangeListener()
3057 bool isUpdate = false; in UnregisterAvoidAreaChangeListener() local
3065 isUpdate = true; in UnregisterAvoidAreaChangeListener()
3068 if (isUpdate) { in UnregisterAvoidAreaChangeListener()
3156 bool isUpdate = false; in RegisterTouchOutsideListener() local
3174 isUpdate = true; in RegisterTouchOutsideListener()
3177 if (isUpdate) { in RegisterTouchOutsideListener()
3185 bool isUpdate in UnregisterTouchOutsideListener() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_lock_test.cpp123 void TestConflictSync001(bool isUpdate);
344 void DistributedDBCloudSyncerLockTest::TestConflictSync001(bool isUpdate) in TestConflictSync001() argument
362 if (isUpdate) { in TestConflictSync001()
/foundation/multimedia/av_session/services/session/server/
H A Davsession_item.h413 bool isUpdate = false; member in OHOS::AVSession::AVSessionItem
H A Davsession_item.cpp1126 isUpdate = false;
1133 isUpdate = true;
1299 if (isUpdate && newCastState == streamStateConnection) {
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_db_helper.cpp215 int32_t NetFirewallDbHelper::CheckIfNeedUpdateEx(const std::string &tableName, bool &isUpdate, int32_t ruleId, in CheckIfNeedUpdateEx() argument
233 isUpdate = rowCount > 0 && !rules.empty(); in CheckIfNeedUpdateEx()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm.c111 static bool IsBasicNodeInfoChanged(const NodeInfo *oldNodeInfo, const NodeInfo *newNodeInfo, bool isUpdate);
1311 static bool IsBasicNodeInfoChanged(const NodeInfo *oldNodeInfo, const NodeInfo *newNodeInfo, bool isUpdate) in IsBasicNodeInfoChanged() argument
1322 if (isUpdate) { in IsBasicNodeInfoChanged()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_cloud_interfaces_set_cloud_schema_test.cpp128 bool isUpdate = false);
238 const std::string &tableName, bool isUpdate) in InsertLocalSharedTableRecords()
244 if (isUpdate) { in InsertLocalSharedTableRecords()
237 InsertLocalSharedTableRecords(int64_t begin, int64_t count, const std::string &tableName, bool isUpdate) InsertLocalSharedTableRecords() argument

Completed in 49 milliseconds

12