blob: 0320aabd719976e00ea2fa6d55890137c855ea34 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" final String component = Settings.Secure.getString(getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/dialog/AccessibilityButtonChooserActivity.java"
line="60"
column="42"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(context.getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/util/AccessibilityStatsLogUtils.java"
line="188"
column="32"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(context.getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/util/AccessibilityStatsLogUtils.java"
line="194"
column="32"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(context.getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/app/AssistUtils.java"
line="216"
column="24"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" * volume, false otherwise."
errorLine2=" ~~~~~~">
<location
file="frameworks/base/media/java/android/media/AudioManager.java"
line="1028"
column="22"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" public final boolean isEnabled() {"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="70"
column="38"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" public final String getRawLocale() {"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="81"
column="40"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getFloat()` called from system process. Please call `android.provider.Settings.Secure#getFloatForUser()` instead. "
errorLine1=" public final float getFontScale() {"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="111"
column="39"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" public int getRawUserStyle() {"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="120"
column="34"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" final int foregroundColor = Secure.getInt("
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="478"
column="24"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" final int backgroundColor = Secure.getInt("
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="480"
column="24"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" final int edgeType = Secure.getInt("
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="482"
column="17"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" final int edgeColor = Secure.getInt("
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="484"
column="18"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" final int windowColor = Secure.getInt("
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="486"
column="20"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" String rawTypeface = Secure.getString(cr, Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE);"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/CaptioningManager.java"
line="489"
column="17"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" String nearbyComponent = Settings.Secure.getString("
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/app/ChooserActivity.java"
line="1156"
column="26"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" final ContentResolver cr = context.getContentResolver();"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/display/ColorDisplayManager.java"
line="587"
column="40"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Secure.getInt(cr, Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0) == 1"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/display/ColorDisplayManager.java"
line="588"
column="68"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" int inversionEnabled = Settings.Secure.getInt(contentResolver,"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/security/ConfirmationPrompt.java"
line="220"
column="40"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getFloat()` called from system process. Please call `android.provider.Settings.System#getFloatForUser()` instead. "
errorLine1=" float fontScale = Settings.System.getFloat(contentResolver,"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/core/java/android/security/ConfirmationPrompt.java"
line="225"
column="35"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" int a11yEnabled = Settings.Secure.getInt(contentResolver,"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/security/ConfirmationPrompt.java"
line="237"
column="39"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" Secure.getInt(resolver, Secure.RELEASE_COMPRESS_BLOCKS_ON_INSTALL, 1) != 0;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/content/F2fsUtils.java"
line="96"
column="16"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" int speed = DEFAULT_POINTER_SPEED;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/input/InputManager.java"
line="865"
column="22"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" final ContentResolver contentResolver = fallbackContext.getContentResolver();"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/inputmethod/InputMethodManager.java"
line="2860"
column="60"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" if (mShowImeWithHardKeyboard == ShowImeWithHardKeyboardType.UNKNOWN) {"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/inputmethodservice/InputMethodService.java"
line="1205"
column="79"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" if (showImeWithHardKeyboardUri.equals(uri)) {"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/inputmethodservice/InputMethodService.java"
line="1225"
column="54"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" RemoteViews.MARGIN_BOTTOM, 0);"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/app/Notification.java"
line="5619"
column="29"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(context.getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/biometrics/ParentalControlsUtilsInternal.java"
line="40"
column="20"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(mContext.getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/policy/PhoneFallbackEventHandler.java"
line="328"
column="32"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" boolean isTvSetupComplete = Settings.Secure.getInt(getContext().getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java"
line="3129"
column="29"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" isTvSetupComplete &amp;= Settings.Secure.getInt(getContext().getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java"
line="3131"
column="22"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getString()` called from system process. Please call `android.provider.Settings.System#getStringForUser()` instead. "
errorLine1=" final String touchDataJson = Settings.System.getString("
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/app/PlatLogoActivity.java"
line="184"
column="58"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) == 1;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/service/quickaccesswallet/QuickAccessWalletClientImpl.java"
line="463"
column="8"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" String comp = Settings.Secure.getString(cr, Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT);"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/quickaccesswallet/QuickAccessWalletServiceInfo.java"
line="97"
column="23"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" final String setting = getDefaultRingtoneSetting(type);"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/media/java/android/media/RingtoneManager.java"
line="1105"
column="45"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" final String targetString = Settings.Secure.getString(context.getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/util/ShortcutUtils.java"
line="55"
column="45"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" final String targetsValue = Settings.Secure.getString(context.getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/util/ShortcutUtils.java"
line="82"
column="45"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" final String targetString = Settings.Secure.getString(context.getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/util/ShortcutUtils.java"
line="112"
column="45"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/speech/SpeechRecognizer.java"
line="665"
column="3"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" boolean cap = System.getInt(resolver, System.TEXT_AUTO_CAPS, 1) &gt; 0;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/text/method/TextKeyListener.java"
line="296"
column="30"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" boolean text = System.getInt(resolver, System.TEXT_AUTO_REPLACE, 1) &gt; 0;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/text/method/TextKeyListener.java"
line="297"
column="31"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) &gt; 0;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/text/method/TextKeyListener.java"
line="298"
column="33"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.System#getInt()` called from system process. Please call `android.provider.Settings.System#getIntForUser()` instead. "
errorLine1=" boolean pw = System.getInt(resolver, System.TEXT_SHOW_PASSWORD, 1) &gt; 0;"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/text/method/TextKeyListener.java"
line="299"
column="29"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(getContentResolver(), name, defaultValue);"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/android/speech/tts/TextToSpeechService.java"
line="422"
column="24"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" return Settings.Secure.getInt(getContext().getContentResolver(),"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/core/java/com/android/internal/accessibility/dialog/ToggleAllowListingFeatureTarget.java"
line="63"
column="24"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" String engine = getString(mContext.getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/speech/tts/TtsEngines.java"
line="116"
column="17"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE));"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/speech/tts/TtsEngines.java"
line="337"
column="9"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/speech/tts/TtsEngines.java"
line="373"
column="13"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" final String prefList = Settings.Secure.getString(mContext.getContentResolver(),"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/speech/tts/TtsEngines.java"
line="527"
column="41"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
errorLine1=" }"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/service/autofill/UserData.java"
line="535"
column="10"/>
</issue>
<issue
id="NonUserGetterCalled"
message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "
errorLine1=" public static boolean isActiveService(Context context, ComponentName service) {"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/voice/VoiceInteractionService.java"
line="156"
column="74"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getItemCount()` is a flagged API and should be inside an `if (Flags.collectionInfoItemCounts())` check (or annotate the surrounding method `writeToParcelNoRecycle` with `@FlaggedApi(Flags.FLAG_COLLECTION_INFO_ITEM_COUNTS) to transfer requirement to caller`)"
errorLine1=" parcel.writeInt(mCollectionInfo.getItemCount());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="4498"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getImportantForAccessibilityItemCount()` is a flagged API and should be inside an `if (Flags.collectionInfoItemCounts())` check (or annotate the surrounding method `writeToParcelNoRecycle` with `@FlaggedApi(Flags.FLAG_COLLECTION_INFO_ITEM_COUNTS) to transfer requirement to caller`)"
errorLine1=" parcel.writeInt(mCollectionInfo.getImportantForAccessibilityItemCount());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="4499"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isGranularScrollingSupported()` is a flagged API and should be inside an `if (Flags.granularScrolling())` check (or annotate the surrounding method `toString` with `@FlaggedApi(Flags.FLAG_GRANULAR_SCROLLING) to transfer requirement to caller`)"
errorLine1=" builder.append(&quot;; granularScrollingSupported: &quot;).append(isGranularScrollingSupported());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="5079"
column="65"/>
</issue>
<issue
id="FlaggedApi"
message="Field `UNDEFINED` is a flagged API and should be inside an `if (Flags.collectionInfoItemCounts())` check (or annotate the surrounding method `CollectionInfo` with `@FlaggedApi(Flags.FLAG_COLLECTION_INFO_ITEM_COUNTS) to transfer requirement to caller`)"
errorLine1=" mItemCount = UNDEFINED;"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="6211"
column="26"/>
</issue>
<issue
id="FlaggedApi"
message="Field `UNDEFINED` is a flagged API and should be inside an `if (Flags.collectionInfoItemCounts())` check (or annotate the surrounding method `CollectionInfo` with `@FlaggedApi(Flags.FLAG_COLLECTION_INFO_ITEM_COUNTS) to transfer requirement to caller`)"
errorLine1=" mImportantForAccessibilityItemCount = UNDEFINED;"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="6212"
column="51"/>
</issue>
<issue
id="FlaggedApi"
message="Field `UNDEFINED` is a flagged API and should be inside an `if (Flags.collectionInfoItemCounts())` check (or annotate the surrounding method `clear` with `@FlaggedApi(Flags.FLAG_COLLECTION_INFO_ITEM_COUNTS) to transfer requirement to caller`)"
errorLine1=" mItemCount = UNDEFINED;"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="6319"
column="26"/>
</issue>
<issue
id="FlaggedApi"
message="Field `UNDEFINED` is a flagged API and should be inside an `if (Flags.collectionInfoItemCounts())` check (or annotate the surrounding method `clear` with `@FlaggedApi(Flags.FLAG_COLLECTION_INFO_ITEM_COUNTS) to transfer requirement to caller`)"
errorLine1=" mImportantForAccessibilityItemCount = UNDEFINED;"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.java"
line="6320"
column="51"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="800"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="811"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="811"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="811"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="819"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="827"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
errorLine1=" @FlaggedApi(&quot;android.view.accessibility.a11y_overlay_callbacks&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityService.java"
line="827"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setObservedMotionEventSources()` is a flagged API and should be inside an `if (Flags.motionEventObserving())` check (or annotate the surrounding method `initFromParcel` with `@FlaggedApi(Flags.FLAG_MOTION_EVENT_OBSERVING) to transfer requirement to caller`)"
errorLine1=" setObservedMotionEventSources(parcel.readInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.java"
line="1420"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_WINDOW_CONTROL` is a flagged API and should be inside an `if (Flags.addTypeWindowControl())` check (or annotate the surrounding method `typeToString` with `@FlaggedApi(Flags.FLAG_ADD_TYPE_WINDOW_CONTROL) to transfer requirement to caller`)"
errorLine1=" if (Flags.addTypeWindowControl() &amp;&amp; type == TYPE_WINDOW_CONTROL) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.java"
line="883"
column="53"/>
</issue>
<issue
id="FlaggedApi"
message="Method `requestPermissions()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `requestPermissions` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" requestPermissions(permissions, requestCode, getDeviceId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/Activity.java"
line="5636"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Field `EXTRA_REQUEST_PERMISSIONS_DEVICE_ID` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `dispatchRequestPermissionsResult` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" PackageManager.EXTRA_REQUEST_PERMISSIONS_DEVICE_ID, Context.DEVICE_ID_DEFAULT"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/Activity.java"
line="9530"
column="32"/>
</issue>
<issue
id="FlaggedApi"
message="Method `onRequestPermissionsResult()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `dispatchRequestPermissionsResult` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" onRequestPermissionsResult(requestCode, permissions, grantResults, deviceId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/Activity.java"
line="9532"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `uptimeNanos()` is a flagged API and should be inside an `if (Flags.adpfGpuReportActualWorkDuration())` check (or annotate the surrounding method `handleBindApplication` with `@FlaggedApi(Flags.FLAG_ADPF_GPU_REPORT_ACTUAL_WORK_DURATION) to transfer requirement to caller`)"
errorLine1=" timestampApplicationOnCreateNs = SystemClock.uptimeNanos();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ActivityThread.java"
line="7503"
column="50"/>
</issue>
<issue
id="FlaggedApi"
message="Method `SeServiceManager()` is a flagged API and should be inside an `if (Flags.enableNfcMainline())` check (or annotate the surrounding method `initializeMainlineModules` with `@FlaggedApi(Flags.FLAG_ENABLE_NFC_MAINLINE) to transfer requirement to caller`)"
errorLine1=" SeFrameworkInitializer.setSeServiceManager(new SeServiceManager());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ActivityThread.java"
line="8725"
column="52"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setSeServiceManager()` is a flagged API and should be inside an `if (Flags.enableNfcMainline())` check (or annotate the surrounding method `initializeMainlineModules` with `@FlaggedApi(Flags.FLAG_ENABLE_NFC_MAINLINE) to transfer requirement to caller`)"
errorLine1=" SeFrameworkInitializer.setSeServiceManager(new SeServiceManager());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ActivityThread.java"
line="8725"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `ProfilingServiceManager()` is a flagged API and should be inside an `if (Flags.telemetryApisFrameworkInitialization())` check (or annotate the surrounding method `initializeMainlineModules` with `@FlaggedApi(Flags.FLAG_TELEMETRY_APIS_FRAMEWORK_INITIALIZATION) to transfer requirement to caller`)"
errorLine1=" ProfilingFrameworkInitializer.setProfilingServiceManager(new ProfilingServiceManager());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ActivityThread.java"
line="8727"
column="70"/>
</issue>
<issue
id="FlaggedApi"
message="Method `TvExtender()` is a flagged API and should be inside an `if (Flags.apiTvextender())` check (or annotate the surrounding method `createNotification` with `@FlaggedApi(Flags.FLAG_API_TVEXTENDER) to transfer requirement to caller`)"
errorLine1=" .extend(new Notification.TvExtender()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/debug/AdbNotifications.java"
line="95"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setChannelId()` is a flagged API and should be inside an `if (Flags.apiTvextender())` check (or annotate the surrounding method `createNotification` with `@FlaggedApi(Flags.FLAG_API_TVEXTENDER) to transfer requirement to caller`)"
errorLine1=" .extend(new Notification.TvExtender()"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/debug/AdbNotifications.java"
line="95"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isMgf1DigestsSpecified()` is a flagged API and should be inside an `if (Flags.mgf1DigestSetterV2())` check (or annotate the surrounding method `initialize` with `@FlaggedApi(Flags.FLAG_MGF1_DIGEST_SETTER_V2) to transfer requirement to caller`)"
errorLine1=" if (spec.isMgf1DigestsSpecified()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/keystore/java/android/security/keystore2/AndroidKeyStoreKeyPairGeneratorSpi.java"
line="346"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getMgf1Digests()` is a flagged API and should be inside an `if (Flags.mgf1DigestSetterV2())` check (or annotate the surrounding method `initialize` with `@FlaggedApi(Flags.FLAG_MGF1_DIGEST_SETTER_V2) to transfer requirement to caller`)"
errorLine1=" Set&lt;String> mgfDigests = spec.getMgf1Digests();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/keystore/java/android/security/keystore2/AndroidKeyStoreKeyPairGeneratorSpi.java"
line="349"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isMgf1DigestsSpecified()` is a flagged API and should be inside an `if (Flags.mgf1DigestSetterV2())` check (or annotate the surrounding method `setPrivateKeyEntry` with `@FlaggedApi(Flags.FLAG_MGF1_DIGEST_SETTER_V2) to transfer requirement to caller`)"
errorLine1=" if (spec.isMgf1DigestsSpecified()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/keystore/java/android/security/keystore2/AndroidKeyStoreSpi.java"
line="539"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getMgf1Digests()` is a flagged API and should be inside an `if (Flags.mgf1DigestSetterV2())` check (or annotate the surrounding method `setPrivateKeyEntry` with `@FlaggedApi(Flags.FLAG_MGF1_DIGEST_SETTER_V2) to transfer requirement to caller`)"
errorLine1=" for (String mgf1Digest : spec.getMgf1Digests()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/keystore/java/android/security/keystore2/AndroidKeyStoreSpi.java"
line="540"
column="50"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RCS_STRING` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" APN_TYPE_STRING_MAP.put(TYPE_RCS_STRING, TYPE_RCS);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="491"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RCS` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" APN_TYPE_STRING_MAP.put(TYPE_RCS_STRING, TYPE_RCS);"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="491"
column="50"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RCS_STRING` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" APN_TYPE_INT_MAP.put(TYPE_RCS, TYPE_RCS_STRING);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="509"
column="40"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RCS` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" APN_TYPE_INT_MAP.put(TYPE_RCS, TYPE_RCS_STRING);"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="509"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `MTU_V4` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `makeApnSetting` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" int mtuV4 = cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.MTU_V4));"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1075"
column="83"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setAlwaysOn()` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `makeApnSetting` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" return new Builder()"
errorLine2=" ^">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1080"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Field `MTU_V6` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `makeApnSetting` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" .setMtuV6(cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.MTU_V6)))"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1126"
column="89"/>
</issue>
<issue
id="FlaggedApi"
message="Field `ALWAYS_ON` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `makeApnSetting` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" .setAlwaysOn(cursor.getInt(cursor.getColumnIndexOrThrow(Carriers.ALWAYS_ON)) == 1)"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1137"
column="82"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setAlwaysOn()` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `makeApnSetting` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" return new Builder()"
errorLine2=" ^">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1151"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Field `MTU_V4` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `toContentValues` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" apnValue.put(Telephony.Carriers.MTU_V4, mMtuV4);"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1500"
column="41"/>
</issue>
<issue
id="FlaggedApi"
message="Field `MTU_V6` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `toContentValues` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" apnValue.put(Telephony.Carriers.MTU_V6, mMtuV6);"
errorLine2=" ~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1501"
column="41"/>
</issue>
<issue
id="FlaggedApi"
message="Field `ALWAYS_ON` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `toContentValues` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" apnValue.put(Telephony.Carriers.ALWAYS_ON, mAlwaysOn);"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1504"
column="41"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setAlwaysOn()` is a flagged API and should be inside an `if (Flags.apnSettingFieldSupportFlag())` check (or annotate the surrounding method `readFromParcel` with `@FlaggedApi(Flags.FLAG_APN_SETTING_FIELD_SUPPORT_FLAG) to transfer requirement to caller`)"
errorLine1=" return new Builder()"
errorLine2=" ^">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="1785"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RCS` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `build` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" | TYPE_XCAP | TYPE_VSIM | TYPE_BIP | TYPE_ENTERPRISE | TYPE_RCS)) == 0"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/ApnSetting.java"
line="2386"
column="76"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_ACCESS_RESTRICTED_SETTINGS` is a flagged API and should be inside an `if (Flags.enhancedConfirmationModeApisEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ENHANCED_CONFIRMATION_MODE_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" new AppOpInfo.Builder(OP_ACCESS_RESTRICTED_SETTINGS, OPSTR_ACCESS_RESTRICTED_SETTINGS,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="2983"
column="62"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_CREATE_ACCESSIBILITY_OVERLAY` is a flagged API and should be inside an `if (Flags.createAccessibilityOverlayAppOpEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CREATE_ACCESSIBILITY_OVERLAY_APP_OP_ENABLED) to transfer requirement to caller`)"
errorLine1=" OPSTR_CREATE_ACCESSIBILITY_OVERLAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3050"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_MEDIA_ROUTING_CONTROL` is a flagged API and should be inside an `if (Flags.enablePrivilegedRoutingForMediaRoutingControl())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ENABLE_PRIVILEGED_ROUTING_FOR_MEDIA_ROUTING_CONTROL) to transfer requirement to caller`)"
errorLine1=" new AppOpInfo.Builder(OP_MEDIA_ROUTING_CONTROL, OPSTR_MEDIA_ROUTING_CONTROL,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3053"
column="57"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_ENABLE_MOBILE_DATA_BY_USER` is a flagged API and should be inside an `if (Flags.opEnableMobileDataByUser())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_OP_ENABLE_MOBILE_DATA_BY_USER) to transfer requirement to caller`)"
errorLine1=" new AppOpInfo.Builder(OP_ENABLE_MOBILE_DATA_BY_USER, OPSTR_ENABLE_MOBILE_DATA_BY_USER,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3056"
column="62"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_RAPID_CLEAR_NOTIFICATIONS_BY_LISTENER` is a flagged API and should be inside an `if (Flags.rapidClearNotificationsByListenerAppOpEnabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_RAPID_CLEAR_NOTIFICATIONS_BY_LISTENER_APP_OP_ENABLED) to transfer requirement to caller`)"
errorLine1=" OPSTR_RAPID_CLEAR_NOTIFICATIONS_BY_LISTENER,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3061"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_EMERGENCY_LOCATION` is a flagged API and should be inside an `if (Flags.locationBypass())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_LOCATION_BYPASS) to transfer requirement to caller`)"
errorLine1=" new AppOpInfo.Builder(OP_EMERGENCY_LOCATION, OPSTR_EMERGENCY_LOCATION, &quot;EMERGENCY_LOCATION&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3077"
column="54"/>
</issue>
<issue
id="FlaggedApi"
message="Field `OPSTR_RECEIVE_SENSITIVE_NOTIFICATIONS` is a flagged API and should be inside an `if (Flags.redactSensitiveNotificationsFromUntrustedListeners())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_REDACT_SENSITIVE_NOTIFICATIONS_FROM_UNTRUSTED_LISTENERS) to transfer requirement to caller`)"
errorLine1=" OPSTR_RECEIVE_SENSITIVE_NOTIFICATIONS, &quot;RECEIVE_SENSITIVE_NOTIFICATIONS&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3083"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Field `PERSISTENT_DEVICE_ID_DEFAULT` is a flagged API and should be inside an `if (Flags.persistentDeviceIdApi())` check (or annotate the surrounding method `OpEventProxyInfo` with `@FlaggedApi(Flags.FLAG_PERSISTENT_DEVICE_ID_API) to transfer requirement to caller`)"
errorLine1=" VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="3550"
column="42"/>
</issue>
<issue
id="FlaggedApi"
message="Field `PERSISTENT_DEVICE_ID_DEFAULT` is a flagged API and should be inside an `if (Flags.persistentDeviceIdApi())` check (or annotate the surrounding method `onOpChanged` with `@FlaggedApi(Flags.FLAG_PERSISTENT_DEVICE_ID_API) to transfer requirement to caller`)"
errorLine1=" VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="7483"
column="42"/>
</issue>
<issue
id="FlaggedApi"
message="Field `PERSISTENT_DEVICE_ID_DEFAULT` is a flagged API and should be inside an `if (Flags.persistentDeviceIdApi())` check (or annotate the surrounding method `getPackagesForOps` with `@FlaggedApi(Flags.FLAG_PERSISTENT_DEVICE_ID_API) to transfer requirement to caller`)"
errorLine1=" VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="7891"
column="42"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `unsafeCheckOpRawNoThrow` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" attributionSource.getPackageName(), attributionSource.getDeviceId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="8848"
column="53"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `noteOpNoThrow` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" attributionSource.getAttributionTag(), attributionSource.getDeviceId(), message);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="9034"
column="56"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `checkOpNoThrow` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" attributionSource.getDeviceId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="9329"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `startOpNoThrow` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" attributionSource.getAttributionTag(), attributionSource.getDeviceId(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="9589"
column="56"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `finishOp` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" attributionSource.getDeviceId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AppOpsManager.java"
line="9842"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Field `EXTRA_REQUEST_PERMISSIONS_DEVICE_ID` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `buildRequestPermissionsIntent` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" intent.putExtra(EXTRA_REQUEST_PERMISSIONS_DEVICE_ID, mContext.getDeviceId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ApplicationPackageManager.java"
line="965"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `APP_METADATA_SOURCE_UNKNOWN` is a flagged API and should be inside an `if (Flags.aslInApkAppMetadataSource())` check (or annotate the surrounding method `getAppMetadataSource` with `@FlaggedApi(Flags.FLAG_ASL_IN_APK_APP_METADATA_SOURCE) to transfer requirement to caller`)"
errorLine1=" int source = PackageManager.APP_METADATA_SOURCE_UNKNOWN;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ApplicationPackageManager.java"
line="1283"
column="37"/>
</issue>
<issue
id="FlaggedApi"
message="Field `isArchived` is a flagged API and should be inside an `if (Flags.archiving())` check (or annotate the surrounding method `loadUnbadgedItemIcon` with `@FlaggedApi(Flags.FLAG_ARCHIVING) to transfer requirement to caller`)"
errorLine1=" if (itemInfo.isArchived) {"
errorLine2=" ~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ApplicationPackageManager.java"
line="3430"
column="26"/>
</issue>
<issue
id="FlaggedApi"
message="Method `ArchivedPackageInfo()` is a flagged API and should be inside an `if (Flags.archiving())` check (or annotate the surrounding method `getArchivedPackage` with `@FlaggedApi(Flags.FLAG_ARCHIVING) to transfer requirement to caller`)"
errorLine1=" return new ArchivedPackageInfo(parcel);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ApplicationPackageManager.java"
line="3995"
column="20"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getPendingCredentialRequest()` is a flagged API and should be inside an `if (Flags.autofillCredmanDevIntegration())` check (or annotate the surrounding method `dump` with `@FlaggedApi(Flags.FLAG_AUTOFILL_CREDMAN_DEV_INTEGRATION) to transfer requirement to caller`)"
errorLine1=" GetCredentialRequest getCredentialRequest = node.getPendingCredentialRequest();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/assist/AssistStructure.java"
line="2657"
column="53"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" this(uid, Process.INVALID_PID, packageName, attributionTag, sDefaultToken, null,"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="112"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" this(uid, Process.INVALID_PID, packageName, attributionTag, token,"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="126"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" this(uid, pid, packageName, attributionTag, token, /*renouncedPermissions*/ null,"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="133"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" this(uid, Process.INVALID_PID, packageName, attributionTag, sDefaultToken,"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="142"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" this(current.getUid(), current.getPid(), current.getPackageName(),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="150"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" current.mAttributionSourceState.renouncedPermissions, current.getDeviceId(), next);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="152"
column="71"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `AttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" this(uid, pid, packageName, attributionTag, sDefaultToken, renouncedPermissions, deviceId,"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="159"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withNextAttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" return new AttributionSource(getUid(), getPid(), getPackageName(), getAttributionTag(),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="212"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withNextAttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" getToken(), mAttributionSourceState.renouncedPermissions, getDeviceId(), next);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="213"
column="75"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withPackageName` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" return new AttributionSource(getUid(), getPid(), packageName, getAttributionTag(),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="218"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withPackageName` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" getToken(), mAttributionSourceState.renouncedPermissions, getDeviceId(), getNext());"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="219"
column="74"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withToken` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" return new AttributionSource(getUid(), getPid(), getPackageName(), getAttributionTag(),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="224"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withToken` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" token, mAttributionSourceState.renouncedPermissions, getDeviceId(), getNext());"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="225"
column="70"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withPid` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" return new AttributionSource(getUid(), pid, getPackageName(), getAttributionTag(),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="235"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withPid` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" getToken(), mAttributionSourceState.renouncedPermissions, getDeviceId(), getNext());"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="236"
column="75"/>
</issue>
<issue
id="FlaggedApi"
message="Method `AttributionSource()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `withDeviceId` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" return new AttributionSource(getUid(), getPid(), getPackageName(), getAttributionTag(),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="241"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setDeviceId()` is a flagged API and should be inside an `if (Flags.deviceAwarePermissionApisEnabled())` check (or annotate the surrounding method `myAttributionSource` with `@FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED) to transfer requirement to caller`)"
errorLine1=" return new AttributionSource.Builder(uid)"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="284"
column="20"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isRegisteredAttributionSource()` is a flagged API and should be inside an `if (Flags.shouldRegisterAttributionSource())` check (or annotate the surrounding method `isTrusted` with `@FlaggedApi(Flags.FLAG_SHOULD_REGISTER_ATTRIBUTION_SOURCE) to transfer requirement to caller`)"
errorLine1=" &amp;&amp; context.getSystemService(PermissionManager.class)"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/content/AttributionSource.java"
line="487"
column="20"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isResumed()` is a flagged API and should be inside an `if (Flags.enableNfcMainline())` check (or annotate the surrounding method `isDisablingEnterExitEventForAutofill` with `@FlaggedApi(Flags.FLAG_ENABLE_NFC_MAINLINE) to transfer requirement to caller`)"
errorLine1=" return mAutoFillIgnoreFirstResumePause || !mActivity.isResumed();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/autofill/AutofillClientController.java"
line="473"
column="52"/>
</issue>
<issue
id="FlaggedApi"
message="Field `FIELD_NAME` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `fieldsToString` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" if ((bitmask &amp; FIELD_NAME) != 0) {"
errorLine2=" ~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AutomaticZenRule.java"
line="582"
column="24"/>
</issue>
<issue
id="FlaggedApi"
message="Field `FIELD_INTERRUPTION_FILTER` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `fieldsToString` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" if ((bitmask &amp; FIELD_INTERRUPTION_FILTER) != 0) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AutomaticZenRule.java"
line="585"
column="24"/>
</issue>
<issue
id="FlaggedApi"
message="Field `FIELD_ICON` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `fieldsToString` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" if ((bitmask &amp; FIELD_ICON) != 0) {"
errorLine2=" ~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/AutomaticZenRule.java"
line="588"
column="24"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getFrameTimeNanos()` is a flagged API and should be inside an `if (Flags.expectedPresentationTimeApi())` check (or annotate the surrounding method `run` with `@FlaggedApi(Flags.FLAG_EXPECTED_PRESENTATION_TIME_API) to transfer requirement to caller`)"
errorLine1=" doConsumeBatchedInput(mChoreographer.getFrameTimeNanos());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/BatchedInputEventReceiver.java"
line="130"
column="39"/>
</issue>
<issue
id="FlaggedApi"
message="Method `Gainmap()` is a flagged API and should be inside an `if (Flags.gainmapConstructorWithMetadata())` check (or annotate the surrounding method `createBitmap` with `@FlaggedApi(Flags.FLAG_GAINMAP_CONSTRUCTOR_WITH_METADATA) to transfer requirement to caller`)"
errorLine1=" bitmap.setGainmap(new Gainmap(source.getGainmap(), newMapContents));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/graphics/java/android/graphics/Bitmap.java"
line="1030"
column="35"/>
</issue>
<issue
id="FlaggedApi"
message="Method `Gainmap()` is a flagged API and should be inside an `if (Flags.gainmapConstructorWithMetadata())` check (or annotate the surrounding method `setOverrideGainmap` with `@FlaggedApi(Flags.FLAG_GAINMAP_CONSTRUCTOR_WITH_METADATA) to transfer requirement to caller`)"
errorLine1=" mOverrideGainmap = new Gainmap(overrideGainmap, overrideGainmap.getGainmapContents());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/graphics/java/android/graphics/BitmapShader.java"
line="193"
column="32"/>
</issue>
<issue
id="FlaggedApi"
message="Method `set()` is a flagged API and should be inside an `if (Flags.fixLineHeightForLocale())` check (or annotate the surrounding method `isBoring` with `@FlaggedApi(Flags.FLAG_FIX_LINE_HEIGHT_FOR_LOCALE) to transfer requirement to caller`)"
errorLine1=" fm.set(minimumFontMetrics);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/text/BoringLayout.java"
line="594"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getUseBoundsForWidth()` is a flagged API and should be inside an `if (Flags.useBoundsForWidth())` check (or annotate the surrounding method `getLineMax` with `@FlaggedApi(Flags.FLAG_USE_BOUNDS_FOR_WIDTH) to transfer requirement to caller`)"
errorLine1=" if (getUseBoundsForWidth()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/text/BoringLayout.java"
line="658"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getUseBoundsForWidth()` is a flagged API and should be inside an `if (Flags.useBoundsForWidth())` check (or annotate the surrounding method `getLineWidth` with `@FlaggedApi(Flags.FLAG_USE_BOUNDS_FOR_WIDTH) to transfer requirement to caller`)"
errorLine1=" if (getUseBoundsForWidth()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/text/BoringLayout.java"
line="667"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getShiftDrawingOffsetForStartOverhang()` is a flagged API and should be inside an `if (Flags.useBoundsForWidth())` check (or annotate the surrounding method `draw` with `@FlaggedApi(Flags.FLAG_USE_BOUNDS_FOR_WIDTH) to transfer requirement to caller`)"
errorLine1=" if (getUseBoundsForWidth() &amp;&amp; getShiftDrawingOffsetForStartOverhang()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/text/BoringLayout.java"
line="720"
column="43"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getUseBoundsForWidth()` is a flagged API and should be inside an `if (Flags.useBoundsForWidth())` check (or annotate the surrounding method `draw` with `@FlaggedApi(Flags.FLAG_USE_BOUNDS_FOR_WIDTH) to transfer requirement to caller`)"
errorLine1=" if (getUseBoundsForWidth() &amp;&amp; getShiftDrawingOffsetForStartOverhang()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/text/BoringLayout.java"
line="720"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `createFromParcelBody()` is a flagged API and should be inside an `if (Flags.tiafVApis())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_TIAF_V_APIS) to transfer requirement to caller`)"
errorLine1=" return SignalingDataRequest.createFromParcelBody(source);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/media/java/android/media/tv/BroadcastInfoRequest.java"
line="89"
column="36"/>
</issue>
<issue
id="FlaggedApi"
message="Method `createFromParcelBody()` is a flagged API and should be inside an `if (Flags.tiafVApis())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_TIAF_V_APIS) to transfer requirement to caller`)"
errorLine1=" return SignalingDataResponse.createFromParcelBody(source);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/media/java/android/media/tv/BroadcastInfoResponse.java"
line="75"
column="36"/>
</issue>
<issue
id="FlaggedApi"
message="Field `BUGREPORT_MODE_ONBOARDING` is a flagged API and should be inside an `if (Flags.onboardingBugreportV2Enabled())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_ONBOARDING_BUGREPORT_V2_ENABLED) to transfer requirement to caller`)"
errorLine1=" public static final int BUGREPORT_MODE_MAX_VALUE = BUGREPORT_MODE_ONBOARDING;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/os/BugreportParams.java"
line="139"
column="56"/>
</issue>
<issue
id="FlaggedApi"
message="Field `PROPERTY_IS_TRANSACTIONAL` is a flagged API and should be inside an `if (Flags.voipAppActionsSupport())` check (or annotate the surrounding method `propertiesToString` with `@FlaggedApi(Flags.FLAG_VOIP_APP_ACTIONS_SUPPORT) to transfer requirement to caller`)"
errorLine1=" if (hasProperty(properties, PROPERTY_IS_TRANSACTIONAL)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/Call.java"
line="854"
column="41"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getImsReasonInfo()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `handleCallDisconnected` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" if (disconnectCause.getImsReasonInfo() != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/CallDiagnosticService.java"
line="365"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getImsReasonInfo()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `handleCallDisconnected` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" message = callDiagnostics.onCallDisconnected(disconnectCause.getImsReasonInfo());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/CallDiagnosticService.java"
line="366"
column="58"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getTelephonyDisconnectCause()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `handleCallDisconnected` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" disconnectCause.getTelephonyDisconnectCause(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/CallDiagnosticService.java"
line="369"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getTelephonyPreciseDisconnectCause()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `handleCallDisconnected` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" disconnectCause.getTelephonyPreciseDisconnectCause());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/CallDiagnosticService.java"
line="370"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `POLICY_TYPE_CAMERA` is a flagged API and should be inside an `if (Flags.virtualCamera())` check (or annotate the surrounding method `getDevicePolicyFromContext` with `@FlaggedApi(Flags.FLAG_VIRTUAL_CAMERA) to transfer requirement to caller`)"
errorLine1=" return virtualDeviceManager.getDevicePolicy(context.getDeviceId(), POLICY_TYPE_CAMERA);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/Camera.java"
line="350"
column="76"/>
</issue>
<issue
id="FlaggedApi"
message="Field `FALLBACK_PACKAGE_NAME` is a flagged API and should be inside an `if (Flags.concertMode())` check (or annotate the surrounding method `onSuccess` with `@FlaggedApi(Flags.FLAG_CONCERT_MODE) to transfer requirement to caller`)"
errorLine1=" .getString(FALLBACK_PACKAGE_NAME);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/CameraExtensionCharacteristics.java"
line="591"
column="36"/>
</issue>
<issue
id="FlaggedApi"
message="Field `POLICY_TYPE_CAMERA` is a flagged API and should be inside an `if (Flags.virtualCamera())` check (or annotate the surrounding method `getDevicePolicyFromContext` with `@FlaggedApi(Flags.FLAG_VIRTUAL_CAMERA) to transfer requirement to caller`)"
errorLine1=" return mVirtualDeviceManager.getDevicePolicy(context.getDeviceId(), POLICY_TYPE_CAMERA);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/CameraManager.java"
line="584"
column="77"/>
</issue>
<issue
id="FlaggedApi"
message="Method `CameraDeviceSetupImpl()` is a flagged API and should be inside an `if (Flags.cameraDeviceSetup())` check (or annotate the surrounding method `getCameraDeviceSetupUnsafe` with `@FlaggedApi(Flags.FLAG_CAMERA_DEVICE_SETUP) to transfer requirement to caller`)"
errorLine1=" return new CameraDeviceSetupImpl(cameraId, /*cameraManager=*/ this, mContext);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/CameraManager.java"
line="903"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isCameraDeviceSetupSupported()` is a flagged API and should be inside an `if (Flags.cameraDeviceSetup())` check (or annotate the surrounding method `openCameraDeviceUserAsync` with `@FlaggedApi(Flags.FLAG_CAMERA_DEVICE_SETUP) to transfer requirement to caller`)"
errorLine1=" &amp;&amp; CameraDeviceSetupImpl.isCameraDeviceSetupSupported(characteristics)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/CameraManager.java"
line="983"
column="24"/>
</issue>
<issue
id="FlaggedApi"
message="Class `DeviceStateManager` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `registerDeviceStateListener` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" ctx.getSystemService(DeviceStateManager.class).registerCallback("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/CameraManager.java"
line="2141"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Method `registerCallback()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `registerDeviceStateListener` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" ctx.getSystemService(DeviceStateManager.class).registerCallback("
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/hardware/camera2/CameraManager.java"
line="2141"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `STATISTICS_LENS_INTRINSICS_SAMPLES` is a flagged API and should be inside an `if (Flags.concertMode())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CONCERT_MODE) to transfer requirement to caller`)"
errorLine1=" CaptureResult.STATISTICS_LENS_INTRINSICS_SAMPLES.getNativeKey(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/impl/CameraMetadataNative.java"
line="856"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `STATISTICS_LENS_INTRINSICS_SAMPLES` is a flagged API and should be inside an `if (Flags.concertMode())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CONCERT_MODE) to transfer requirement to caller`)"
errorLine1=" CaptureResult.STATISTICS_LENS_INTRINSICS_SAMPLES.getNativeKey(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/camera2/impl/CameraMetadataNative.java"
line="2021"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_OVER_IMS_SUPPORTED_3GPP_NETWORK_TYPES_INT_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" KEY_EMERGENCY_OVER_IMS_SUPPORTED_3GPP_NETWORK_TYPES_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8054"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_OVER_IMS_ROAMING_SUPPORTED_3GPP_NETWORK_TYPES_INT_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" KEY_EMERGENCY_OVER_IMS_ROAMING_SUPPORTED_3GPP_NETWORK_TYPES_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8060"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_OVER_CS_SUPPORTED_ACCESS_NETWORK_TYPES_INT_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" KEY_EMERGENCY_OVER_CS_SUPPORTED_ACCESS_NETWORK_TYPES_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8066"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_OVER_CS_ROAMING_SUPPORTED_ACCESS_NETWORK_TYPES_INT_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" KEY_EMERGENCY_OVER_CS_ROAMING_SUPPORTED_ACCESS_NETWORK_TYPES_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8073"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_DOMAIN_PREFERENCE_INT_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putIntArray(KEY_EMERGENCY_DOMAIN_PREFERENCE_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8079"
column="34"/>
</issue>
<issue
id="FlaggedApi"
message="Field `DOMAIN_PS_3GPP` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" DOMAIN_PS_3GPP,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8081"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `DOMAIN_CS` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" DOMAIN_CS,"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8082"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `DOMAIN_PS_NON_3GPP` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" DOMAIN_PS_NON_3GPP"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8083"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_DOMAIN_PREFERENCE_ROAMING_INT_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putIntArray(KEY_EMERGENCY_DOMAIN_PREFERENCE_ROAMING_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8085"
column="34"/>
</issue>
<issue
id="FlaggedApi"
message="Field `DOMAIN_PS_3GPP` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" DOMAIN_PS_3GPP,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8087"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `DOMAIN_CS` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" DOMAIN_CS,"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8088"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `DOMAIN_PS_NON_3GPP` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" DOMAIN_PS_NON_3GPP"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8089"
column="25"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_PREFER_IMS_EMERGENCY_WHEN_VOICE_CALLS_ON_CS_BOOL` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_PREFER_IMS_EMERGENCY_WHEN_VOICE_CALLS_ON_CS_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8092"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_VOWIFI_REQUIRES_CONDITION_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_EMERGENCY_VOWIFI_REQUIRES_CONDITION_INT, VOWIFI_REQUIRES_NONE);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8093"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `VOWIFI_REQUIRES_NONE` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_EMERGENCY_VOWIFI_REQUIRES_CONDITION_INT, VOWIFI_REQUIRES_NONE);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8093"
column="74"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_MAXIMUM_NUMBER_OF_EMERGENCY_TRIES_OVER_VOWIFI_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_MAXIMUM_NUMBER_OF_EMERGENCY_TRIES_OVER_VOWIFI_INT, 1);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8094"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_SCAN_TIMER_SEC_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_EMERGENCY_SCAN_TIMER_SEC_INT, 10);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8095"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_MAXIMUM_CELLULAR_SEARCH_TIMER_SEC_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_MAXIMUM_CELLULAR_SEARCH_TIMER_SEC_INT, REDIAL_TIMER_DISABLED);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8096"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `REDIAL_TIMER_DISABLED` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_MAXIMUM_CELLULAR_SEARCH_TIMER_SEC_INT, REDIAL_TIMER_DISABLED);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8096"
column="72"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_NETWORK_SCAN_TYPE_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_EMERGENCY_NETWORK_SCAN_TYPE_INT, SCAN_TYPE_NO_PREFERENCE);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8097"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `SCAN_TYPE_NO_PREFERENCE` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_EMERGENCY_NETWORK_SCAN_TYPE_INT, SCAN_TYPE_NO_PREFERENCE);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8097"
column="66"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_CALL_SETUP_TIMER_ON_CURRENT_NETWORK_SEC_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_EMERGENCY_CALL_SETUP_TIMER_ON_CURRENT_NETWORK_SEC_INT, 0);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8098"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_REQUIRES_IMS_REGISTRATION_BOOL` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_EMERGENCY_REQUIRES_IMS_REGISTRATION_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8099"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_LTE_PREFERRED_AFTER_NR_FAILED_BOOL` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_EMERGENCY_LTE_PREFERRED_AFTER_NR_FAILED_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8100"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_REQUIRES_VOLTE_ENABLED_BOOL` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_EMERGENCY_REQUIRES_VOLTE_ENABLED_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8101"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_EMERGENCY_CDMA_PREFERRED_NUMBERS_STRING_ARRAY` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putStringArray(KEY_EMERGENCY_CDMA_PREFERRED_NUMBERS_STRING_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8102"
column="37"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_CROSS_STACK_REDIAL_TIMER_SEC_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_CROSS_STACK_REDIAL_TIMER_SEC_INT, 120);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8104"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_QUICK_CROSS_STACK_REDIAL_TIMER_SEC_INT` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_QUICK_CROSS_STACK_REDIAL_TIMER_SEC_INT, REDIAL_TIMER_DISABLED);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8105"
column="29"/>
</issue>
<issue
id="FlaggedApi"
message="Field `REDIAL_TIMER_DISABLED` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putInt(KEY_QUICK_CROSS_STACK_REDIAL_TIMER_SEC_INT, REDIAL_TIMER_DISABLED);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8105"
column="73"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_START_QUICK_CROSS_STACK_REDIAL_TIMER_WHEN_REGISTERED_BOOL` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_START_QUICK_CROSS_STACK_REDIAL_TIMER_WHEN_REGISTERED_BOOL,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8106"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SCAN_LIMITED_SERVICE_AFTER_VOLTE_FAILURE_BOOL` is a flagged API and should be inside an `if (Flags.useOemDomainSelectionService())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_USE_OEM_DOMAIN_SELECTION_SERVICE) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_SCAN_LIMITED_SERVICE_AFTER_VOLTE_FAILURE_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="8108"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SUPPORTS_IKE_SESSION_MULTIPLE_SA_PROPOSALS_BOOL` is a flagged API and should be inside an `if (Flags.enableMultipleSaProposals())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_ENABLE_MULTIPLE_SA_PROPOSALS) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_SUPPORTS_IKE_SESSION_MULTIPLE_SA_PROPOSALS_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="9405"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SUPPORTS_CHILD_SESSION_MULTIPLE_SA_PROPOSALS_BOOL` is a flagged API and should be inside an `if (Flags.enableMultipleSaProposals())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_ENABLE_MULTIPLE_SA_PROPOSALS) to transfer requirement to caller`)"
errorLine1=" defaults.putBoolean(KEY_SUPPORTS_CHILD_SESSION_MULTIPLE_SA_PROPOSALS_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="9406"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SUPPORTED_IKE_SESSION_AEAD_ALGORITHMS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.enableAeadAlgorithms())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_ENABLE_AEAD_ALGORITHMS) to transfer requirement to caller`)"
errorLine1=" KEY_SUPPORTED_IKE_SESSION_AEAD_ALGORITHMS_INT_ARRAY, new int[] {});"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="9422"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SUPPORTED_CHILD_SESSION_AEAD_ALGORITHMS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.enableAeadAlgorithms())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_ENABLE_AEAD_ALGORITHMS) to transfer requirement to caller`)"
errorLine1=" KEY_SUPPORTED_CHILD_SESSION_AEAD_ALGORITHMS_INT_ARRAY, new int[] {});"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="9427"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_IKE_SESSION_AES_GCM_KEY_SIZE_INT_ARRAY` is a flagged API and should be inside an `if (Flags.enableAeadAlgorithms())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_ENABLE_AEAD_ALGORITHMS) to transfer requirement to caller`)"
errorLine1=" KEY_IKE_SESSION_AES_GCM_KEY_SIZE_INT_ARRAY, new int[] {});"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="9477"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_CHILD_SESSION_AES_GCM_KEY_SIZE_INT_ARRAY` is a flagged API and should be inside an `if (Flags.enableAeadAlgorithms())` check (or annotate the surrounding method `getDefaults` with `@FlaggedApi(Flags.FLAG_ENABLE_AEAD_ALGORITHMS) to transfer requirement to caller`)"
errorLine1=" KEY_CHILD_SESSION_AES_GCM_KEY_SIZE_INT_ARRAY, new int[] {});"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="9479"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_ADDITIONAL_SETTINGS_CALLER_ID_VISIBILITY_BOOL` is a flagged API and should be inside an `if (Flags.showCallIdAndCallWaitingInAdditionalSettingsMenu())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_SHOW_CALL_ID_AND_CALL_WAITING_IN_ADDITIONAL_SETTINGS_MENU) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_ADDITIONAL_SETTINGS_CALLER_ID_VISIBILITY_BOOL, true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="10519"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_ADDITIONAL_SETTINGS_CALL_WAITING_VISIBILITY_BOOL` is a flagged API and should be inside an `if (Flags.showCallIdAndCallWaitingInAdditionalSettingsMenu())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_SHOW_CALL_ID_AND_CALL_WAITING_IN_ADDITIONAL_SETTINGS_MENU) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_ADDITIONAL_SETTINGS_CALL_WAITING_VISIBILITY_BOOL, true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="10520"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_PREFER_3G_VISIBILITY_BOOL` is a flagged API and should be inside an `if (Flags.hidePrefer3gItem())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_HIDE_PREFER_3G_ITEM) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_PREFER_3G_VISIBILITY_BOOL, true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="10526"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SHOW_ROAMING_INDICATOR_BOOL` is a flagged API and should be inside an `if (Flags.hideRoamingIcon())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_HIDE_ROAMING_ICON) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_SHOW_ROAMING_INDICATOR_BOOL, true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="10794"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_CARRIER_SUPPORTED_SATELLITE_SERVICES_PER_PROVIDER_BUNDLE` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" KEY_CARRIER_SUPPORTED_SATELLITE_SERVICES_PER_PROVIDER_BUNDLE,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11093"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SATELLITE_ATTACH_SUPPORTED_BOOL` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_SATELLITE_ATTACH_SUPPORTED_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11095"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SATELLITE_CONNECTION_HYSTERESIS_SEC_INT` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putInt(KEY_SATELLITE_CONNECTION_HYSTERESIS_SEC_INT, 300);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11096"
column="26"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_NTN_LTE_RSRP_THRESHOLDS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putIntArray(KEY_NTN_LTE_RSRP_THRESHOLDS_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11097"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_NTN_LTE_RSRQ_THRESHOLDS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putIntArray(KEY_NTN_LTE_RSRQ_THRESHOLDS_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11105"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_NTN_LTE_RSSNR_THRESHOLDS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putIntArray(KEY_NTN_LTE_RSSNR_THRESHOLDS_INT_ARRAY,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11113"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_PARAMETERS_USED_FOR_NTN_LTE_SIGNAL_BAR_INT` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putInt(KEY_PARAMETERS_USED_FOR_NTN_LTE_SIGNAL_BAR_INT,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11121"
column="26"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SATELLITE_ENTITLEMENT_STATUS_REFRESH_DAYS_INT` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putInt(KEY_SATELLITE_ENTITLEMENT_STATUS_REFRESH_DAYS_INT, 7);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11127"
column="26"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SATELLITE_ENTITLEMENT_SUPPORTED_BOOL` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_SATELLITE_ENTITLEMENT_SUPPORTED_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11128"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `SERVICE_TYPE_MMS` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" NetworkRegistrationInfo.SERVICE_TYPE_MMS"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11134"
column="49"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_SUPPORTS_BUSINESS_CALL_COMPOSER_BOOL` is a flagged API and should be inside an `if (Flags.businessCallComposer())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_BUSINESS_CALL_COMPOSER) to transfer requirement to caller`)"
errorLine1=" sDefaults.putBoolean(KEY_SUPPORTS_BUSINESS_CALL_COMPOSER_BOOL, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11142"
column="30"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_CELLULAR_SERVICE_CAPABILITIES_INT_ARRAY` is a flagged API and should be inside an `if (Flags.dataOnlyCellularService())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_DATA_ONLY_CELLULAR_SERVICE) to transfer requirement to caller`)"
errorLine1=" sDefaults.putIntArray(KEY_CELLULAR_SERVICE_CAPABILITIES_INT_ARRAY, new int[]{1, 2, 3});"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11233"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Class `TelephonyRegistryManager` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `registerCarrierConfigChangeListener` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" TelephonyRegistryManager trm = mContext.getSystemService(TelephonyRegistryManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11771"
column="66"/>
</issue>
<issue
id="FlaggedApi"
message="Method `addCarrierConfigChangedListener()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `registerCarrierConfigChangeListener` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" trm.addCarrierConfigChangedListener(executor, listener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11775"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Class `TelephonyRegistryManager` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `unregisterCarrierConfigChangeListener` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" TelephonyRegistryManager trm = mContext.getSystemService(TelephonyRegistryManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11789"
column="66"/>
</issue>
<issue
id="FlaggedApi"
message="Method `removeCarrierConfigChangedListener()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `unregisterCarrierConfigChangeListener` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" trm.removeCarrierConfigChangedListener(listener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CarrierConfigManager.java"
line="11793"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="This is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `notifyCarrierNetworkChange` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" (TelephonyRegistryManager) this.getSystemService("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/service/carrier/CarrierService.java"
line="180"
column="14"/>
</issue>
<issue
id="FlaggedApi"
message="Method `notifyCarrierNetworkChange()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `notifyCarrierNetworkChange` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" telephonyRegistryMgr.notifyCarrierNetworkChange(active);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/service/carrier/CarrierService.java"
line="183"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Class `TelephonyRegistryManager` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `notifyCarrierNetworkChange` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" TelephonyRegistryManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/service/carrier/CarrierService.java"
line="206"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `notifyCarrierNetworkChange()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `notifyCarrierNetworkChange` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" telephonyRegistryMgr.notifyCarrierNetworkChange(subscriptionId, active);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/service/carrier/CarrierService.java"
line="208"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isUsingNonTerrestrialNetwork()` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `updateLevel` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" if (ss != null &amp;&amp; ss.isUsingNonTerrestrialNetwork()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CellSignalStrengthLte.java"
line="266"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_PARAMETERS_USED_FOR_NTN_LTE_SIGNAL_BAR_INT` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `updateLevel` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" CarrierConfigManager.KEY_PARAMETERS_USED_FOR_NTN_LTE_SIGNAL_BAR_INT);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CellSignalStrengthLte.java"
line="269"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_NTN_LTE_RSRP_THRESHOLDS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `updateLevel` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" CarrierConfigManager.KEY_NTN_LTE_RSRP_THRESHOLDS_INT_ARRAY);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CellSignalStrengthLte.java"
line="271"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_NTN_LTE_RSRQ_THRESHOLDS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `updateLevel` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" CarrierConfigManager.KEY_NTN_LTE_RSRQ_THRESHOLDS_INT_ARRAY);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CellSignalStrengthLte.java"
line="273"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Field `KEY_NTN_LTE_RSSNR_THRESHOLDS_INT_ARRAY` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `updateLevel` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" CarrierConfigManager.KEY_NTN_LTE_RSSNR_THRESHOLDS_INT_ARRAY);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/CellSignalStrengthLte.java"
line="275"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getFrameTimeNanos()` is a flagged API and should be inside an `if (Flags.expectedPresentationTimeApi())` check (or annotate the surrounding method `getFrameTime` with `@FlaggedApi(Flags.FLAG_EXPECTED_PRESENTATION_TIME_API) to transfer requirement to caller`)"
errorLine1=" return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/view/Choreographer.java"
line="694"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `lockAnimationClock()` is a flagged API and should be inside an `if (Flags.expectedPresentationTimeReadOnly())` check (or annotate the surrounding method `doFrame` with `@FlaggedApi(Flags.FLAG_EXPECTED_PRESENTATION_TIME_READ_ONLY) to transfer requirement to caller`)"
errorLine1=" AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS,"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/view/Choreographer.java"
line="934"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Field `SOURCE_UNKNOWN` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `Condition` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" this(id, summary, &quot;&quot;, &quot;&quot;, -1, state, SOURCE_UNKNOWN, FLAG_RELEVANT_ALWAYS);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/notification/Condition.java"
line="138"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Method `Condition()` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `Condition` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" this(id, summary, &quot;&quot;, &quot;&quot;, -1, state, SOURCE_UNKNOWN, FLAG_RELEVANT_ALWAYS);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/notification/Condition.java"
line="138"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Field `SOURCE_UNKNOWN` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `Condition` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" this(id, summary, line1, line2, icon, state, SOURCE_UNKNOWN, flags);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/notification/Condition.java"
line="157"
column="54"/>
</issue>
<issue
id="FlaggedApi"
message="Method `Condition()` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `Condition` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" this(id, summary, line1, line2, icon, state, SOURCE_UNKNOWN, flags);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/notification/Condition.java"
line="157"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `Condition()` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `Condition` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" this((Uri)source.readParcelable(Condition.class.getClassLoader(), android.net.Uri.class),"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/service/notification/Condition.java"
line="192"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Field `SOURCE_UNKNOWN` is a flagged API and should be inside an `if (Flags.modesApi())` check (or annotate the surrounding method `Condition` with `@FlaggedApi(Flags.FLAG_MODES_API) to transfer requirement to caller`)"
errorLine1=" Flags.modesApi() ? source.readInt() : SOURCE_UNKNOWN,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/notification/Condition.java"
line="198"
column="55"/>
</issue>
<issue
id="FlaggedApi"
message="Method `onCreateConnectionComplete()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `notifyCreateConnectionComplete` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" onCreateConnectionComplete(findConnectionForAction(callId,"
errorLine2=" ^">
<location
file="frameworks/base/telecomm/java/android/telecom/ConnectionService.java"
line="2531"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `onCreateConferenceComplete()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `notifyCreateConferenceComplete` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" onCreateConferenceComplete(findConferenceForAction(callId,"
errorLine2=" ^">
<location
file="frameworks/base/telecomm/java/android/telecom/ConnectionService.java"
line="2548"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getCallDirection()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `addExistingConnection` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" connection.getCallDirection(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/ConnectionService.java"
line="3179"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Method `supportsReliableMessages()` is a flagged API and should be inside an `if (Flags.reliableMessage())` check (or annotate the surrounding method `equals` with `@FlaggedApi(Flags.FLAG_RELIABLE_MESSAGE) to transfer requirement to caller`)"
errorLine1=" || (other.supportsReliableMessages() == mSupportsReliableMessages))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/location/ContextHubInfo.java"
line="365"
column="33"/>
</issue>
<issue
id="FlaggedApi"
message="Method `isReliable()` is a flagged API and should be inside an `if (Flags.reliableMessage())` check (or annotate the surrounding method `onMessageFromNanoApp` with `@FlaggedApi(Flags.FLAG_RELIABLE_MESSAGE) to transfer requirement to caller`)"
errorLine1=" &amp;&amp; message.isReliable()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/location/ContextHubManager.java"
line="715"
column="44"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RELIABLE_MESSAGE` is a flagged API and should be inside an `if (Flags.reliableMessage())` check (or annotate the surrounding method `typeToString` with `@FlaggedApi(Flags.FLAG_RELIABLE_MESSAGE) to transfer requirement to caller`)"
errorLine1=" case ContextHubTransaction.TYPE_RELIABLE_MESSAGE: {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/location/ContextHubTransaction.java"
line="235"
column="40"/>
</issue>
<issue
id="FlaggedApi"
message="Method `shouldRegisterAttributionSource()` is a flagged API and should be inside an `if (Flags.shouldRegisterAttributionSource())` check (or annotate the surrounding method `ContextImpl` with `@FlaggedApi(Flags.FLAG_SHOULD_REGISTER_ATTRIBUTION_SOURCE) to transfer requirement to caller`)"
errorLine1=" params.getRenouncedPermissions(), params.shouldRegisterAttributionSource(), mDeviceId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/ContextImpl.java"
line="3540"
column="51"/>
</issue>
<issue
id="FlaggedApi"
message="Field `NETWORK_VALIDATION_UNSUPPORTED` is a flagged API and should be inside an `if (Flags.networkValidation())` check (or annotate the surrounding method `DataCallResponse` with `@FlaggedApi(Flags.FLAG_NETWORK_VALIDATION) to transfer requirement to caller`)"
errorLine1=" PreciseDataConnectionState.NETWORK_VALIDATION_UNSUPPORTED);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/DataCallResponse.java"
line="192"
column="44"/>
</issue>
<issue
id="FlaggedApi"
message="Field `NETWORK_VALIDATION_UNSUPPORTED` is a flagged API and should be inside an `if (Flags.networkValidation())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_NETWORK_VALIDATION) to transfer requirement to caller`)"
errorLine1=" PreciseDataConnectionState.NETWORK_VALIDATION_UNSUPPORTED;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/DataCallResponse.java"
line="655"
column="44"/>
</issue>
<issue
id="FlaggedApi"
message="Field `TYPE_RCS` is a flagged API and should be inside an `if (Flags.carrierEnabledSatelliteFlag())` check (or annotate the surrounding method `networkCapabilityToApnType` with `@FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" return ApnSetting.TYPE_RCS;"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/data/DataProfile.java"
line="435"
column="35"/>
</issue>
<issue
id="FlaggedApi"
message="Method `requestNetworkValidation()` is a flagged API and should be inside an `if (Flags.networkValidation())` check (or annotate the surrounding method `handleMessage` with `@FlaggedApi(Flags.FLAG_NETWORK_VALIDATION) to transfer requirement to caller`)"
errorLine1=" serviceProvider.requestNetworkValidation("
errorLine2=" ^">
<location
file="frameworks/base/telephony/java/android/telephony/data/DataService.java"
line="744"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Field `HEADLESS_DEVICE_OWNER_MODE_SINGLE_USER` is a flagged API and should be inside an `if (Flags.headlessDeviceOwnerSingleUserEnabled())` check (or annotate the surrounding method `DeviceAdminInfo` with `@FlaggedApi(Flags.FLAG_HEADLESS_DEVICE_OWNER_SINGLE_USER_ENABLED) to transfer requirement to caller`)"
errorLine1=" mHeadlessDeviceOwnerMode = HEADLESS_DEVICE_OWNER_MODE_SINGLE_USER;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java"
line="410"
column="52"/>
</issue>
<issue
id="FlaggedApi"
message="Field `CONTENT_PROTECTION_DISABLED` is a flagged API and should be inside an `if (Flags.manageDevicePolicyEnabled())` check (or annotate the surrounding method `getContentProtectionPolicy` with `@FlaggedApi(Flags.FLAG_MANAGE_DEVICE_POLICY_ENABLED) to transfer requirement to caller`)"
errorLine1=" return CONTENT_PROTECTION_DISABLED;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/app/admin/DevicePolicyCache.java"
line="105"
column="20"/>
</issue>
<issue
id="FlaggedApi"
message="Method `equals()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `equals` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" return baseState.equals(that.baseState)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="101"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `equals()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `equals` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" &amp;&amp; currentState.equals(that.currentState)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="102"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Method `equals()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `diff` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" if (!baseState.equals(other.baseState)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="120"
column="14"/>
</issue>
<issue
id="FlaggedApi"
message="Method `equals()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `diff` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" if (!currentState.equals(other.currentState)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="123"
column="14"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getConfiguration()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `writeToParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" dest.writeTypedObject(supportedStates.get(i).getConfiguration(), flags);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="133"
column="35"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getConfiguration()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `writeToParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" dest.writeTypedObject(baseState.getConfiguration(), flags);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="136"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getConfiguration()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `writeToParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" dest.writeTypedObject(currentState.getConfiguration(), flags);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="137"
column="31"/>
</issue>
<issue
id="FlaggedApi"
message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" DeviceState.Configuration.CREATOR);"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="152"
column="51"/>
</issue>
<issue
id="FlaggedApi"
message="Method `DeviceState()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" supportedStates.add(i, new DeviceState(configuration));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="153"
column="40"/>
</issue>
<issue
id="FlaggedApi"
message="Method `DeviceState()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" final DeviceState baseState = new DeviceState("
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="156"
column="43"/>
</issue>
<issue
id="FlaggedApi"
message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" source.readTypedObject(DeviceState.Configuration.CREATOR));"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="157"
column="70"/>
</issue>
<issue
id="FlaggedApi"
message="Method `DeviceState()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" final DeviceState currentState = new DeviceState("
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="158"
column="46"/>
</issue>
<issue
id="FlaggedApi"
message="Field `CREATOR` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `createFromParcel` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" source.readTypedObject(DeviceState.Configuration.CREATOR));"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateInfo.java"
line="159"
column="70"/>
</issue>
<issue
id="FlaggedApi"
message="Method `onSupportedStatesChanged()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `notifySupportedDeviceStatesChanged` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" mDeviceStateCallback.onSupportedStatesChanged(newSupportedDeviceStates));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateManagerGlobal.java"
line="393"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Method `onDeviceStateChanged()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `notifyDeviceStateChanged` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" () -> mDeviceStateCallback.onDeviceStateChanged(newDeviceState));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateManagerGlobal.java"
line="398"
column="27"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getConfiguration()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `calculateBaseStateIdentifier` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" DeviceState.Configuration stateConfiguration = currentState.getConfiguration();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="45"
column="56"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getConfiguration()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `calculateBaseStateIdentifier` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" if (stateToCompare.getConfiguration().getPhysicalProperties().isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="48"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getPhysicalProperties()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `calculateBaseStateIdentifier` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" if (stateToCompare.getConfiguration().getPhysicalProperties().isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="48"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getPhysicalProperties()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `calculateBaseStateIdentifier` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" if (isDeviceStateMatchingPhysicalProperties(stateConfiguration.getPhysicalProperties(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="51"
column="57"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getIdentifier()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `calculateBaseStateIdentifier` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" return supportedStates.get(i).getIdentifier();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="53"
column="24"/>
</issue>
<issue
id="FlaggedApi"
message="Field `INVALID_DEVICE_STATE_IDENTIFIER` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `calculateBaseStateIdentifier` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" return INVALID_DEVICE_STATE_IDENTIFIER;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="56"
column="16"/>
</issue>
<issue
id="FlaggedApi"
message="Method `hasProperty()` is a flagged API and should be inside an `if (Flags.deviceStatePropertyApi())` check (or annotate the surrounding method `isDeviceStateMatchingPhysicalProperties` with `@FlaggedApi(Flags.FLAG_DEVICE_STATE_PROPERTY_API) to transfer requirement to caller`)"
errorLine1=" if (!state.hasProperty(iterator.next())) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/hardware/devicestate/DeviceStateUtil.java"
line="69"
column="18"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getTelephonyDisconnectCause()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `equals` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" &amp;&amp; Objects.equals(mTelephonyDisconnectCause, d.getTelephonyDisconnectCause())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/DisconnectCause.java"
line="498"
column="66"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getTelephonyPreciseDisconnectCause()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `equals` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" d.getTelephonyPreciseDisconnectCause())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/DisconnectCause.java"
line="500"
column="21"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getImsReasonInfo()` is a flagged API and should be inside an `if (Flags.telecomResolveHiddenDependencies())` check (or annotate the surrounding method `equals` with `@FlaggedApi(Flags.FLAG_TELECOM_RESOLVE_HIDDEN_DEPENDENCIES) to transfer requirement to caller`)"
errorLine1=" &amp;&amp; Objects.equals(mImsReasonInfo, d.getImsReasonInfo());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telecomm/java/android/telecom/DisconnectCause.java"
line="501"
column="55"/>
</issue>
<issue
id="FlaggedApi"
message="Field `SATELLITE_ENABLED` is a flagged API and should be inside an `if (Flags.oemEnabledSatelliteFlag())` check (or annotate the surrounding method `toString` with `@FlaggedApi(Flags.FLAG_OEM_ENABLED_SATELLITE_FLAG) to transfer requirement to caller`)"
errorLine1=" case SATELLITE_ENABLED:"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/telephony/java/android/telephony/DisconnectCause.java"
line="550"
column="18"/>
</issue>
<issue
id="FlaggedApi"
message="Field `dreamCategory` is a flagged API and should be inside an `if (Flags.homePanelDream())` check (or annotate the surrounding method `DreamMetadata` with `@FlaggedApi(Flags.FLAG_HOME_PANEL_DREAM) to transfer requirement to caller`)"
errorLine1=" this.dreamCategory = DREAM_CATEGORY_DEFAULT;"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="frameworks/base/core/java/android/service/dreams/DreamService.java"
line="1825"
column="22"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setMinimumFontMetrics()` is a flagged API and should be inside an `if (Flags.fixLineHeightForLocale())` check (or annotate the surrounding method `reflow` with `@FlaggedApi(Flags.FLAG_FIX_LINE_HEIGHT_FOR_LOCALE) to transfer requirement to caller`)"
errorLine1=" b.setText(text, where, where + after)"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/text/DynamicLayout.java"
line="736"
column="9"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setShiftDrawingOffsetForStartOverhang()` is a flagged API and should be inside an `if (Flags.useBoundsForWidth())` check (or annotate the surrounding method `reflow` with `@FlaggedApi(Flags.FLAG_USE_BOUNDS_FOR_WIDTH) to transfer requirement to caller`)"
errorLine1=" b.setText(text, where, where + after)"
errorLine2=" ^">
<location
file="frameworks/base/core/java/android/text/DynamicLayout.java"
line="736"
column="9"/>