Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/frameworks/base/tools/hiddenapi/
Dgenerate_hiddenapi_lists.py97 for flag in ALL_FLAGS:
98 ignore_conflicts_flag = flag + FLAG_IGNORE_CONFLICTS_SUFFIX
99 packages_flag = flag + FLAG_PACKAGES_SUFFIX
100 parser.add_argument('--' + flag, dest=flag, nargs='*', default=[], metavar='TXT_FILE',
101 help='lists of entries with flag "' + flag + '"')
104 help='lists of entries with flag "' + flag +
108 help='lists of packages to be added to ' + flag + ' list')
246 def assign_flag(self, flag, apis, source="<unknown>"): argument
261 self._check_flags_set(set([ flag ]), source)
265 self._dict[api].add(flag)
[all …]
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java57 public boolean hasFlag(String flag) { in hasFlag() argument
58 validateFlag(flag); in hasFlag()
59 return mFlags.contains(flag); in hasFlag()
63 public void clearFlag(String flag) { in clearFlag() argument
64 validateFlag(flag); in clearFlag()
65 mFlags.remove(flag); in clearFlag()
69 public void setFlag(String flag) { in setFlag() argument
70 validateFlag(flag); in setFlag()
71 mFlags.add(flag); in setFlag()
156 for (String flag : mFlags) { in writeToParcel()
[all …]
/frameworks/base/core/jni/
Druntime_native_boot-flags-test.sh67 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/
DCommand.cpp137 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/
DWebSettings.java895 public abstract void setLoadsImagesAutomatically(boolean flag); in setLoadsImagesAutomatically() argument
921 public abstract void setBlockNetworkImage(boolean flag); in setBlockNetworkImage() argument
948 public abstract void setBlockNetworkLoads(boolean flag); in setBlockNetworkLoads() argument
964 public abstract void setJavaScriptEnabled(boolean flag); in setJavaScriptEnabled() argument
986 public abstract void setAllowUniversalAccessFromFileURLs(boolean flag); in setAllowUniversalAccessFromFileURLs() argument
1009 public abstract void setAllowFileAccessFromFileURLs(boolean flag); in setAllowFileAccessFromFileURLs() argument
1021 public abstract void setPluginsEnabled(boolean flag); in setPluginsEnabled() argument
1088 public abstract void setAppCacheEnabled(boolean flag); in setAppCacheEnabled() argument
1128 public abstract void setDatabaseEnabled(boolean flag); in setDatabaseEnabled() argument
1135 public abstract void setDomStorageEnabled(boolean flag); in setDomStorageEnabled() argument
[all …]
/frameworks/base/location/java/android/location/
DFusedBatchOptions.java79 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()
DGpsClock.java492 private void setFlag(short flag) { in setFlag() argument
493 mFlags |= flag; in setFlag()
496 private void resetFlag(short flag) { in resetFlag() argument
497 mFlags &= ~flag; in resetFlag()
500 private boolean isFlagSet(short flag) { in isFlagSet() argument
501 return (mFlags & flag) == flag; in isFlagSet()
DGnssClock.java644 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/
DTunerSession.java204 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/
DDataCommand.java43 boolean flag = false; in run()
45 flag = true; in run()
48 flag = false; in run()
55 if (flag) { in run()
DWifiCommand.java43 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/
DExifModifier.java73 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java143 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/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java137 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java69 @IntDef(flag = true,
197 public void updateInflationFlag(@InflationFlag int flag, boolean shouldInflate) { in updateInflationFlag() argument
199 mInflationFlags |= flag; in updateInflationFlag()
200 } else if ((REQUIRED_INFLATION_FLAGS & flag) == 0) { in updateInflationFlag()
201 mInflationFlags &= ~flag; in updateInflationFlag()
222 public boolean isInflationFlagSet(@InflationFlag int flag) { in isInflationFlagSet() argument
223 return ((mInflationFlags & flag) != 0); in isInflationFlagSet()
414 int flag = FLAG_CONTENT_VIEW_CONTRACTED; in apply() local
415 if ((reInflateFlags & flag) != 0) { in apply()
430 applyRemoteView(inflateSynchronously, result, reInflateFlags, flag, cachedContentViews, in apply()
[all …]
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl78 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/
DELFSegmentFactory.cpp24 ((*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/core/java/android/service/dreams/
DDreamService.java539 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/view/inspector/
DIntFlagMapping.java54 for (Flag flag : mFlags) { in get()
55 if (flag.isEnabledFor(value)) { in get()
56 enabledFlagNames.add(flag.mName); in get()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarWindowControllerTest.java76 int flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays() local
78 assertThat(flag).isNotEqualTo(0); in testSetDozing_hidesSystemOverlays()
83 flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays()
85 assertThat(flag).isEqualTo(0); in testSetDozing_hidesSystemOverlays()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java267 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/av/media/img_utils/include/img_utils/
DTiffHelpers.h27 #define BAIL_ON_FAIL(x, flag) \ argument
28 if (((flag) = (x)) != OK) return flag;
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeHeader.java189 byte flag = 0; in encodeToByteBuffer()
191 flag |= IKE_HEADER_FLAG_IS_RESP_MSG; in encodeToByteBuffer()
194 flag |= IKE_HEADER_FLAG_FROM_IKE_INITIATOR; in encodeToByteBuffer()
197 byteBuffer.put(flag).putInt(messageId).putInt(IKE_HEADER_LENGTH + encodedMessageBodyLen); in encodeToByteBuffer()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanBeaconInfo.java136 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/base/tests/utils/testutils/java/android/view/test/
DInsetsModeSession.java28 public InsetsModeSession(int flag) { in InsetsModeSession() argument
30 ViewRootImpl.sNewInsetsMode = flag; in InsetsModeSession()

12345678910>>...15