Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 153) sorted by relevance

1234567

/packages/services/Car/cpp/computepipe/tests/runner/graph/
DGrpcGraphTest.cpp82 return Status::SUCCESS; in dispatchToComponent()
93 EXPECT_EQ(mGrpcGraph->handleConfigPhase(clientConfig), Status::SUCCESS); in TEST_F()
95 EXPECT_EQ(mGrpcGraph->GetStatus(), Status::SUCCESS); in TEST_F()
98 EXPECT_EQ(mGrpcGraph->handleExecutionPhase(e), Status::SUCCESS); in TEST_F()
100 EXPECT_EQ(mGrpcGraph->GetStatus(), Status::SUCCESS); in TEST_F()
102 EXPECT_EQ(mGrpcGraph->handleStopWithFlushPhase(e), Status::SUCCESS); in TEST_F()
104 EXPECT_EQ(mGrpcGraph->GetStatus(), Status::SUCCESS); in TEST_F()
108 EXPECT_EQ(mGrpcGraph->GetStatus(), Status::SUCCESS); in TEST_F()
117 EXPECT_EQ(mGrpcGraph->handleConfigPhase(clientConfig), Status::SUCCESS); in TEST_F()
119 EXPECT_EQ(mGrpcGraph->GetStatus(), Status::SUCCESS); in TEST_F()
[all …]
DLocalPrebuiltGraphTest.cpp80 EXPECT_EQ(graph->handleConfigPhase(e), Status::SUCCESS); in TEST()
83 EXPECT_EQ(graph->GetStatus(), Status::SUCCESS); in TEST()
126 EXPECT_EQ(graph->handleConfigPhase(e), Status::SUCCESS); in TEST()
129 EXPECT_EQ(graph->handleExecutionPhase(e), Status::SUCCESS); in TEST()
136 Status::SUCCESS); in TEST()
139 Status::SUCCESS); in TEST()
142 Status::SUCCESS); in TEST()
145 Status::SUCCESS); in TEST()
148 Status::SUCCESS); in TEST()
153 Status::SUCCESS); in TEST()
[all …]
/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/
DPixelStreamManagerTest.cpp108 EXPECT_EQ(status, Status::SUCCESS); in TEST()
136 EXPECT_EQ(status, Status::SUCCESS); in TEST()
161 EXPECT_EQ(status, Status::SUCCESS); in TEST()
217 ASSERT_EQ(manager->handleExecutionPhase(e), Status::SUCCESS); in TEST()
223 .WillOnce(testing::DoAll(testing::SaveArg<0>(&memHandle), (Return(Status::SUCCESS)))); in TEST()
225 EXPECT_EQ(manager->queuePacket(frame, 0), Status::SUCCESS); in TEST()
239 ASSERT_EQ(manager->handleExecutionPhase(e), Status::SUCCESS); in TEST()
247 .WillRepeatedly(testing::DoAll(testing::SaveArg<0>(&memHandle), (Return(Status::SUCCESS)))); in TEST()
249 EXPECT_EQ(manager->queuePacket(frame, 0), Status::SUCCESS); in TEST()
257 EXPECT_EQ(manager->queuePacket(frame, 10), Status::SUCCESS); in TEST()
[all …]
/packages/services/Car/cpp/computepipe/runner/engine/
DDefaultEngine.cpp79 return Status::SUCCESS; in setArgs()
111 return SUCCESS; in processClientConfigUpdate()
113 return Status::SUCCESS; in processClientConfigUpdate()
125 return Status::SUCCESS; in processClientCommand()
132 return Status::SUCCESS; in processClientCommand()
140 return Status::SUCCESS; in processClientCommand()
149 return Status::SUCCESS; in processClientCommand()
154 return Status::SUCCESS; in processClientCommand()
161 return Status::SUCCESS; in processClientCommand()
170 return Status::SUCCESS; in processClientCommand()
[all …]
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DSemanticManager.cpp61 return SUCCESS; in setMemInfo()
85 return SUCCESS; in setMaxInFlightPackets()
92 return SUCCESS; in handleExecutionPhase()
101 return SUCCESS; in handleExecutionPhase()
106 return SUCCESS; in handleExecutionPhase()
123 return SUCCESS; in handleStopWithFlushPhase()
128 return SUCCESS; in handleStopWithFlushPhase()
133 return SUCCESS; in handleStopWithFlushPhase()
135 return SUCCESS; in handleStopWithFlushPhase()
143 return SUCCESS; in freePacket()
[all …]
DPixelStreamManager.cpp125 return Status::SUCCESS; in setFrameData()
147 return Status::SUCCESS; in setMaxInFlightPackets()
160 return Status::SUCCESS; in freePacket()
173 return Status::SUCCESS; in freePacket()
211 return Status::SUCCESS; in queuePacket()
232 if (status != Status::SUCCESS) { in queuePacket()
241 if (status != Status::SUCCESS) { in queuePacket()
247 return Status::SUCCESS; in queuePacket()
254 return Status::SUCCESS; in handleExecutionPhase()
263 return Status::SUCCESS; in handleExecutionPhase()
[all …]
/packages/services/Car/cpp/computepipe/runner/
DRunnerComponent.cpp67 return Status::SUCCESS; in getInputConfigId()
75 return Status::SUCCESS; in getOffloadId()
83 return Status::SUCCESS; in getTerminationId()
91 return Status::SUCCESS; in getOutputStreamConfigs()
96 return Status::SUCCESS; in getOptionalConfigs()
101 return Status::SUCCESS; in getProfilingType()
110 return Status::SUCCESS; in handleConfigPhase()
114 return SUCCESS; in handleExecutionPhase()
118 return SUCCESS; in handleStopWithFlushPhase()
122 return SUCCESS; in handleStopImmediatePhase()
[all …]
/packages/services/Car/cpp/computepipe/runner/graph/
DGrpcGraph.cpp63 return std::pair(Status::SUCCESS, std::string("")); in FinishRpcAndGetResult()
106 if (mStatus != Status::SUCCESS) { in initialize()
119 return Status::SUCCESS; in initialize()
136 mStatus = Status::SUCCESS; in handleConfigPhase()
154 if (mStatus != Status::SUCCESS) { in handleConfigPhase()
159 if (response.code() != proto::RemoteGraphStatusCode::SUCCESS) { in handleConfigPhase()
184 mStatus = Status::SUCCESS; in handleExecutionPhase()
190 if (mStatus != Status::SUCCESS) { in handleExecutionPhase()
206 if (mStatus != Status::SUCCESS) { in handleExecutionPhase()
214 if (mStatus == Status::SUCCESS) { in handleExecutionPhase()
[all …]
DLocalPrebuiltGraph.cpp64 return Status::SUCCESS; in handleConfigPhase()
72 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase()
84 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase()
94 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase()
103 if (errorCode != PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleConfigPhase()
108 return Status::SUCCESS; in handleConfigPhase()
121 return Status::SUCCESS; in handleExecutionPhase()
126 if (errorCode == PrebuiltComputepipeRunner_ErrorCode::SUCCESS) { in handleExecutionPhase()
141 return Status::SUCCESS; in handleStopWithFlushPhase()
156 return Status::SUCCESS; in handleStopImmediatePhase()
[all …]
/packages/services/Car/cpp/computepipe/runner/client_interface/
DDebuggerImpl.cpp65 return Status::SUCCESS; in RecursiveCreateDir()
72 return Status::SUCCESS; in RecursiveCreateDir()
78 if (status != Status::SUCCESS) { in RecursiveCreateDir()
86 return Status::SUCCESS; in RecursiveCreateDir()
130 if (status != Status::SUCCESS) { in stopPipeProfiling()
137 if (status != Status::SUCCESS) { in stopPipeProfiling()
192 return Status::SUCCESS; in handleConfigPhase()
202 return Status::SUCCESS; in handleExecutionPhase()
212 return Status::SUCCESS; in handleStopWithFlushPhase()
219 return Status::SUCCESS; in handleStopImmediatePhase()
[all …]
DAidlClient.cpp69 return Status::SUCCESS; in activate()
76 return Status::SUCCESS; in deliverGraphDebugInfo()
135 return SUCCESS; in handleResetPhase()
151 return SUCCESS; in handleConfigPhase()
166 return SUCCESS; in handleExecutionPhase()
179 return SUCCESS; in handleStopWithFlushPhase()
192 return SUCCESS; in handleStopImmediatePhase()
DAidlClientImpl.cpp74 return Status::SUCCESS; in ToAidlPacketType()
77 return Status::SUCCESS; in ToAidlPacketType()
95 if (status != SUCCESS) { in DispatchSemanticData()
112 return Status::SUCCESS; in DispatchSemanticData()
124 if (status != Status::SUCCESS) { in DispatchPixelData()
159 return Status::SUCCESS; in DispatchPixelData()
180 return Status::SUCCESS; in dispatchPacketToClient()
193 return Status::SUCCESS; in stateUpdateNotification()
285 if (status != SUCCESS) { in setPipeOutputConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java300 WifiMetricsProto.WifiAwareLog.SUCCESS, 5); in testAttachSessionMetrics()
336 mDut.recordDiscoveryStatus(uid1, NanStatusType.SUCCESS, true); in testDiscoverySessionMetrics()
342 mDut.recordDiscoveryStatus(uid1, NanStatusType.SUCCESS, true); in testDiscoverySessionMetrics()
348 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, true); in testDiscoverySessionMetrics()
354 mDut.recordDiscoveryStatus(uid2, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics()
360 mDut.recordDiscoveryStatus(uid2, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics()
366 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics()
372 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics()
378 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics()
421 WifiMetricsProto.WifiAwareLog.SUCCESS, 3); in testDiscoverySessionMetrics()
[all …]
/packages/services/Car/cpp/computepipe/runner/input_manager/
DEvsInputManager.cpp68 if (evsManager->initializeCameras() == Status::SUCCESS) { in createEvsInputManager()
100 return Status::SUCCESS; in initializeCameras()
108 return Status::SUCCESS; in handleExecutionPhase()
140 return Status::SUCCESS; in handleExecutionPhase()
150 return Status::SUCCESS; in handleStopImmediatePhase()
163 return Status::SUCCESS; in handleStopImmediatePhase()
173 return Status::SUCCESS; in handleStopWithFlushPhase()
179 return Status::SUCCESS; in handleStopWithFlushPhase()
189 return Status::SUCCESS; in handleResetPhase()
DVideoInputManager.cpp43 return Status::SUCCESS; in handleExecutionPhase()
56 if (status != Status::SUCCESS) { in handleExecutionPhase()
63 return Status::SUCCESS; in handleExecutionPhase()
68 return Status::SUCCESS; in handleStopImmediatePhase()
73 return Status::SUCCESS; in handleStopWithFlushPhase()
78 return Status::SUCCESS; in handleResetPhase()
112 if (status != Status::SUCCESS) { in startDecoders()
116 return Status::SUCCESS; in startDecoders()
DVideoDecoder.cpp69 if (initializeMediaExtractor() != Status::SUCCESS) { in getPlaybackFrameRate()
75 if (initializeMediaDecoder() != Status::SUCCESS) { in getPlaybackFrameRate()
90 return Status::SUCCESS; in startDecoding()
119 return Status::SUCCESS; in initializeMediaExtractor()
169 return Status::SUCCESS; in initializeMediaDecoder()
196 CHECK(initializeMediaExtractor() == Status::SUCCESS); in decoderThreadFunction()
197 CHECK(initializeMediaDecoder() == Status::SUCCESS); in decoderThreadFunction()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java179 if (status.status == NanStatusType.SUCCESS) { in notifyCapabilitiesResponse()
202 if (status.status == NanStatusType.SUCCESS) { in notifyCapabilitiesResponse_1_5()
248 if (status.status == NanStatusType.SUCCESS in notifyEnableResponse()
260 if (status.status == NanStatusType.SUCCESS) { in notifyConfigResponse()
273 if (status.status != NanStatusType.SUCCESS) { in notifyDisableResponse()
287 if (status.status == NanStatusType.SUCCESS) { in notifyStartPublishResponse()
300 if (status.status == NanStatusType.SUCCESS) { in notifyStopPublishResponse()
315 if (status.status == NanStatusType.SUCCESS) { in notifyStartSubscribeResponse()
329 if (status.status == NanStatusType.SUCCESS) { in notifyStopSubscribeResponse()
344 if (status.status == NanStatusType.SUCCESS) { in notifyTransmitFollowupResponse()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java145 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in onCreate_startsCheckVoiceData()
202 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference()
250 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault()
273 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale()
296 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary()
319 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in speechRate_handlePreferenceChanged_updatesSecureSettings()
333 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in speechRate_handlePreferenceChanged_updatesTts()
346 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in speechRate_handlePreferenceChanged_speaksSampleText()
358 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in voicePitch_handlePreferenceChanged_updatesSecureSettings()
372 ShadowTextToSpeech.callInitializationCallbackWithStatus(TextToSpeech.SUCCESS); in voicePitch_handlePreferenceChanged_updatesTts()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveTracker.java35 import static android.net.SocketKeepalive.SUCCESS;
250 return SUCCESS; in checkNetworkConnected()
257 return SUCCESS; in checkSourceAddress()
267 return SUCCESS; in checkInterval()
276 if (mPrivileged) return SUCCESS; in checkPermission()
301 return SUCCESS; in checkPermission()
313 return SUCCESS; in checkLimit()
319 if (error == SUCCESS) error = checkLimit(); in isValid()
320 if (error == SUCCESS) error = checkPermission(); in isValid()
321 if (error == SUCCESS) error = checkNetworkConnected(); in isValid()
[all …]
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/
DClientInterfaceTest.cc110 EXPECT_EQ(mAidlClient->activate(), Status::SUCCESS); in SetUp()
139 .WillRepeatedly(DoAll(SaveArg<0>(&command), Return(Status::SUCCESS))); in TEST_F()
222 .WillRepeatedly(DoAll(SaveArg<0>(&command), Return(Status::SUCCESS))); in TEST_F()
313 EXPECT_EQ(mAidlClient->handleConfigPhase(config), Status::SUCCESS); in TEST_F()
321 EXPECT_EQ(mAidlClient->handleResetPhase(event), Status::SUCCESS); in TEST_F()
325 EXPECT_EQ(mAidlClient->handleExecutionPhase(event), Status::SUCCESS); in TEST_F()
329 EXPECT_EQ(mAidlClient->handleStopWithFlushPhase(event), Status::SUCCESS); in TEST_F()
333 EXPECT_EQ(mAidlClient->handleStopImmediatePhase(event), Status::SUCCESS); in TEST_F()
350 EXPECT_EQ(mAidlClient->handleConfigPhase(config), Status::SUCCESS); in TEST_F()
359 EXPECT_EQ(mAidlClient->handleExecutionPhase(event), Status::SUCCESS); in TEST_F()
[all …]
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/
DEvsDisplayManager.cpp65 return Status::SUCCESS; in setArgs()
69 return Status::SUCCESS; in setArgs()
163 Status status = Status::SUCCESS; in displayFrame()
183 return Status::SUCCESS; in handleExecutionPhase()
188 return Status::SUCCESS; in handleStopWithFlushPhase()
193 return Status::SUCCESS; in handleStopImmediatePhase()
198 return Status::SUCCESS; in handleResetPhase()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java516 if (status.code == WifiStatusCode.SUCCESS) { in getName()
953 if (status.code != WifiStatusCode.SUCCESS) { in initIWifiIfNecessary()
989 statusOk.value = status.code == WifiStatusCode.SUCCESS; in initIWifiChipDebugListeners()
1010 statusOk.value = status.code == WifiStatusCode.SUCCESS; in initIWifiChipDebugListeners()
1063 if (status.code != WifiStatusCode.SUCCESS) { in initIWifiChipDebugListeners()
1113 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
1136 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
1150 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
1164 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
1186 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
[all …]
DSupplicantStaNetworkHal.java1386 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getId()
2186 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getSsid()
2210 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getBssid()
2234 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getScanSsid()
2261 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getKeyMgmt()
2287 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getKeyMgmt_1_3()
2314 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getProto()
2340 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getProto_1_3()
2367 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getAuthAlg()
2391 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getAuthAlg_1_3()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/validator/
DOutgoingTransportStateValidator.java133 return ValidationResult.SUCCESS; in validate()
155 return ValidationResult.SUCCESS; in verifyOpenMessage()
176 return ValidationResult.SUCCESS; in verifyOpenMessage()
215 return ValidationResult.SUCCESS; in validateMessageFeatureTag()
222 return ValidationResult.SUCCESS; in verifyRestrictedMessage()
233 return ValidationResult.SUCCESS; in verifyRestrictedMessage()
DRestrictedOutgoingSubscribeValidator.java43 return ValidationResult.SUCCESS; in validate()
54 return ValidationResult.SUCCESS; in validate()
60 return ValidationResult.SUCCESS; in validate()
69 ValidationResult.SUCCESS; in validate()

1234567