/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/ |
D | gatt_service.rs | 176 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 …]
|
D | adapter_service.rs | 234 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/ |
D | ModelArchHasher.cpp | 34 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/ |
D | TestDriveTest.java | 42 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/ |
D | le_audio_types_test.cc | 56 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/ |
D | CpuExecutor.cpp | 742 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/ |
D | PrivateDnsConfiguration.cpp | 142 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 …]
|
D | DnsProxyListener.cpp | 733 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 …]
|
D | res_debug.cpp | 425 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/ |
D | OffloadHalHidlImpl.java | 88 (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/ |
D | WifiAwareDiscoverySessionState.java | 246 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/ |
D | TokenResult.java | 23 @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/ |
D | LoginResult.java | 24 @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/ |
D | EnabledNfcFServices.java | 122 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()
|
D | PreferredServices.java | 337 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/ |
D | AvrcpNativeInterface.java | 167 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/ |
D | ConfigManagerUtil.cpp | 29 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/ |
D | errno_test.cpp | 43 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/ |
D | ConfigManagerUtil.cpp | 32 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/ |
D | command_handler.rs | 664 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/ |
D | BugleActionToasts.java | 50 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/ |
D | ExperimentalCarUserManagerUnitTest.java | 168 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/ |
D | VideoDecoder.cpp | 305 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/ |
D | LogEventQueue.cpp | 43 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/ |
D | RotaryService.java | 1395 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 …]
|