Home
last modified time | relevance | path

Searched refs:isSuccess (Results 1 – 25 of 44) 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/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java112 public boolean isSuccess() { in isSuccess() method in AppSearchResult
131 if (!isSuccess()) { in getResultValue()
172 if (isSuccess()) { in toString()
211 !otherFailedResult.isSuccess(), in newFailedResult()
DAppSearchBatchResult.java58 public boolean isSuccess() { in isSuccess() method in AppSearchBatchResult
180 if (result.isSuccess()) { in setResult()
/frameworks/layoutlib/bridge/src/android/animation/
DAnimationThread.java105 if (result.isSuccess() == false) { in run()
141 if (result.isSuccess() == false) { in run()
155 if (mSession.render(false /*freshRender*/).isSuccess()) { in run()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedProcessUtils.java134 if (denyResult.isSuccess()) { in parseProcess()
142 if (allowResult.isSuccess()) { in parseProcess()
183 if (denyResult.isSuccess()) { in parseProcesses()
191 if (allowResult.isSuccess()) { in parseProcesses()
199 if (processResult.isSuccess()) { in parseProcesses()
DParsedActivityUtils.java355 if (intentResult.isSuccess()) { in parseActivityOrAlias()
388 if (intentResult.isSuccess()) { in parseActivityOrAlias()
398 if (layoutResult.isSuccess()) { in parseActivityOrAlias()
DParsedServiceUtils.java140 if (intentResult.isSuccess()) { in parseService()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchSession.java100 if (result.isSuccess()) { in initialize()
206 if (result.isSuccess()) { in getSchema()
243 if (result.isSuccess()) { in getNamespaces()
639 if (result.isSuccess()) { in getStorageInfo()
700 if (result.isSuccess()) { in setSchemaNoMigrations()
750 if (!getSchemaResult.isSuccess()) { in setSchemaWithMigrations()
790 if (!setSchemaResult.isSuccess()) { in setSchemaWithMigrations()
842 if (!setSchema2Result.isSuccess()) { in setSchemaWithMigrations()
880 Preconditions.checkArgument(!failedResult.isSuccess()); in sendSystemErrorToCallback()
DAppSearchMigrationHelper.java116 if (!result.isSuccess()) { in queryAndTransform()
156 if (!result.isSuccess()) { in putMigratedDocuments()
DGlobalSearchSession.java84 if (result.isSuccess()) { in initialize()
DSearchResults.java161 if (searchResultPageResult.isSuccess()) {
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseResult.java47 boolean isSuccess(); in isSuccess() method
DParseTypeImpl.java248 public boolean isSuccess() {
254 return !isSuccess();
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java87 if (mLastResult.isSuccess()) { in measure()
106 if (mLastResult.isSuccess()) { in render()
DBridge.java368 if (lastResult.isSuccess()) { in createSession()
373 if (lastResult.isSuccess() && !doNotRenderOnCreate) { in createSession()
402 if (lastResult.isSuccess()) { in renderDrawable()
/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt261 assertThat(result.isSuccess).isTrue() in assertSuccess()
270 assertThat(result.isSuccess).isFalse() in assertError()
275 assertThat(this.isSuccess).isTrue() in ParseResult()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java65 if (mResult.isSuccess()) { in writeToParcel()
/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/apex/appsearch/testing/java/com/android/server/appsearch/testing/
DGlobalSearchSessionShimImpl.java99 if (!result.isSuccess()) { in transformResult()
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
DAppSearchTestUtils.java40 .that(result.isSuccess()) in checkIsBatchResultSuccess()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java53 public static boolean isSuccess(int packed) { in isSuccess() method in FontFileUtil
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java162 isSuccess -> { in grantPermissionsToService()
163 if (isSuccess) { in grantPermissionsToService()
197 isSuccess -> { in revokePermissionsFromUnusedDataServices()
198 if (isSuccess) { in revokePermissionsFromUnusedDataServices()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageUtils.java737 if (activityResult.isSuccess()) { in parseSplitApplication()
752 if (serviceResult.isSuccess()) { in parseSplitApplication()
763 if (providerResult.isSuccess()) { in parseSplitApplication()
773 if (activityResult.isSuccess()) { in parseSplitApplication()
816 if (metaDataResult.isSuccess() && metaDataResult.getResult() != null) { in parseSplitBaseAppChildTags()
823 if (propertyResult.isSuccess()) { in parseSplitBaseAppChildTags()
1242 if (result.isSuccess()) { in parseUsesPermission()
1249 if (result.isSuccess()) { in parseUsesPermission()
2071 if (activityResult.isSuccess()) { in parseBaseApplication()
2088 if (serviceResult.isSuccess()) { in parseBaseApplication()
[all …]

12