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

Commit 36f0db11 authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Enable IpcDataCache test mode for CTS" into main

parents a3eba21b 0ee930ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2498,6 +2498,7 @@ package android.os {
    method public static void invalidateCache(@NonNull String, @NonNull String);
    method public final boolean isDisabled();
    method @Nullable public Result query(@NonNull Query);
    method @FlaggedApi("android.os.ipc_data_cache_testmode_apis") public static void setCacheTestMode(boolean);
    method public static void setTestMode(boolean);
    field public static final String MODULE_BLUETOOTH = "bluetooth";
    field public static final String MODULE_SYSTEM = "system_server";
+1 −0
Original line number Diff line number Diff line
@@ -747,6 +747,7 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query,
     */
    @FlaggedApi(android.os.Flags.FLAG_IPC_DATA_CACHE_TESTMODE_APIS)
    @SystemApi(client=SystemApi.Client.MODULE_LIBRARIES)
    @TestApi
    public static void setCacheTestMode(boolean mode) {
        // Trunk-stable flagging requires that this API have a name different from the existing
        // setTestMode() API.  However, the functionality is identical.