1// Signature format: 2.0 2package android { 3 4 public static final class Manifest.permission { 5 field public static final String CONTROL_AUTOMOTIVE_GNSS = "android.permission.CONTROL_AUTOMOTIVE_GNSS"; 6 field public static final String GET_INTENT_SENDER_INTENT = "android.permission.GET_INTENT_SENDER_INTENT"; 7 field public static final String MAKE_UID_VISIBLE = "android.permission.MAKE_UID_VISIBLE"; 8 } 9 10} 11 12package android.app { 13 14 @UiContext public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { 15 method public final boolean addDumpable(@NonNull android.util.Dumpable); 16 } 17 18 public class ActivityManager { 19 method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener); 20 method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener); 21 method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public boolean updateMccMncConfiguration(@NonNull String, @NonNull String); 22 } 23 24 public class AppOpsManager { 25 field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage"; 26 } 27 28 public class BroadcastOptions { 29 method @Deprecated public int getMaxManifestReceiverApiLevel(); 30 method @Deprecated public void setMaxManifestReceiverApiLevel(int); 31 } 32 33 public abstract class HomeVisibilityListener { 34 ctor public HomeVisibilityListener(); 35 method public abstract void onHomeVisibilityChanged(boolean); 36 } 37 38 public class NotificationManager { 39 method public boolean hasEnabledNotificationListener(@NonNull String, @NonNull android.os.UserHandle); 40 field public static final String ACTION_NOTIFICATION_LISTENER_ENABLED_CHANGED = "android.app.action.NOTIFICATION_LISTENER_ENABLED_CHANGED"; 41 } 42 43 public final class PendingIntent implements android.os.Parcelable { 44 method public boolean addCancelListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.PendingIntent.CancelListener); 45 method @RequiresPermission(android.Manifest.permission.GET_INTENT_SENDER_INTENT) public boolean intentFilterEquals(@Nullable android.app.PendingIntent); 46 method @NonNull @RequiresPermission(android.Manifest.permission.GET_INTENT_SENDER_INTENT) public java.util.List<android.content.pm.ResolveInfo> queryIntentComponents(int); 47 method public void removeCancelListener(@NonNull android.app.PendingIntent.CancelListener); 48 } 49 50 public static interface PendingIntent.CancelListener { 51 method public void onCanceled(@NonNull android.app.PendingIntent); 52 } 53 54 public class StatusBarManager { 55 method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean); 56 } 57 58} 59 60package android.app.admin { 61 62 public class DevicePolicyManager { 63 method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void acknowledgeNewUserDisclaimer(); 64 method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public android.os.UserHandle getLogoutUser(); 65 method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int logoutUser(); 66 field public static final String ACTION_SHOW_NEW_USER_DISCLAIMER = "android.app.action.SHOW_NEW_USER_DISCLAIMER"; 67 } 68 69} 70 71package android.content { 72 73 public abstract class ContentProvider implements android.content.ComponentCallbacks2 { 74 method @NonNull public static android.net.Uri createContentUriForUser(@NonNull android.net.Uri, @NonNull android.os.UserHandle); 75 } 76 77 public abstract class ContentResolver { 78 method @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public final void registerContentObserverAsUser(@NonNull android.net.Uri, boolean, @NonNull android.database.ContentObserver, @NonNull android.os.UserHandle); 79 } 80 81 public abstract class Context { 82 method @NonNull public android.os.UserHandle getUser(); 83 field public static final String PAC_PROXY_SERVICE = "pac_proxy"; 84 field public static final String TEST_NETWORK_SERVICE = "test_network"; 85 } 86 87 public class Intent implements java.lang.Cloneable android.os.Parcelable { 88 field public static final String ACTION_SETTING_RESTORED = "android.os.action.SETTING_RESTORED"; 89 field public static final String EXTRA_SETTING_NAME = "setting_name"; 90 field public static final String EXTRA_SETTING_NEW_VALUE = "new_value"; 91 field public static final String EXTRA_SETTING_PREVIOUS_VALUE = "previous_value"; 92 field public static final String EXTRA_SETTING_RESTORED_FROM_SDK_INT = "restored_from_sdk_int"; 93 } 94 95} 96 97package android.content.pm { 98 99 public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 100 method @NonNull public java.util.List<android.content.pm.SharedLibraryInfo> getSharedLibraryInfos(); 101 } 102 103 public abstract class PackageManager { 104 method @NonNull public String getPermissionControllerPackageName(); 105 method @NonNull public String getSdkSandboxPackageName(); 106 method @RequiresPermission(android.Manifest.permission.MAKE_UID_VISIBLE) public void makeUidVisible(int, int); 107 field public static final String EXTRA_VERIFICATION_ROOT_HASH = "android.content.pm.extra.VERIFICATION_ROOT_HASH"; 108 field public static final int MATCH_STATIC_SHARED_AND_SDK_LIBRARIES = 67108864; // 0x4000000 109 } 110 111} 112 113package android.hardware.usb { 114 115 public class UsbManager { 116 method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getGadgetHalVersion(); 117 method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbBandwidthMbps(); 118 method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbHalVersion(); 119 field public static final int GADGET_HAL_NOT_SUPPORTED = -1; // 0xffffffff 120 field public static final int GADGET_HAL_V1_0 = 10; // 0xa 121 field public static final int GADGET_HAL_V1_1 = 11; // 0xb 122 field public static final int GADGET_HAL_V1_2 = 12; // 0xc 123 field public static final int USB_DATA_TRANSFER_RATE_10G = 10240; // 0x2800 124 field public static final int USB_DATA_TRANSFER_RATE_20G = 20480; // 0x5000 125 field public static final int USB_DATA_TRANSFER_RATE_40G = 40960; // 0xa000 126 field public static final int USB_DATA_TRANSFER_RATE_5G = 5120; // 0x1400 127 field public static final int USB_DATA_TRANSFER_RATE_FULL_SPEED = 12; // 0xc 128 field public static final int USB_DATA_TRANSFER_RATE_HIGH_SPEED = 480; // 0x1e0 129 field public static final int USB_DATA_TRANSFER_RATE_LOW_SPEED = 2; // 0x2 130 field public static final int USB_DATA_TRANSFER_RATE_UNKNOWN = -1; // 0xffffffff 131 field public static final int USB_HAL_NOT_SUPPORTED = -1; // 0xffffffff 132 field public static final int USB_HAL_RETRY = -2; // 0xfffffffe 133 field public static final int USB_HAL_V1_0 = 10; // 0xa 134 field public static final int USB_HAL_V1_1 = 11; // 0xb 135 field public static final int USB_HAL_V1_2 = 12; // 0xc 136 field public static final int USB_HAL_V1_3 = 13; // 0xd 137 field public static final int USB_HAL_V2_0 = 20; // 0x14 138 } 139 140} 141 142package android.location { 143 144 public class LocationManager { 145 method @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public boolean injectLocation(@NonNull android.location.Location); 146 method @RequiresPermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS) public boolean isAutomotiveGnssSuspended(); 147 method @RequiresPermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS) public void setAutomotiveGnssSuspended(boolean); 148 } 149 150} 151 152package android.media { 153 154 public class AudioManager { 155 method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); 156 method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); 157 method @NonNull public java.util.List<android.bluetooth.BluetoothCodecConfig> getHwOffloadFormatsSupportedForA2dp(); 158 method @NonNull public java.util.List<android.bluetooth.BluetoothLeAudioCodecConfig> getHwOffloadFormatsSupportedForLeAudio(); 159 method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void handleBluetoothActiveDeviceChanged(@Nullable android.bluetooth.BluetoothDevice, @Nullable android.bluetooth.BluetoothDevice, @NonNull android.media.BluetoothProfileConnectionInfo); 160 method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setA2dpSuspended(boolean); 161 method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setBluetoothHeadsetProperties(@NonNull String, boolean, boolean); 162 method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setHfpEnabled(boolean); 163 method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setHfpSamplingRate(int); 164 method @RequiresPermission("android.permission.BLUETOOTH_STACK") public void setHfpVolume(int); 165 method public void setStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); 166 field public static final int FLAG_FROM_KEY = 4096; // 0x1000 167 } 168 169 public final class BluetoothProfileConnectionInfo implements android.os.Parcelable { 170 method @NonNull public static android.media.BluetoothProfileConnectionInfo createA2dpInfo(boolean, int); 171 method @NonNull public static android.media.BluetoothProfileConnectionInfo createA2dpSinkInfo(int); 172 method @NonNull public static android.media.BluetoothProfileConnectionInfo createHearingAidInfo(boolean); 173 method @NonNull public static android.media.BluetoothProfileConnectionInfo createLeAudioInfo(boolean, boolean); 174 method public int describeContents(); 175 method public int getProfile(); 176 method public int getVolume(); 177 method public boolean isLeOutput(); 178 method public boolean isSuppressNoisyIntent(); 179 method public void writeToParcel(@NonNull android.os.Parcel, int); 180 field @NonNull public static final android.os.Parcelable.Creator<android.media.BluetoothProfileConnectionInfo> CREATOR; 181 } 182 183 public class MediaMetadataRetriever implements java.lang.AutoCloseable { 184 field public static final int METADATA_KEY_VIDEO_CODEC_MIME_TYPE = 40; // 0x28 185 } 186 187 public class MediaServiceManager { 188 method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaCommunicationServiceRegisterer(); 189 method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaSessionServiceRegisterer(); 190 method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaTranscodingServiceRegisterer(); 191 } 192 193 public static final class MediaServiceManager.ServiceRegisterer { 194 method @Nullable public android.os.IBinder get(); 195 } 196 197} 198 199package android.media.session { 200 201 public static final class MediaController.PlaybackInfo implements android.os.Parcelable { 202 ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); 203 } 204 205 public final class MediaSession { 206 field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 207 } 208 209 public static final class MediaSession.Token implements android.os.Parcelable { 210 method public int getUid(); 211 } 212 213 public final class MediaSessionManager { 214 method public void addOnActiveSessionsChangedListener(@Nullable android.content.ComponentName, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnActiveSessionsChangedListener); 215 method public void dispatchMediaKeyEvent(@NonNull android.view.KeyEvent, boolean); 216 method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); 217 method public boolean dispatchMediaKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); 218 method public void dispatchVolumeKeyEvent(@NonNull android.view.KeyEvent, int, boolean); 219 method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); 220 method public void dispatchVolumeKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); 221 method @NonNull public java.util.List<android.media.session.MediaController> getActiveSessionsForUser(@Nullable android.content.ComponentName, @NonNull android.os.UserHandle); 222 method public void registerRemoteSessionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.RemoteSessionCallback); 223 method public void unregisterRemoteSessionCallback(@NonNull android.media.session.MediaSessionManager.RemoteSessionCallback); 224 field public static final int RESULT_MEDIA_KEY_HANDLED = 1; // 0x1 225 field public static final int RESULT_MEDIA_KEY_NOT_HANDLED = 0; // 0x0 226 } 227 228 public static interface MediaSessionManager.RemoteSessionCallback { 229 method public void onDefaultRemoteSessionChanged(@Nullable android.media.session.MediaSession.Token); 230 method public void onVolumeChanged(@NonNull android.media.session.MediaSession.Token, int); 231 } 232 233} 234 235package android.net { 236 237 public class LocalSocket implements java.io.Closeable { 238 ctor public LocalSocket(@NonNull java.io.FileDescriptor); 239 } 240 241 public class NetworkPolicyManager { 242 method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public int getMultipathPreference(@NonNull android.net.Network); 243 method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public int getRestrictBackgroundStatus(int); 244 method @Nullable @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public android.telephony.SubscriptionPlan getSubscriptionPlan(@NonNull android.net.NetworkTemplate); 245 method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidNetworkingBlocked(int, boolean); 246 method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidRestrictedOnMeteredNetworks(int); 247 method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyStatsProviderLimitReached(); 248 method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyStatsProviderWarningReached(); 249 method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public void registerNetworkPolicyCallback(@Nullable java.util.concurrent.Executor, @NonNull android.net.NetworkPolicyManager.NetworkPolicyCallback); 250 method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public void unregisterNetworkPolicyCallback(@NonNull android.net.NetworkPolicyManager.NetworkPolicyCallback); 251 } 252 253 public static interface NetworkPolicyManager.NetworkPolicyCallback { 254 method public default void onUidBlockedReasonChanged(int, int); 255 } 256 257 public class NetworkWatchlistManager { 258 method @Nullable public byte[] getWatchlistConfigHash(); 259 } 260 261 public class PacProxyManager { 262 method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void addPacProxyInstalledListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.PacProxyManager.PacProxyInstalledListener); 263 method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void removePacProxyInstalledListener(@NonNull android.net.PacProxyManager.PacProxyInstalledListener); 264 method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setCurrentProxyScriptUrl(@Nullable android.net.ProxyInfo); 265 } 266 267 public static interface PacProxyManager.PacProxyInstalledListener { 268 method public void onPacProxyInstalled(@Nullable android.net.Network, @NonNull android.net.ProxyInfo); 269 } 270 271 public final class Proxy { 272 method public static void setHttpProxyConfiguration(@Nullable android.net.ProxyInfo); 273 } 274 275 public class VpnManager { 276 field public static final int TYPE_VPN_LEGACY = 3; // 0x3 277 field public static final int TYPE_VPN_NONE = -1; // 0xffffffff 278 field public static final int TYPE_VPN_OEM = 4; // 0x4 279 field public static final int TYPE_VPN_PLATFORM = 2; // 0x2 280 field public static final int TYPE_VPN_SERVICE = 1; // 0x1 281 } 282 283} 284 285package android.net.netstats { 286 287 public class NetworkStatsDataMigrationUtils { 288 method @NonNull public static android.net.NetworkStatsCollection readPlatformCollection(@NonNull String, long) throws java.io.IOException; 289 field public static final String PREFIX_UID = "uid"; 290 field public static final String PREFIX_UID_TAG = "uid_tag"; 291 field public static final String PREFIX_XT = "xt"; 292 } 293 294} 295 296package android.os { 297 298 public final class BatteryStatsManager { 299 method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void reportNetworkInterfaceForTransports(@NonNull String, @NonNull int[]) throws java.lang.RuntimeException; 300 } 301 302 public class Binder implements android.os.IBinder { 303 method public final void markVintfStability(); 304 } 305 306 public class BluetoothServiceManager { 307 method @NonNull public android.os.BluetoothServiceManager.ServiceRegisterer getBluetoothManagerServiceRegisterer(); 308 } 309 310 public static class BluetoothServiceManager.ServiceNotFoundException extends java.lang.Exception { 311 ctor public BluetoothServiceManager.ServiceNotFoundException(@NonNull String); 312 } 313 314 public static final class BluetoothServiceManager.ServiceRegisterer { 315 method @Nullable public android.os.IBinder get(); 316 method @NonNull public android.os.IBinder getOrThrow() throws android.os.BluetoothServiceManager.ServiceNotFoundException; 317 method public void register(@NonNull android.os.IBinder); 318 method @Nullable public android.os.IBinder tryGet(); 319 } 320 321 public class Build { 322 method public static boolean isDebuggable(); 323 } 324 325 public static class Build.VERSION { 326 field public static final int DEVICE_INITIAL_SDK_INT; 327 } 328 329 public class IpcDataCache<Query, Result> { 330 ctor public IpcDataCache(int, @NonNull String, @NonNull String, @NonNull String, @NonNull android.os.IpcDataCache.QueryHandler<Query,Result>); 331 method public void disableForCurrentProcess(); 332 method public static void disableForCurrentProcess(@NonNull String); 333 method public void invalidateCache(); 334 method public static void invalidateCache(@NonNull String, @NonNull String); 335 method @Nullable public Result query(@NonNull Query); 336 field public static final String MODULE_BLUETOOTH = "bluetooth"; 337 } 338 339 public abstract static class IpcDataCache.QueryHandler<Q, R> { 340 ctor public IpcDataCache.QueryHandler(); 341 method @Nullable public abstract R apply(@NonNull Q); 342 method public boolean shouldBypassCache(@NonNull Q); 343 } 344 345 public interface Parcelable { 346 method public default int getStability(); 347 } 348 349 public class Process { 350 method public static final int getAppUidForSdkSandboxUid(int); 351 method public static final boolean isSdkSandboxUid(int); 352 method public static final int toSdkSandboxUid(int); 353 field public static final int NFC_UID = 1027; // 0x403 354 field public static final int VPN_UID = 1016; // 0x3f8 355 } 356 357 public final class ServiceManager { 358 method public static boolean isDeclared(@NonNull String); 359 method @Nullable public static android.os.IBinder waitForDeclaredService(@NonNull String); 360 } 361 362 public class StatsServiceManager { 363 method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer(); 364 method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer(); 365 method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer(); 366 } 367 368 public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception { 369 ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String); 370 } 371 372 public static final class StatsServiceManager.ServiceRegisterer { 373 method @Nullable public android.os.IBinder get(); 374 method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException; 375 } 376 377 public final class StrictMode { 378 method public static void noteUntaggedSocket(); 379 } 380 381 public class SystemConfigManager { 382 method @NonNull public java.util.List<android.content.ComponentName> getEnabledComponentOverrides(@NonNull String); 383 } 384 385 public final class Trace { 386 method public static void asyncTraceBegin(long, @NonNull String, int); 387 method public static void asyncTraceEnd(long, @NonNull String, int); 388 method public static boolean isTagEnabled(long); 389 method public static void traceBegin(long, @NonNull String); 390 method public static void traceCounter(long, @NonNull String, int); 391 method public static void traceEnd(long); 392 field public static final long TRACE_TAG_NETWORK = 2097152L; // 0x200000L 393 } 394 395} 396 397package android.os.storage { 398 399 public class StorageManager { 400 method public long computeStorageCacheBytes(@NonNull java.io.File); 401 method @Nullable public String getCloudMediaProvider(); 402 method public void notifyAppIoBlocked(@NonNull java.util.UUID, int, int, int); 403 method public void notifyAppIoResumed(@NonNull java.util.UUID, int, int, int); 404 method public void setCloudMediaProvider(@Nullable String); 405 field public static final int APP_IO_BLOCKED_REASON_TRANSCODING = 1; // 0x1 406 field public static final int APP_IO_BLOCKED_REASON_UNKNOWN = 0; // 0x0 407 } 408 409} 410 411package android.provider { 412 413 public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns { 414 method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public static java.util.Map<java.lang.String,java.util.List<android.content.ContentValues>> queryRawContactEntity(@NonNull android.content.ContentResolver, long); 415 } 416 417 public final class DeviceConfig { 418 field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager"; 419 field public static final String NAMESPACE_APP_STANDBY = "app_standby"; 420 field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; 421 } 422 423 public static final class Settings.Global extends android.provider.Settings.NameValueTable { 424 field public static final String BLE_SCAN_ALWAYS_AVAILABLE = "ble_scan_always_enabled"; 425 field public static final String BLE_SCAN_BACKGROUND_MODE = "ble_scan_background_mode"; 426 field public static final String BLE_SCAN_BALANCED_INTERVAL_MS = "ble_scan_balanced_interval_ms"; 427 field public static final String BLE_SCAN_BALANCED_WINDOW_MS = "ble_scan_balanced_window_ms"; 428 field public static final String BLE_SCAN_LOW_LATENCY_INTERVAL_MS = "ble_scan_low_latency_interval_ms"; 429 field public static final String BLE_SCAN_LOW_LATENCY_WINDOW_MS = "ble_scan_low_latency_window_ms"; 430 field public static final String BLE_SCAN_LOW_POWER_INTERVAL_MS = "ble_scan_low_power_interval_ms"; 431 field public static final String BLE_SCAN_LOW_POWER_WINDOW_MS = "ble_scan_low_power_window_ms"; 432 field public static final String BLUETOOTH_BTSNOOP_DEFAULT_MODE = "bluetooth_btsnoop_default_mode"; 433 field public static final String BLUETOOTH_CLASS_OF_DEVICE = "bluetooth_class_of_device"; 434 field public static final String BLUETOOTH_DISABLED_PROFILES = "bluetooth_disabled_profiles"; 435 } 436 437 public static final class Settings.Secure extends android.provider.Settings.NameValueTable { 438 field public static final String BLUETOOTH_ADDRESS = "bluetooth_address"; 439 field public static final String BLUETOOTH_ADDR_VALID = "bluetooth_addr_valid"; 440 field public static final String BLUETOOTH_NAME = "bluetooth_name"; 441 } 442 443} 444 445package android.telecom { 446 447 public abstract class ConnectionService extends android.app.Service { 448 method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.Connection onCreateUnknownConnection(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.telecom.ConnectionRequest); 449 } 450 451} 452 453package android.telephony { 454 455 public abstract class CellSignalStrength { 456 method public static int getNumSignalStrengthLevels(); 457 } 458 459 public class SubscriptionManager { 460 method public void addSubscriptionInfoRecord(@NonNull String, @Nullable String, int, int); 461 method public void removeSubscriptionInfoRecord(@NonNull String, int); 462 } 463 464 public class TelephonyManager { 465 method @NonNull public static int[] getAllNetworkTypes(); 466 } 467 468} 469 470package android.util { 471 472 public class AtomicFile { 473 ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); 474 } 475 476 public final class Log { 477 method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); 478 } 479 480 public final class Slog { 481 method public static int d(@Nullable String, @NonNull String); 482 method public static int d(@Nullable String, @NonNull String, @Nullable Throwable); 483 method public static int e(@Nullable String, @NonNull String); 484 method public static int e(@Nullable String, @NonNull String, @Nullable Throwable); 485 method public static int i(@Nullable String, @NonNull String); 486 method public static int i(@Nullable String, @NonNull String, @Nullable Throwable); 487 method public static int v(@Nullable String, @NonNull String); 488 method public static int v(@Nullable String, @NonNull String, @Nullable Throwable); 489 method public static int w(@Nullable String, @NonNull String); 490 method public static int w(@Nullable String, @NonNull String, @Nullable Throwable); 491 method public static int w(@Nullable String, @Nullable Throwable); 492 method public static int wtf(@Nullable String, @NonNull String); 493 method public static int wtf(@Nullable String, @Nullable Throwable); 494 method public static int wtf(@Nullable String, @NonNull String, @Nullable Throwable); 495 method public static void wtfQuiet(@Nullable String, @NonNull String); 496 method public static int wtfStack(@Nullable String, @NonNull String); 497 } 498 499 public class SystemConfigFileCommitEventLogger { 500 ctor public SystemConfigFileCommitEventLogger(@NonNull String); 501 method public void setStartTime(long); 502 } 503 504} 505 506