Home
last modified time | relevance | path

Searched refs:getFlags (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DSparseRectFArrayTest.java74 assertEquals(0, builder.build().getFlags(99, 0 /* valueIfKeyNotFound */)); in testBuilder()
75 assertEquals(1, builder.build().getFlags(99, 1 /* valueIfKeyNotFound */)); in testBuilder()
77 assertEquals(testFlags, builder.build().getFlags(100, 0 /* valueIfKeyNotFound */)); in testBuilder()
78 assertEquals(testFlags, builder.build().getFlags(100, 1 /* valueIfKeyNotFound */)); in testBuilder()
80 assertEquals(0, builder.build().getFlags(101, 0 /* valueIfKeyNotFound */)); in testBuilder()
81 assertEquals(1, builder.build().getFlags(101, 1 /* valueIfKeyNotFound */)); in testBuilder()
99 assertEquals(i, array.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
100 assertEquals(i, array.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
102 assertEquals(0x1234, array.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); in testBuilder()
103 assertEquals(0x4321, array.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); in testBuilder()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp83 if (isPlaybackThread && (((getFlags() ^ flags) & mustMatchOutputFlags) in isCompatibleProfile()
84 || (getFlags() & flags) != flags)) { in isCompatibleProfile()
91 if (isRecordThread && ((getFlags() ^ flags) & in isCompatibleProfile()
122 extraInfo.appendFormat("0x%04x", getFlags()); in dump()
125 toString(static_cast<audio_input_flags_t>(getFlags())) : in dump()
127 toString(static_cast<audio_output_flags_t>(getFlags())) : ""; in dump()
/frameworks/base/core/java/android/content/pm/
DSigningDetails.java322 if (signature.getFlags() != ancestorSignature.getFlags()) { in mergeLineageWithAncestorOrSelf()
326 mergedSignature.setFlags(signature.getFlags()); in mergeLineageWithAncestorOrSelf()
329 mergedSignature.setFlags(ancestorSignature.getFlags()); in mergeLineageWithAncestorOrSelf()
333 signature.getFlags() & ancestorSignature.getFlags()); in mergeLineageWithAncestorOrSelf()
604 if ((mPastSigningCertificates[i].getFlags() & flags) == flags) { in hasCommonSignerWithCapability()
654 && mPastSigningCertificates[i].getFlags() == flags) { in checkCapabilityRecover()
703 || (flags & mPastSigningCertificates[i].getFlags()) == flags) { in hasCertificateInternal()
786 || (flags & mPastSigningCertificates[i].getFlags()) == flags) { in hasSha256CertificateInternal()
871 if (mPastSigningCertificates[i].getFlags() in equals()
872 != that.mPastSigningCertificates[i].getFlags()) { in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateTest.java47 assertEquals(state.getFlags(), DeviceState.FLAG_CANCEL_OVERRIDE_REQUESTS); in testConstruct()
56 assertEquals(state.getFlags(), 0); in testConstruct_nullName()
/frameworks/av/include/media/
DVolumeShaper.h455 Flag getFlags() const { in getFlags() function
541 std::underlying_type_t<Flag> flags = getFlags(); in getFlagsAsAidl()
711 && (getFlags() & VolumeShaper::Operation::FLAG_DELAY) == 0) { in VolumeShaper()
717 VolumeShaper::Operation::Flag getFlags() const { in getFlags() function
719 ? VolumeShaper::Operation::FLAG_NONE : mOperation->getFlags(); in getFlags()
754 if ((getFlags() & VolumeShaper::Operation::FLAG_DELAY) != 0) { in getVolume()
818 S normalizedTime = (getFlags() & VolumeShaper::Operation::FLAG_REVERSE) != 0 ? in updatePosition()
837 if (getFlags() & VolumeShaper::Operation::FLAG_REVERSE) { in computeStateFromNormalizedTime()
920 if ((operation->getFlags() & VolumeShaper::Operation::FLAG_JOIN) != 0) { in applyVolumeShaper()
938 if ((operation->getFlags() in applyVolumeShaper()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationTargetCompat.java95 if ((change.getFlags() & FLAG_STARTING_WINDOW_TRANSFER_RECIPIENT) == 0) { in setupLeash()
120 if (change.getParent() != null && (change.getFlags() & FLAG_IS_WALLPAPER) != 0) { in createLeash()
173 (change.getFlags() & TransitionInfo.FLAG_TRANSLUCENT) != 0, in newTarget()
187 (change.getFlags() & FLAG_IS_DIVIDER_BAR) != 0 in newTarget()
191 (change.getFlags() & TransitionInfo.FLAG_WILL_IME_SHOWN) != 0); in newTarget()
/frameworks/base/core/java/com/android/internal/os/
DBatteryUsageStatsProvider.java163 final boolean includePowerModels = (query.getFlags() in getCurrentBatteryUsageStats()
165 final boolean includeProcessStateData = ((query.getFlags() in getCurrentBatteryUsageStats()
168 final boolean includeVirtualUids = ((query.getFlags() in getCurrentBatteryUsageStats()
213 if ((query.getFlags() in getCurrentBatteryUsageStats()
312 final boolean includePowerModels = (query.getFlags() in getAggregatedBatteryUsageStats()
314 final boolean includeProcessStateData = ((query.getFlags() in getAggregatedBatteryUsageStats()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java67 assertEquals(FLAGS, keyEvent.getFlags()); in testObtain()
94 assertEquals(FLAGS, keyEvent.getFlags()); in testObtainWithDisplayId()
181 assertEquals(key1.getFlags(), key2.getFlags()); in compareKeys()
/frameworks/native/libs/binder/tests/
DbinderMemoryHeapBaseUnitTest.cpp81 EXPECT_EQ(mHeap->getFlags(), MemoryHeapBase::READ_ONLY); in TEST()
92 EXPECT_EQ(mHeap->getFlags(), MemoryHeapBase::READ_ONLY); in TEST()
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java182 if ((this.getFlags() & packageSetting.getFlags()) != 0) {
186 aggregatedFlags |= ps.getFlags();
211 setFlags(this.getFlags() | packageSetting.getFlags());
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp48 a.getFlags() == b.getFlags () && in sensorsMatch()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java143 assertEquals(0, e.getFlags());
198 assertEquals(DropBoxManager.IS_TEXT, e0.getFlags());
199 assertEquals(DropBoxManager.IS_TEXT, e1.getFlags());
200 assertEquals(0, e2.getFlags());
201 assertEquals(0, e3.getFlags());
250 assertEquals(DropBoxManager.IS_TEXT, entry.getFlags()); in testAddEntry_Success()
740 assertEquals(DropBoxManager.IS_EMPTY, e.getFlags()); in testDropBoxEntrySerialization()
748 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
757 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
764 assertEquals(0, e.getFlags()); in testDropBoxEntrySerialization()
[all …]
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp87 std::vector<T> getFlags(const xsdc_enum_range<X> &range, const FUNC &func, in getFlags() function
102 getFlags<audio_stream_type_t, xsd::AudioStreamType, decltype(audio_stream_type_from_string)>(
106 getFlags<audio_format_t, xsd::AudioFormat, decltype(audio_format_from_string)>(
110 getFlags<audio_channel_mask_t, xsd::AudioChannelMask, decltype(audio_channel_mask_from_string)>(
114 getFlags<audio_usage_t, xsd::AudioUsage, decltype(audio_usage_from_string)>(
118 getFlags<audio_content_type_t, xsd::AudioContentType, decltype(audio_content_type_from_string)>(
122 getFlags<audio_source_t, xsd::AudioSource, decltype(audio_source_from_string)>(
126 getFlags<audio_gain_mode_t, xsd::AudioGainMode, decltype(audio_gain_mode_from_string)>(
130 getFlags<audio_devices_t, xsd::AudioDevice, decltype(audio_device_from_string)>(
134 getFlags<audio_input_flags_t, xsd::AudioInOutFlag, decltype(audio_input_flag_from_string)>(
[all …]
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java68 assertThat(suggestion.getFlags()).isEqualTo(0); in buildSuggestion_allFieldsShouldBeSet()
101 assertThat(newSuggestion.getFlags()) in buildSuggestion_fromParcelable()
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java50 builder.append(" mFlags=").append(getFlags()); in toString()
55 public Iterable<String> getFlags() { in getFlags() method in InterfaceConfiguration
/frameworks/av/media/libshmem/
DShmemTest.cpp77 ASSERT_EQ(reconstructed->getMemory()->getFlags() & IMemoryHeap::READ_ONLY, 0); in TEST()
97 ASSERT_NE(reconstructed->getMemory()->getFlags() & IMemoryHeap::READ_ONLY, 0); in TEST()
/frameworks/av/media/libmedia/
DIDataSource.cpp82 virtual uint32_t getFlags() { in getFlags() function
129 reply->writeUint32(getFlags()); in onTransact()
/frameworks/base/core/java/android/window/
DTransitionFilter.java93 if ((info.getFlags() & mFlags) != mFlags) { in matches()
96 if ((info.getFlags() & mNotFlags) != 0) { in matches()
226 if ((change.getFlags() & mFlags) != mFlags) { in matches()
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedPermissionUtils.java130 permission.setFlags(permission.getFlags() & ~PermissionInfo.FLAG_HARD_RESTRICTED); in parsePermission()
131 permission.setFlags(permission.getFlags() & ~PermissionInfo.FLAG_SOFT_RESTRICTED); in parsePermission()
134 if ((permission.getFlags() & PermissionInfo.FLAG_HARD_RESTRICTED) != 0 in parsePermission()
135 && (permission.getFlags() & PermissionInfo.FLAG_SOFT_RESTRICTED) != 0) { in parsePermission()
DParsedComponentImpl.java98 this.flags = other.getFlags(); in ParsedComponentImpl()
167 dest.writeInt(this.getFlags()); in writeToParcel()
244 public int getFlags() { in getFlags() method in ParsedComponentImpl
DParsedActivityUtils.java131 …activity.setFlags(activity.getFlags() | (flag(ActivityInfo.FLAG_ALLOW_TASK_REPARENTING, R.styleabl… in parseActivityOrReceiver()
146 …activity.setFlags(activity.getFlags() | (flag(ActivityInfo.FLAG_HARDWARE_ACCELERATED, R.styleable.… in parseActivityOrReceiver()
200 ….setFlags(activity.getFlags()|flag(ActivityInfo.FLAG_SINGLE_USER, R.styleable.AndroidManifestActiv… in parseActivityOrReceiver()
218 activity.setFlags(activity.getFlags() | ActivityInfo.FLAG_VISIBLE_TO_INSTANT_APP); in parseActivityOrReceiver()
294 ((activity.getFlags() & ActivityInfo.FLAG_VISIBLE_TO_INSTANT_APP) != 0); in parseActivityAlias()
452 activity.setFlags(activity.getFlags() in parseActivityOrAlias()
499 activity.setFlags(activity.getFlags() | ActivityInfo.FLAG_VISIBLE_TO_INSTANT_APP); in parseIntentFilter()
503 activity.getFlags() | ActivityInfo.FLAG_IMPLICITLY_VISIBLE_TO_INSTANT_APP); in parseIntentFilter()
/frameworks/base/location/lib/java/com/android/location/provider/
DGmsFusedBatchOptions.java69 public int getFlags() { in getFlags() method in GmsFusedBatchOptions
/frameworks/base/native/android/
Dobb.cpp53 return obbInfo->getFlags(); in AObbInfo_getFlags()
/frameworks/base/keystore/java/android/security/
DKeyStoreParameter.java59 public int getFlags() { in getFlags() method in KeyStoreParameter
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java212 if ((mRequest.getFlags() in handleBaseStateChanged()
241 + ", mFlags=" + overrideRequest.getFlags() in dumpInternal()

12345678910>>...13