summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/com/android/server/FgThread.java (renamed from services/core/java/com/android/server/FgThread.java)2
-rw-r--r--core/java/com/android/server/ServiceThread.java (renamed from services/core/java/com/android/server/ServiceThread.java)2
-rw-r--r--core/java/com/android/server/servicewatcher/CurrentUserServiceSupplier.java (renamed from services/core/java/com/android/server/servicewatcher/CurrentUserServiceSupplier.java)2
-rw-r--r--core/java/com/android/server/servicewatcher/OWNERS (renamed from services/core/java/com/android/server/servicewatcher/OWNERS)0
-rw-r--r--core/java/com/android/server/servicewatcher/ServiceWatcher.java (renamed from services/core/java/com/android/server/servicewatcher/ServiceWatcher.java)4
-rw-r--r--core/java/com/android/server/servicewatcher/ServiceWatcherImpl.java (renamed from services/core/java/com/android/server/servicewatcher/ServiceWatcherImpl.java)2
6 files changed, 11 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/FgThread.java b/core/java/com/android/server/FgThread.java
index b4b6e3f1c3c1..f54ee5e70265 100644
--- a/services/core/java/com/android/server/FgThread.java
+++ b/core/java/com/android/server/FgThread.java
@@ -30,6 +30,8 @@ import java.util.concurrent.Executor;
* relatively long-running operations like saving state to disk (in addition to
* simply being a background priority), which can cause operations scheduled on it
* to be delayed for a user-noticeable amount of time.
+ *
+ * @hide
*/
public final class FgThread extends ServiceThread {
private static final long SLOW_DISPATCH_THRESHOLD_MS = 100;
diff --git a/services/core/java/com/android/server/ServiceThread.java b/core/java/com/android/server/ServiceThread.java
index 6d8e49c7c869..0eff1fca1e25 100644
--- a/services/core/java/com/android/server/ServiceThread.java
+++ b/core/java/com/android/server/ServiceThread.java
@@ -24,6 +24,8 @@ import android.os.StrictMode;
/**
* Special handler thread that we create for system services that require their own loopers.
+ *
+ * @hide
*/
public class ServiceThread extends HandlerThread {
private static final String TAG = "ServiceThread";
diff --git a/services/core/java/com/android/server/servicewatcher/CurrentUserServiceSupplier.java b/core/java/com/android/server/servicewatcher/CurrentUserServiceSupplier.java
index 152623090314..e8aeb8653d06 100644
--- a/services/core/java/com/android/server/servicewatcher/CurrentUserServiceSupplier.java
+++ b/core/java/com/android/server/servicewatcher/CurrentUserServiceSupplier.java
@@ -63,6 +63,8 @@ import java.util.Objects;
* <p>Optionally, two permissions may be specified: (1) a caller permission - any service that does
* not require callers to hold this permission is rejected (2) a service permission - any service
* whose package does not hold this permission is rejected.
+ *
+ * @hide
*/
public final class CurrentUserServiceSupplier extends BroadcastReceiver implements
ServiceSupplier<CurrentUserServiceSupplier.BoundServiceInfo> {
diff --git a/services/core/java/com/android/server/servicewatcher/OWNERS b/core/java/com/android/server/servicewatcher/OWNERS
index ced619f05f1d..ced619f05f1d 100644
--- a/services/core/java/com/android/server/servicewatcher/OWNERS
+++ b/core/java/com/android/server/servicewatcher/OWNERS
diff --git a/services/core/java/com/android/server/servicewatcher/ServiceWatcher.java b/core/java/com/android/server/servicewatcher/ServiceWatcher.java
index 56367180ec15..f3d13d368514 100644
--- a/services/core/java/com/android/server/servicewatcher/ServiceWatcher.java
+++ b/core/java/com/android/server/servicewatcher/ServiceWatcher.java
@@ -52,6 +52,8 @@ import java.util.Objects;
* whether any particular {@link BinderOperation} will succeed. Clients must ensure they do not rely
* on this, and instead use {@link ServiceListener} notifications as necessary to recover from
* failures.
+ *
+ * @hide
*/
public interface ServiceWatcher {
@@ -256,4 +258,4 @@ public interface ServiceWatcher {
* Dumps ServiceWatcher information.
*/
void dump(PrintWriter pw);
-} \ No newline at end of file
+}
diff --git a/services/core/java/com/android/server/servicewatcher/ServiceWatcherImpl.java b/core/java/com/android/server/servicewatcher/ServiceWatcherImpl.java
index b1782693480a..be0cd37b2ae4 100644
--- a/services/core/java/com/android/server/servicewatcher/ServiceWatcherImpl.java
+++ b/core/java/com/android/server/servicewatcher/ServiceWatcherImpl.java
@@ -46,6 +46,8 @@ import java.util.Objects;
* Implementation of ServiceWatcher. Keeping the implementation separate from the interface allows
* us to store the generic relationship between the service supplier and the service listener, while
* hiding the generics from clients, simplifying the API.
+ *
+ * @hide
*/
class ServiceWatcherImpl<TBoundServiceInfo extends BoundServiceInfo> implements ServiceWatcher,
ServiceChangedListener {