summaryrefslogtreecommitdiff
path: root/libs/binder/aidl/android
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/aidl/android')
-rw-r--r--libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl22
-rw-r--r--libs/binder/aidl/android/content/pm/OWNERS3
-rw-r--r--libs/binder/aidl/android/os/IServiceManager.aidl25
-rw-r--r--libs/binder/aidl/android/os/ServiceDebugInfo.aidl32
4 files changed, 4 insertions, 78 deletions
diff --git a/libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl b/libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl
index c20d9f6645..dc8d74c052 100644
--- a/libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl
+++ b/libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl
@@ -101,26 +101,4 @@ interface IPackageManagerNative {
* This does nothing if this observer was not already registered.
*/
void unregisterPackageChangeObserver(in IPackageChangeObserver observer);
-
- /**
- * Returns true if the package has the SHA 256 version of the signing certificate.
- * @see PackageManager#hasSigningCertificate(String, byte[], int), where type
- * has been set to {@link PackageManager#CERT_INPUT_SHA256}.
- */
- boolean hasSha256SigningCertificate(in @utf8InCpp String packageName, in byte[] certificate);
-
- /**
- * Returns the debug flag for the given package.
- * Unknown packages will cause the call to fail.
- */
- boolean isPackageDebuggable(in String packageName);
-
- /**
- * Check whether the given feature name and version is one of the available
- * features as returned by {@link PackageManager#getSystemAvailableFeatures()}. Since
- * features are defined to always be backwards compatible, this returns true
- * if the available feature version is greater than or equal to the
- * requested version.
- */
- boolean hasSystemFeature(in String featureName, in int version);
}
diff --git a/libs/binder/aidl/android/content/pm/OWNERS b/libs/binder/aidl/android/content/pm/OWNERS
index 31005184bf..b99ca09674 100644
--- a/libs/binder/aidl/android/content/pm/OWNERS
+++ b/libs/binder/aidl/android/content/pm/OWNERS
@@ -1,5 +1,4 @@
narayan@google.com
patb@google.com
svetoslavganov@google.com
-toddke@google.com
-patb@google.com \ No newline at end of file
+toddke@google.com \ No newline at end of file
diff --git a/libs/binder/aidl/android/os/IServiceManager.aidl b/libs/binder/aidl/android/os/IServiceManager.aidl
index 75c4092559..ff154603e4 100644
--- a/libs/binder/aidl/android/os/IServiceManager.aidl
+++ b/libs/binder/aidl/android/os/IServiceManager.aidl
@@ -18,7 +18,6 @@ package android.os;
import android.os.IClientCallback;
import android.os.IServiceCallback;
-import android.os.ServiceDebugInfo;
/**
* Basic interface for finding and publishing system services.
@@ -43,9 +42,9 @@ interface IServiceManager {
*/
const int DUMP_FLAG_PRIORITY_DEFAULT = 1 << 3;
- const int DUMP_FLAG_PRIORITY_ALL =
- DUMP_FLAG_PRIORITY_CRITICAL | DUMP_FLAG_PRIORITY_HIGH
- | DUMP_FLAG_PRIORITY_NORMAL | DUMP_FLAG_PRIORITY_DEFAULT;
+ const int DUMP_FLAG_PRIORITY_ALL = 15;
+ // DUMP_FLAG_PRIORITY_CRITICAL | DUMP_FLAG_PRIORITY_HIGH
+ // | DUMP_FLAG_PRIORITY_NORMAL | DUMP_FLAG_PRIORITY_DEFAULT;
/* Allows services to dump sections in protobuf format. */
const int DUMP_FLAG_PROTO = 1 << 4;
@@ -100,19 +99,6 @@ interface IServiceManager {
boolean isDeclared(@utf8InCpp String name);
/**
- * Returns all declared instances for a particular interface.
- *
- * For instance, if 'android.foo.IFoo/foo' is declared, and 'android.foo.IFoo' is
- * passed here, then ["foo"] would be returned.
- */
- @utf8InCpp String[] getDeclaredInstances(@utf8InCpp String iface);
-
- /**
- * If updatable-via-apex, returns the APEX via which this is updated.
- */
- @nullable @utf8InCpp String updatableViaApex(@utf8InCpp String name);
-
- /**
* Request a callback when the number of clients of the service changes.
* Used by LazyServiceRegistrar to dynamically stop services that have no clients.
*/
@@ -122,9 +108,4 @@ interface IServiceManager {
* Attempt to unregister and remove a service. Will fail if the service is still in use.
*/
void tryUnregisterService(@utf8InCpp String name, IBinder service);
-
- /**
- * Get debug information for all currently registered services.
- */
- ServiceDebugInfo[] getServiceDebugInfo();
}
diff --git a/libs/binder/aidl/android/os/ServiceDebugInfo.aidl b/libs/binder/aidl/android/os/ServiceDebugInfo.aidl
deleted file mode 100644
index b95d222394..0000000000
--- a/libs/binder/aidl/android/os/ServiceDebugInfo.aidl
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2021 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 android.os;
-
-/**
- * Debug information associated with a registered service
- * @hide
- */
-parcelable ServiceDebugInfo {
- /**
- * Service name (see IServiceManager.addService/checkService/getService)
- */
- @utf8InCpp String name;
- /**
- * PID of service at the time of registration (may no longer be valid).
- */
- int debugPid;
-}