/frameworks/base/core/java/android/net/ |
H A D | InterfaceConfiguration.java | 52 public boolean hasFlag(String flag) { argument 53 validateFlag(flag); 54 return mFlags.contains(flag); 57 public void clearFlag(String flag) { argument 58 validateFlag(flag); 59 mFlags.remove(flag); 62 public void setFlag(String flag) { argument 63 validateFlag(flag); 64 mFlags.add(flag); 146 for (String flag 171 validateFlag(String flag) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Flags.cpp | 106 for (const Flag& flag : flags_) { 107 if (flag.required) { 108 *out << " " << flag.name << " arg"; 114 for (const Flag& flag : flags_) { 115 std::string argline = flag.name; 116 if (flag.num_args > 0) { 125 for (StringPiece line : util::Tokenize(flag.description, '\n')) { 151 for (Flag& flag : flags_) { 152 if (arg == flag.name) { 153 if (flag [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dct_16.h | 81 void pvmp3_dct_16(int32 vec[], int32 flag);
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
H A D | DataCommand.java | 43 boolean flag = false; 45 flag = true; 48 flag = false; 55 if (flag) {
|
H A D | WifiCommand.java | 43 boolean flag = false; 45 flag = true; 48 flag = false; 59 wifiMgr.setWifiEnabled("com.android.shell", flag);
|
/frameworks/base/core/java/android/webkit/ |
H A D | ServiceWorkerWebSettings.java | 79 * @param flag {@code true} means block network loads by the Service Workers 81 public abstract void setBlockNetworkLoads(boolean flag); argument
|
H A D | WebSettings.java | 852 * @param flag whether the WebView should load image resources 854 public abstract void setLoadsImagesAutomatically(boolean flag); argument 871 * will also prevent network images from loading, even if this flag is set 876 * @param flag whether the WebView should not load image resources from the 880 public abstract void setBlockNetworkImage(boolean flag); argument 904 * @param flag {@code true} means block network loads by the WebView 907 public abstract void setBlockNetworkLoads(boolean flag); argument 921 * @param flag {@code true} if the WebView should execute JavaScript 923 public abstract void setJavaScriptEnabled(boolean flag); argument 942 * @param flag whethe 945 setAllowUniversalAccessFromFileURLs(boolean flag) argument 968 setAllowFileAccessFromFileURLs(boolean flag) argument 980 setPluginsEnabled(boolean flag) argument 1044 setAppCacheEnabled(boolean flag) argument 1084 setDatabaseEnabled(boolean flag) argument 1091 setDomStorageEnabled(boolean flag) argument 1137 setGeolocationEnabled(boolean flag) argument 1211 setJavaScriptCanOpenWindowsAutomatically(boolean flag) argument 1276 setNeedInitialFocus(boolean flag) argument 1360 setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) argument [all...] |
/frameworks/base/core/java/android/hardware/radio/ |
H A D | ITuner.aidl | 78 boolean isConfigFlagSupported(int flag); 79 boolean isConfigFlagSet(int flag); 80 void setConfigFlag(int flag, boolean value);
|
H A D | RadioTuner.java | 341 * Checks, if a given config flag is supported 343 * @param flag Flag to check. 344 * @return True, if the flag is supported. 346 public boolean isConfigFlagSupported(@RadioManager.ConfigFlag int flag) { argument 351 * Fetches the current setting of a given config flag. 355 * @param flag Flag to fetch. 356 * @return The current value of the flag. 357 * @throws IllegalStateException if the flag is not applicable right now. 358 * @throws UnsupportedOperationException if the flag is not supported at all. 360 public boolean isConfigFlagSet(@RadioManager.ConfigFlag int flag) { argument 374 setConfigFlag(@adioManager.ConfigFlag int flag, boolean value) argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | FusedBatchOptions.java | 79 public void setFlag(int flag) { argument 80 mFlags |= flag; 83 public void resetFlag(int flag) { argument 84 mFlags &= ~flag; 87 public boolean isFlagSet(int flag) { argument 88 return (mFlags & flag) != 0; 96 * Definition of enum flag sets needed by this class.
|
H A D | GnssClock.java | 533 private void setFlag(int flag) { argument 534 mFlags |= flag; 537 private void resetFlag(int flag) { argument 538 mFlags &= ~flag; 541 private boolean isFlagSet(int flag) { argument 542 return (mFlags & flag) == flag;
|
H A D | GpsClock.java | 492 private void setFlag(short flag) { argument 493 mFlags |= flag; 496 private void resetFlag(short flag) { argument 497 mFlags &= ~flag; 500 private boolean isFlagSet(short flag) { argument 501 return (mFlags & flag) == flag;
|
/frameworks/base/core/java/android/annotation/ |
H A D | IntDef.java | 27 * named constants. If the {@link #flag()} attribute is set to true, 42 * For a flag, set the flag attribute: 45 * flag = true, 62 /** Defines whether the constants can be used as a flag, or just as an enum (the default) */ 63 boolean flag() default false;
|
H A D | LongDef.java | 27 * named constants. If the {@link #flag()} attribute is set to true, 42 * For a flag, set the flag attribute: 45 * flag = true, 60 /** Defines whether the constants can be used as a flag, or just as an enum (the default) */ 61 boolean flag() default false;
|
/frameworks/support/annotations/src/main/java/androidx/annotation/ |
H A D | IntDef.java | 27 * named constants. If the IntDef#flag() attribute is set to true, 43 * For a flag, set the flag attribute: 46 * flag = true, 58 /** Defines whether the constants can be used as a flag, or just as an enum (the default) */ 59 boolean flag() default false;
|
H A D | LongDef.java | 27 * named constants. If the LongDef#flag() attribute is set to true, 43 * For a flag, set the flag attribute: 46 * flag = true, 58 /** Defines whether the constants can be used as a flag, or just as an enum (the default) */ 59 boolean flag() default false;
|
/frameworks/base/core/java/android/os/ |
H A D | Parcelable.java | 62 @IntDef(flag = true, prefix = { "PARCELABLE_" }, value = { 82 * across its inner data members. This flag instructs the inner data 96 @IntDef(flag = true, prefix = { "CONTENTS_" }, value = {
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffHelpers.h | 27 #define BAIL_ON_FAIL(x, flag) \ 28 if (((flag) = (x)) != OK) return flag;
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
H A D | TunerSession.java | 184 public boolean isConfigFlagSupported(int flag) { argument 186 isConfigFlagSet(flag); 196 public boolean isConfigFlagSet(int flag) { argument 197 Slog.v(TAG, "isConfigFlagSet " + ConfigFlag.toString(flag)); 204 mHwSession.isConfigFlagSet(flag, (int result, boolean value) -> { 209 throw new RuntimeException("Failed to check flag " + ConfigFlag.toString(flag), ex); 218 public void setConfigFlag(int flag, boolean value) throws RemoteException { argument 219 Slog.v(TAG, "setConfigFlag " + ConfigFlag.toString(flag) + " = " + value); 222 int halResult = mHwSession.setConfigFlag(flag, valu [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFSegmentFactory.cpp | 24 ((*segment)->flag() & pFlagSet) == pFlagSet && 25 ((*segment)->flag() & pFlagClear) == 0x0) { 39 ((*segment)->flag() & pFlagSet) == pFlagSet && 40 ((*segment)->flag() & pFlagClear) == 0x0) {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | SystemBarHelper.java | 92 * specify {@link View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN} flag so that the content is laid-out 144 * Convenience method to add a visibility flag in addition to the existing ones. 146 public static void addVisibilityFlag(final View view, final int flag) { argument 149 view.setSystemUiVisibility(vis | flag); 154 * Convenience method to add a visibility flag in addition to the existing ones. 156 public static void addVisibilityFlag(final Window window, final int flag) { argument 159 attrs.systemUiVisibility |= flag; 165 * Convenience method to remove a visibility flag from the view, leaving other flags that are 168 public static void removeVisibilityFlag(final View view, final int flag) { argument 171 view.setSystemUiVisibility(vis & ~flag); 179 removeVisibilityFlag(final Window window, final int flag) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/content/pm/ |
H A D | PermissionInfoCompat.java | 38 @IntDef(flag = false, value = { 50 @IntDef(flag = true, value = {
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | FileSystem.inc | 163 int prot, flag; 167 flag = MAP_FILE | MAP_PRIVATE; 171 flag = MAP_FILE | MAP_SHARED; 175 flag = MAP_FILE | MAP_SHARED; 182 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 137 int flag = Font.LAYOUT_NO_LIMIT_CONTEXT | Font.LAYOUT_NO_START_CONTEXT; 138 flag |= isRtl ? Font.LAYOUT_RIGHT_TO_LEFT : Font.LAYOUT_LEFT_TO_RIGHT; 139 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); 150 private void renderScript(int start, int limit, Font preferredFont, int flag, argument 161 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); 166 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); 184 render(start, start+charCount, font, flag, advances, advancesIndex, draw); 196 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, 213 private void render(int start, int limit, Font font, int flag, float[] advances, argument 251 GlyphVector gv = font.layoutGlyphVector(frc, mText, start, limit, flag); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifModifier.java | 73 int flag = 0; 83 flag |= ExifParser.OPTION_IFD_0; 86 flag |= ExifParser.OPTION_IFD_1; 89 flag |= ExifParser.OPTION_IFD_EXIF; 92 flag |= ExifParser.OPTION_IFD_GPS; 95 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; 98 ExifParser parser = ExifParser.parse(is, flag, mInterface);
|