/frameworks/base/tools/hiddenapi/ |
D | generate_hiddenapi_lists.py | 120 for flag in ALL_FLAGS: 121 ignore_conflicts_flag = flag + FLAG_IGNORE_CONFLICTS_SUFFIX 122 packages_flag = flag + FLAG_PACKAGES_SUFFIX 123 parser.add_argument('--' + flag, dest=flag, nargs='*', default=[], metavar='TXT_FILE', 124 help='lists of entries with flag "' + flag + '"') 127 help='lists of entries with flag "' + flag + 131 help='lists of packages to be added to ' + flag + ' list') 208 def convert_to_new_flag(self, flag): argument 221 return OLD_FLAGS_TO_NEW.get(flag, flag) 223 def convert_to_old_flag(self, flag): argument [all …]
|
/frameworks/base/core/java/android/net/ |
D | InterfaceConfiguration.java | 59 public boolean hasFlag(String flag) { in hasFlag() argument 60 validateFlag(flag); in hasFlag() 61 return mFlags.contains(flag); in hasFlag() 65 public void clearFlag(String flag) { in clearFlag() argument 66 validateFlag(flag); in clearFlag() 67 mFlags.remove(flag); in clearFlag() 71 public void setFlag(String flag) { in setFlag() argument 72 validateFlag(flag); in setFlag() 73 mFlags.add(flag); in setFlag() 158 for (String flag : mFlags) { in writeToParcel() [all …]
|
/frameworks/base/core/jni/ |
D | runtime_native_boot-flags-test.sh | 67 local flag=$2 71 local flag_value=$(adb shell device_config get "$namespace" "$flag") 73 || fail "Device configuration flag \`$flag\` set to \`$flag_value\` (expected \`$value\`)" 82 local flag=$2 85 local flag_value=$(adb shell device_config get "$namespace" "$flag") 87 || fail "Device configuration flag \`$flag\` set to \`$flag_value\` (expected `null`)" 205 local flag=$1 212 local prop="persist.device_config.$namespace.$flag" 214 banner "Testing \`$flag\` value \`$value\`." 217 adb shell device_config put "$namespace" "$flag" "$value" [all …]
|
/frameworks/base/tools/aapt2/cmd/ |
D | Command.cpp | 137 for (const Flag& flag : flags_) { in Usage() local 138 if (flag.is_required) { in Usage() 139 *out << " " << flag.name << " arg"; in Usage() 162 for (const Flag& flag : flags_) { in Usage() local 163 std::string argline = flag.name; in Usage() 164 if (flag.num_args > 0) { in Usage() 171 for (StringPiece line : util::Tokenize(flag.description, '\n')) { in Usage() 216 for (Flag& flag : flags_) { in Execute() 217 if (arg == flag.name) { in Execute() 218 if (flag.num_args > 0) { in Execute() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 902 public abstract void setLoadsImagesAutomatically(boolean flag); in setLoadsImagesAutomatically() argument 928 public abstract void setBlockNetworkImage(boolean flag); in setBlockNetworkImage() argument 955 public abstract void setBlockNetworkLoads(boolean flag); in setBlockNetworkLoads() argument 971 public abstract void setJavaScriptEnabled(boolean flag); in setJavaScriptEnabled() argument 993 public abstract void setAllowUniversalAccessFromFileURLs(boolean flag); in setAllowUniversalAccessFromFileURLs() argument 1016 public abstract void setAllowFileAccessFromFileURLs(boolean flag); in setAllowFileAccessFromFileURLs() argument 1028 public abstract void setPluginsEnabled(boolean flag); in setPluginsEnabled() argument 1095 public abstract void setAppCacheEnabled(boolean flag); in setAppCacheEnabled() argument 1135 public abstract void setDatabaseEnabled(boolean flag); in setDatabaseEnabled() argument 1142 public abstract void setDomStorageEnabled(boolean flag); in setDomStorageEnabled() argument [all …]
|
/frameworks/base/location/java/android/location/ |
D | FusedBatchOptions.java | 79 public void setFlag(int flag) { in setFlag() argument 80 mFlags |= flag; in setFlag() 83 public void resetFlag(int flag) { in resetFlag() argument 84 mFlags &= ~flag; in resetFlag() 87 public boolean isFlagSet(int flag) { in isFlagSet() argument 88 return (mFlags & flag) != 0; in isFlagSet()
|
D | GpsClock.java | 494 private void setFlag(short flag) { in setFlag() argument 495 mFlags |= flag; in setFlag() 498 private void resetFlag(short flag) { in resetFlag() argument 499 mFlags &= ~flag; in resetFlag() 502 private boolean isFlagSet(short flag) { in isFlagSet() argument 503 return (mFlags & flag) == flag; in isFlagSet()
|
D | GnssClock.java | 644 private void setFlag(int flag) { in setFlag() argument 645 mFlags |= flag; in setFlag() 648 private void resetFlag(int flag) { in resetFlag() argument 649 mFlags &= ~flag; in resetFlag() 652 private boolean isFlagSet(int flag) { in isFlagSet() argument 653 return (mFlags & flag) == flag; in isFlagSet()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | TunerSession.java | 204 public boolean isConfigFlagSupported(int flag) { in isConfigFlagSupported() argument 206 isConfigFlagSet(flag); in isConfigFlagSupported() 216 public boolean isConfigFlagSet(int flag) { in isConfigFlagSet() argument 217 Slog.v(TAG, "isConfigFlagSet " + ConfigFlag.toString(flag)); in isConfigFlagSet() 224 mHwSession.isConfigFlagSet(flag, (int result, boolean value) -> { in isConfigFlagSet() 229 throw new RuntimeException("Failed to check flag " + ConfigFlag.toString(flag), ex); in isConfigFlagSet() 238 public void setConfigFlag(int flag, boolean value) throws RemoteException { in setConfigFlag() argument 239 Slog.v(TAG, "setConfigFlag " + ConfigFlag.toString(flag) + " = " + value); in setConfigFlag() 242 int halResult = mHwSession.setConfigFlag(flag, value); in setConfigFlag()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | WifiCommand.java | 43 boolean flag = false; in run() 45 flag = true; in run() 48 flag = false; in run() 59 wifiMgr.setWifiEnabled("com.android.shell", flag); in run()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifModifier.java | 73 int flag = 0; in commit() local 83 flag |= ExifParser.OPTION_IFD_0; in commit() 86 flag |= ExifParser.OPTION_IFD_1; in commit() 89 flag |= ExifParser.OPTION_IFD_EXIF; in commit() 92 flag |= ExifParser.OPTION_IFD_GPS; in commit() 95 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit() 98 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 137 int flag = Font.LAYOUT_NO_LIMIT_CONTEXT | Font.LAYOUT_NO_START_CONTEXT; in renderText() local 138 flag |= isRtl ? Font.LAYOUT_RIGHT_TO_LEFT : Font.LAYOUT_LEFT_TO_RIGHT; in renderText() 139 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText() 150 private void renderScript(int start, int limit, Font preferredFont, int flag, in renderScript() argument 160 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); in renderScript() 165 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); in renderScript() 204 render(start, highestUpTo, bestFont, flag, advances, advancesIndex, draw); in renderScript() 215 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript() 233 private void render(int start, int limit, Font font, int flag, float[] advances, in render() argument 271 GlyphVector gv = font.layoutGlyphVector(frc, mText, start, limit, flag); in render()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 143 public static void addVisibilityFlag(final View view, final int flag) { in addVisibilityFlag() argument 146 view.setSystemUiVisibility(vis | flag); in addVisibilityFlag() 151 public static void addVisibilityFlag(final Window window, final int flag) { in addVisibilityFlag() argument 154 attrs.systemUiVisibility |= flag; in addVisibilityFlag() 163 public static void removeVisibilityFlag(final View view, final int flag) { in removeVisibilityFlag() argument 166 view.setSystemUiVisibility(vis & ~flag); in removeVisibilityFlag() 174 public static void removeVisibilityFlag(final Window window, final int flag) { in removeVisibilityFlag() argument 177 attrs.systemUiVisibility &= ~flag; in removeVisibilityFlag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentInflater.java | 62 @IntDef(flag = true, 179 public void updateInflationFlag(@InflationFlag int flag, boolean shouldInflate) { in updateInflationFlag() argument 181 mInflationFlags |= flag; in updateInflationFlag() 182 } else if ((REQUIRED_INFLATION_FLAGS & flag) == 0) { in updateInflationFlag() 183 mInflationFlags &= ~flag; in updateInflationFlag() 204 public boolean isInflationFlagSet(@InflationFlag int flag) { in isInflationFlagSet() argument 205 return ((mInflationFlags & flag) != 0); in isInflationFlagSet() 375 int flag = FLAG_CONTENT_VIEW_CONTRACTED; in apply() local 376 if ((reInflateFlags & flag) != 0) { in apply() 391 applyRemoteView(inflateSynchronously, result, reInflateFlags, flag, cachedContentViews, in apply() [all …]
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 539 int flag = View.SYSTEM_UI_FLAG_LOW_PROFILE; in setLowProfile() local 540 applySystemUiVisibilityFlags(mLowProfile ? flag : 0, flag); in setLowProfile() 564 int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() local 565 applyWindowFlags(mFullscreen ? flag : 0, flag); in setFullscreen() 586 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright() local 587 applyWindowFlags(mScreenBright ? flag : 0, flag); in setScreenBright() 1092 private boolean getWindowFlagValue(int flag, boolean defaultValue) { in getWindowFlagValue() argument 1093 return mWindow == null ? defaultValue : (mWindow.getAttributes().flags & flag) != 0; in getWindowFlagValue() 1105 private boolean getSystemUiVisibilityFlagValue(int flag, boolean defaultValue) { in getSystemUiVisibilityFlagValue() argument 1107 return v == null ? defaultValue : (v.getSystemUiVisibility() & flag) != 0; in getSystemUiVisibilityFlagValue()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | ITuner.aidl | 78 boolean isConfigFlagSupported(int flag); in isConfigFlagSupported() argument 79 boolean isConfigFlagSet(int flag); in isConfigFlagSet() argument 80 void setConfigFlag(int flag, boolean value); in setConfigFlag() argument
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFSegmentFactory.cpp | 24 ((*segment)->flag() & pFlagSet) == pFlagSet && in find() 25 ((*segment)->flag() & pFlagClear) == 0x0) { in find() 39 ((*segment)->flag() & pFlagSet) == pFlagSet && in find() 40 ((*segment)->flag() & pFlagClear) == 0x0) { in find()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | Tuner.java | 267 public boolean isConfigFlagSupported(int flag) { in isConfigFlagSupported() argument 268 return flag == RadioManager.CONFIG_FORCE_ANALOG; in isConfigFlagSupported() 272 public boolean isConfigFlagSet(int flag) { in isConfigFlagSet() argument 273 if (flag == RadioManager.CONFIG_FORCE_ANALOG) { in isConfigFlagSet() 283 public void setConfigFlag(int flag, boolean value) { in setConfigFlag() argument 284 if (flag == RadioManager.CONFIG_FORCE_ANALOG) { in setConfigFlag()
|
/frameworks/base/core/java/android/view/inspector/ |
D | IntFlagMapping.java | 54 for (Flag flag : mFlags) { in get() 55 if (flag.isEnabledFor(value)) { in get() 56 enabledFlagNames.add(flag.mName); in get()
|
/frameworks/base/core/java/android/os/ |
D | Parcelable.java | 63 @IntDef(flag = true, prefix = { "PARCELABLE_" }, value = { 97 @IntDef(flag = true, prefix = { "CONTENTS_" }, value = { 104 @IntDef(flag = true, prefix = { "PARCELABLE_STABILITY_" }, value = {
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffHelpers.h | 27 #define BAIL_ON_FAIL(x, flag) \ argument 28 if (((flag) = (x)) != OK) return flag;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowControllerTest.java | 85 int flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays() local 87 assertThat(flag).isNotEqualTo(0); in testSetDozing_hidesSystemOverlays() 92 flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays() 94 assertThat(flag).isEqualTo(0); in testSetDozing_hidesSystemOverlays()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanBeaconInfo.java | 136 public boolean isFlagSet(int flag) { in isFlagSet() argument 137 return mFlags.contains(flag); in isFlagSet() 158 for (Integer flag : mFlags) { in toString() 159 switch (flag.intValue()) { in toString() 164 sb.append(", FLAG_").append(Integer.toHexString(flag)); in toString()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | Decoder.cpp | 64 uint32_t flag = 0; in onInputAvailable() local 66 tie(bytesRead, flag, presentationTimeUs) = in onInputAvailable() 68 if (flag == AMEDIA_ERROR_MALFORMED) { in onInputAvailable() 69 mErrorCode = (media_status_t)flag; in onInputAvailable() 75 if (flag == AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM) mSawInputEOS = true; in onInputAvailable() 80 bytesRead, presentationTimeUs, flag); in onInputAvailable()
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
D | trace_creator.py | 246 flag = input("Enter hidden flag state (True/False): ") 248 return bool(flag) 251 flag = input("Enter opaque flag state (True/False): ") 253 return bool(flag) 256 flag = input("Enter secure flag state (True/False): ") 258 return bool(flag)
|