Home
last modified time | relevance | path

Searched refs:STATUS_SUCCESS (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingResult.java47 @IntDef({STATUS_SUCCESS, STATUS_FAIL, STATUS_RESPONDER_DOES_NOT_SUPPORT_IEEE80211MC})
56 public static final int STATUS_SUCCESS = 0; field in RangingResult
168 if (mStatus != STATUS_SUCCESS) { in getDistanceMm()
186 if (mStatus != STATUS_SUCCESS) { in getDistanceStdDevMm()
200 if (mStatus != STATUS_SUCCESS) { in getRssi()
217 if (mStatus != STATUS_SUCCESS) { in getNumAttemptedMeasurements()
239 if (mStatus != STATUS_SUCCESS) { in getNumSuccessfulMeasurements()
260 if (mStatus != STATUS_SUCCESS) { in getUnverifiedResponderLocation()
280 if (mStatus != STATUS_SUCCESS) { in getLci()
299 if (mStatus != STATUS_SUCCESS) { in getLcr()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java133 rangingResult = new RangingResult(RangingResult.STATUS_SUCCESS, in getDummyRangingResults()
137 rangingResult = new RangingResult(RangingResult.STATUS_SUCCESS, in getDummyRangingResults()
145 results.add(new RangingResult(RangingResult.STATUS_SUCCESS, in getDummyRangingResults()
149 results.add(new RangingResult(RangingResult.STATUS_SUCCESS, in getDummyRangingResults()
153 results.add(new RangingResult(RangingResult.STATUS_SUCCESS, in getDummyRangingResults()
168 rttResult.status = rangingResult.getStatus() == RangingResult.STATUS_SUCCESS in getMatchingRttResult()
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java147 STATUS_SUCCESS,
158 public static final int STATUS_SUCCESS = 0; field in RollbackManager
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java65 return mErrorCode != InstallerConstants.STATUS_SUCCESS || !TextUtils.isEmpty(mErrorDesc); in isError()
101 if (mErrorCode != InstallerConstants.STATUS_SUCCESS) { in execute()
DInstallerConstants.java25 public static final int STATUS_SUCCESS = 0; field in InstallerConstants
DPackageInstallerImpl.java293 if (status == PackageInstaller.STATUS_SUCCESS) { in handleCommitCallback()
/frameworks/base/telephony/common/com/google/android/mms/util/
DDrmConvertSession.java37 public static final int STATUS_SUCCESS = 200; field in DrmConvertSession
150 result = STATUS_SUCCESS; in close()
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
DPhotoBitmapLoaderInterface.java15 public static final int STATUS_SUCCESS = 0; field in PhotoBitmapLoaderInterface.BitmapResult
DPhotoBitmapLoader.java112 result.status = BitmapResult.STATUS_SUCCESS; in onStartLoading()
/frameworks/base/core/java/android/provider/
DDownloads.java667 public static final int STATUS_SUCCESS = 200; field in Downloads.Impl
787 case STATUS_SUCCESS: return "SUCCESS"; in statusToString()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java150 setResult(status == PackageInstaller.STATUS_SUCCESS ? Activity.RESULT_OK in onResult()
155 if (status != PackageInstaller.STATUS_SUCCESS) { in onResult()
DUninstallFinish.java86 case PackageInstaller.STATUS_SUCCESS: in onReceive()
DInstallInstalling.java289 if (statusCode == PackageInstaller.STATUS_SUCCESS) { in launchFinishBasedOnResult()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java83 new RangingResult(RangingResult.STATUS_SUCCESS, MacAddress.BROADCAST_ADDRESS, 15, 5, in testRangeSuccess()
232 int status = RangingResult.STATUS_SUCCESS; in testRangingResultsParcel()
282 int status = RangingResult.STATUS_SUCCESS; in testRangingResultsEqualityLciLcr()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCellNetworkScanResult.java34 public static final int STATUS_SUCCESS = 1; field in CellNetworkScanResult
/frameworks/base/core/java/android/os/
DHwParcel.java42 STATUS_SUCCESS,
51 public static final int STATUS_SUCCESS = 0; field in HwParcel
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java21 import static android.net.dhcp.IDhcpServer.STATUS_SUCCESS;
439 if (statusCode != STATUS_SUCCESS) { in onDhcpServerCreated()
450 if (startStatusCode != STATUS_SUCCESS) { in onDhcpServerCreated()
565 if (statusCode != STATUS_SUCCESS) { in stopDhcp()
973 if (statusCode != STATUS_SUCCESS) { in handleNewPrefixRequest()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java110 result.status = BitmapResult.STATUS_SUCCESS; in createLocalBitmap()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java128 if (status != PackageInstaller.STATUS_SUCCESS) { in installApk()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java367 if (status != PackageInstaller.STATUS_SUCCESS) { in uninstallSystemUpdates()
427 if (status == RollbackManager.STATUS_SUCCESS) { in runRollbackApp()
1153 false /*logSuccess*/) != PackageInstaller.STATUS_SUCCESS) { in runInstall()
1157 != PackageInstaller.STATUS_SUCCESS) { in runInstall()
1253 if (doCommitSession(sessionId, false /*logSuccess*/) != PackageInstaller.STATUS_SUCCESS) { in runInstallCommit()
1374 return status == PackageInstaller.STATUS_SUCCESS ? 0 : 1; in runInstallExisting()
1871 if (status == PackageInstaller.STATUS_SUCCESS) { in runUninstall()
1891 != PackageInstaller.STATUS_SUCCESS) { in runRemoveSplit()
1895 != PackageInstaller.STATUS_SUCCESS) { in runRemoveSplit()
2998 if (status == PackageInstaller.STATUS_SUCCESS) { in doCommitSession()
DStagingManager.java552 if (status != PackageInstaller.STATUS_SUCCESS) { in verifyApksInSession()
595 if (status != PackageInstaller.STATUS_SUCCESS) { in installApksInSession()
/frameworks/base/core/java/android/app/
DDownloadManager.java992 parts.add(statusClause("=", Downloads.Impl.STATUS_SUCCESS)); in runQuery()
1522 values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_SUCCESS);
1742 case Downloads.Impl.STATUS_SUCCESS:
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java143 if (status == RollbackManager.STATUS_SUCCESS) { in execute()
DRollbackManagerServiceImpl.java441 if (status != PackageInstaller.STATUS_SUCCESS) { in commitRollbackInternal()
729 fillIn.putExtra(RollbackManager.EXTRA_STATUS, RollbackManager.STATUS_SUCCESS); in sendSuccess()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java29 import static android.net.dhcp.IDhcpServer.STATUS_SUCCESS;
223 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in setUpDhcpServer()
991 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in testStopObsoleteDhcpServer()

12