Home
last modified time | relevance | path

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

12

/frameworks/base/tests/net/java/android/net/
DIpMemoryStoreTest.java119 status.isSuccess())); in testNetworkAttributes()
127 + status.resultCode, status.isSuccess()); in testNetworkAttributes()
144 assertTrue("Store not successful : " + status.resultCode, status.isSuccess()); in testPrivateData()
152 status.isSuccess()); in testPrivateData()
170 status.isSuccess()); in testFindL2Key()
186 + status.resultCode, status.isSuccess()); in testIsSameNetwork()
204 status.isSuccess())); in testEnqueuedIpMsRequests()
208 + status.resultCode, status.isSuccess()); in testEnqueuedIpMsRequests()
214 status.isSuccess())); in testEnqueuedIpMsRequests()
218 status.isSuccess()); in testEnqueuedIpMsRequests()
[all …]
/frameworks/base/core/java/android/net/metrics/
DDnsEvent.java62 boolean isSuccess = (returnCode == 0); in addResult()
65 return isSuccess; in addResult()
74 if (isSuccess) { in addResult()
77 return isSuccess; in addResult()
DNetworkMetrics.java82 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs); in addDnsResult()
84 pendingSummary.dnsErrorRate.count(isSuccess ? 0 : 1); in addDnsResult()
92 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); in addConnectResult()
93 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/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java589 return result.isSuccess(); in registerCallback()
617 return result.isSuccess(); in find()
637 return result.isSuccess(); in stopFind()
657 return result.isSuccess(); in flush()
678 return result.isSuccess(); in serviceFlush()
702 return result.isSuccess(); in setPowerSave()
736 return result.isSuccess(); in setGroupIdle()
769 return result.isSuccess(); in setSsidPostfix()
872 return result.isSuccess(); in cancelConnect()
925 return result.isSuccess(); in provisionDiscovery()
[all …]
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java97 if (mLastResult.isSuccess()) { in measure()
116 if (mLastResult.isSuccess()) { in render()
DBridge.java392 if (lastResult.isSuccess()) { in createSession()
397 if (lastResult.isSuccess() && !doNotRenderOnCreate) { in createSession()
426 if (lastResult.isSuccess()) { in renderDrawable()
/frameworks/base/services/net/java/android/net/ipmemorystore/
DStatus.java56 public boolean isSuccess() { in isSuccess() method in Status
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java70 public boolean isSuccess() { in isSuccess() method in NetworkUpdateResult
DMemoryStoreImpl.java100 if (status.isSuccess()) { in onBlobRetrieved()
DCarrierNetworkEvaluator.java140 if (!result.isSuccess()) { in evaluateNetworks()
DNetworkSuggestionEvaluator.java145 if (!result.isSuccess()) { in addCandidateToWifiConfigManager()
DScoredNetworkEvaluator.java305 if (!result.isSuccess()) { in getCandidateConfiguration()
DAvailableNetworkNotifier.java439 if (result.isSuccess()) { in handleConnectToNetworkAction()
DDppManager.java443 if (networkUpdateResult.isSuccess()) { in onSuccessConfigReceived()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java235 boolean isSuccess = mWifiConfigManager.tryEnableNetwork(existingNetwork.networkId); in createWifiConfigForProvider()
236 if (isSuccess) { in createWifiConfigForProvider()
249 if (!result.isSuccess()) { in createWifiConfigForProvider()
/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/graphics/java/android/graphics/fonts/
DFontFileUtil.java51 public static boolean isSuccess(int packed) { in isSuccess() method in FontFileUtil
DFont.java365 if (FontFileUtil.isSuccess(packed)) { in build()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java354 if (!session.getResult().isSuccess()) { in render()
361 if (!renderResult.isSuccess()) { in render()
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java336 if (!apexSessionInfo.isActivated && !apexSessionInfo.isSuccess) { in resumeSession()
585 return session.isUnknown || session.isActivationFailed || session.isSuccess in isApexSessionFinalized()
DApexManager.java471 } else if (si.isSuccess) { in dump()
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/
DBugreportManagerTest.java251 public boolean isSuccess() { in isSuccess() method in BugreportManagerTest.BugreportCallbackImpl
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkEvaluatorTest.java123 when(networkUpdateResult.isSuccess()).thenReturn(true); in answer()

12