Merge "Remove InitProperties" into main

This commit is contained in:
Treehugger Robot 2024-08-15 07:56:10 +00:00 committed by Gerrit Code Review
commit 04636c8ff8
8 changed files with 0 additions and 84 deletions

View file

@ -226,7 +226,6 @@ cc_defaults {
],
whole_static_libs: [
"libcap",
"libcom.android.sysprop.init",
],
header_libs: ["bootimg_headers"],
proto: {

View file

@ -46,7 +46,6 @@
#include <map>
#include <memory>
#include <InitProperties.sysprop.h>
#include <android-base/chrono_utils.h>
#include <android-base/file.h>
#include <android-base/logging.h>

View file

@ -46,7 +46,6 @@
#include <thread>
#include <vector>
#include <InitProperties.sysprop.h>
#include <android-base/chrono_utils.h>
#include <android-base/file.h>
#include <android-base/logging.h>

View file

@ -39,7 +39,6 @@
#include <thread>
#include <vector>
#include <InitProperties.sysprop.h>
#include <android-base/chrono_utils.h>
#include <android-base/file.h>
#include <android-base/logging.h>

View file

@ -1,16 +0,0 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_core_init_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_core_init_license"],
}
sysprop_library {
name: "com.android.sysprop.init",
srcs: ["InitProperties.sysprop"],
property_owner: "Platform",
api_packages: ["android.sysprop"],
recovery_available: true,
}

View file

@ -1,36 +0,0 @@
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
owner: Platform
module: "android.sysprop.InitProperties"
# Serves as a signal to all processes that userspace reboot is happening.
prop {
api_name: "userspace_reboot_in_progress"
type: Boolean
scope: Public
access: ReadWrite
prop_name: "sys.init.userspace_reboot.in_progress"
integer_as_bool: true
}
# Shows whenever the device supports userspace reboot or not.
prop {
api_name: "is_userspace_reboot_supported"
type: Boolean
scope: Public
access: Readonly
prop_name: "init.userspace_reboot.is_supported"
integer_as_bool: true
}

View file

@ -1,14 +0,0 @@
props {
module: "android.sysprop.InitProperties"
prop {
api_name: "is_userspace_reboot_supported"
prop_name: "init.userspace_reboot.is_supported"
integer_as_bool: true
}
prop {
api_name: "userspace_reboot_in_progress"
access: ReadWrite
prop_name: "sys.init.userspace_reboot.in_progress"
integer_as_bool: true
}
}

View file

@ -1,14 +0,0 @@
props {
module: "android.sysprop.InitProperties"
prop {
api_name: "is_userspace_reboot_supported"
prop_name: "init.userspace_reboot.is_supported"
integer_as_bool: true
}
prop {
api_name: "userspace_reboot_in_progress"
access: ReadWrite
prop_name: "sys.init.userspace_reboot.in_progress"
integer_as_bool: true
}
}