Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce704152 authored by Gaurav Bhola's avatar Gaurav Bhola
Browse files

Remove all the files from frameworks/base/data/etc/car

Bug: 163565713
Test: Build success
Ignore-AOSP-First: Removed the owners file
Change-Id: I3847c439714fd9d0636d5745ba756be28c4a15bc
parent 8270d61d
Loading
Loading
Loading
Loading

data/etc/car/Android.bp

deleted100644 → 0
+0 −209
Original line number Diff line number Diff line
// 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.

// Privapp permission whitelist files

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

prebuilt_etc {
    name: "allowed_privapp_com.android.carsystemui",
    system_ext_specific: true,
    sub_dir: "permissions",
    src: "com.android.carsystemui.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_android.car.cluster.loggingrenderer",
    sub_dir: "permissions",
    src: "android.car.cluster.loggingrenderer.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_android.car.cluster.sample",
    sub_dir: "permissions",
    src: "android.car.cluster.sample.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_android.car.cluster",
    sub_dir: "permissions",
    src: "android.car.cluster.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_android.car.usb.handler",
    sub_dir: "permissions",
    src: "android.car.usb.handler.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.carlauncher",
    sub_dir: "permissions",
    src: "com.android.car.carlauncher.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.dialer",
    sub_dir: "permissions",
    src: "com.android.car.dialer.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.hvac",
    sub_dir: "permissions",
    src: "com.android.car.hvac.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.media",
    sub_dir: "permissions",
    src: "com.android.car.media.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.notification",
    sub_dir: "permissions",
    src: "com.android.car.notification.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.radio",
    sub_dir: "permissions",
    src: "com.android.car.radio.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.settings",
    sub_dir: "permissions",
    src: "com.android.car.settings.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.themeplayground",
    sub_dir: "permissions",
    src: "com.android.car.themeplayground.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car",
    sub_dir: "permissions",
    src: "com.android.car.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.bugreport",
    sub_dir: "permissions",
    src: "com.android.car.bugreport.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.google.android.car.adaslocation",
    sub_dir: "permissions",
    src: "com.google.android.car.adaslocation.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.google.android.car.kitchensink",
    sub_dir: "permissions",
    src: "com.google.android.car.kitchensink.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.developeroptions",
    sub_dir: "permissions",
    src: "com.android.car.developeroptions.xml",
    filename_from_src: true,
    system_ext_specific: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.rotary",
    sub_dir: "permissions",
    src: "com.android.car.rotary.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.ui.paintbooth",
    sub_dir: "permissions",
    src: "com.android.car.ui.paintbooth.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.provision",
    system_ext_specific: true,
    sub_dir: "permissions",
    src: "com.android.car.provision.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "privapp_allowlist_com.google.android.car.networking.preferenceupdater",
    sub_dir: "permissions",
    src: "com.google.android.car.networking.preferenceupdater.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.carshell",
    sub_dir: "permissions",
    src: "com.android.car.shell.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.activityresolver",
    sub_dir: "permissions",
    src: "com.android.car.activityresolver.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.cluster.home",
    sub_dir: "permissions",
    src: "com.android.car.cluster.home.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "allowed_privapp_com.android.car.messenger",
    sub_dir: "permissions",
    src: "com.android.car.messenger.xml",
    filename_from_src: true,
}

data/etc/car/CleanSpec.mk

deleted100644 → 0
+0 −50
Original line number Diff line number Diff line
# 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.
#

# If you don't need to do a full clean build but would like to touch
# a file or delete some intermediate files, add a clean step to the end
# of the list.  These steps will only be run once, if they haven't been
# run before.
#
# E.g.:
#     $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
#     $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
#
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
# files that are missing or have been moved.
#
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
# Use $(OUT_DIR) to refer to the "out" directory.
#
# If you need to re-do something that's already mentioned, just copy
# the command and add it to the bottom of the list.  E.g., if a change
# that you made last week required touching a file and a change you
# made today requires touching the same file, just copy the old
# touch step and add it to the end of the list.
#
# *****************************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THE BANNER
# *****************************************************************

# For example:
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/etc/permissions/com.android.car.developeroptions.xml)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/etc/permissions/com.android.car.developeroptions.xml)
# ******************************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER
# ******************************************************************

data/etc/car/OWNERS

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
include platform/packages/services/Car:/OWNERS
+0 −21
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ 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
  -->
<permissions>
    <privapp-permissions package="android.car.cluster.loggingrenderer">
        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    </privapp-permissions>
</permissions>
+0 −24
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ 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
  -->
<permissions>
    <privapp-permissions package="android.car.cluster.sample">
        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
        <permission name="android.permission.MANAGE_USERS"/>
        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    </privapp-permissions>
</permissions>
Loading