/base/request/request/frameworks/js/napi/src/legacy/ |
D | request_manager.cpp | 102 DownloadDescriptor descriptor{}; in OnTaskDone() local 109 descriptor = it->second; in OnTaskDone() 113 if (successful && descriptor.successCb_) { in OnTaskDone() 114 CallFunctionAsync(descriptor.env_, descriptor.successCb_, in OnTaskDone() 115 [descriptor](napi_env env, napi_ref *recv, int &argc, napi_value *argv) { in OnTaskDone() 116 *recv = descriptor.this_; in OnTaskDone() 118 argv[0] = NapiUtils::CreateObject(descriptor.env_); in OnTaskDone() 119 …NapiUtils::SetStringPropertyUtf8(descriptor.env_, argv[0], "uri", URI_PREFIX + descriptor.filename… in OnTaskDone() 122 if (!successful && descriptor.failCb_) { in OnTaskDone() 123 CallFunctionAsync(descriptor.env_, descriptor.failCb_, in OnTaskDone() [all …]
|
/base/security/access_token/interfaces/innerkits/privacy/src/ |
D | state_change_callback_stub.cpp | 35 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 36 if (descriptor != IStateChangeCallback::GetDescriptor()) { in OnRemoteRequest() 37 …ACCESSTOKEN_LOG_ERROR(LABEL, "get unexpect descriptor: %{public}s", Str16ToStr8(descriptor).c_str(… in OnRemoteRequest()
|
D | perm_active_status_change_callback_stub.cpp | 35 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 36 if (descriptor != IPermActiveStatusCallback::GetDescriptor()) { in OnRemoteRequest() 37 …ACCESSTOKEN_LOG_ERROR(LABEL, "get unexpect descriptor: %{public}s", Str16ToStr8(descriptor).c_str(… in OnRemoteRequest()
|
D | on_permission_used_record_callback_stub.cpp | 36 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 37 if (descriptor != OnPermissionUsedRecordCallback::GetDescriptor()) { in OnRemoteRequest() 38 …ACCESSTOKEN_LOG_ERROR(LABEL, "get unexpect descriptor: %{public}s", Str16ToStr8(descriptor).c_str(… in OnRemoteRequest()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/ |
D | open_dlp_file_callback_stub.cpp | 34 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 35 if (descriptor != IOpenDlpFileCallback::GetDescriptor()) { in OnRemoteRequest() 36 DLP_LOG_ERROR(LABEL, "get unexpect descriptor:%{public}s", Str16ToStr8(descriptor).c_str()); in OnRemoteRequest()
|
D | dlp_sandbox_change_callback_stub.cpp | 33 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 34 if (descriptor != IDlpSandboxStateChangeCallback::GetDescriptor()) { in OnRemoteRequest() 35 DLP_LOG_ERROR(LABEL, "get unexpect descriptor:%{public}s", Str16ToStr8(descriptor).c_str()); in OnRemoteRequest()
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | native_module.cpp | 28 napi_property_descriptor descriptor[] = { in Init() local 38 napi_define_properties(env, exports, sizeof(descriptor) / sizeof(descriptor[0]), descriptor); in Init()
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | permission_state_change_callback_stub.cpp | 36 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 37 if (descriptor != IPermissionStateCallback::GetDescriptor()) { in OnRemoteRequest() 38 …ACCESSTOKEN_LOG_ERROR(LABEL, "get unexpect descriptor: %{public}s", Str16ToStr8(descriptor).c_str(… in OnRemoteRequest()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | raw_file_manager.cpp | 329 static bool GetRawFileDescriptorFromHap(const RawFile *rawFile, RawFileDescriptor &descriptor) in GetRawFileDescriptorFromHap() argument 337 descriptor.fd = resMgrDescriptor.fd; in GetRawFileDescriptorFromHap() 338 descriptor.length = resMgrDescriptor.length; in GetRawFileDescriptorFromHap() 339 descriptor.start = resMgrDescriptor.offset; in GetRawFileDescriptorFromHap() 343 bool OH_ResourceManager_GetRawFileDescriptor(const RawFile *rawFile, RawFileDescriptor &descriptor) in OH_ResourceManager_GetRawFileDescriptor() argument 349 return GetRawFileDescriptorFromHap(rawFile, descriptor); in OH_ResourceManager_GetRawFileDescriptor() 363 descriptor.fd = fd; in OH_ResourceManager_GetRawFileDescriptor() 364 descriptor.length = rawFile->length; in OH_ResourceManager_GetRawFileDescriptor() 365 descriptor.start = rawFile->offset; in OH_ResourceManager_GetRawFileDescriptor() 372 bool OH_ResourceManager_ReleaseRawFileDescriptor(const RawFileDescriptor &descriptor) in OH_ResourceManager_ReleaseRawFileDescriptor() argument [all …]
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_client_stub.cpp | 32 std::u16string descriptor = SensorClientStub::GetDescriptor(); in OnRemoteRequest() local 34 if (descriptor != remoteDescriptor) { in OnRemoteRequest()
|
/base/global/resource_management/interfaces/native/resource/include/ |
D | raw_file.h | 154 bool OH_ResourceManager_GetRawFileDescriptor(const RawFile *rawFile, RawFileDescriptor &descriptor); 166 bool OH_ResourceManager_ReleaseRawFileDescriptor(const RawFileDescriptor &descriptor);
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/ |
D | medical_client_stub.cpp | 35 std::u16string descriptor = MedicalSensorClientStub::GetDescriptor(); in OnRemoteRequest() local 37 if (descriptor != remoteDescriptor) { in OnRemoteRequest()
|
/base/powermgr/display_manager/test/unittest/mock/src/ |
D | mock_display_remote_object.cpp | 20 …playRemoteObject::MockDisplayRemoteObject(std::u16string descriptor) : IRemoteObject(descriptor) {} in MockDisplayRemoteObject() argument
|
/base/powermgr/battery_manager/test/unittest/mock/source/ |
D | mock_remote_object.cpp | 20 MockRemoteObject::MockRemoteObject(std::u16string descriptor) : IRemoteObject(descriptor) {} in MockRemoteObject() argument
|
/base/powermgr/battery_statistics/test/unittest/mock/source/ |
D | mock_stats_remote_object.cpp | 20 MockStatsRemoteObject::MockStatsRemoteObject(std::u16string descriptor) : IRemoteObject(descriptor)… in MockStatsRemoteObject() argument
|
/base/powermgr/thermal_manager/test/unittest/mock/src/ |
D | mock_thermal_remote_object.cpp | 20 …rmalRemoteObject::MockThermalRemoteObject(std::u16string descriptor) : IRemoteObject(descriptor) {} in MockThermalRemoteObject() argument
|
/base/security/access_token/interfaces/innerkits/token_callback/src/ |
D | token_callback_stub.cpp | 41 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 42 if (descriptor != ITokenCallback::GetDescriptor()) { in OnRemoteRequest() 43 …ACCESSTOKEN_LOG_ERROR(LABEL, "get unexpect descriptor: %{public}s", Str16ToStr8(descriptor).c_str(… in OnRemoteRequest()
|
/base/powermgr/power_manager/test/unittest/mock/ |
D | mock_power_remote_object.cpp | 23 MockPowerRemoteObject::MockPowerRemoteObject(std::u16string descriptor) : IRemoteObject(descriptor)… in MockPowerRemoteObject() argument
|
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
D | if_system_ability_manager.h | 38 const std::u16string descriptor = INTERFACE::GetDescriptor(); in iface_cast() local 39 if (descriptor == u"ohos.appexecfwk.mock.AppMgr") { in iface_cast()
|
/base/powermgr/power_manager/services/zidl/src/shutdown/ |
D | shutdown_proxy_delegator.h | 28 ShutdownProxyDelegator(const sptr<IRemoteObject>& remote, std::u16string descriptor) in ShutdownProxyDelegator() argument 29 : remote_(remote), descriptor_(std::move(descriptor)) in ShutdownProxyDelegator()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/ |
D | mock_i_remote_object.h | 76 std::u16string descriptor = std::u16string(); in GetObjectDescriptor() local 77 return descriptor; in GetObjectDescriptor()
|
/base/location/test/mock/include/ |
D | mock_i_remote_object.h | 42 std::u16string descriptor = std::u16string(); in GetObjectDescriptor() local 43 return descriptor; in GetObjectDescriptor()
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
D | wallpaper_event_listener_stub.cpp | 27 std::u16string descriptor = WallpaperEventListenerStub::GetDescriptor(); in OnRemoteRequest() local 29 if (descriptor != remoteDescriptor) { in OnRemoteRequest()
|
/base/security/access_token/services/tokensyncmanager/src/service/ |
D | token_sync_manager_stub.cpp | 36 std::u16string descriptor = data.ReadInterfaceToken(); in OnRemoteRequest() local 37 if (descriptor != ITokenSyncManager::GetDescriptor()) { in OnRemoteRequest() 38 …ACCESSTOKEN_LOG_ERROR(LABEL, "get unexpect descriptor: %{public}s", Str16ToStr8(descriptor).c_str(… in OnRemoteRequest()
|
/base/update/update_app/feature/ota/src/main/ets/dialog/ |
D | DialogUtils.ts | 32 …return function inner(target: unknown, propertyKey: string, descriptor: PropertyDescriptor): void { 33 const original = descriptor.value; 34 descriptor.value = function (context: common.Context, otaStatus: OtaStatus,
|