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

Commit 2f393cdb authored by Eric Jeong's avatar Eric Jeong
Browse files

Revert "Remove iorap framework codes"

Revert "Remove iorap daemon codes"

Revert "Remove configs relevant to iorap"

Revert submission 16528474-remove-iorap

Reason for revert: build break
Reverted Changes:
I464c9e9c4:Remove scripts related to iorap
I0b8b1b064:Remove iorap daemon codes
I848f65908:Remove iorap framework codes
I294f37265:Remove configs relevant to iorap

Change-Id: Idbd2f34e952325d9fee00ce3b269293b848cf545
parent 59a56500
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6803,6 +6803,10 @@
                    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>
+3 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@ filegroup {
        ":services.selectiontoolbar-sources",
        ":services.smartspace-sources",
        ":services.speech-sources",
        ":services.startop.iorap-sources",
        ":services.systemcaptions-sources",
        ":services.translation-sources",
        ":services.texttospeech-sources",
@@ -150,6 +151,7 @@ java_library {
        "services.selectiontoolbar",
        "services.smartspace",
        "services.speech",
        "services.startop",
        "services.systemcaptions",
        "services.translation",
        "services.texttospeech",
@@ -205,6 +207,7 @@ 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__"],
+6 −0
Original line number Diff line number Diff line
@@ -213,6 +213,8 @@ 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;
@@ -1615,6 +1617,10 @@ 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);
+36 −0
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",
    ],
}
+44 −0
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