Searched refs:hasFlag (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | ApfProgramEventTest.kt | 38 private infix fun Int.hasFlag(flag: Int) = (this and (1 shl flag)) != 0 in hasFlag() method in android.net.metrics.ApfProgramEventTest 64 assertFalse(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 65 assertFalse(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor() 68 assertTrue(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 69 assertFalse(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor() 72 assertFalse(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 73 assertTrue(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor() 76 assertTrue(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor() 77 assertTrue(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 390 if (hasFlag(application.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved() 397 if (!hasFlag(prevApplication.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved() 507 if (entry != null && hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED)) { in requestSize() 1109 if (entry != null && !hasFlag(entry.info.flags, in handleMessage() 1129 if (hasFlag(flags, FLAG_SESSION_REQUEST_HOME_APP)) { in handleMessage() 1154 hasFlag(flags, FLAG_SESSION_REQUEST_LAUNCHER)) in handleMessage() 1156 hasFlag(flags, FLAG_SESSION_REQUEST_LEANBACK_LAUNCHER))) { in handleMessage() 1208 if (hasFlag(flags, FLAG_SESSION_REQUEST_ICONS)) { in handleMessage() 1243 if (hasFlag(flags, FLAG_SESSION_REQUEST_SIZES)) { in handleMessage() 1257 if (hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED) in handleMessage() [all …]
|
/frameworks/base/core/java/android/net/ |
D | InterfaceConfiguration.java | 57 public boolean hasFlag(String flag) { in hasFlag() method in InterfaceConfiguration 138 return hasFlag(FLAG_UP); in isUp()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 215 auto hasFlag = [](auto flags, auto flag) { return (flags & flag) == flag; }; in mixMatch() local 216 if (hasFlag(attributes.flags, AUDIO_FLAG_NO_SYSTEM_CAPTURE)) { in mixMatch() 220 hasFlag(attributes.flags, AUDIO_FLAG_NO_MEDIA_PROJECTION)) { in mixMatch()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 116 public boolean hasFlag(final int flag) { in hasFlag() method in ConnectionRecord
|
D | OomAdjuster.java | 1313 final int bestState = cr.hasFlag(Context.BIND_INCLUDE_CAPABILITIES) in computeOomAdjLocked()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 216 public boolean hasFlag(int flag) { in hasFlag() method in MediaSessionRecord 271 if (isPlaybackActive() || hasFlag(MediaSession.FLAG_EXCLUSIVE_GLOBAL_PRIORITY)) { in adjustVolume() 441 return hasFlag(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS); in isTransportControlEnabled()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 212 if (config.hasFlag("running")) { in addInterface()
|
/frameworks/base/services/ |
D | art-profile | 8679 PLcom/android/server/media/MediaSessionRecord;->hasFlag(I)Z
|