/frameworks/libs/net/client-libs/tests/unit/src/com/android/net/module/util/ |
D | NetdUtilsTest.java | 237 assertTrue(NetdUtils.hasFlag(p, "up")); in testNetdUtilsHasFlag() 238 assertTrue(NetdUtils.hasFlag(p, "running")); in testNetdUtilsHasFlag() 239 assertTrue(NetdUtils.hasFlag(p, "broadcast")); in testNetdUtilsHasFlag() 240 assertTrue(NetdUtils.hasFlag(p, "multicast")); in testNetdUtilsHasFlag() 241 assertFalse(NetdUtils.hasFlag(p, "down")); in testNetdUtilsHasFlag() 256 assertThrows(IllegalArgumentException.class, () -> NetdUtils.hasFlag(p, "up ")); in testNetdUtilsHasFlag_flagContainsSpace() 271 assertFalse(NetdUtils.hasFlag(p, "UP")); in testNetdUtilsHasFlag_UppercaseString() 272 assertFalse(NetdUtils.hasFlag(p, "BROADCAST")); in testNetdUtilsHasFlag_UppercaseString() 273 assertFalse(NetdUtils.hasFlag(p, "RUNNING")); in testNetdUtilsHasFlag_UppercaseString() 274 assertFalse(NetdUtils.hasFlag(p, "MULTICAST")); in testNetdUtilsHasFlag_UppercaseString()
|
/frameworks/base/services/core/java/com/android/server/devicestate/ |
D | DeviceState.java | 118 + ", app_accessible=" + !hasFlag(FLAG_APP_INACCESSIBLE) + "}"; in toString() 138 public boolean hasFlag(int flagToCheckFor) { in hasFlag() method in DeviceState
|
D | DeviceStateManagerService.java | 350 if (state.hasFlag(FLAG_CANCEL_OVERRIDE_REQUESTS)) { in updateSupportedStates() 431 if (baseState.hasFlag(FLAG_CANCEL_OVERRIDE_REQUESTS)) { in setBaseState()
|
/frameworks/base/core/java/android/net/ |
D | InterfaceConfiguration.java | 59 public boolean hasFlag(String flag) { in hasFlag() method in InterfaceConfiguration 140 return hasFlag(FLAG_UP); in isUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 392 if (hasFlag(application.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved() 399 if (!hasFlag(prevApplication.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved() 526 if (entry != null && hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED)) { in requestSize() 1170 if (entry != null && !hasFlag(entry.info.flags, in handleMessage() 1190 if (hasFlag(flags, FLAG_SESSION_REQUEST_HOME_APP)) { in handleMessage() 1215 hasFlag(flags, FLAG_SESSION_REQUEST_LAUNCHER)) in handleMessage() 1217 hasFlag(flags, FLAG_SESSION_REQUEST_LEANBACK_LAUNCHER))) { in handleMessage() 1269 if (hasFlag(flags, FLAG_SESSION_REQUEST_ICONS)) { in handleMessage() 1304 if (hasFlag(flags, FLAG_SESSION_REQUEST_SIZES)) { in handleMessage() 1318 if (hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED) in handleMessage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | SystemUIToast.java | 275 if (hasFlag(appInfo.flags, FLAG_UPDATED_SYSTEM_APP)) { in showApplicationIcon() 278 return !hasFlag(appInfo.flags, FLAG_SYSTEM); in showApplicationIcon() 281 private static boolean hasFlag(int flags, int flag) { in hasFlag() method in SystemUIToast
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollection.java | 841 && !hasFlag(entry, Notification.FLAG_ONGOING_EVENT) 842 && !hasFlag(entry, Notification.FLAG_BUBBLE) 843 && !hasFlag(entry, Notification.FLAG_NO_CLEAR) 860 && !hasFlag(entry, Notification.FLAG_BUBBLE) 864 private static boolean hasFlag(NotificationEntry entry, int flag) {
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 218 auto hasFlag = [](auto flags, auto flag) { return (flags & flag) == flag; }; in mixMatch() local 219 if (hasFlag(attributes.flags, AUDIO_FLAG_NO_SYSTEM_CAPTURE)) { in mixMatch() 228 hasFlag(attributes.flags, AUDIO_FLAG_NO_MEDIA_PROJECTION)) { in mixMatch()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 351 assertThat(hasFlag(shortcutQuery.getQueryFlags(), ShortcutQuery.FLAG_GET_PERSONS_DATA)) in testGetValidShortcutInfo_hasGetPersonsDataFlag() 358 private static boolean hasFlag(int queryFlags, int flag) { in hasFlag() method in ShortcutHelperTest
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/ |
D | ScanTests.java | 464 assertThat(appInfoFlags, hasFlag(ApplicationInfo.FLAG_UPDATED_SYSTEM_APP)); in updateSystemApp_applicationInfoFlagSet() 481 assertThat(appInfoFlags, hasFlag(ApplicationInfo.FLAG_FACTORY_TEST)); in factoryTestFlagSet() 499 private static Matcher<Integer> hasFlag(final int flag) { in hasFlag() method in ScanTests
|
/frameworks/libs/net/client-libs/netd/com/android/net/module/util/ |
D | NetdUtils.java | 82 public static boolean hasFlag(@NonNull final InterfaceConfigurationParcel config, in hasFlag() method in NetdUtils
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 128 public boolean hasFlag(final int flag) { in hasFlag() method in ConnectionRecord
|
D | OomAdjuster.java | 2000 if (cr.hasFlag(Context.BIND_INCLUDE_CAPABILITIES)) { in computeOomAdjLSP() 2105 } else if (cr.hasFlag(BIND_TREAT_LIKE_VISIBLE_FOREGROUND_SERVICE) in computeOomAdjLSP() 2145 if (cr.hasFlag(BIND_TREAT_LIKE_VISIBLE_FOREGROUND_SERVICE)) { in computeOomAdjLSP() 2147 } else if (cr.hasFlag(Context.BIND_FOREGROUND_SERVICE)) { in computeOomAdjLSP() 2165 if (cr.hasFlag(Context.BIND_INCLUDE_CAPABILITIES)) { in computeOomAdjLSP()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 474 private static int flag(boolean hasFlag, int flag) { in flag() argument 475 return hasFlag ? flag : 0; in flag()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DeviceStateProviderImpl.java | 233 if (deviceStates.get(i).hasFlag(DeviceState.FLAG_EMULATED_ONLY)) { in setStateConditions()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/ |
D | PackageInfoWithoutStateUtils.java | 818 private static int flag(boolean hasFlag, int flag) { in flag() argument 819 if (hasFlag) { in flag()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 824 assertThat(hasFlag(queryFlags, ShortcutQuery.FLAG_GET_PERSONS_DATA)).isTrue(); in testGetConversationGetsPersonsData() 1364 assertThat(hasFlag(queryFlags, ShortcutQuery.FLAG_GET_PERSONS_DATA)).isTrue(); in testGetRecentConversationsGetsPersonsData() 1722 private static boolean hasFlag(int queryFlags, int flag) { in hasFlag() method in DataManagerTest
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 6921 public boolean hasFlag(final int flags, final int flag) { 6986 && hasFlag(mAmi.getPendingIntentFlags( 6996 && hasFlag(mAmi.getPendingIntentFlags(action.actionIntent.getTarget()), 7008 && hasFlag(mAmi.getPendingIntentFlags(action.actionIntent.getTarget()),
|
/frameworks/base/services/ |
D | art-profile-boot | 619 Lcom/android/server/am/ConnectionRecord;->hasFlag(I)Z
|
D | art-profile | 8497 HSPLcom/android/server/am/ConnectionRecord;->hasFlag(I)Z 20293 HSPLcom/android/server/devicestate/DeviceState;->hasFlag(I)Z 31101 PLcom/android/server/notification/NotificationManagerService;->hasFlag(II)Z
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 32875 Landroid/net/InterfaceConfiguration;->hasFlag(Ljava/lang/String;)Z
|