Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 229) sorted by relevance

12345678910

/packages/modules/DnsResolver/
DPrivateDnsConfiguration.cpp209 const bool success = DnsTlsTransport::validate(server, netId, mark); in validatePrivateDnsProvider() local
210 LOG(DEBUG) << "validateDnsTlsServer returned " << success << " for " in validatePrivateDnsProvider()
213 const bool needs_reeval = this->recordPrivateDnsValidation(server, netId, success); in validatePrivateDnsProvider()
230 bool success) { in recordPrivateDnsValidation() argument
250 (success || !modeDoesReevaluation) ? DONT_REEVALUATE : NEEDS_REEVALUATION; in recordPrivateDnsValidation()
260 success = false; in recordPrivateDnsValidation()
267 success = false; in recordPrivateDnsValidation()
275 it->onPrivateDnsValidationEvent(netId, addrToString(&server.ss), server.name, success); in recordPrivateDnsValidation()
277 LOG(DEBUG) << "Sent validation " << (success ? "success" : "failure") << " event on netId " in recordPrivateDnsValidation()
285 if (success) { in recordPrivateDnsValidation()
[all …]
DDnsProxyListener.cpp597 bool success = true; in sendhostent() local
600 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); in sendhostent()
602 success &= sendLenAndData(c, 0, "") == 0; in sendhostent()
606 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); in sendhostent()
608 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent()
611 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
614 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
617 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); in sendhostent()
619 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent()
620 return success; in sendhostent()
[all …]
Dres_debug.cpp413 static const char* sym_ntos(const struct res_sym* syms, int number, int* success) { in sym_ntos() argument
418 if (success) *success = 1; in sym_ntos()
424 if (success) *success = 0; in sym_ntos()
432 int success; in p_type() local
436 result = sym_ntos(p_type_syms, type, &success); in p_type()
437 if (success) return (result); in p_type()
464 int success; in p_class() local
468 result = sym_ntos(p_class_syms, cl, &success); in p_class()
469 if (success) return (result); in p_class()
Dresolv_tls_unit_test.cpp149 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
186 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
209 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
275 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
295 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
315 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
337 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
387 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
407 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
578 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
[all …]
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/
DRulesCheckReceiver.java122 boolean success = true; // No point in retrying. in onReceive()
123 handleCheckComplete(token, success); in onReceive()
144 final boolean success = true; // No point in retrying. in onReceive()
145 handleCheckComplete(token, success); in onReceive()
241 boolean success = false; in handleCopyAndInstall()
242 handleCheckComplete(checkToken, success); in handleCopyAndInstall()
348 private void handleCheckComplete(final byte[] token, final boolean success) { in handleCheckComplete() argument
351 EventLogTags.writeTimezoneCheckRequestNothing(tokenString, success ? 1 : 0); in handleCheckComplete()
352 mRulesManager.requestNothing(token, success); in handleCheckComplete()
353 Log.i(TAG, "requestNothing() called, token=" + tokenString + ", success=" + success); in handleCheckComplete()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DEnabledNfcFServices.java113 boolean success = false; in registerEnabledForegroundService()
133 success = true; in registerEnabledForegroundService()
138 if (success) { in registerEnabledForegroundService()
141 return success; in registerEnabledForegroundService()
146 boolean success = false; in unregisterForegroundService()
151 success = true; in unregisterForegroundService()
154 if (success) { in unregisterForegroundService()
157 return success; in unregisterForegroundService()
DPreferredServices.java278 boolean success = false; in registerPreferredForegroundService()
284 success = true; in registerPreferredForegroundService()
287 success = false; in registerPreferredForegroundService()
293 if (success) { in registerPreferredForegroundService()
296 return success; in registerPreferredForegroundService()
300 boolean success = false; in unregisterForegroundService()
305 success = true; in unregisterForegroundService()
308 if (success) { in unregisterForegroundService()
311 return success; in unregisterForegroundService()
DRegisteredServicesCache.java484 boolean success = writeDynamicSettingsLocked(); in setOffHostSecureElement()
485 if (!success) { in setOffHostSecureElement()
525 boolean success = writeDynamicSettingsLocked(); in unsetOffHostSecureElement()
526 if (!success) { in unsetOffHostSecureElement()
543 boolean success; in registerAidGroupForService()
577 success = writeDynamicSettingsLocked(); in registerAidGroupForService()
578 if (success) { in registerAidGroupForService()
587 if (success) { in registerAidGroupForService()
591 return success; in registerAidGroupForService()
611 boolean success = false; in removeAidGroupForService()
[all …]
DRegisteredNfcFServicesCache.java538 boolean success; in registerSystemCodeForService()
570 success = writeDynamicSystemCodeNfcid2Locked(); in registerSystemCodeForService()
571 if (success) { in registerSystemCodeForService()
584 if (success) { in registerSystemCodeForService()
588 return success; in registerSystemCodeForService()
615 boolean success; in setNfcid2ForService()
645 success = writeDynamicSystemCodeNfcid2Locked(); in setNfcid2ForService()
646 if (success) { in setNfcid2ForService()
659 if (success) { in setNfcid2ForService()
663 return success; in setNfcid2ForService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserManagerUnitTest.java163 boolean success = mManager.startPassenger(100, /* zoneId = */ 1); in testStartPassenger_Success()
164 assertThat(success).isTrue(); in testStartPassenger_Success()
170 boolean success = mManager.startPassenger(200, /* zoneId = */ 1); in testStartPassenger_Error()
171 assertThat(success).isFalse(); in testStartPassenger_Error()
177 boolean success = mManager.stopPassenger(100); in testStopPassenger_Success()
178 assertThat(success).isTrue(); in testStopPassenger_Success()
184 boolean success = mManager.stopPassenger(200); in testStopPassenger_Error()
185 assertThat(success).isFalse(); in testStopPassenger_Error()
/packages/services/Car/evs/sampleDriver/
DConfigManagerUtil.cpp30 bool success = true; in convertToEvsCameraParam() local
57 success = false; in convertToEvsCameraParam()
60 return success; in convertToEvsCameraParam()
67 bool success = true; in convertToPixelFormat() local
76 success = false; in convertToPixelFormat()
79 return success; in convertToPixelFormat()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp172 bool success = Transcoder<UTF8<>, MemoryEncoding>::Transcode(s, eos); in TestEncodedOutputStream() local
173 EXPECT_TRUE(success); in TestEncodedOutputStream()
187 bool success = Transcoder<UTF8<>, MemoryEncoding>::Transcode(s, eos); in TestEncodedOutputStream() local
188 EXPECT_TRUE(success); in TestEncodedOutputStream()
206 bool success = Transcoder<UTF8<>, AutoUTF<unsigned> >::Transcode(s, eos); in TestAutoUTFOutputStream() local
207 EXPECT_TRUE(success); in TestAutoUTFOutputStream()
221 bool success = Transcoder<UTF8<>, AutoUTF<unsigned> >::Transcode(s, eos); in TestAutoUTFOutputStream() local
222 EXPECT_TRUE(success); in TestAutoUTFOutputStream()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java50 final boolean success, in onSendMessageOrManualDownloadActionCompleted() argument
57 if (!success && status == MmsUtils.MMS_REQUEST_MANUAL_RETRY) { in onSendMessageOrManualDownloadActionCompleted()
78 if (isFocusedConversation && success) { in onSendMessageOrManualDownloadActionCompleted()
91 if (isObservableConversation && !success) { in onSendMessageOrManualDownloadActionCompleted()
154 final boolean success, in onUpdateDestinationBlockedAction() argument
157 if (success) { in onUpdateDestinationBlockedAction()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java154 boolean success = false; in setLock()
166 success = true; in setLock()
177 success = true; in setLock()
188 success = true; in setLock()
195 success = false; in setLock()
198 return success ? SetLockCodes.SUCCESS : SetLockCodes.FAIL_LOCK_GENERIC; in setLock()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamReceiveService.java104 private void invokeCompleteCallback(boolean success) { in invokeCompleteCallback() argument
108 msg.arg1 = success ? 1 : 0; in invokeCompleteCallback()
117 public void onTransferComplete(BeamTransferManager transfer, boolean success) { in onTransferComplete() argument
119 if (!success) { in onTransferComplete()
129 invokeCompleteCallback(success); in onTransferComplete()
DBeamSendService.java159 private void invokeCompleteCallback(boolean success) { in invokeCompleteCallback() argument
163 msg.arg1 = success ? 1 : 0; in invokeCompleteCallback()
172 public void onTransferComplete(BeamTransferManager transfer, boolean success) { in onTransferComplete() argument
174 if (!success) { in onTransferComplete()
184 invokeCompleteCallback(success); in onTransferComplete()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h143 #define ASSERT(success) do { if (!(success)) { showStackTrace(); assert(success);} } while (0) argument
162 #define ASSERT(success) assert(success) argument
172 #define ASSERT(success) argument
/packages/services/Car/evs/apps/default/
DRenderPixelCopy.cpp66 bool success = true; in drawFrame() local
87 success = false; in drawFrame()
134 success = false; in drawFrame()
142 success = false; in drawFrame()
149 return success; in drawFrame()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DSetDevicePolicyTask.java77 boolean success; in run()
86 success = setProfileOwner(adminComponent, userId); in run()
88 success = setDeviceOwner(adminComponent, in run()
98 if (success) { in run()
99 success(); in run()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java239 protected void onPostExecute(Boolean success) { in onPostExecute() argument
240 if (success) { in onPostExecute()
309 @Override protected void onPostExecute(Boolean success) { in extractPkcs12InBackground() argument
310 MyAction action = new OnExtractionDoneAction(success); in extractPkcs12InBackground()
321 private void onExtractionDone(boolean success) { in onExtractionDone() argument
324 if (success) { in onExtractionDone()
559 OnExtractionDoneAction(boolean success) { in OnExtractionDoneAction() argument
560 mSuccess = success; in OnExtractionDoneAction()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsAttentionPreferenceController.java44 public void onCompleted(boolean success, int feature) {
47 if (!success) {
60 public void onCompleted(boolean success, int feature, boolean value) {
61 if (feature == FaceManager.FEATURE_REQUIRE_ATTENTION && success) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceSettingsAttentionPreferenceController.java45 public void onCompleted(boolean success, int feature) {
48 if (!success) {
61 public void onCompleted(boolean success, int feature, boolean value) {
62 if (feature == FaceManager.FEATURE_REQUIRE_ATTENTION && success) {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceController.java105 boolean success = mPm.updateIntentVerificationStatusAsUser(getPackageName(), newState, in handlePreferenceChanged()
107 if (success) { in handlePreferenceChanged()
111 success = (newState == updatedState); in handlePreferenceChanged()
115 return success; in handlePreferenceChanged()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DHealthServiceWearInfoProvider.java55 final MutableInt success = new MutableInt(Result.NOT_SUPPORTED); in load() local
65 success.value = result; in load()
93 if (success.value != Result.SUCCESS) { in load()
94 Log.w(CarLog.TAG_STORAGE, "Health service returned result :" + success.value); in load()
/packages/services/Car/car-lib/src/android/car/user/
DUserIdentificationAssociationResponse.java70 boolean success, in UserIdentificationAssociationResponse() argument
73 this.mSuccess = success; in UserIdentificationAssociationResponse()
207 boolean success = (flg & 0x1) != 0; in UserIdentificationAssociationResponse()
211 this.mSuccess = success; in UserIdentificationAssociationResponse()

12345678910