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

Commit bd83ac0e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "com.android.media.tv.remoteprovider is built with java_sdk_library"

parents 1f392c46 d138adfd
Loading
Loading
Loading
Loading
+24 −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.
//

java_sdk_library {
    name: "com.android.media.tv.remoteprovider",
    srcs: ["java/**/*.java"],
    api_packages: ["com.android.media.tv.remoteprovider"],
    dex_preopt: {
        enabled: false,
    }
}

media/lib/tvremote/Android.mk

deleted100644 → 0
+0 −46
Original line number Diff line number Diff line
#
# Copyright (C) 2016 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.
#
LOCAL_PATH := $(call my-dir)

# the tvremoteprovider library
# ============================================================
include $(CLEAR_VARS)

LOCAL_MODULE:= com.android.media.tv.remoteprovider
LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-java-files-under, java)

LOCAL_DEX_PREOPT := false

include $(BUILD_JAVA_LIBRARY)


# ====  com.android.media.tvremote.xml lib def  ========================
include $(CLEAR_VARS)

LOCAL_MODULE := com.android.media.tv.remoteprovider.xml
LOCAL_MODULE_TAGS := optional

LOCAL_MODULE_CLASS := ETC

# This will install the file in /system/etc/permissions
#
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions

LOCAL_SRC_FILES := $(LOCAL_MODULE)

include $(BUILD_PREBUILT)
+21 −0
Original line number Diff line number Diff line
package com.android.media.tv.remoteprovider {

  public abstract class TvRemoteProvider {
    ctor public TvRemoteProvider(android.content.Context);
    method public void clearInputBridge(android.os.IBinder) throws java.lang.RuntimeException;
    method public void closeInputBridge(android.os.IBinder) throws java.lang.RuntimeException;
    method public android.os.IBinder getBinder();
    method public final android.content.Context getContext();
    method public void onInputBridgeConnected(android.os.IBinder);
    method public void openRemoteInputBridge(android.os.IBinder, java.lang.String, int, int, int) throws java.lang.RuntimeException;
    method public void sendKeyDown(android.os.IBinder, int) throws java.lang.RuntimeException;
    method public void sendKeyUp(android.os.IBinder, int) throws java.lang.RuntimeException;
    method public void sendPointerDown(android.os.IBinder, int, int, int) throws java.lang.RuntimeException;
    method public void sendPointerSync(android.os.IBinder) throws java.lang.RuntimeException;
    method public void sendPointerUp(android.os.IBinder, int) throws java.lang.RuntimeException;
    method public void sendTimestamp(android.os.IBinder, long) throws java.lang.RuntimeException;
    field public static final java.lang.String SERVICE_INTERFACE = "com.android.media.tv.remoteprovider.TvRemoteProvider";
  }

}
+0 −0

Empty file added.

+0 −0

Empty file added.

Loading