Home
last modified time | relevance | path

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

123456789

/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DRangingResult.java61 @IntDef({STATUS_SUCCESS, STATUS_FAIL, STATUS_RESPONDER_DOES_NOT_SUPPORT_IEEE80211MC})
70 public static final int STATUS_SUCCESS = 0; field in RangingResult
586 if (mStatus != STATUS_SUCCESS) { in getDistanceMm()
604 if (mStatus != STATUS_SUCCESS) { in getDistanceStdDevMm()
618 if (mStatus != STATUS_SUCCESS) { in getRssi()
637 if (mStatus != STATUS_SUCCESS) { in getNumAttemptedMeasurements()
659 if (mStatus != STATUS_SUCCESS) { in getNumSuccessfulMeasurements()
680 if (mStatus != STATUS_SUCCESS) { in getUnverifiedResponderLocation()
698 if (mStatus != STATUS_SUCCESS) { in getLci()
715 if (mStatus != STATUS_SUCCESS) { in getLcr()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DRunAdScoringProcessReportedStatsTest.java36 static final int GET_AD_SELECTION_LOGIC_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
37 static final int GET_AD_SCORES_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
38 static final int GET_TRUSTED_SCORING_SIGNALS_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
43 static final int RUN_AD_SCORING_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
44 static final int GET_AD_SELECTION_LOGIC_SCRIPT_TYPE = AdServicesStatusUtils.STATUS_SUCCESS;
DAdsRelevanceExecutionLoggerImplTest.java19 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
93 int resultCode = STATUS_SUCCESS; in testFledgeAuctionServerExecutionLogger_successGetAdSelectionData()
126 int resultCode = STATUS_SUCCESS; in testFledgeAuctionServerExecutionLogger_successPersistAdSelectionResult()
165 fledgeAuctionServerExecutionLoggerImpl.endAdsRelevanceApi(STATUS_SUCCESS); in testFledgeAuctionServerExecutionLogger_missingStartOfGetAdSelectionData()
198 fledgeAuctionServerExecutionLoggerImpl.endAdsRelevanceApi(STATUS_SUCCESS); in testFledgeAuctionServerExecutionLogger_redundantEndOfGetAdSelectionData()
227 fledgeAuctionServerExecutionLoggerImpl.endAdsRelevanceApi(STATUS_SUCCESS); in testFledgeAuctionServerExecutionLogger_missingStartOfPersistAdSelectionResult()
260 fledgeAuctionServerExecutionLoggerImpl.endAdsRelevanceApi(STATUS_SUCCESS); in testFledgeAuctionServerExecutionLogger_redundantEndOfPersistAdSelectionResult()
DAdSelectionExecutionLoggerTest.java20 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
285 adSelectionExecutionLogger.endBiddingProcess(AD_BIDDING_OUTCOMES, STATUS_SUCCESS); in testAdSelectionExecutionLogger_SuccessAdSelection()
299 adSelectionExecutionLogger.endRunAdScoring(STATUS_SUCCESS); in testAdSelectionExecutionLogger_SuccessAdSelection()
306 int resultCode = STATUS_SUCCESS; in testAdSelectionExecutionLogger_SuccessAdSelection()
347 .isEqualTo(STATUS_SUCCESS); in testAdSelectionExecutionLogger_SuccessAdSelection()
355 .isEqualTo(STATUS_SUCCESS); in testAdSelectionExecutionLogger_SuccessAdSelection()
366 .isEqualTo(STATUS_SUCCESS); in testAdSelectionExecutionLogger_SuccessAdSelection()
429 adSelectionExecutionLogger.endBiddingProcess(AD_BIDDING_OUTCOMES, STATUS_SUCCESS); in testAdSelectionExecutionLogger_FailedAdSelectionDuringScoreAds()
454 .isEqualTo(STATUS_SUCCESS); in testAdSelectionExecutionLogger_FailedAdSelectionDuringScoreAds()
470 .isEqualTo(STATUS_SUCCESS); in testAdSelectionExecutionLogger_FailedAdSelectionDuringScoreAds()
[all …]
DRunAdBiddingPerCAProcessReportedStatsTest.java35 static final int RUN_AD_BIDDING_PER_CA_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
37 static final int GET_BUYER_DECISION_LOGIC_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
46 static final int RUN_BIDDING_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
47 static final int GET_TRUSTED_BIDDING_SIGNALS_RESULT_CODE = AdServicesStatusUtils.STATUS_SUCCESS;
DUpdateCustomAudienceExecutionLoggerTest.java20 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
74 ADS_DATA_SIZE_IN_BYTES, NUM_OF_ADS, STATUS_SUCCESS); in testUpdateCustomAudienceExecutionLogger_Success()
113 ADS_DATA_SIZE_IN_BYTES, NUM_OF_ADS, STATUS_SUCCESS); in testUpdateCustomAudienceExecutionLogger_RepeatedClose()
119 ADS_DATA_SIZE_IN_BYTES, NUM_OF_ADS, STATUS_SUCCESS)); in testUpdateCustomAudienceExecutionLogger_RepeatedClose()
DBackgroundFetchExecutionLoggerTest.java20 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
68 backgroundFetchExecutionLogger.close(NUM_OF_ELIGIBLE_TO_UPDATE_CAS, STATUS_SUCCESS); in testBackgroundFetchExecutionLogger_SuccessBackgroundFetch()
80 assertThat(backgroundFetchProcessReportedStats.getResultCode()).isEqualTo(STATUS_SUCCESS); in testBackgroundFetchExecutionLogger_SuccessBackgroundFetch()
/packages/services/Car/car-lib/src/android/car/admin/
DStartUserInBackgroundResult.java40 public static final int STATUS_SUCCESS = 1; field in StartUserInBackgroundResult
59 STATUS_SUCCESS,
75 mStatus = STATUS_SUCCESS; in StartUserInBackgroundResult()
104 return mStatus == STATUS_SUCCESS || mStatus == STATUS_SUCCESS_CURRENT_USER; in isSuccess()
DStopUserResult.java40 public static final int STATUS_SUCCESS = 1; field in StopUserResult
64 STATUS_SUCCESS,
81 mStatus = STATUS_SUCCESS; in StopUserResult()
114 return mStatus == STATUS_SUCCESS; in isSuccess()
DRemoveUserResult.java40 public static final int STATUS_SUCCESS = 1; field in RemoveUserResult
77 STATUS_SUCCESS,
101 mStatus = STATUS_SUCCESS; in RemoveUserResult()
142 return mStatus == STATUS_SUCCESS || mStatus == STATUS_SUCCESS_LAST_ADMIN_REMOVED in isSuccess()
DCreateUserResult.java45 public static final int STATUS_SUCCESS = 1; field in CreateUserResult
59 STATUS_SUCCESS,
90 mStatus = STATUS_SUCCESS; in CreateUserResult()
128 return mStatus == STATUS_SUCCESS; in isSuccess()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DDownloadProviderFunctionalTest.java63 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testDownloadTextFile()
78 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testDownloadToCache()
93 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testRoaming()
103 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testRoaming()
113 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); in testCleartextTrafficPermittedFlagHonored()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java131 .setStatus(RangingResult.STATUS_SUCCESS) in getDummyRangingResults()
144 .setStatus(RangingResult.STATUS_SUCCESS) in getDummyRangingResults()
164 .setStatus(RangingResult.STATUS_SUCCESS) in getDummyRangingResults()
177 .setStatus(RangingResult.STATUS_SUCCESS) in getDummyRangingResults()
190 .setStatus(RangingResult.STATUS_SUCCESS) in getDummyRangingResults()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/
DResultCallbackHelper.java20 import static android.federatedcompute.common.ClientConstants.STATUS_SUCCESS;
77 result.isResultSuccess() ? STATUS_SUCCESS : STATUS_TRAINING_FAILED); in callHandleResult()
98 asyncResult.add(STATUS_SUCCESS); in callHandleResult()
110 statusCode == STATUS_SUCCESS ? CallbackResult.SUCCESS : CallbackResult.FAIL; in callHandleResult()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DResultHandlingServiceTest.java20 import static android.federatedcompute.common.ClientConstants.STATUS_SUCCESS;
82 input.putInt(ClientConstants.EXTRA_COMPUTATION_RESULT, STATUS_SUCCESS); in testHandleResult_success()
98 input.putInt(ClientConstants.EXTRA_COMPUTATION_RESULT, STATUS_SUCCESS); in testHandleResult_failure()
120 callback.accept(STATUS_SUCCESS); in handleResult()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DConsentNotifiedAccessResolver.java61 return new AccessInfo(true, AdServicesStatusUtils.STATUS_SUCCESS); in getAccessInfo()
66 return new AccessInfo(true, AdServicesStatusUtils.STATUS_SUCCESS); in getAccessInfo()
75 ? AdServicesStatusUtils.STATUS_SUCCESS in getAccessInfo()
DForegroundEnforcementAccessResolver.java56 return new AccessInfo(true, AdServicesStatusUtils.STATUS_SUCCESS); in getAccessInfo()
62 return new AccessInfo(true, AdServicesStatusUtils.STATUS_SUCCESS); in getAccessInfo()
80 return new AccessInfo(true, AdServicesStatusUtils.STATUS_SUCCESS); in getAccessInfo()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DAdSelectionExecutionLogger.java19 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
363 if (resultCode == STATUS_SUCCESS) { in endBiddingProcess()
587 if (resultCode == STATUS_SUCCESS) { in close()
703 return STATUS_SUCCESS; in getAdScoresResultCode()
736 return STATUS_SUCCESS; in getGetTrustedScoringSignalsResultCode()
762 return STATUS_SUCCESS; in getGetAdSelectionLogicResultCode()
830 return STATUS_SUCCESS; in getGetBuyersCustomAudienceResultCode()
839 return STATUS_SUCCESS; in getRunAdBiddingResultCode()
848 return STATUS_SUCCESS; in getPersistAdSelectionResultCode()
DRunAdBiddingPerCAExecutionLogger.java19 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
313 if (resultCode == STATUS_SUCCESS) { in close()
377 return STATUS_SUCCESS; in getRunBiddingResultCode()
406 return STATUS_SUCCESS; in getTrustedBiddingSignalsResultCode()
446 return STATUS_SUCCESS; in getBuyerDecisionLogicResultCode()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpResultHandlingService.java19 import static android.federatedcompute.common.ClientConstants.STATUS_SUCCESS;
67 if (computationResult != STATUS_SUCCESS) { in handleResult()
68 callback.accept(ClientConstants.STATUS_SUCCESS); in handleResult()
84 callback.accept(STATUS_SUCCESS); in handleResult()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementServiceImplTest.java24 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
239 list.add(STATUS_SUCCESS); in registerSourceAndAssertSuccess()
249 assertThat(list.get(0)).isEqualTo(STATUS_SUCCESS); in registerSourceAndAssertSuccess()
466 list.add(STATUS_SUCCESS); in registerTriggerAndAssertSuccess()
476 assertThat(list.get(0)).isEqualTo(STATUS_SUCCESS); in registerTriggerAndAssertSuccess()
693 list.add(STATUS_SUCCESS); in deleteRegistrationsAndAssertSuccess()
702 assertThat(list.get(0)).isEqualTo(STATUS_SUCCESS); in deleteRegistrationsAndAssertSuccess()
1177 list.add(STATUS_SUCCESS); in registerWebSourceAndAssertSuccess()
1186 assertThat(list.get(0)).isEqualTo(STATUS_SUCCESS); in registerWebSourceAndAssertSuccess()
1206 list.add(STATUS_SUCCESS); in registerWebSource_consentNotNotifiedButConsentGiven_success()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DBrowsedPlayerWrapper.java61 public static final int STATUS_SUCCESS = 0; field in BrowsedPlayerWrapper
249 cb.run(STATUS_SUCCESS, mediaId, Util.cloneList(mCachedFolders.get(mediaId)));
265 if (status != STATUS_SUCCESS) {
290 executeCallback(STATUS_SUCCESS, BrowsedPlayerWrapper.this);
379 mPlaybackCallback.run(STATUS_SUCCESS);
405 mPlaybackCallback.run(STATUS_SUCCESS);
484 mBrowseCallback.run(STATUS_SUCCESS, parentId, Util.cloneList(return_list));
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java21 import static android.net.wifi.WifiManager.AddNetworkResult.STATUS_SUCCESS;
36 this(netId, netId != INVALID_NETWORK_ID ? STATUS_SUCCESS : STATUS_ADD_WIFI_CONFIG_FAILURE, in NetworkUpdateResult()
85 return mStatusCode == STATUS_SUCCESS; in isSuccess()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesResponse.java19 import static android.adservices.common.AdServicesStatusUtils.STATUS_SUCCESS;
95 return getStatusCode() == STATUS_SUCCESS; in isSuccess()
110 @StatusCode private int mStatusCode = STATUS_SUCCESS;
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Packet.java100 public static final short STATUS_SUCCESS = 0; field in Dhcp6Packet
226 this(iaid, t1, t2, ipos, STATUS_SUCCESS /* statusCode */); in PrefixDelegation()
261 short statusCode = STATUS_SUCCESS; in decode()
307 + (statusCode != STATUS_SUCCESS ? MIN_STATUS_CODE_OPT_LEN : 0)); in build()
314 if (statusCode != STATUS_SUCCESS) { in build()
395 case STATUS_SUCCESS: in statusCodeToString()
444 short statusCode = STATUS_SUCCESS; in decode()

123456789