/base/inputmethod/imf/services/src/ |
D | input_method_system_ability_stub.cpp | 38 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest() 52 return ErrorCode::ERROR_EX_PARCELABLE; in PrepareInputOnRemote() 55 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in PrepareInputOnRemote() 63 return ErrorCode::ERROR_EX_PARCELABLE; in StartInputOnRemote() 68 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StartInputOnRemote() 74 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in ShowCurrentInputOnRemote() 80 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in HideCurrentInputOnRemote() 86 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputSessionOnRemote() 94 return ErrorCode::ERROR_EX_PARCELABLE; in StopInputOnRemote() 97 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputOnRemote() [all …]
|
D | input_method_system_ability.cpp | 84 if (ret != ErrorCode::NO_ERROR) { in OnStart() 149 …IMSA_HILOGI("init KeyEvent monitor %{public}s", ret == ErrorCode::NO_ERROR ? "success" : "failed"); in Init() 152 return ErrorCode::NO_ERROR; in Init() 218 return ErrorCode::ERROR_CLIENT_NOT_FOCUSED; in PrepareInput() 222 if (ret != ErrorCode::NO_ERROR) { in PrepareInput() 231 return ErrorCode::ERROR_NULL_POINTER; in GenerateClientInfo() 236 return ErrorCode::ERROR_EX_NULL_POINTER; in GenerateClientInfo() 242 return ErrorCode::NO_ERROR; in GenerateClientInfo() 249 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in ReleaseInput() 259 return ErrorCode::ERROR_CLIENT_NOT_FOCUSED; in StartInput() [all …]
|
D | peruser_session.cpp | 65 return ErrorCode::NO_ERROR; in AddClient() 74 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in AddClient() 78 return ErrorCode::ERROR_CLIENT_ADD_FAILED; in AddClient() 84 return ErrorCode::NO_ERROR; in AddClient() 104 return ErrorCode::NO_ERROR; in RemoveClient() 121 return ErrorCode::NO_ERROR; in RemoveClient() 131 return ErrorCode::NO_ERROR; in RemoveClient() 149 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in ShowKeyboard() 154 return ErrorCode::ERROR_IME_NOT_STARTED; in ShowKeyboard() 157 if (ret != ErrorCode::NO_ERROR) { in ShowKeyboard() [all …]
|
/base/theme/wallpaper_mgr/frameworks/native/include/ |
D | wallpaper_service_proxy.h | 36 ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) override; 37 ErrorCode GetPixelMap(int32_t wallpaperType, IWallpaperService::FdInfo &fdInfo) override; 38 ErrorCode GetColors(int32_t wallpaperType, std::vector<uint64_t> &colors) override; 39 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) override; 43 ErrorCode ResetWallpaper(int wallpaperType) override; 44 ErrorCode On(const std::string &type, sptr<IWallpaperEventListener> listener) override; 45 ErrorCode Off(const std::string &type, sptr<IWallpaperEventListener> listener) override; 47 ErrorCode SetVideo(int32_t fd, int32_t wallpaperType, int32_t length) override; 48 ErrorCode SetCustomWallpaper(const std::string &uri, int32_t wallpaperType) override; 49 ErrorCode SendEvent(const std::string &eventType) override; [all …]
|
D | i_wallpaper_service.h | 53 virtual ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) = 0; 54 virtual ErrorCode GetPixelMap(int32_t wallpaperType, FdInfo &fdInfo) = 0; 60 virtual ErrorCode GetColors(int wallpaperType, std::vector<uint64_t> &colors) = 0; 62 virtual ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) = 0; 88 virtual ErrorCode ResetWallpaper(int32_t wallpaperType) = 0; 96 virtual ErrorCode On(const std::string &type, sptr<IWallpaperEventListener> listener) = 0; 104 virtual ErrorCode Off(const std::string &type, sptr<IWallpaperEventListener> listener) = 0; 108 virtual ErrorCode SetWallpaperV9(int32_t fd, int32_t wallpaperType, int32_t length) = 0; 109 virtual ErrorCode GetPixelMapV9(int32_t wallpaperType, FdInfo &fdInfo) = 0; 110 virtual ErrorCode GetColorsV9(int32_t wallpaperType, std::vector<uint64_t> &colors) = 0; [all …]
|
D | wallpaper_manager_kits.h | 52 …virtual ErrorCode SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) = 0; 60 …virtual ErrorCode SetWallpaper(std::shared_ptr<OHOS::Media::PixelMap> pixelMap, int32_t wallpaperT… 71 virtual ErrorCode GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo, 79 …virtual ErrorCode GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint64_t> &… 88 virtual ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) = 0; 94 virtual ErrorCode GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) = 0; 100 virtual ErrorCode GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) = 0; 119 virtual ErrorCode ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) = 0; 127 …virtual ErrorCode On(const std::string &type, std::shared_ptr<WallpaperEventListener> listener) = … 135 …virtual ErrorCode Off(const std::string &type, std::shared_ptr<WallpaperEventListener> listener) =… [all …]
|
D | wallpaper_manager.h | 49 ErrorCode SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) final; 57 ErrorCode SetWallpaper(std::shared_ptr<OHOS::Media::PixelMap> pixelMap, int32_t wallpaperType, 68 ErrorCode GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo, 76 …ErrorCode GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint64_t> &colors) … 85 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) final; 91 ErrorCode GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) final; 97 ErrorCode GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) final; 116 ErrorCode ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) final; 124 ErrorCode On(const std::string &type, std::shared_ptr<WallpaperEventListener> listener) final; 132 ErrorCode Off(const std::string &type, std::shared_ptr<WallpaperEventListener> listener) final; [all …]
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
D | input_method_panel.cpp | 40 return ErrorCode::ERROR_NULL_POINTER; in CreatePanel() 51 return ErrorCode::ERROR_NOT_IME; in CreatePanel() 54 return ErrorCode::ERROR_OPERATE_PANEL; in CreatePanel() 58 if (SetPanelProperties() != ErrorCode::NO_ERROR) { in CreatePanel() 61 return ErrorCode::ERROR_OPERATE_PANEL; in CreatePanel() 63 return ErrorCode::NO_ERROR; in CreatePanel() 79 return ErrorCode::ERROR_OPERATE_PANEL; in SetPanelProperties() 90 return ErrorCode::NO_ERROR; in SetPanelProperties() 95 return ErrorCode::ERROR_OPERATE_PANEL; in SetPanelProperties() 97 return ErrorCode::NO_ERROR; in SetPanelProperties() [all …]
|
D | input_method_core_stub.cpp | 49 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest() 66 reply.WriteInt32(ErrorCode::NO_ERROR); in OnRemoteRequest() 89 return ErrorCode::ERROR_NULL_POINTER; in InitInputControlChannel() 100 return ErrorCode::NO_ERROR; in InitInputControlChannel() 132 reply.WriteInt32(ErrorCode::ERROR_EX_PARCELABLE); in InitInputControlChannelOnRemote() 138 reply.WriteInt32(ErrorCode::ERROR_NULL_POINTER); in InitInputControlChannelOnRemote() 174 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in ClearDataChannelOnRemote() 177 return ErrorCode::NO_ERROR; in ClearDataChannelOnRemote() 183 return ErrorCode::NO_ERROR; in ShowKeyboard() 188 return ErrorCode::NO_ERROR; in SetSubtype() [all …]
|
D | input_method_ability.cpp | 106 return ErrorCode::NO_ERROR; in SetCoreAndAgent() 111 return ErrorCode::ERROR_NULL_POINTER; in SetCoreAndAgent() 120 if (ret != ErrorCode::NO_ERROR) { in SetCoreAndAgent() 126 return ErrorCode::NO_ERROR; in SetCoreAndAgent() 235 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in ShowKeyboard() 241 if (ret != ErrorCode::NO_ERROR) { in ShowKeyboard() 365 return ErrorCode::ERROR_IME_NOT_READY; in ShowInputWindow() 369 return ErrorCode::ERROR_IME; in ShowInputWindow() 374 return ErrorCode::NO_ERROR; in ShowInputWindow() 380 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in ShowInputWindow() [all …]
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
D | input_data_channel_stub.cpp | 43 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest() 129 return ErrorCode::ERROR_EX_PARCELABLE; in SelectByRangeOnRemote() 131 return ErrorCode::NO_ERROR; in SelectByRangeOnRemote() 147 return ErrorCode::ERROR_EX_PARCELABLE; in SelectByMovementOnRemote() 149 return ErrorCode::NO_ERROR; in SelectByMovementOnRemote() 162 return ErrorCode::ERROR_EX_PARCELABLE; in HandleExtendActionOnRemote() 164 return ErrorCode::NO_ERROR; in HandleExtendActionOnRemote() 171 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in InsertText() 178 return ErrorCode::NO_ERROR; in InsertText() 185 return ErrorCode::ERROR_CLIENT_NULL_POINTER; in DeleteForward() [all …]
|
D | input_client_stub.cpp | 43 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest() 92 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in OnSwitchInputOnRemote() 99 reply.WriteInt32(ErrorCode::ERROR_EX_PARCELABLE); in OnSwitchInputOnRemote() 105 reply.WriteInt32(ErrorCode::ERROR_EX_PARCELABLE); in OnSwitchInputOnRemote() 113 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in OnSwitchInputOnRemote() 117 reply.WriteInt32(ErrorCode::NO_ERROR); in OnSwitchInputOnRemote() 130 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in OnPanelStatusChangeOnRemote() 137 reply.WriteInt32(ErrorCode::ERROR_EX_PARCELABLE); in OnPanelStatusChangeOnRemote() 143 reply.WriteInt32(ErrorCode::ERROR_EX_PARCELABLE); in OnPanelStatusChangeOnRemote() 151 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in OnPanelStatusChangeOnRemote() [all …]
|
D | input_method_controller.cpp | 68 if (ret != ErrorCode::NO_ERROR) { in GetInstance() 86 return ErrorCode::ERROR_SERVICE_START_FAILED; in RestoreListenEventFlag() 95 return ErrorCode::ERROR_BAD_PARAMETERS; in UpdateListenEventFlag() 101 return ErrorCode::ERROR_SERVICE_START_FAILED; in UpdateListenEventFlag() 107 if (ret != ErrorCode::NO_ERROR && isOn) { in UpdateListenEventFlag() 130 return ErrorCode::ERROR_NULL_POINTER; in Initialize() 136 return ErrorCode::ERROR_NULL_POINTER; in Initialize() 142 return ErrorCode::ERROR_NULL_POINTER; in Initialize() 151 return ErrorCode::NO_ERROR; in Initialize() 433 if (ret != ErrorCode::NO_ERROR) { in Attach() [all …]
|
/base/request/request/test/unittest/rust/src/ |
D | main.rs | 40 assert_eq!(code, ErrorCode::ErrOk); in create_test1() 49 assert_eq!(code, ErrorCode::TaskEnqueueErr); in create_test1() 74 assert_eq!(code, ErrorCode::ErrOk); in create_test2() 87 assert_eq!(code, ErrorCode::TaskEnqueueErr); in create_test2() 112 assert_eq!(code, ErrorCode::ErrOk); in create_test3() 125 assert_eq!(code, ErrorCode::TaskModeErr); in create_test3() 137 assert_eq!(code, ErrorCode::ErrOk); in create_test3() 158 assert_eq!(code, ErrorCode::ErrOk); in start_test1() 161 assert_eq!(code, ErrorCode::ErrOk); in start_test1() 163 assert_eq!(code, ErrorCode::TaskStateErr); in start_test1() [all …]
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
D | input_method_attach_test.cpp | 86 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 90 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 94 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 109 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 113 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 117 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 135 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 139 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 143 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 162 EXPECT_EQ(ret, ErrorCode::NO_ERROR); [all …]
|
D | input_method_panel_test.cpp | 125 if (ret != ErrorCode::NO_ERROR) { in SetUpTestCase() 155 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in CreatePanel() 209 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in ImcPanelListeningTestPrepare() 215 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in ImcPanelListeningTestPrepare() 257 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 259 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 273 EXPECT_EQ(ret, ErrorCode::ERROR_NULL_POINTER); 287 EXPECT_EQ(ret, ErrorCode::ERROR_NULL_POINTER); 291 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 298 EXPECT_EQ(ret, ErrorCode::NO_ERROR); [all …]
|
D | input_method_editor_test.cpp | 166 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_FOCUSED); 168 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_FOCUSED); 170 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_FOCUSED); 182 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_BOUND); 184 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_EDITABLE); 188 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_EDITABLE); 190 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_EDITABLE); 192 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_FOCUSED); 194 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_EDITABLE); 196 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_EDITABLE); [all …]
|
D | input_method_private_member_test.cpp | 129 EXPECT_EQ(ret, ErrorCode::ERROR_NULL_POINTER); 146 EXPECT_EQ(ret, ErrorCode::ERROR_NULL_POINTER); 175 EXPECT_EQ(ret, ErrorCode::ERROR_BAD_PARAMETERS); 193 EXPECT_EQ(ret, ErrorCode::ERROR_IME_NOT_STARTED); 195 EXPECT_EQ(ret, ErrorCode::ERROR_IME_NOT_STARTED); 197 EXPECT_EQ(ret, ErrorCode::ERROR_NULL_POINTER); 199 EXPECT_EQ(ret, ErrorCode::ERROR_NULL_POINTER); 201 EXPECT_EQ(ret, ErrorCode::ERROR_IME_NOT_STARTED); 205 EXPECT_EQ(ret, ErrorCode::ERROR_IME_NOT_STARTED); 233 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NOT_FOUND); [all …]
|
D | input_method_ability_test.cpp | 173 EXPECT_EQ(ret, ErrorCode::ERROR_IME); 188 EXPECT_EQ(ret, ErrorCode::ERROR_IME); 201 EXPECT_EQ(ret, ErrorCode::ERROR_IME); 219 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 235 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 237 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 263 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 282 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 302 EXPECT_EQ(ret, ErrorCode::NO_ERROR); 321 EXPECT_EQ(ret, ErrorCode::NO_ERROR); [all …]
|
D | input_method_ability_exception_test.cpp | 108 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 122 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 136 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 151 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 167 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 182 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 197 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 200 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 215 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); 217 EXPECT_EQ(ret, ErrorCode::ERROR_CLIENT_NULL_POINTER); [all …]
|
/base/theme/wallpaper_mgr/services/include/ |
D | wallpaper_service.h | 68 ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) override; 69 ErrorCode GetPixelMap(int32_t wallpaperType, FdInfo &fdInfo) override; 70 ErrorCode GetColors(int32_t wallpaperType, std::vector<uint64_t> &colors) override; 71 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) override; 75 ErrorCode ResetWallpaper(int32_t wallpaperType) override; 76 ErrorCode On(const std::string &type, sptr<IWallpaperEventListener> listener) override; 77 ErrorCode Off(const std::string &type, sptr<IWallpaperEventListener> listener) override; 81 ErrorCode SetWallpaperV9(int32_t fd, int32_t wallpaperType, int32_t length) override; 82 ErrorCode GetPixelMapV9(int32_t wallpaperType, FdInfo &fdInfo) override; 83 ErrorCode GetColorsV9(int32_t wallpaperType, std::vector<uint64_t> &colors) override; [all …]
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
D | js_utils.cpp | 25 { ErrorCode::ERROR_CONTROLLER_INVOKING_FAILED, EXCEPTION_CONTROLLER }, 26 { ErrorCode::ERROR_STATUS_PERMISSION_DENIED, EXCEPTION_PERMISSION }, 27 { ErrorCode::ERROR_STATUS_SYSTEM_PERMISSION, EXCEPTION_SYSTEM_PERMISSION }, 28 { ErrorCode::ERROR_REMOTE_CLIENT_DIED, EXCEPTION_IMCLIENT }, 29 { ErrorCode::ERROR_CLIENT_NOT_FOUND, EXCEPTION_IMCLIENT }, 30 { ErrorCode::ERROR_CLIENT_NULL_POINTER, EXCEPTION_IMCLIENT }, 31 { ErrorCode::ERROR_CLIENT_NOT_FOCUSED, EXCEPTION_IMCLIENT }, 32 { ErrorCode::ERROR_CLIENT_NOT_EDITABLE, EXCEPTION_IMCLIENT }, 33 { ErrorCode::ERROR_CLIENT_NOT_BOUND, EXCEPTION_DETACHED }, 34 { ErrorCode::ERROR_CLIENT_ADD_FAILED, EXCEPTION_IMCLIENT }, [all …]
|
/base/request/request/services/service/rust/src/ |
D | request_service.rs | 53 reply.write(&(ErrorCode::Permission as i32)); in construct() 87 reply.write(&(ErrorCode::Ipc_size_too_large as i32)); in construct() 101 reply.write(&(ErrorCode::Ipc_size_too_large as i32)); in construct() 123 reply.write(&(ErrorCode::Ipc_size_too_large as i32)); in construct() 136 reply.write(&(ErrorCode::Ipc_size_too_large as i32)); in construct() 183 if ret != ErrorCode::ErrOk { in construct() 197 reply.write(&(ErrorCode::Permission as i32)); in pause() 207 if ret != ErrorCode::ErrOk { in pause() 215 reply.write(&(ErrorCode::TaskNotFound as i32)); in pause() 228 reply.write(&(ErrorCode::Permission as i32)); in query_mime_type() [all …]
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
D | itypes_util.h | 163 return ErrorCode::ERROR_EX_PARCELABLE; in MarshalToBuffer() 166 return ErrorCode::ERROR_EX_NULL_POINTER; in MarshalToBuffer() 172 return ErrorCode::ERROR_EX_PARCELABLE; in MarshalToBuffer() 174 …return data.WriteRawData(buffer.get(), size) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABL… in MarshalToBuffer() 182 return ErrorCode::ERROR_EX_PARCELABLE; in MarshalToBuffer() 185 return ErrorCode::ERROR_EX_ILLEGAL_STATE; in MarshalToBuffer() 190 return ErrorCode::ERROR_EX_PARCELABLE; in MarshalToBuffer() 194 return ErrorCode::ERROR_EX_PARCELABLE; in MarshalToBuffer() 196 …return data.WriteRawData(buffer.get(), size) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABL… in MarshalToBuffer() 203 return ErrorCode::ERROR_EX_ILLEGAL_ARGUMENT; in UnmarshalFromBuffer() [all …]
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
D | wallpaper_service_proxy.cpp | 27 ErrorCode WallpaperServiceProxy::GetColors(int32_t wallpaperType, std::vector<uint64_t> &colors) in GetColors() 32 ErrorCode WallpaperServiceProxy::GetColorsV9(int32_t wallpaperType, std::vector<uint64_t> &colors) in GetColorsV9() 37 ErrorCode WallpaperServiceProxy::GetColorsInner( in GetColorsInner() 58 ErrorCode wallpaperErrorCode = ConvertIntToErrorCode(reply.ReadInt32()); in GetColorsInner() 67 ErrorCode WallpaperServiceProxy::GetFile(int32_t wallpaperType, int32_t &wallpaperFd) in GetFile() 88 ErrorCode wallpaperErrorCode = ConvertIntToErrorCode(reply.ReadInt32()); in GetFile() 95 ErrorCode WallpaperServiceProxy::SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) in SetWallpaper() 100 ErrorCode WallpaperServiceProxy::SetWallpaperV9(int32_t fd, int32_t wallpaperType, int32_t length) in SetWallpaperV9() 105 ErrorCode WallpaperServiceProxy::SetWallpaperInner( in SetWallpaperInner() 140 ErrorCode WallpaperServiceProxy::GetPixelMap(int32_t wallpaperType, IWallpaperService::FdInfo &fdIn… in GetPixelMap() [all …]
|