Home
last modified time | relevance | path

Searched refs:isSuccess (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/net/metrics/
DDnsEvent.java59 boolean isSuccess = (returnCode == 0); in addResult()
62 return isSuccess; in addResult()
71 if (isSuccess) { in addResult()
74 return isSuccess; in addResult()
DNetworkMetrics.java80 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs); in addDnsResult()
82 pendingSummary.dnsErrorRate.count(isSuccess ? 0 : 1); in addDnsResult()
90 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); in addConnectResult()
91 pendingSummary.connectErrorRate.count(isSuccess ? 0 : 1); in addConnectResult()
DConnectStats.java65 if (isSuccess(errno)) { in addEvent()
106 private static boolean isSuccess(int errno) { in isSuccess() method in ConnectStats
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedProcessUtils.java141 if (denyResult.isSuccess()) { in parseProcess()
149 if (allowResult.isSuccess()) { in parseProcess()
190 if (denyResult.isSuccess()) { in parseProcesses()
198 if (allowResult.isSuccess()) { in parseProcesses()
206 if (processResult.isSuccess()) { in parseProcesses()
DInstallConstraintsTagParser.java58 if (prefixes.isSuccess()) { in parseInstallConstraints()
90 if (parsedPrefix.isSuccess()) { in parseFingerprintPrefixes()
DParsedActivityUtils.java404 if (intentResult.isSuccess()) { in parseActivityOrAlias()
438 if (intentResult.isSuccess()) { in parseActivityOrAlias()
448 if (layoutResult.isSuccess()) { in parseActivityOrAlias()
DParsedServiceUtils.java154 if (intentResult.isSuccess()) { in parseService()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DAccessibilityTest.java66 assertTrue(renderResult.isSuccess()); in accessibilityNodeInfoCreation()
113 assertTrue(renderResult.isSuccess()); in customHierarchyParserTest()
152 assertTrue(renderResult.isSuccess()); in testDialogAccessibility()
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseResult.java47 boolean isSuccess(); in isSuccess() method
DParseTypeImpl.java246 public boolean isSuccess() {
252 return !isSuccess();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/coroutine/
DCoroutineResultTest.kt37 assertThat(actual.isSuccess).isTrue() in <lambda>()
/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt263 assertThat(result.isSuccess).isTrue() in assertSuccess()
272 assertThat(result.isSuccess).isFalse() in assertError()
277 assertThat(this.isSuccess).isTrue() in ParseResult()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java98 if (mLastResult.isSuccess()) { in measure()
117 if (mLastResult.isSuccess()) { in render()
DBridge.java453 if (lastResult.isSuccess()) { in createSession()
458 if (lastResult.isSuccess() && !doNotRenderOnCreate) { in createSession()
487 if (lastResult.isSuccess()) { in renderDrawable()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c262 int isSuccess = FALSE; in FwdLockFile_attach() local
282 isSuccess = FwdLockFile_DeriveKeys(pSession); in FwdLockFile_attach()
286 if (isSuccess) { in FwdLockFile_attach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DValueParser.kt117 isSuccess -> transform(getOrThrow()) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataServiceManager.java145 isSuccess -> { in grantPermissionsToService()
146 if (isSuccess) { in grantPermissionsToService()
180 isSuccess -> { in revokePermissionsFromUnusedDataServices()
181 if (isSuccess) { in revokePermissionsFromUnusedDataServices()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java862 if (activityResult.isSuccess()) {
877 if (serviceResult.isSuccess()) {
888 if (providerResult.isSuccess()) {
898 if (activityResult.isSuccess()) {
933 if (metaDataResult.isSuccess() && metaDataResult.getResult() != null) {
940 if (propertyResult.isSuccess()) {
1421 if (result.isSuccess()) {
1428 if (result.isSuccess()) {
2225 if (activityResult.isSuccess()) {
2246 if (serviceResult.isSuccess()) {
[all …]
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java56 public static boolean isSuccess(int packed) { in isSuccess() method in FontFileUtil
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java114 assertTrue(result.isSuccess()); in verifyComputeMinSdkVersion()
217 assertTrue(result.isSuccess()); in verifyComputeTargetSdkVersion()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityInfo.java479 public void setPresencePublishResult(boolean isSuccess) { in setPresencePublishResult() argument
480 if (isSuccess) { in setPresencePublishResult()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java787 assertTrue(result.getResult().isSuccess()); in testScrollingAndMeasure()
818 assertTrue(result.getResult().isSuccess()); in testScrollingAndMeasure()
1812 if (!session.getResult().isSuccess()) { in testChangeSize()
1818 if (!renderResult.isSuccess()) { in testChangeSize()
1836 if (!renderResult.isSuccess()) { in testChangeSize()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DBridgeClient.java560 if (!session.getResult().isSuccess()) { in render()
566 if (!renderResult.isSuccess()) { in render()
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java578 return session.isUnknown || session.isActivationFailed || session.isSuccess in isApexSessionFinalized()
707 } else if (apexSession.isActivated || apexSession.isSuccess) { in restoreSessions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java778 isSuccess -> { in grantPermissionsToService()
779 if (isSuccess) { in grantPermissionsToService()

12