sdm660-common: powerstats: Rebrand to Xiaomi SDM660

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
clarencelol 2021-05-13 11:40:37 +08:00 committed by pix106
parent 3b4525661b
commit d356f95740
4 changed files with 5 additions and 5 deletions

View file

@ -3,10 +3,10 @@
// //
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
cc_binary { cc_binary {
name: "android.hardware.power.stats@1.0-service.pixel", name: "android.hardware.power.stats@1.0-service.xiaomi_sdm660",
relative_install_path: "hw", relative_install_path: "hw",
vintf_fragments: ["android.hardware.power.stats@1.0-service.pixel.xml"], vintf_fragments: ["android.hardware.power.stats@1.0-service.xiaomi_sdm660.xml"],
init_rc: ["android.hardware.power.stats@1.0-service.pixel.rc"], init_rc: ["android.hardware.power.stats@1.0-service.xiaomi_sdm660.rc"],
srcs: ["service.cpp", srcs: ["service.cpp",
"RailDataProvider.cpp", "RailDataProvider.cpp",
], ],

View file

@ -1,4 +1,4 @@
service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.xiaomi_sdm660
class hal class hal
user system user system
group system group system

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#define LOG_TAG "android.hardware.power.stats@1.0-service.pixel" #define LOG_TAG "android.hardware.power.stats@1.0-service.xiaomi_sdm660"
#include <android-base/properties.h> #include <android-base/properties.h>
#include <android/log.h> #include <android/log.h>
#include <binder/IPCThreadState.h> #include <binder/IPCThreadState.h>