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

Commit 540cc1fa authored by Eric Jeong's avatar Eric Jeong
Browse files

[Re-land] Remove iorap framework codes

This reverts commit 2f393cdb.

- It's decided to remove iorap from Android.
- This CL removes iorap framework codes.
- Removing iorap daemon and git repo will follow.

Bug: 211461392
Test: build okay
Change-Id: Ie1bebf1dfdce8b5db59c4e5a685c8f1afb46e266
Merged-In: Ie1bebf1dfdce8b5db59c4e5a685c8f1afb46e266
(cherry picked from commit 7ee89676)
parent d0cb324a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6907,10 +6907,6 @@
                    android:resource="@xml/autofill_compat_accessibility_service" />
        </service>

        <service android:name="com.google.android.startop.iorap.IorapForwardingService$IorapdJobServiceProxy"
                 android:permission="android.permission.BIND_JOB_SERVICE" >
        </service>

        <service android:name="com.android.server.blob.BlobStoreIdleJobService"
                 android:permission="android.permission.BIND_JOB_SERVICE">
        </service>
+0 −3
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ filegroup {
        ":services.selectiontoolbar-sources",
        ":services.smartspace-sources",
        ":services.speech-sources",
        ":services.startop.iorap-sources",
        ":services.systemcaptions-sources",
        ":services.translation-sources",
        ":services.texttospeech-sources",
@@ -163,7 +162,6 @@ java_library {
        "services.selectiontoolbar",
        "services.smartspace",
        "services.speech",
        "services.startop",
        "services.systemcaptions",
        "services.translation",
        "services.texttospeech",
@@ -216,7 +214,6 @@ stubs_defaults {
        " --hide-annotation android.annotation.Hide" +
        " --hide InternalClasses" + // com.android.* classes are okay in this interface
        // TODO: remove the --hide options below
        " --hide-package com.google.android.startop.iorap" +
        " --hide DeprecationMismatch" +
        " --hide HiddenTypedefConstant",
    visibility: ["//frameworks/base:__subpackages__"],
+0 −6
Original line number Diff line number Diff line
@@ -214,8 +214,6 @@ import com.android.server.wm.WindowManagerService;

import dalvik.system.VMRuntime;

import com.google.android.startop.iorap.IorapForwardingService;

import java.io.File;
import java.io.FileDescriptor;
import java.io.IOException;
@@ -1642,10 +1640,6 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(PinnerService.class);
            t.traceEnd();

            t.traceBegin("IorapForwardingService");
            mSystemServiceManager.startService(IorapForwardingService.class);
            t.traceEnd();

            if (Build.IS_DEBUGGABLE && ProfcollectForwardingService.enabled()) {
                t.traceBegin("ProfcollectForwardingService");
                mSystemServiceManager.startService(ProfcollectForwardingService.class);

services/startop/Android.bp

deleted100644 → 0
+0 −36
Original line number Diff line number Diff line
/*
 * Copyright (C) 2018 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.
 */

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
    //   SPDX-license-identifier-MIT
    //   SPDX-license-identifier-Unicode-DFS
    default_applicable_licenses: ["frameworks_base_license"],
}

java_library_static {
    name: "services.startop",
    defaults: ["platform_service_defaults"],

    static_libs: [
        // frameworks/base/startop/iorap
        "services.startop.iorap",
    ],
}

startop/iorap/Android.bp

deleted100644 → 0
+0 −44
Original line number Diff line number Diff line
// Copyright (C) 2018 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.

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"],
}

filegroup {
  name: "services.startop.iorap-javasources",
  srcs: ["src/**/*.java"],
  path: "src",
  visibility: ["//visibility:private"],
}

filegroup {
  name: "services.startop.iorap-sources",
  srcs: [
    ":services.startop.iorap-javasources",
    ":iorap-aidl",
  ],
  visibility: ["//frameworks/base/services:__subpackages__"],
}

java_library_static {
  name: "services.startop.iorap",
  srcs: [":services.startop.iorap-sources"],
  libs: ["services.core"],
}
Loading