Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java563 return result.isSuccess(); in registerCallback()
591 return result.isSuccess(); in find()
611 return result.isSuccess(); in stopFind()
631 return result.isSuccess(); in flush()
652 return result.isSuccess(); in serviceFlush()
676 return result.isSuccess(); in setPowerSave()
710 return result.isSuccess(); in setGroupIdle()
743 return result.isSuccess(); in setSsidPostfix()
846 return result.isSuccess(); in cancelConnect()
899 return result.isSuccess(); in provisionDiscovery()
[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/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.java85 if (mLastResult.isSuccess()) { in measure()
104 if (mLastResult.isSuccess()) { in render()
DBridge.java383 if (lastResult.isSuccess()) { in createSession()
388 if (lastResult.isSuccess() && !doNotRenderOnCreate) { in createSession()
417 if (lastResult.isSuccess()) { in renderDrawable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java70 public boolean isSuccess() { in isSuccess() method in NetworkUpdateResult
DScoredNetworkEvaluator.java297 if (!result.isSuccess()) { in getCandidateConfiguration()
DWifiStateMachine.java3315 if (!result.isSuccess()) { in processMessage()
4208 if (!result.isSuccess()) { in processMessage()
4232 if (result.isSuccess() && mWifiInfo.getNetworkId() == netId) { in processMessage()
5786 if (!result.isSuccess()) { in saveNetworkConfigAndSendReply()
DWifiConfigManager.java1107 if (!result.isSuccess()) { in addOrUpdateNetwork()
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java154 if (!result.isSuccess()) { in createWifiConfigForProvider()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java354 if (!session.getResult().isSuccess()) { in render()
361 if (!renderResult.isSuccess()) { in render()
DRenderTests.java548 assertTrue(result.getResult().isSuccess()); in testScrollingAndMeasure()
578 assertTrue(result.getResult().isSuccess()); in testScrollingAndMeasure()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java220 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore()
320 assertTrue(addNetworkToWifiConfigManager(ephemeralNetwork).isSuccess()); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted()
321 assertTrue(addNetworkToWifiConfigManager(openNetwork).isSuccess()); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted()
873 assertFalse(result.isSuccess()); in testAddOrUpdateNetworkWithNullConfig()
1061 assertFalse(result.isSuccess()); in testAddSingleNetworkWithNullIpConfigurationFails()
2707 assertFalse(result.isSuccess()); in testAddNetworkUsingBackgroundUserUId()
2727 assertTrue(result.isSuccess()); in testAddNetworkUsingSysUiUid()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java166 if (!result.isSuccess()) { in init()