/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
D | jsi_types.cpp | 30 if (GetHandle().IsEmpty()) { in IsEmpty() 33 return GetHandle()->IsUndefined() || GetHandle()->IsNull(); in IsEmpty() 38 if (GetHandle().IsEmpty()) { in IsFunction() 41 return GetHandle()->IsFunction(); in IsFunction() 47 if (GetHandle().IsEmpty()) { in IsNumber() 50 return GetHandle()->IsNumber(); in IsNumber() 56 if (GetHandle().IsEmpty()) { in IsString() 59 return GetHandle()->IsString(); in IsString() 65 if (GetHandle().IsEmpty()) { in IsBoolean() 68 return GetHandle()->IsBoolean(); in IsBoolean() [all …]
|
D | jsi_types.inl | 96 panda::Local<T> JsiType<T>::GetHandle() const function in OHOS::Ace::Framework::JsiType 123 return GetHandle(); 129 return GetHandle(); 142 return JsiValueConvertor::fromJsiValue<T>(GetHandle()); 148 if (GetHandle()->GetNativePointerFieldCount() < 1) { 151 return static_cast<T*>(GetHandle()->GetNativePointerField(INSTANCE)); 157 GetHandle()->SetNativePointerField(INSTANCE, static_cast<void*>(data)); 165 GetHandle()->Set(runtime->GetEcmaVm(), stringRef, JsiValueConvertor::toJsiValue<T>(value)); 177 retVal_ = panda::Global<panda::JSValueRef>(vm_, val.Get().GetHandle());
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/v8/ |
D | v8_types.cpp | 29 return GetHandle()->IsFunction(); in IsFunction() 33 return GetHandle()->IsNumber(); in IsNumber() 37 return GetHandle()->IsString(); in IsString() 41 return GetHandle()->IsBoolean(); in IsBoolean() 45 return GetHandle()->IsObject(); in IsObject() 49 return GetHandle()->IsArray(); in IsArray() 53 return GetHandle()->IsUndefined(); in IsUndefined() 58 return GetHandle()->IsNull(); in IsNull() 64 return V8Utils::ScopedString(GetHandle()); in ToString() 70 return V8Utils::ScopedString(v8::JSON::Stringify(context, GetHandle()).ToLocalChecked()); in ToString() [all …]
|
D | v8_types.inl | 80 v8::Local<T> V8Type<T>::GetHandle() const function in OHOS::Ace::Framework::V8Type 106 return GetHandle(); 112 return GetHandle(); 127 if (GetHandle()->InternalFieldCount() < 1) { 130 return static_cast<T*>(GetHandle()->GetAlignedPointerFromInternalField(INSTANCE)); 136 GetHandle()->SetAlignedPointerInInternalField(INSTANCE, static_cast<void*>(data)); 142 return V8ValueConvertor::fromV8Value<T>(GetHandle()); 151 GetHandle() 166 info_.GetReturnValue().Set(val.Get().GetHandle());
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/quickjs/ |
D | qjs_types.cpp | 168 if (!CheckAndGetJsProperty(QJSContext::Current(), GetHandle(), &pTab, &len)) { in GetPropertyNames() 171 JS_GetOwnPropertyNames(QJSContext::Current(), &pTab, &len, GetHandle(), JS_GPN_STRING_MASK); in GetPropertyNames() 178 return QJSRef<QJSValue>::Make(JS_GetPropertyStr(QJSContext::Current(), GetHandle(), prop)); in GetProperty() 192 JS_SetPropertyStr(ctx, GetHandle(), prop, jsonObj); in SetPropertyJsonObject() 197 JS_SetPropertyStr(QJSContext::Current(), GetHandle(), prop, value->GetHandle()); in SetPropertyObject() 221 args.push_back(argv[i].Get().GetHandle()); in Call() 224 …JSValue res = JS_Call(QJSContext::Current(), GetHandle(), thisVal.Get().GetHandle(), argc, args.da… in Call() 250 JSValue val = JS_GetPropertyUint32(ctx, GetHandle(), index); in GetValueAt() 257 JS_SetPropertyUint32(ctx, GetHandle(), index, value.Get().GetHandle()); in SetValueAt() 262 return QJSUtils::JsGetArrayLength(QJSContext::Current(), GetHandle()); in Length()
|
D | qjs_types.inl | 27 JS_SetPropertyStr(QJSContext::Current(), GetHandle(), prop, __detail__::toJSValue<T>(value)); 33 return static_cast<U*>(UnwrapAny(GetHandle())); 42 return __detail__::fromJSValue<T>(GetHandle()); 54 retVal_ = JS_DupValue(nullptr, val.Get().GetHandle()); 60 JSValue jsval = val->GetHandle();
|
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/c_adapter/ |
D | ohos_bt_gatt_server.cpp | 128 GATTSERVICES(serverId_, i).handleOffset = Service->GetHandle() - i; in OnServiceAdded() 130 … serverId_, GATTSERVICE(serverId_, i)->GetHandle(), GATTSERVICES(serverId_, i).handleOffset); in OnServiceAdded() 136 HILOGE("add service failed, invalid srvcHandle: %d", Service->GetHandle()); in OnServiceAdded() 143 item->GetHandle(), item->GetUuid().ToString().c_str()); in OnServiceAdded() 147 des->GetHandle(), des->GetUuid().ToString().c_str()); in OnServiceAdded() 167 FindCharacteristic(serverId_, characteristic.GetHandle(), true, &srvcHandle); in OnCharacteristicReadRequest() 173 …readInfo.attrHandle = characteristic.GetHandle() - GATTSERVICES(serverId_, srvcHandle).handleOffse… in OnCharacteristicReadRequest() 194 FindCharacteristic(serverId_, characteristic.GetHandle(), true, &srvcHandle); in OnCharacteristicWriteRequest() 201 …writeInfo.attrHandle = characteristic.GetHandle() - GATTSERVICES(serverId_, srvcHandle).handleOffs… in OnCharacteristicWriteRequest() 224 FindCharacteristic(serverId_, characteristic->GetHandle(), true, &srvcHandle); in OnDescriptorReadRequest() [all …]
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
D | js_utils.cpp | 50 JSValue value = obj.Get().GetHandle(); in CreatePixelMapFromNapiValue() 52 panda::Local<JsiValue> value = obj.Get().GetHandle(); in CreatePixelMapFromNapiValue()
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gatt/ |
D | gatt_client_service.cpp | 627 auto map = handleMap_.find(client.value()->second.connection_.GetHandle()); in Disconnect() 665 if (handleMap_.find(client.connection_.GetHandle()) == handleMap_.end()) { in DiscoveryServices() 675 profile_->ClearCacheMap(client.connection_.GetHandle()); in DiscoveryServices() 693 if (handleMap_.find(client.connection_.GetHandle()) == handleMap_.end()) { in ReadCharacteristic() 697 profile_->ReadCharacteristicValue(appId, client.connection_.GetHandle(), handle + 1); in ReadCharacteristic() 706 if (handleMap_.find(client.connection_.GetHandle()) == handleMap_.end()) { in ReadCharacteristicByUuid() 707 …EBUG("%{public}s: %{public}hu: is not found in the map", __func__, client.connection_.GetHandle()); in ReadCharacteristicByUuid() 711 profile_->ReadUsingCharacteristicByUuid(appId, client.connection_.GetHandle(), uuid); in ReadCharacteristicByUuid() 721 if (handleMap_.find(client.connection_.GetHandle()) == handleMap_.end()) { in WriteCharacteristic() 728 … profile_->WriteWithoutResponse(appId, client.connection_.GetHandle(), handle + 1, value, length); in WriteCharacteristic() [all …]
|
D | gatt_connection.h | 44 const uint16_t &GetHandle() const in GetHandle() function
|
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/src/ |
D | bluetooth_gatt_server.cpp | 362 if (svc.GetHandle() == handle) { in GetIncludeService() 417 if (character.GetHandle() == handle) { in FindCharacteristic() 441 if (desc.GetHandle() == handle) { in FindDescriptor() 528 svc.includeServices_.push_back(bluetooth::Service(isvc.get().GetHandle())); in AddService() 535 character.GetHandle(), in AddService() 544 desc.GetHandle(), in AddService() 637 bluetooth::Characteristic(characteristic.GetHandle(), characterValue.get(), length)); in NotifyCharacteristicChanged() 658 if (sIt->GetHandle() == service.GetHandle()) { in RemoveGattService() 660 … pimpl->applicationId_, (BluetoothGattService)bluetooth::Service(service.GetHandle())); in RemoveGattService() 699 … gattdevice, request->context_.characteristic_->GetHandle(), value, length, status); in SendResponse() [all …]
|
D | bluetooth_gatt_client.cpp | 160 if (character.GetHandle() == characteristic.handle_) { in OnCharacteristicChanged() 373 if (item.GetHandle() == handle) { in FindService() 563 …pplicationId_, (BluetoothGattCharacteristic)bluetooth::Characteristic(characteristic.GetHandle())); in ReadCharacteristic() 588 … pimpl->applicationId_, (BluetoothGattDescriptor)bluetooth::Descriptor(descriptor.GetHandle())); in ReadDescriptor() 631 BluetoothGattDescriptor desc(bluetooth::Descriptor(descriptor->GetHandle(), in SetNotifyCharacteristic() 665 bluetooth::Characteristic(characteristic.GetHandle(), characterValue.get(), length)); in WriteCharacteristic() 708 …BluetoothGattDescriptor desc(bluetooth::Descriptor(descriptor.GetHandle(), characterValue.get(), l… in WriteDescriptor()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/ |
D | relational_sync_able_storage.cpp | 81 SQLiteSingleVerRelationalStorageExecutor *RelationalSyncAbleStorage::GetHandle(bool isWrite, int &e… in GetHandle() function in DistributedDB::RelationalSyncAbleStorage 118 auto handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in GetMetaData() 132 auto *handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in PutMetaData() 154 auto handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in DeleteMetaData() 179 auto handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in DeleteMetaDataByPrefixKey() 197 auto *handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in GetAllMetaKeys() 388 auto *handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in SaveSyncDataItems() 477 auto *handle = GetHandle(true, errCode, OperatePerm::NORMAL_PERM); in CreateDistributedDeviceTable() 578 auto *handle = GetHandle(false, errCode); in CheckAndInitQueryCondition()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/multiver/ |
D | multi_ver_natural_store_connection.cpp | 55 auto handle = GetHandle(false, errCode); in Get() 169 auto handle = GetHandle(false, errCode); in GetEntries() 271 auto handle = GetHandle(false, errCode); in GetSnapshot() 409 auto handle = GetHandle(true, errCode); in StartTransactionInner() 513 MultiVerStorageExecutor *MultiVerNaturalStoreConnection::GetHandle(bool isWrite, int &errCode) const in GetHandle() function in DistributedDB::MultiVerNaturalStoreConnection 521 return multiVerNatureStore->GetHandle(isWrite, errCode); in GetHandle()
|
D | multi_ver_natural_store.cpp | 524 auto handle = GetHandle(false, errCode); in GetMetaData() 538 auto handle = GetHandle(true, errCode); in PutMetaData() 562 auto handle = GetHandle(false, errCode); in IsCommitExisted() 575 auto handle = GetHandle(false, errCode); in GetDeviceLatestCommit() 589 auto handle = GetHandle(false, errCode); in GetCommitTree() 602 auto handle = GetHandle(false, errCode); in GetCommitData() 639 auto handle = GetHandle(false, errCode); in IsValueSliceExisted() 652 auto handle = GetHandle(false, errCode); in GetValueSlice() 665 auto handle = GetHandle(true, errCode); in PutValueSlice() 679 auto handle = GetHandle(true, errCode); in PutCommitData() [all …]
|
D | multi_ver_vacuum_executor_impl.cpp | 58 MultiVerStorageExecutor *readHandle = multiKvDB_->GetHandle(false, errCode, true); in GetVacuumAbleCommits() 185 writeHandle_ = multiKvDB_->GetHandle(true, errCode, true); in StartTransactionForVacuum() 302 MultiVerStorageExecutor *handle = multiKvDB_->GetHandle(false, errCode, true); in GetCorrectHandleForUse()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/ |
D | base_session.h | 32 virtual int32_t GetHandle() const = 0;
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/sqlite/ |
D | sqlite_single_ver_natural_store.cpp | 551 auto handle = GetHandle(true, errCode); in GetMetaData() 570 SQLiteSingleVerStorageExecutor *handle = GetHandle(true, errCode); in PutMetaData() 594 auto handle = GetHandle(true, errCode); in DeleteMetaData() 619 SQLiteSingleVerStorageExecutor *handle = GetHandle(true, errCode); in GetAllMetaKeys() 698 SQLiteSingleVerStorageExecutor *handle = GetHandle(false, errCode); in GetSyncData() 766 SQLiteSingleVerStorageExecutor *handle = GetHandle(false, errCode); in GetSyncDataForQuerySync() 853 SQLiteSingleVerStorageExecutor *handle = GetHandle(false, errCode); in GetSyncDataNext() 951 SQLiteSingleVerStorageExecutor *handle = GetHandle(true, errCode); in RemoveDeviceData() 985 SQLiteSingleVerStorageExecutor *handle = GetHandle(true, errCode); in RemoveDeviceDataInCacheMode() 1003 SQLiteSingleVerStorageExecutor *handle = GetHandle(true, errCode); in RemoveDeviceDataNormally() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gavdp/ |
D | a2dp_service_device.h | 133 uint16_t GetHandle() const;
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/ |
D | softbus_session.h | 31 int32_t GetHandle() const override;
|
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/include/ |
D | bluetooth_gatt_descriptor.h | 106 uint16_t GetHandle() const;
|
D | bluetooth_gatt_service.h | 135 uint16_t GetHandle() const;
|
D | bluetooth_gatt_characteristic.h | 162 uint16_t GetHandle() const;
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/ |
D | session_pool.cpp | 34 if ((*iter)->GetHandle() == fd) { in ReleaseSession()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
D | softbus_session.cpp | 73 int32_t SoftbusSession::GetHandle() const in GetHandle() function in OHOS::Storage::DistributedFile::SoftbusSession
|