Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp77 EXPECT_TRUE(child->isValid()); in TEST()
78 EXPECT_TRUE(parent->isValid()); in TEST()
84 EXPECT_TRUE(child->isValid()); in TEST()
85 EXPECT_TRUE(parent->isValid()); in TEST()
93 EXPECT_TRUE(child->isValid()); in TEST()
94 EXPECT_TRUE(parent->isValid()); in TEST()
100 EXPECT_FALSE(child->isValid()); in TEST()
101 EXPECT_TRUE(parent->isValid()); in TEST()
109 EXPECT_TRUE(child->isValid()); in TEST()
117 EXPECT_TRUE(child->isValid()); in TEST()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmStore.java142 /* package */ static boolean isValid(int playbackStatus) { in isValid() method in DrmStore.Playback
143 boolean isValid = false; in isValid()
150 isValid = true; in isValid()
152 return isValid; in isValid()
199 /* package */ static boolean isValid(int action) { in isValid() method in DrmStore.Action
200 boolean isValid = false; in isValid()
211 isValid = true; in isValid()
213 return isValid; in isValid()
DDrmInfoRequest.java72 if (!isValid()) { in DrmInfoRequest()
146 boolean isValid() { in isValid() method in DrmInfoRequest
152 boolean isValid = false; in isValidType()
159 isValid = true; in isValidType()
162 return isValid; in isValidType()
DDrmInfo.java55 if (!isValid()) { in DrmInfo()
82 if (!isValid()) { in DrmInfo()
168 boolean isValid() { in isValid() method in DrmInfo
DDrmRights.java107 if (!isValid()) { in instantiate()
131 if (!isValid()) { in DrmRights()
179 /*package*/ boolean isValid() { in isValid() method in DrmRights
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java103 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, in RecipientEntry() argument
107 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions); in RecipientEntry()
113 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) { in RecipientEntry() argument
126 mIsValid = isValid; in RecipientEntry()
135 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, in RecipientEntry() argument
138 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, in RecipientEntry()
142 public boolean isValid() { in isValid() method in RecipientEntry
159 public static RecipientEntry constructFakeEntry(final String address, final boolean isValid) { in constructFakeEntry() argument
165 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */); in constructFakeEntry()
172 final boolean isValid) { in constructFakePhoneEntry() argument
[all …]
/frameworks/native/libs/ui/tests/
DSize_test.cpp67 EXPECT_FALSE(s.isValid()); in TEST()
73 EXPECT_FALSE(s.isValid()); in TEST()
79 EXPECT_FALSE(s.isValid()); in TEST()
85 EXPECT_FALSE(s.isValid()); in TEST()
91 EXPECT_FALSE(s.isValid()); in TEST()
97 EXPECT_FALSE(s.isValid()); in TEST()
104 EXPECT_FALSE(s.isValid()); in TEST()
110 EXPECT_TRUE(s.isValid()); in TEST()
116 EXPECT_TRUE(s.isValid()); in TEST()
123 EXPECT_TRUE(s.isValid()); in TEST()
[all …]
DRect_test.cpp29 EXPECT_FALSE(rect.isValid()); in TEST()
35 EXPECT_TRUE(rect.isValid()); in TEST()
47 EXPECT_TRUE(rect.isValid()); in TEST()
59 EXPECT_TRUE(rect.isValid()); in TEST()
71 EXPECT_TRUE(rect.isValid()); in TEST()
84 EXPECT_TRUE(rect.isValid()); in TEST()
95 EXPECT_TRUE(rect.isValid()); in TEST()
106 EXPECT_TRUE(rect.isValid()); in TEST()
108 EXPECT_FALSE(rect.isValid()); in TEST()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageValidator.java41 int isValid(byte[] params); in isValid() method
257 int isValid(HdmiCecMessage message) { in isValid() method in HdmiCecMessageValidator
285 int errorCode = info.parameterValidator.isValid(message.getParams()); in isValid()
301 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.FixedLengthValidator
318 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.VariableLengthValidator
778 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.PhysicalAddressValidator
788 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.SystemAudioModeRequestValidator
793 return super.isValid(params); in isValid()
799 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.ReportPhysicalAddressValidator
809 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.RoutingChangeValidator
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizerTest.java190 when(mMockLeash.isValid()).thenReturn(false); in testRotation_portrait_0_to_landscape_90()
201 when(mMockLeash.isValid()).thenReturn(false); in testRotation_portrait_0_to_seascape_270()
212 when(mMockLeash.isValid()).thenReturn(false); in testRotation_portrait_180_to_landscape_90()
225 when(mMockLeash.isValid()).thenReturn(false); in testRotation_portrait_180_to_seascape_270()
238 when(mMockLeash.isValid()).thenReturn(false); in testRotation_landscape_90_to_portrait_0()
251 when(mMockLeash.isValid()).thenReturn(false); in testRotation_landscape_90_to_portrait_180()
264 when(mMockLeash.isValid()).thenReturn(false); in testRotation_seascape_270_to_portrait_0()
277 when(mMockLeash.isValid()).thenReturn(false); in testRotation_seascape_270_to_portrait_180()
290 when(mMockLeash.isValid()).thenReturn(false); in testRotation_portrait_0_to_portrait_0()
301 when(mMockLeash.isValid()).thenReturn(false); in testRotation_portrait_0_to_portrait_180()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDeviceConfigService.java88 boolean isValid = false; in onCommand()
100 isValid = true; in onCommand()
112 isValid = true; in onCommand()
143 isValid = true; in onCommand()
149 isValid = true; in onCommand()
171 isValid = true; in onCommand()
179 isValid = true; in onCommand()
192 isValid = true; in onCommand()
203 isValid = true; in onCommand()
209 isValid = true; in onCommand()
[all …]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUtilitiesTest.java20 import static com.android.shell.BugreportProgressService.isValid;
29 assertTrue("char '" + c + "' should be valid", isValid(c)); in testIsValidChar_valid()
37 assertFalse("char '" + c + "' should not be valid", isValid(c)); in testIsValidChar_invalid()
/frameworks/native/libs/renderengine/skia/
DAutoBackendTexture.cpp46 ALOGE_IF(!mBackendTexture.isValid(), in AutoBackendTexture()
53 if (mBackendTexture.isValid()) { in ~AutoBackendTexture()
89 if (mBackendTexture.isValid()) { in makeImage()
112 mBackendTexture.isValid(), dataspace); in makeImage()
136 mBackendTexture.isValid(), dataspace); in getOrCreateSurface()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java64 assertTrue(mRequest.isValid()); in testCreateShortcutResult_validResult()
87 assertTrue(mRequest.isValid()); in testCreateShortcutResult_alreadyPinned()
111 assertTrue(mRequest.isValid()); in testCreateShortcutResult_alreadyPinnedByAnother()
129 assertFalse(mRequest.isValid()); in testCreateShortcutResult_defaultLauncherChanges()
138 assertFalse(mRequest.isValid()); in testCreateShortcutResult_defaultLauncherChanges()
144 assertTrue(mRequest.isValid()); in testCreateShortcutResult_defaultLauncherChanges()
/frameworks/native/libs/ui/
DFence.cpp97 if (f1->isValid() && f2->isValid()) { in merge()
99 } else if (f1->isValid()) { in merge()
101 } else if (f2->isValid()) { in merge()
157 return isValid() ? 1 : 0; in getFdCount()
167 if (isValid()) { in flatten()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp40 if (!bitmap.isValid()) { in AndroidBitmap_getDataSpace()
53 void* addr = bitmap.isValid() ? bitmap.getPixels() : nullptr; in AndroidBitmap_lockPixels()
74 if (!bitmap.isValid()) { in AndroidBitmap_unlockPixels()
90 if (!bitmap.isValid()) { in AndroidBitmap_getHardwareBuffer()
/frameworks/base/telephony/java/android/telephony/
DSignalStrength.java210 if (mLte.isValid()) return mLte; in getPrimary()
212 if (mNr.isValid()) return mNr; in getPrimary()
213 if (mLte.isValid()) return mLte; in getPrimary()
214 if (mCdma.isValid()) return mCdma; in getPrimary()
215 if (mTdscdma.isValid()) return mTdscdma; in getPrimary()
216 if (mWcdma.isValid()) return mWcdma; in getPrimary()
217 if (mGsm.isValid()) return mGsm; in getPrimary()
269 if (mLte.isValid() && clazz.isAssignableFrom(CellSignalStrengthLte.class)) { in getCellSignalStrengths()
272 if (mCdma.isValid() && clazz.isAssignableFrom(CellSignalStrengthCdma.class)) { in getCellSignalStrengths()
275 if (mTdscdma.isValid() && clazz.isAssignableFrom(CellSignalStrengthTdscdma.class)) { in getCellSignalStrengths()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp47 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
54 ASSERT_TRUE(mFGSurfaceControl->isValid()); in SetUp()
61 ASSERT_TRUE(mSyncSurfaceControl->isValid()); in SetUp()
517 ASSERT_TRUE(newSurface->isValid()); in TEST_F()
591 ASSERT_TRUE(bufferLayer->isValid()); in TEST_F()
611 ASSERT_TRUE(colorLayer->isValid()); in TEST_F()
632 ASSERT_TRUE(cropLayer->isValid()); in TEST_F()
636 ASSERT_TRUE(colorLayer->isValid()); in TEST_F()
661 ASSERT_TRUE(colorLayer->isValid()); in TEST_F()
684 ASSERT_TRUE(boundlessLayerRightShift->isValid()); in TEST_F()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DNativeCoverageHackInstrumentationListener.java81 if (!siginfo.isValid()) { in maybeDumpNativeCoverage()
107 if (siginfo.isValid() && siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
111 if (siginfo.isValid() && !siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
193 public boolean isValid() { in isValid() method in NativeCoverageHackInstrumentationListener.SignalMaskInfo
214 if (!isValid()) { in checkValid()
/frameworks/av/media/bufferpool/2.0/
DBufferStatus.cpp64 if (!queue || queue->isValid() == false) { in open()
110 if (!queue || queue->isValid() == false) { in BufferStatusChannel()
118 bool BufferStatusChannel::isValid() { in isValid() function in android::hardware::media::bufferpool::V2_0::implementation::BufferStatusChannel
225 if (!queue || queue->isValid() == false) { in BufferInvalidationListener()
262 bool BufferInvalidationListener::isValid() { in isValid() function in android::hardware::media::bufferpool::V2_0::implementation::BufferInvalidationListener
270 if (!mBufferInvalidationQueue || mBufferInvalidationQueue->isValid() == false) { in BufferInvalidationChannel()
275 bool BufferInvalidationChannel::isValid() { in isValid() function in android::hardware::media::bufferpool::V2_0::implementation::BufferInvalidationChannel
DBufferStatus.h102 bool isValid();
183 bool isValid();
203 bool isValid();
DBufferPoolClient.cpp45 bool isValid() { in isValid() function in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient::Impl
175 if (impl && impl->isValid()) { in operator ()()
283 mReleasing.mStatusChannel->isValid() && in Impl()
285 mInvalidationListener->isValid(); in Impl()
313 if (outChannel && outChannel->isValid() && in Impl()
314 outObserver && outObserver->isValid()) { in Impl()
794 bool BufferPoolClient::isValid() { in isValid() function in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient
795 return mImpl && mImpl->isValid(); in isValid()
803 if (!isValid()) { in isActive()
811 if (isValid()) { in getConnectionId()
[all …]
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.cpp55 if (mBackendTexture.isValid()) { in unref()
87 if (mBackendTexture.isValid()) { in newBufferContent()
98 if (mBackendTexture.isValid()) { in releaseQueueOwnership()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DFileDescriptor.h56 if (isValid()) { in ~Autoclose()
75 bool isValid() const { in isValid() function
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceControlCompat.java40 public boolean isValid() { in isValid() method in SurfaceControlCompat
41 return mSurfaceControl != null && mSurfaceControl.isValid(); in isValid()

12345678910>>...17