Home
last modified time | relevance | path

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

12345678910>>...19

/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dgatt_service.rs176 sink.success(Empty::default()).await.unwrap(); in register_advertiser()
184 sink.success(Empty::default()).await.unwrap(); in unregister_advertiser()
192 sink.success(Empty::default()).await.unwrap(); in get_own_address()
200 sink.success(Empty::default()).await.unwrap(); in set_parameters()
208 sink.success(Empty::default()).await.unwrap(); in set_data()
216 sink.success(Empty::default()).await.unwrap(); in advertising_enable()
224 sink.success(Empty::default()).await.unwrap(); in advertising_disable()
232 sink.success(Empty::default()).await.unwrap(); in start_advertising()
249 sink.success(Empty::default()).await.unwrap(); in start_advertising_set()
263 sink.success(Empty::default()).await.unwrap(); in set_periodic_advertising_parameters()
[all …]
Dadapter_service.rs234 sink.success(ToggleStackResponse::default()).await.unwrap(); in toggle_stack()
260 sink.success(resp).await.unwrap(); in set_discovery_mode()
267 sink.success(Empty::default()).await.unwrap(); in clear_event_filter()
274 sink.success(Empty::default()).await.unwrap(); in clear_event_mask()
286 sink.success(Empty::default()).await.unwrap(); in clear_filter_accept_list()
293 sink.success(Empty::default()).await.unwrap(); in disconnect_all_acls()
300 sink.success(Empty::default()).await.unwrap(); in le_rand()
307 sink.success(Empty::default()).await.unwrap(); in allow_wake_by_hid()
319 sink.success(Empty::default()).await.unwrap(); in restore_filter_accept_list()
331 sink.success(Empty::default()).await.unwrap(); in set_default_event_mask_except()
[all …]
/packages/modules/NeuralNetworks/runtime/
DModelArchHasher.cpp34 bool success = true; in updateSubgraph() local
36 success &= update(hasher, static_cast<const void*>(&operand.type), sizeof(operand.type)); in updateSubgraph()
37 success &= update( in updateSubgraph()
40 success &= update(hasher, static_cast<const void*>(&operand.scale), sizeof(operand.scale)); in updateSubgraph()
41 success &= update(hasher, static_cast<const void*>(&operand.zeroPoint), in updateSubgraph()
43 success &= update(hasher, static_cast<const void*>(&operand.lifetime), in updateSubgraph()
45 success &= update(hasher, static_cast<const void*>(&operand.extraParams), in updateSubgraph()
50 success &= in updateSubgraph()
52 success &= update(hasher, static_cast<const void*>(operation.inputs.data()), in updateSubgraph()
54 success &= in updateSubgraph()
[all …]
/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
DTestDriveTest.java42 public boolean success; field in TestDriveTest.Expect
49 static Expect success(Integer... atoms) { in success() method in TestDriveTest.Expect
53 Expect(boolean success, Integer[] atoms, String target) { in Expect() argument
54 this.success = success; in Expect()
109 Expect.success(244, 245)}, // If only one device connected, guess that one in data()
111 Expect.success(244)}, // Ignore non-atoms in data()
117 Expect.success(244, 245)}, // ANDROID_SERIAL specifies a valid target in data()
121 Expect.success(244, 245).onePushedAtomEvent()}, in data()
123 Expect.success(244, 245).onePushedAtomEvent().terse()}, in data()
125 Expect.success(244, 245).onePushedAtomEvent().terse()}, in data()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_types_test.cc56 bool success; in TEST() local
58 LeAudioLtvMap::Parse(ltv_test_vec.data(), ltv_test_vec.size(), success); in TEST()
59 ASSERT_TRUE(success); in TEST()
67 LeAudioLtvMap::Parse(ltv_test_vec2.data(), ltv_test_vec2.size(), success); in TEST()
68 ASSERT_TRUE(success); in TEST()
102 bool success; in TEST() local
104 LeAudioLtvMap::Parse(ltv_test_vec.data(), ltv_test_vec.size(), success); in TEST()
105 ASSERT_TRUE(success); in TEST()
132 bool success; in TEST() local
134 LeAudioLtvMap::Parse(ltv_test_vec.data(), ltv_test_vec.size(), success); in TEST()
[all …]
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp742 bool success = false; in executeOperation() local
793 success = false; in executeOperation()
805 success = reshapePrepare(input.shape(), in executeOperation()
826 success = false; in executeOperation()
839 success = depthToSpaceGeneric( in executeOperation()
845 success = depthToSpaceGeneric( in executeOperation()
851 success = depthToSpaceGeneric( in executeOperation()
857 success = depthToSpaceGeneric( in executeOperation()
864 success = false; in executeOperation()
870 if (!success || !convertFromNhwc(output, output_tmp, data_layout, &result)) { in executeOperation()
[all …]
/packages/modules/DnsResolver/
DPrivateDnsConfiguration.cpp142 if (!server.active() && server.validationState() == Validation::success) { in setDot()
240 entry.second == Validation::success; in getStatusForMetrics()
290 if (target->validationState() != Validation::success) { in requestDotValidation()
336 const bool success = DnsTlsTransport::validate(server, server.validationMark()); in startDotValidation() local
337 LOG(WARNING) << "validateDnsTlsServer returned " << success << " for " in startDotValidation()
341 this->recordDotValidation(identity, netId, success, isRevalidation); in startDotValidation()
362 unsigned netId, bool success) const { in sendPrivateDnsValidationEvent()
363 LOG(DEBUG) << "Sending validation " << (success ? "success" : "failure") << " event on netId " in sendPrivateDnsValidationEvent()
374 success); in sendPrivateDnsValidationEvent()
383 .validation = success ? IDnsResolverUnsolicitedEventListener::VALIDATION_RESULT_SUCCESS in sendPrivateDnsValidationEvent()
[all …]
DDnsProxyListener.cpp733 bool success = true; in sendhostent() local
736 success &= sendLenAndData(c, strlen(hp->h_name) + 1, hp->h_name); in sendhostent()
738 success &= sendLenAndData(c, 0, "") == 0; in sendhostent()
742 success &= sendLenAndData(c, strlen(hp->h_aliases[i]) + 1, hp->h_aliases[i]); in sendhostent()
744 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent()
747 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
750 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
753 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); in sendhostent()
755 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent()
756 return success; in sendhostent()
[all …]
Dres_debug.cpp425 static const char* sym_ntos(const struct res_sym* syms, int number, int* success) { in sym_ntos() argument
430 if (success) *success = 1; in sym_ntos()
436 if (success) *success = 0; in sym_ntos()
444 int success; in p_type() local
448 result = sym_ntos(p_type_syms, type, &success); in p_type()
449 if (success) return (result); in p_type()
476 int success; in p_class() local
480 result = sym_ntos(p_class_syms, cl, &success); in p_class()
481 if (success) return (result); in p_class()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHalHidlImpl.java88 (boolean success, String errMsg) -> { in initOffload()
89 results.mSuccess = success; in initOffload()
94 (boolean success, String errMsg) -> { in initOffload()
95 results.mSuccess = success; in initOffload()
111 (boolean success, String errMsg) -> { in stopOffload() argument
112 if (!success) mLog.e("stopOffload failed: " + errMsg); in stopOffload()
156 (boolean success, String errMsg) -> { in setLocalPrefixes()
157 results.mSuccess = success; in setLocalPrefixes()
178 (boolean success, String errMsg) -> { in setDataLimit()
179 results.mSuccess = success; in setDataLimit()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java246 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config, nik); in updatePublish()
247 if (!success) { in updatePublish()
257 return success; in updatePublish()
279 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config, nik); in updateSubscribe()
280 if (!success) { in updateSubscribe()
290 return success; in updateSubscribe()
317 boolean success = mWifiAwareNativeApi.sendMessage(transactionId, mPubSubId, in sendMessage()
319 if (!success) { in sendMessage()
328 return success; in sendMessage()
440 boolean success = mWifiAwareNativeApi.initiatePairing(transactionId, in initiatePairing()
[all …]
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/
DTokenResult.java23 @Nullable private TokenView success; field in TokenResult
27 TokenResult(@Nullable TokenView success) { in TokenResult() argument
28 this.success = success; in TokenResult()
37 return success; in getSuccess()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginResult.java24 @Nullable private LoggedInUserView success; field in LoginResult
31 LoginResult(@Nullable LoggedInUserView success) { in LoginResult() argument
32 this.success = success; in LoginResult()
37 return success; in getSuccess()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DEnabledNfcFServices.java122 boolean success = false; in registerEnabledForegroundService()
143 success = true; in registerEnabledForegroundService()
148 if (success) { in registerEnabledForegroundService()
151 return success; in registerEnabledForegroundService()
156 boolean success = false; in unregisterForegroundService()
161 success = true; in unregisterForegroundService()
164 if (success) { in unregisterForegroundService()
167 return success; in unregisterForegroundService()
DPreferredServices.java337 boolean success = false; in registerPreferredForegroundService()
343 success = true; in registerPreferredForegroundService()
346 success = false; in registerPreferredForegroundService()
352 if (success) { in registerPreferredForegroundService()
355 return success; in registerPreferredForegroundService()
359 boolean success = false; in unregisterForegroundService()
364 success = true; in unregisterForegroundService()
367 if (success) { in unregisterForegroundService()
370 return success; in unregisterForegroundService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpNativeInterface.java167 void setBrowsedPlayerResponse(int playerId, boolean success, String rootId, int numItems) { in setBrowsedPlayerResponse() argument
169 + " success=" + success in setBrowsedPlayerResponse()
172 setBrowsedPlayerResponseNative(playerId, success, rootId, numItems); in setBrowsedPlayerResponse()
320 boolean success = true; in setPlayerSettingsRequest()
322 success = false; in setPlayerSettingsRequest()
327 success = false; in setPlayerSettingsRequest()
330 success = false; in setPlayerSettingsRequest()
335 setPlayerSettingsResponseNative(success); in setPlayerSettingsRequest()
363 int playerId, boolean success, String rootId, int numItems); in setBrowsedPlayerResponseNative() argument
383 private native void setPlayerSettingsResponseNative(boolean success); in setPlayerSettingsResponseNative() argument
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DConfigManagerUtil.cpp29 bool success = true; in convertToEvsCameraParam() local
56 success = false; in convertToEvsCameraParam()
59 return success; in convertToEvsCameraParam()
64 bool success = true; in convertToPixelFormat() local
73 success = false; in convertToPixelFormat()
76 return success; in convertToPixelFormat()
/packages/modules/adb/sysdeps/win32/
Derrno_test.cpp43 std::string success = adb_strerror(0); in TEST() local
44 EXPECT_TRUE(success == "Success" || success == "No error") << "strerror(0) = " << success; in TEST()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DConfigManagerUtil.cpp32 bool success = true; in convertToEvsCameraParam() local
59 success = false; in convertToEvsCameraParam()
62 return success; in convertToEvsCameraParam()
67 bool success = true; in convertToPixelFormat() local
77 success = false; in convertToPixelFormat()
80 return success; in convertToPixelFormat()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcommand_handler.rs664 let success = self in cmd_bond() localVariable
671 if success { in cmd_bond()
713 let success = self in cmd_device() localVariable
720 if success { in cmd_device()
732 let success = self in cmd_device() localVariable
739 if success { in cmd_device()
1419 let success = in cmd_sdp() localVariable
1421 if !success { in cmd_sdp()
1808 let success = context in cmd_telephony() localVariable
1813 if !success { in cmd_telephony()
[all …]
/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/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserManagerUnitTest.java168 boolean success = mManager.startPassenger(100, /* zoneId = */ 1); in testStartPassenger_Success()
169 assertThat(success).isTrue(); in testStartPassenger_Success()
175 boolean success = mManager.startPassenger(200, /* zoneId = */ 1); in testStartPassenger_Error()
176 assertThat(success).isFalse(); in testStartPassenger_Error()
182 boolean success = mManager.stopPassenger(100); in testStopPassenger_Success()
183 assertThat(success).isTrue(); in testStopPassenger_Success()
189 boolean success = mManager.stopPassenger(200); in testStopPassenger_Error()
190 assertThat(success).isFalse(); in testStopPassenger_Error()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp305 bool success = AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_WIDTH, &width); in readDecodedFrame() local
306 success = success && AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_HEIGHT, &height); in readDecodedFrame()
307 success = success && AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_STRIDE, &stride); in readDecodedFrame()
308 success = in readDecodedFrame()
309 success && AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_COLOR_FORMAT, &outputFormat); in readDecodedFrame()
310 if (!success) { in readDecodedFrame()
/packages/modules/StatsD/statsd/src/logd/
DLogEventQueue.cpp43 bool success; in push() local
48 success = true; in push()
52 success = false; in push()
57 return success; in push()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1395 boolean success = restoreDefaultFocusInRoot(root); in handleWindowAddedEvent()
1396 if (!success) { in handleWindowAddedEvent()
1411 boolean success = restoreDefaultFocusInRoot(root); in restoreDefaultFocusInWindow()
1413 return success; in restoreDefaultFocusInWindow()
1434 boolean success = mFocusedNode != null; in restoreDefaultFocusInRoot()
1435 L.successOrFailure("Restored focus in root", success); in restoreDefaultFocusInRoot()
1436 return success; in restoreDefaultFocusInRoot()
1445 boolean success = performFocusAction(firstFocusable); in restoreDefaultFocusInRoot()
1447 return success; in restoreDefaultFocusInRoot()
1522 boolean success = mFocusedNode.performAction(ACTION_CLICK); in handleCenterButtonEvent()
[all …]

12345678910>>...19