Home
last modified time | relevance | path

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

123456789

/packages/modules/DnsResolver/
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 …]
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 …]
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/Nfc/src/com/android/nfc/cardemulation/
DEnabledNfcFServices.java112 boolean success = false; in registerEnabledForegroundService()
132 success = true; in registerEnabledForegroundService()
137 if (success) { in registerEnabledForegroundService()
140 return success; in registerEnabledForegroundService()
145 boolean success = false; in unregisterForegroundService()
150 success = true; in unregisterForegroundService()
153 if (success) { in unregisterForegroundService()
156 return success; in unregisterForegroundService()
DPreferredServices.java277 boolean success = false; in registerPreferredForegroundService()
283 success = true; in registerPreferredForegroundService()
286 success = false; in registerPreferredForegroundService()
292 if (success) { in registerPreferredForegroundService()
295 return success; in registerPreferredForegroundService()
299 boolean success = false; in unregisterForegroundService()
304 success = true; in unregisterForegroundService()
307 if (success) { in unregisterForegroundService()
310 return success; in unregisterForegroundService()
DRegisteredServicesCache.java483 boolean success = writeDynamicSettingsLocked(); in setOffHostSecureElement()
484 if (!success) { in setOffHostSecureElement()
524 boolean success = writeDynamicSettingsLocked(); in unsetOffHostSecureElement()
525 if (!success) { in unsetOffHostSecureElement()
542 boolean success; in registerAidGroupForService()
576 success = writeDynamicSettingsLocked(); in registerAidGroupForService()
577 if (success) { in registerAidGroupForService()
586 if (success) { in registerAidGroupForService()
590 return success; in registerAidGroupForService()
610 boolean success = false; in removeAidGroupForService()
[all …]
DRegisteredNfcFServicesCache.java537 boolean success; in registerSystemCodeForService()
569 success = writeDynamicSystemCodeNfcid2Locked(); in registerSystemCodeForService()
570 if (success) { in registerSystemCodeForService()
583 if (success) { in registerSystemCodeForService()
587 return success; in registerSystemCodeForService()
614 boolean success; in setNfcid2ForService()
644 success = writeDynamicSystemCodeNfcid2Locked(); in setNfcid2ForService()
645 if (success) { in setNfcid2ForService()
658 if (success) { in setNfcid2ForService()
662 return success; in setNfcid2ForService()
/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/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.java155 boolean success = false; in setLock()
166 success = true; in setLock()
175 success = true; in setLock()
184 success = true; in setLock()
191 success = false; in setLock()
194 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/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/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/Settings/src/com/android/settings/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/services/Car/evs/app/
DRenderPixelCopy.cpp63 bool success = true; in drawFrame() local
78 success = false; in drawFrame()
125 success = false; in drawFrame()
132 return success; in drawFrame()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java269 protected void onPostExecute(Boolean success) { in onPostExecute() argument
270 if (success) { in onPostExecute()
339 @Override protected void onPostExecute(Boolean success) { in extractPkcs12InBackground() argument
340 MyAction action = new OnExtractionDoneAction(success); in extractPkcs12InBackground()
351 private void onExtractionDone(boolean success) { in onExtractionDone() argument
354 if (success) { in onExtractionDone()
589 OnExtractionDoneAction(boolean success) { in OnExtractionDoneAction() argument
590 mSuccess = success; in OnExtractionDoneAction()
/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/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java484 boolean success = true; in parseParameters()
507 success = false; in parseParameters()
529 success = false; in parseParameters()
542 success = false; in parseParameters()
554 success = false; in parseParameters()
566 success = false; in parseParameters()
578 success = false; in parseParameters()
590 success = false; in parseParameters()
615 return success; in parseParameters()
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java86 boolean success = getWebViewUpdateServiceWrapper().setWebViewProvider(key); in setDefaultKey()
87 return success; in setDefaultKey()
91 protected void onSelectionPerformed(boolean success) { in onSelectionPerformed() argument
92 if (success) { in onSelectionPerformed()
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java130 boolean success = false; in onSwitchChanged()
133 success = mNfcAdapter.enableNdefPush(); in onSwitchChanged()
135 success = mNfcAdapter.disableNdefPush(); in onSwitchChanged()
137 if (success) { in onSwitchChanged()

123456789