| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
| D | kvdb_service_stub.cpp | 78 ZLOGE("PERMISSION_DENIED uid:%{public}d appId:%{public}s storeId:%{public}s", storeInfo.uid, in OnRemoteRequest() 82 ZLOGE("Marshal PERMISSION_DENIED code:%{public}u appId:%{public}s storeId:%{public}s", code, in OnRemoteRequest() 91 AppId appId; in GetStoreInfo() local 93 if (!ITypesUtil::Unmarshal(data, appId, storeId)) { in GetStoreInfo() 94 ZLOGE("Unmarshal appId:%{public}s storeId:%{public}s", in GetStoreInfo() 95 appId.appId.c_str(), Anonymous::Change(storeId.storeId).c_str()); in GetStoreInfo() 98 appId.appId = Constant::TrimCopy(appId.appId); in GetStoreInfo() 103 info.bundleName = std::move(appId.appId); in GetStoreInfo() 118 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnGetStoreIds() argument 121 int32_t status = GetStoreIds(appId, storeIds); in OnGetStoreIds() [all …]
|
| D | kvdb_service_stub.h | 31 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply); 32 …int32_t OnGetStoreIds(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParc… 33 …int32_t OnBeforeCreate(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessagePar… 34 …int32_t OnAfterCreate(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParc… 35 …int32_t OnDelete(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &r… 36 …int32_t OnClose(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &re… 37 …int32_t OnSync(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &rep… 38 …int32_t OnCloudSync(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel… 40 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply); 42 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply); [all …]
|
| D | kvdb_service_impl.h | 45 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) override; 46 … Status BeforeCreate(const AppId &appId, const StoreId &storeId, const Options &options) override; 47 Status AfterCreate(const AppId &appId, const StoreId &storeId, const Options &options, 49 Status Delete(const AppId &appId, const StoreId &storeId) override; 50 Status Close(const AppId &appId, const StoreId &storeId) override; 51 Status CloudSync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) override; 52 Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) override; 53 Status RegServiceNotifier(const AppId &appId, sptr<IKVDBNotifier> notifier) override; 54 Status UnregServiceNotifier(const AppId &appId) override; 55 …Status SetSyncParam(const AppId &appId, const StoreId &storeId, const KvSyncParam &syncParam) over… [all …]
|
| D | kvdb_service_impl.cpp | 163 Status KVDBServiceImpl::GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) in GetStoreIds() argument 168 …auto prefix = StoreMetaData::GetPrefix({ deviceId, std::to_string(user), "default", appId.appId }); in GetStoreIds() 169 auto instanceId = GetInstIndex(IPCSkeleton::GetCallingTokenID(), appId); in GetStoreIds() 177 ZLOGD("appId:%{public}s store size:%{public}zu", appId.appId.c_str(), storeIds.size()); in GetStoreIds() 181 Status KVDBServiceImpl::Delete(const AppId &appId, const StoreId &storeId) in Delete() argument 183 StoreMetaData metaData = GetStoreMetaData(appId, storeId); in Delete() 189 syncAgents_.ComputeIfPresent(tokenId, [&appId, &storeId](auto &key, SyncAgent &syncAgent) { in Delete() 191 ZLOGW("agent already changed! old pid:%{public}d new pid:%{public}d appId:%{public}s", in Delete() 192 IPCSkeleton::GetCallingPid(), syncAgent.pid_, appId.appId.c_str()); in Delete() 208 ZLOGD("appId:%{public}s storeId:%{public}s instanceId:%{public}d", appId.appId.c_str(), in Delete() [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
| D | kvdb_service_client.h | 33 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) override; 34 … Status BeforeCreate(const AppId &appId, const StoreId &storeId, const Options &options) override; 35 Status AfterCreate(const AppId &appId, const StoreId &storeId, const Options &options, 37 Status Delete(const AppId &appId, const StoreId &storeId) override; 38 Status Close(const AppId &appId, const StoreId &storeId) override; 39 Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) override; 40 Status RegServiceNotifier(const AppId &appId, sptr<IKVDBNotifier> notifier) override; 41 Status UnregServiceNotifier(const AppId &appIdd) override; 42 …Status SetSyncParam(const AppId &appId, const StoreId &storeId, const KvSyncParam &syncParam) over… 43 … Status GetSyncParam(const AppId &appId, const StoreId &storeId, KvSyncParam &syncParam) override; [all …]
|
| D | kvdb_service.h | 49 virtual Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) = 0; 50 …virtual Status BeforeCreate(const AppId &appId, const StoreId &storeId, const Options &options) = … 52 …const AppId &appId, const StoreId &storeId, const Options &options, const std::vector<uint8_t> &pa… 53 virtual Status Delete(const AppId &appId, const StoreId &storeId) = 0; 54 virtual Status Close(const AppId &appId, const StoreId &storeId) = 0; 55 virtual Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) = 0; 56 virtual Status RegServiceNotifier(const AppId &appId, sptr<IKVDBNotifier> notifier) = 0; 57 virtual Status UnregServiceNotifier(const AppId &appId) = 0; 58 …virtual Status SetSyncParam(const AppId &appId, const StoreId &storeId, const KvSyncParam &syncPar… 59 …virtual Status GetSyncParam(const AppId &appId, const StoreId &storeId, KvSyncParam &syncParam) = … [all …]
|
| D | store_manager.h | 23 …std::shared_ptr<SingleKvStore> GetKVStore(const AppId &appId, const StoreId &storeId, const Option… 25 Status CloseKVStore(const AppId &appId, const StoreId &storeId); 26 Status CloseAllKVStore(const AppId &appId); 27 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds); 28 Status Delete(const AppId &appId, const StoreId &storeId, const std::string &path); 29 Status PutSwitch(const AppId &appId, const SwitchData &data); 30 std::pair<Status, SwitchData> GetSwitch(const AppId &appId, const std::string &networkId); 31 Status SubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> observer); 32 Status UnsubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> observer); 35 …Status GetSecretKeyFromService(const AppId &appId, const StoreId &storeId, const std::string &path…
|
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
| D | store_manager.cpp | 31 std::shared_ptr<SingleKvStore> StoreManager::GetKVStore(const AppId &appId, const StoreId &storeId, in GetKVStore() argument 35 …ZLOGD("appId:%{public}s, storeId:%{public}s type:%{public}d area:%{public}d dir:%{public}s", appId… in GetKVStore() 38 if (!appId.IsValid() || !storeId.IsValid() || !options.IsValidType()) { in GetKVStore() 45 status = service->BeforeCreate(appId, storeId, options); in GetKVStore() 49 … .appId = appId.appId, .storeId = storeId.storeId, .functionName = std::string(__FUNCTION__) }; in GetKVStore() 51 …ZLOGE("appId:%{public}s, storeId:%{public}s type:%{public}d encrypt:%{public}d", appId.appId.c_str… in GetKVStore() 56 …auto kvStore = StoreFactory::GetInstance().GetOrOpenStore(appId, storeId, options, status, isCreat… in GetKVStore() 57 …if (status == DATA_CORRUPTED && options.encrypt && GetSecretKeyFromService(appId, storeId, path) =… in GetKVStore() 58 … kvStore = StoreFactory::GetInstance().GetOrOpenStore(appId, storeId, options, status, isCreate); in GetKVStore() 62 … .appId = appId.appId, .storeId = storeId.storeId, .functionName = std::string(__FUNCTION__) }; in GetKVStore() [all …]
|
| D | kvdb_service_client.cpp | 106 Status KVDBServiceClient::GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) in GetStoreIds() argument 110 reply, appId, StoreId(), storeIds); in GetStoreIds() 112 ZLOGE("status:0x%{public}x, appId:%{public}s", status, appId.appId.c_str()); in GetStoreIds() 118 Status KVDBServiceClient::BeforeCreate(const AppId &appId, const StoreId &storeId, const Options &o… in BeforeCreate() argument 122 reply, appId, storeId, options); in BeforeCreate() 124 … ZLOGE("status:0x%{public}x appId:%{public}s, storeId:%{public}s", status, appId.appId.c_str(), in BeforeCreate() 131 …const AppId &appId, const StoreId &storeId, const Options &options, const std::vector<uint8_t> &pa… in AfterCreate() argument 135 reply, appId, storeId, options, password); in AfterCreate() 137 … ZLOGE("status:0x%{public}x appId:%{public}s, storeId:%{public}s, encrypt:%{public}d", status, in AfterCreate() 138 appId.appId.c_str(), StoreUtil::Anonymous(storeId.storeId).c_str(), options.encrypt); in AfterCreate() [all …]
|
| /foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
| D | store_manager.cpp | 28 std::shared_ptr<SingleKvStore> StoreManager::GetKVStore(const AppId &appId, const StoreId &storeId, in GetKVStore() argument 31 …ZLOGD("appId:%{public}s, storeId:%{public}s type:%{public}d area:%{public}d dir:%{public}s", appId… in GetKVStore() 34 if (!appId.IsValid() || !storeId.IsValid() || !options.IsValidType()) { in GetKVStore() 40 …auto kvStore = StoreFactory::GetInstance().GetOrOpenStore(appId, storeId, options, status, isCreat… in GetKVStore() 49 Status StoreManager::CloseKVStore(const AppId &appId, const StoreId &storeId) in CloseKVStore() argument 51 …ZLOGD("appId:%{public}s, storeId:%{public}s", appId.appId.c_str(), StoreUtil::Anonymous(storeId.st… in CloseKVStore() 52 if (!appId.IsValid() || !storeId.IsValid()) { in CloseKVStore() 56 return StoreFactory::GetInstance().Close(appId, storeId); in CloseKVStore() 59 Status StoreManager::CloseKVStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore) in CloseKVStore() argument 61 if (!appId.IsValid() || kvStore == nullptr) { in CloseKVStore() [all …]
|
| /foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/ |
| D | switch_adapter.cpp | 43 int32_t SwitchAdapter::PutSwitch(const std::string& appId, uint32_t value, uint16_t length) in PutSwitch() argument 46 if (appId.empty()) { in PutSwitch() 50 DistributedKv::AppId appID; in PutSwitch() local 51 appID.appId = appId; in PutSwitch() 53 DistributedKv::Status res = kvDataMgr_.PutSwitch(appID, switchData); in PutSwitch() 61 int32_t SwitchAdapter::GetSwitch(const std::string& appId, const std::string& networkId, in GetSwitch() argument 65 if (appId.empty() || networkId.empty()) { in GetSwitch() 69 DistributedKv::AppId appID; in GetSwitch() local 70 appID.appId = appId; in GetSwitch() 71 auto res = kvDataMgr_.GetSwitch(appID, networkId); in GetSwitch() [all …]
|
| /foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/ |
| D | kvdb_service.h | 38 virtual Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) = 0; 39 …virtual Status BeforeCreate(const AppId &appId, const StoreId &storeId, const Options &options) = … 41 …const AppId &appId, const StoreId &storeId, const Options &options, const std::vector<uint8_t> &pa… 42 virtual Status Delete(const AppId &appId, const StoreId &storeId) = 0; 43 virtual Status Sync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) = 0; 44 virtual Status UnregisterSyncCallback(const AppId &appId) = 0; 45 …virtual Status SetSyncParam(const AppId &appId, const StoreId &storeId, const KvSyncParam &syncPar… 46 …virtual Status GetSyncParam(const AppId &appId, const StoreId &storeId, KvSyncParam &syncParam) = … 47 virtual Status EnableCapability(const AppId &appId, const StoreId &storeId) = 0; 48 virtual Status DisableCapability(const AppId &appId, const StoreId &storeId) = 0; [all …]
|
| D | store_manager.h | 22 …std::shared_ptr<SingleKvStore> GetKVStore(const AppId &appId, const StoreId &storeId, const Option… 24 Status CloseKVStore(const AppId &appId, const StoreId &storeId); 25 Status CloseKVStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore); 26 Status CloseAllKVStore(const AppId &appId); 27 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds); 28 Status Delete(const AppId &appId, const StoreId &storeId, const std::string &path);
|
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
| D | distributed_kv_data_manager.cpp | 43 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() argument 51 …ZLOGE("invalid security level, appId = %{private}s, storeId = %{private}s, kvStoreType = %{private… in GetSingleKvStore() 52 appId.appId.c_str(), storeId.storeId.c_str(), options.kvStoreType); in GetSingleKvStore() 67 KvStoreServiceDeathNotifier::SetAppId(appId); in GetSingleKvStore() 70 singleKvStore = StoreManager::GetInstance().GetKVStore(appId, storeId, options, status); in GetSingleKvStore() 74 Status DistributedKvDataManager::GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds) in GetAllKvStoreId() argument 78 KvStoreServiceDeathNotifier::SetAppId(appId); in GetAllKvStoreId() 79 return StoreManager::GetInstance().GetStoreIds(appId, storeIds); in GetAllKvStoreId() 82 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 87 KvStoreServiceDeathNotifier::SetAppId(appId); in CloseKvStore() [all …]
|
| /foundation/distributeddatamgr/kv_store/test/fuzztest/distributedkvdatamanager_fuzzer/ |
| D | distributedkvdatamanager_fuzzer.cpp | 39 static AppId appId; variable 72 appId.appId = "distributedkvdatamanagerfuzzertest"; in SetUpTestCase() 78 create.baseDir = std::string("/data/service/el1/public/database/") + appId.appId; in SetUpTestCase() 81 manager.CloseAllKvStore(appId); in SetUpTestCase() 82 manager.DeleteAllKvStore(appId, create.baseDir); in SetUpTestCase() 87 manager.CloseAllKvStore(appId); in TearDown() 88 manager.DeleteAllKvStore(appId, create.baseDir); in TearDown() 99 manager.GetSingleKvStore(create, appId, storeId, notExistKvStore); in GetKvStoreFuzz() 101 manager.GetSingleKvStore(noCreate, appId, storeId, existKvStore); in GetKvStoreFuzz() 102 manager.CloseKvStore(appId, storeId); in GetKvStoreFuzz() [all …]
|
| /foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
| D | distributed_kv_data_manager.h | 50 * @param appId The name of the application. 58 * if appId has no permission, PERMISSION_DENIED and nullptr, 62 …API_EXPORT Status GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &stor… 67 * @param appId The name of the application. 70 * if appId is invalid, PERMISSION_DENIED and empty vector, 73 API_EXPORT Status GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds); 85 * @param appId The name of the application. 89 API_EXPORT Status CloseKvStore(const AppId &appId, const StoreId &storeId); 101 * @param appId The name of the application. 105 API_EXPORT Status CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore); [all …]
|
| /foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
| D | bluetooth_gatt_client_proxy.cpp | 28 …toothGattClientCallback> &callback, const BluetoothRawAddress &addr, int32_t transport, int &appId) in RegisterApplication() argument 45 appId = reply.ReadInt32(); in RegisterApplication() 69 int BluetoothGattClientProxy::DeregisterApplication(int32_t appId) in DeregisterApplication() argument 74 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(appId), BT_ERR_IPC_TRANS_FAILED, "write appId error"); in DeregisterApplication() 85 int BluetoothGattClientProxy::Connect(int32_t appId, bool autoConnect) in Connect() argument 90 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(appId), BT_ERR_IPC_TRANS_FAILED, "write appId error"); in Connect() 102 int BluetoothGattClientProxy::Disconnect(int32_t appId) in Disconnect() argument 107 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(appId), BT_ERR_IPC_TRANS_FAILED, "write appId error"); in Disconnect() 118 int BluetoothGattClientProxy::DiscoveryServices(int32_t appId) in DiscoveryServices() argument 123 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(appId), BT_ERR_IPC_TRANS_FAILED, "write appId error"); in DiscoveryServices() [all …]
|
| /foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
| D | bluetooth_gatt_client_server.cpp | 178 void SetAppId(int appId) in SetAppId() argument 180 applicationId_ = appId; in SetAppId() 283 int appId = 0; in RegisterApplication() local 284 int ret = RegisterApplication(callback, addr, transport, appId); in RegisterApplication() 285 return (ret == NO_ERROR) ? appId : ret; in RegisterApplication() 289 …toothGattClientCallback> &callback, const BluetoothRawAddress &addr, int32_t transport, int &appId) in RegisterApplication() argument 300 … appId = pimpl->clientService_->RegisterSharedApplication(*it->get(), (RawAddress)addr, transport); in RegisterApplication() 301 if (appId >= 0) { in RegisterApplication() 302 HILOGI("appId: %{public}d", appId); in RegisterApplication() 303 (*it)->SetAppId(appId); in RegisterApplication() [all …]
|
| /foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/distributeddatafwk/src/ |
| D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() argument 37 singleKvStore = StoreManager::GetInstance().GetKVStore(appId, storeId, options, status); in GetSingleKvStore() 44 Status DistributedKvDataManager::GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds) in GetAllKvStoreId() argument 46 auto status = StoreManager::GetInstance().GetStoreIds(appId, storeIds); in GetAllKvStoreId() 53 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() argument 55 auto status = StoreManager::GetInstance().CloseKVStore(appId, storeId); in CloseKvStore() 63 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() argument 72 auto status = StoreManager::GetInstance().CloseKVStore(appId, storeId); in CloseKvStore() 80 Status DistributedKvDataManager::CloseAllKvStore(const AppId &appId) in CloseAllKvStore() argument 82 auto status = StoreManager::GetInstance().CloseAllKVStore(appId); in CloseAllKvStore() [all …]
|
| /foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
| D | bluetooth_gatt_client_server.h | 35 int32_t transport, int &appId) override; 39 int DeregisterApplication(int32_t appId) override; 40 int Connect(int32_t appId, bool autoConnect) override; 41 int Disconnect(int32_t appId) override; 42 int DiscoveryServices(int32_t appId) override; 43 … int ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) override; 44 …int WriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRe… 45 …int SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) override; 46 int ReadDescriptor(int32_t appId, const BluetoothGattDescriptor &descriptor) override; 47 int WriteDescriptor(int32_t appId, BluetoothGattDescriptor *descriptor) override; [all …]
|
| /foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
| D | bluetooth_gatt_client_proxy.h | 35 int32_t transport, int &appId) override; 36 int DeregisterApplication(int32_t appId) override; 37 int Connect(int32_t appId, bool autoConnect) override; 38 int Disconnect(int32_t appId) override; 39 int DiscoveryServices(int32_t appId) override; 40 … int ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) override; 41 …int WriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRe… 42 …int SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) override; 43 int ReadDescriptor(int32_t appId, const BluetoothGattDescriptor &descriptor) override; 44 int WriteDescriptor(int32_t appId, BluetoothGattDescriptor *descriptor) override; [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
| D | distributed_kv_data_manager_test.cpp | 38 static AppId appId; member in OHOS::Test::DistributedKvDataManagerTest 84 AppId DistributedKvDataManagerTest::appId; member in OHOS::Test::DistributedKvDataManagerTest 95 manager.CloseAllKvStore(appId); in RemoveAllStore() 96 manager.DeleteAllKvStore(appId, create.baseDir); in RemoveAllStore() 103 appId.appId = "ohos.kvdatamanager.test"; in SetUpTestCase() 110 create.baseDir = std::string("/data/service/el1/public/database/") + appId.appId; in SetUpTestCase() 163 Status status = manager.GetSingleKvStore(create, appId, storeId64, notExistKvStore); 168 status = manager.GetSingleKvStore(noCreate, appId, storeId64, existKvStore); 184 Status status = manager.GetSingleKvStore(create, appId, storeId64, notExistKvStore); 187 manager.CloseKvStore(appId, storeId64); [all …]
|
| /foundation/distributedhardware/device_manager/test/unittest/mock/ |
| D | device_auth.h | 38 #define FIELD_APP_ID "appId" 162 int32_t (*regCallback)(const char *appId, const DeviceAuthCallback *callback); 163 int32_t (*unRegCallback)(const char *appId); 164 int32_t (*regDataChangeListener)(const char *appId, const DataChangeListener *listener); 165 int32_t (*unRegDataChangeListener)(const char *appId); 166 …int32_t (*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… 167 …int32_t (*deleteGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… 168 …int32_t (*addMemberToGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char … 169 int32_t (*deleteMemberFromGroup)(int32_t osAccountId, int64_t requestId, const char *appId, 172 … int32_t (*addMultiMembersToGroup)(int32_t osAccountId, const char *appId, const char *addParams); [all …]
|
| /foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
| D | i_bluetooth_gatt_client.h | 37 const BluetoothRawAddress &addr, int32_t transport, int &appId) = 0; 38 virtual int DeregisterApplication(int32_t appId) = 0; 39 virtual int Connect(int32_t appId, bool autoConnect) = 0; 40 virtual int Disconnect(int32_t appId) = 0; 41 virtual int DiscoveryServices(int32_t appId) = 0; 42 …virtual int ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) =… 44 int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRespond) = 0; 45 …virtual int SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) … 46 virtual int ReadDescriptor(int32_t appId, const BluetoothGattDescriptor &descriptor) = 0; 47 virtual int WriteDescriptor(int32_t appId, BluetoothGattDescriptor *descriptor) = 0; [all …]
|
| /foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
| D | switch_adapter_test.cpp | 69 const std::string appId; variable 73 SwitchAdapter::GetInstance().PutSwitch(appId, value, length); 84 const std::string appId = "6666"; variable 88 SwitchAdapter::GetInstance().PutSwitch(appId, value, length); 99 const std::string appId = ""; variable 104 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength); 115 const std::string appId = "appid"; variable 120 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength); 131 const std::string appId = "appid"; variable 136 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength); [all …]
|