From 3b075a3220e6eef9c60944959d7c0f0af94d0686 Mon Sep 17 00:00:00 2001 From: Jeyasona Date: Wed, 4 Feb 2026 09:24:17 +0000 Subject: [PATCH 1/6] RDKEMW-13235: Update StorageManager to IAppStorageManager --- apis/Ids.h | 2 +- .../{IStorageManager.h => IAppStorageManager.h} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename apis/StorageManager/{IStorageManager.h => IAppStorageManager.h} (96%) diff --git a/apis/Ids.h b/apis/Ids.h index 67ca0898..7a828aa5 100755 --- a/apis/Ids.h +++ b/apis/Ids.h @@ -251,7 +251,7 @@ namespace Exchange { ID_PACKAGE_KEY_VALUE_ITERATOR = ID_APP_PACKAGE_MANAGER + 9, ID_PACKAGE_LOCK_ITERATOR = ID_APP_PACKAGE_MANAGER + 10, - ID_STORAGEMANAGER = ID_ENTOS_OFFSET + 0x310, + ID_APPSTORAGEMANAGER = ID_ENTOS_OFFSET + 0x310, ID_AUTHSERVICE = ID_ENTOS_OFFSET + 0x320, ID_AUTHSERVICE_NOTIFICATION = ID_AUTHSERVICE + 1, diff --git a/apis/StorageManager/IStorageManager.h b/apis/StorageManager/IAppStorageManager.h similarity index 96% rename from apis/StorageManager/IStorageManager.h rename to apis/StorageManager/IAppStorageManager.h index 482e7a2e..25bdff71 100644 --- a/apis/StorageManager/IStorageManager.h +++ b/apis/StorageManager/IAppStorageManager.h @@ -24,9 +24,9 @@ namespace WPEFramework { namespace Exchange { // @json 1.0.0 @text:keep -struct EXTERNAL IStorageManager : virtual public Core::IUnknown { +struct EXTERNAL IAppStorageManager : virtual public Core::IUnknown { - enum { ID = ID_STORAGEMANAGER }; + enum { ID = ID_APPSTORAGEMANAGER }; /** Create Storage for a given appId */ // @json:omit From a2ed352570de0302682c353126a793058ddf1d06 Mon Sep 17 00:00:00 2001 From: RDKCM <187267378+rdkcm-rdke@users.noreply.github.com> Date: Thu, 12 Feb 2026 07:03:04 +0000 Subject: [PATCH 2/6] Auto-generate documentation from interface changes --- docs/apis/StorageManager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/StorageManager.md b/docs/apis/StorageManager.md index d5ea0870..e45068bb 100644 --- a/docs/apis/StorageManager.md +++ b/docs/apis/StorageManager.md @@ -2,7 +2,7 @@ # StorageManager Plugin -**Version: [1.0.0](https://github.com/rdkcentral/entservices-apis/tree/main/apis/StorageManager/IStorageManager.h)** +**Version: [1.0.0](https://github.com/rdkcentral/entservices-apis/tree/main/apis/StorageManager/IAppStorageManager.h)** A StorageManager plugin for Thunder framework. From c8c7792cb607c4d093f548b75cd0846d430d460c Mon Sep 17 00:00:00 2001 From: Jeyasona Date: Thu, 12 Feb 2026 07:53:56 +0000 Subject: [PATCH 3/6] Renaming storagemanager to appstoragemanager --- apis/{StorageManager => AppStorageManager}/IAppStorageManager.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apis/{StorageManager => AppStorageManager}/IAppStorageManager.h (100%) diff --git a/apis/StorageManager/IAppStorageManager.h b/apis/AppStorageManager/IAppStorageManager.h similarity index 100% rename from apis/StorageManager/IAppStorageManager.h rename to apis/AppStorageManager/IAppStorageManager.h From 38c67eb6e718dcf9cfddd5d47aec582df2bd1567 Mon Sep 17 00:00:00 2001 From: RDKCM <187267378+rdkcm-rdke@users.noreply.github.com> Date: Thu, 12 Feb 2026 07:54:15 +0000 Subject: [PATCH 4/6] Auto-generate documentation from interface changes --- docs/_sidebar.md | 1 + docs/apis/AppStorageManager.md | 160 +++++++++++++++++++++++++++++++++ 2 files changed, 161 insertions(+) create mode 100644 docs/apis/AppStorageManager.md diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 48978778..57ec2a0a 100755 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -6,6 +6,7 @@ - [Analytics](apis/Analytics.md) - [AppGateway](apis/AppGateway.md) - [AppManager](apis/AppManager.md) + - [AppStorageManager](apis/AppStorageManager.md) - [AVInput](apis/AVInput.md) - [Bluetooth@](apis/BluetoothPlugin.md) - [DeviceDiagnostics](apis/DeviceDiagnostics.md) diff --git a/docs/apis/AppStorageManager.md b/docs/apis/AppStorageManager.md new file mode 100644 index 00000000..de0630e2 --- /dev/null +++ b/docs/apis/AppStorageManager.md @@ -0,0 +1,160 @@ + + +# AppStorageManager Plugin + +**Version: [1.0.0](https://github.com/rdkcentral/entservices-apis/tree/main/apis/AppStorageManager/IAppStorageManager.h)** + +A AppStorageManager plugin for Thunder framework. + +### Table of Contents + +- [Abbreviation, Acronyms and Terms](#abbreviation-acronyms-and-terms) +- [Description](#Description) +- [Configuration](#Configuration) +- [Methods](#Methods) + + +# Abbreviation, Acronyms and Terms + +[[Refer to this link](overview/aat.md)] + + +# Description + +The `AppStorageManager` plugin provides an interface for AppStorageManager. + +The plugin is designed to be loaded and executed within the Thunder framework. For more information about the framework refer to [[Thunder](https://rdkcentral.github.io/Thunder/)]. + + +# Configuration + +The table below lists configuration options of the plugin. + +| Name | Type | Description | +| :-------- | :-------- | :-------- | +| callsign | string | Plugin instance name (default: org.rdk.AppStorageManager) | +| classname | string | Class name: *AppStorageManager* | +| locator | string | Library name: *libWPEFrameworkAppStorageManager.so* | +| autostart | boolean | Determines if the plugin shall be started automatically along with the framework | + + +# Methods + +The following methods are provided by the AppStorageManager plugin: + +AppStorageManager interface methods: + +| Method | Description | +| :-------- | :-------- | +| [clear](#clear) | Called by IUI. This also clears device storage as well | +| [clearAll](#clearAll) | Called by IUI. This also clears device storage as well | + + +## *clear* + +Called by IUI. This also clears device storage as well + +### Events +Event details will be updated soon. +### Parameters +| Name | Type | Description | +| :-------- | :-------- | :-------- | +| params | object | | +| params.appId | string | string App identifier for the application. | +### Results +| Name | Type | Description | +| :-------- | :-------- | :-------- | +| result | object | | +| result.errorReason | string | string error reason string | + +### Examples + + +#### Request + +```json +{ + "jsonrpc": 2.0, + "id": 0, + "method": "org.rdk.AppStorageManager.clear", + "params": { + "appId": "" + } +} +``` + + +#### CURL Command + +```curl +curl -H 'content-type:text/plain;' --data-binary '{"jsonrpc": 2.0, "id": 0, "method": "org.rdk.AppStorageManager.clear", "params": {"appId": ""}}' http://127.0.0.1:9998/jsonrpc +``` + + +#### Response + +```json +{ + "jsonrpc": 2.0, + "id": 0, + "result": { + "errorReason": "" + } +} +``` + + +## *clearAll* + +Called by IUI. This also clears device storage as well + +### Events +Event details will be updated soon. +### Parameters +| Name | Type | Description | +| :-------- | :-------- | :-------- | +| params | object | | +| params.exemptionAppIds | string | string Clears all app data except for the exempt app ids as a json format | +### Results +| Name | Type | Description | +| :-------- | :-------- | :-------- | +| result | object | | +| result.errorReason | string | string error reason string | + +### Examples + + +#### Request + +```json +{ + "jsonrpc": 2.0, + "id": 1, + "method": "org.rdk.AppStorageManager.clearAll", + "params": { + "exemptionAppIds": "" + } +} +``` + + +#### CURL Command + +```curl +curl -H 'content-type:text/plain;' --data-binary '{"jsonrpc": 2.0, "id": 1, "method": "org.rdk.AppStorageManager.clearAll", "params": {"exemptionAppIds": ""}}' http://127.0.0.1:9998/jsonrpc +``` + + +#### Response + +```json +{ + "jsonrpc": 2.0, + "id": 1, + "result": { + "errorReason": "" + } +} +``` + + From 9a03eb2d4dd042464bc43815c0037abde339dade Mon Sep 17 00:00:00 2001 From: Sonajeya31 <155615090+Sonajeya31@users.noreply.github.com> Date: Thu, 12 Feb 2026 13:45:26 +0530 Subject: [PATCH 5/6] Delete docs/apis/StorageManager.md --- docs/apis/StorageManager.md | 160 ------------------------------------ 1 file changed, 160 deletions(-) delete mode 100644 docs/apis/StorageManager.md diff --git a/docs/apis/StorageManager.md b/docs/apis/StorageManager.md deleted file mode 100644 index e45068bb..00000000 --- a/docs/apis/StorageManager.md +++ /dev/null @@ -1,160 +0,0 @@ - - -# StorageManager Plugin - -**Version: [1.0.0](https://github.com/rdkcentral/entservices-apis/tree/main/apis/StorageManager/IAppStorageManager.h)** - -A StorageManager plugin for Thunder framework. - -### Table of Contents - -- [Abbreviation, Acronyms and Terms](#abbreviation-acronyms-and-terms) -- [Description](#Description) -- [Configuration](#Configuration) -- [Methods](#Methods) - - -# Abbreviation, Acronyms and Terms - -[[Refer to this link](overview/aat.md)] - - -# Description - -The `StorageManager` plugin provides an interface for StorageManager. - -The plugin is designed to be loaded and executed within the Thunder framework. For more information about the framework refer to [[Thunder](https://rdkcentral.github.io/Thunder/)]. - - -# Configuration - -The table below lists configuration options of the plugin. - -| Name | Type | Description | -| :-------- | :-------- | :-------- | -| callsign | string | Plugin instance name (default: org.rdk.StorageManager) | -| classname | string | Class name: *StorageManager* | -| locator | string | Library name: *libWPEFrameworkStorageManager.so* | -| autostart | boolean | Determines if the plugin shall be started automatically along with the framework | - - -# Methods - -The following methods are provided by the StorageManager plugin: - -StorageManager interface methods: - -| Method | Description | -| :-------- | :-------- | -| [clear](#clear) | Called by IUI. This also clears device storage as well | -| [clearAll](#clearAll) | Called by IUI. This also clears device storage as well | - - -## *clear* - -Called by IUI. This also clears device storage as well - -### Events -Event details will be updated soon. -### Parameters -| Name | Type | Description | -| :-------- | :-------- | :-------- | -| params | object | | -| params.appId | string | string App identifier for the application. | -### Results -| Name | Type | Description | -| :-------- | :-------- | :-------- | -| result | object | | -| result.errorReason | string | string error reason string | - -### Examples - - -#### Request - -```json -{ - "jsonrpc": 2.0, - "id": 0, - "method": "org.rdk.StorageManager.clear", - "params": { - "appId": "" - } -} -``` - - -#### CURL Command - -```curl -curl -H 'content-type:text/plain;' --data-binary '{"jsonrpc": 2.0, "id": 0, "method": "org.rdk.StorageManager.clear", "params": {"appId": ""}}' http://127.0.0.1:9998/jsonrpc -``` - - -#### Response - -```json -{ - "jsonrpc": 2.0, - "id": 0, - "result": { - "errorReason": "" - } -} -``` - - -## *clearAll* - -Called by IUI. This also clears device storage as well - -### Events -Event details will be updated soon. -### Parameters -| Name | Type | Description | -| :-------- | :-------- | :-------- | -| params | object | | -| params.exemptionAppIds | string | string Clears all app data except for the exempt app ids as a json format | -### Results -| Name | Type | Description | -| :-------- | :-------- | :-------- | -| result | object | | -| result.errorReason | string | string error reason string | - -### Examples - - -#### Request - -```json -{ - "jsonrpc": 2.0, - "id": 1, - "method": "org.rdk.StorageManager.clearAll", - "params": { - "exemptionAppIds": "" - } -} -``` - - -#### CURL Command - -```curl -curl -H 'content-type:text/plain;' --data-binary '{"jsonrpc": 2.0, "id": 1, "method": "org.rdk.StorageManager.clearAll", "params": {"exemptionAppIds": ""}}' http://127.0.0.1:9998/jsonrpc -``` - - -#### Response - -```json -{ - "jsonrpc": 2.0, - "id": 1, - "result": { - "errorReason": "" - } -} -``` - - From 2c55c650d79d0e1e196ebb4251194706773f2d37 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 08:26:39 +0000 Subject: [PATCH 6/6] Remove StorageManager entry from sidebar Co-authored-by: Sonajeya31 <155615090+Sonajeya31@users.noreply.github.com> --- docs/_sidebar.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 57ec2a0a..886cf727 100755 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -50,7 +50,6 @@ - [ResourceManager@](apis/ResourceManagerPlugin.md) - [ScreenCapture](apis/ScreenCapture.md) - [SharedStorage](apis/SharedStorage.md) - - [StorageManager](apis/StorageManager.md) - [SystemAudioPlayer@](apis/SystemAudioPlayerPlugin.md) - [SystemMode](apis/SystemMode.md) - [System@](apis/SystemPlugin.md)