/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 | 98 if (!server->active() && server->validationState() == Validation::success) { in set() 174 if (server->validationState() != Validation::success) { in requestValidation() 220 const bool success = DnsTlsTransport::validate(server, server.validationMark()); in startValidation() local 221 LOG(WARNING) << "validateDnsTlsServer returned " << success << " for " in startValidation() 225 this->recordPrivateDnsValidation(identity, netId, success, isRevalidation); in startValidation() 243 unsigned netId, bool success) const { in sendPrivateDnsValidationEvent() 244 LOG(DEBUG) << "Sending validation " << (success ? "success" : "failure") << " event on netId " in sendPrivateDnsValidationEvent() 255 success); in sendPrivateDnsValidationEvent() 264 .validation = success ? IDnsResolverUnsolicitedEventListener::VALIDATION_RESULT_SUCCESS in sendPrivateDnsValidationEvent() 276 unsigned netId, bool success, in recordPrivateDnsValidation() argument [all …]
|
D | DnsProxyListener.cpp | 621 bool success = true; in sendhostent() local 624 success &= sendLenAndData(c, strlen(hp->h_name) + 1, hp->h_name); in sendhostent() 626 success &= sendLenAndData(c, 0, "") == 0; in sendhostent() 630 success &= sendLenAndData(c, strlen(hp->h_aliases[i]) + 1, hp->h_aliases[i]); in sendhostent() 632 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent() 635 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent() 638 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent() 641 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); in sendhostent() 643 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent() 644 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 | OffloadHardwareInterface.java | 311 (boolean success, String errMsg) -> { in initOffloadConfig() 312 results.mSuccess = success; in initOffloadConfig() 393 (boolean success, String errMsg) -> { in initOffloadControl() 394 results.mSuccess = success; in initOffloadControl() 411 (boolean success, String errMsg) -> { in stopOffloadControl() argument 412 if (!success) mLog.e("stopOffload failed: " + errMsg); in stopOffloadControl() 452 (boolean success, String errMsg) -> { in setLocalPrefixes() 453 results.mSuccess = success; in setLocalPrefixes() 474 (boolean success, String errMsg) -> { in setDataLimit() 475 results.mSuccess = success; in setDataLimit() [all …]
|
/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/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/TimeZoneUpdater/src/main/com/android/timezone/updater/ |
D | RulesCheckReceiver.java | 122 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/ |
D | EnabledNfcFServices.java | 121 boolean success = false; in registerEnabledForegroundService() 142 success = true; in registerEnabledForegroundService() 147 if (success) { in registerEnabledForegroundService() 150 return success; in registerEnabledForegroundService() 155 boolean success = false; in unregisterForegroundService() 160 success = true; in unregisterForegroundService() 163 if (success) { in unregisterForegroundService() 166 return success; in unregisterForegroundService()
|
D | PreferredServices.java | 332 boolean success = false; in registerPreferredForegroundService() 338 success = true; in registerPreferredForegroundService() 341 success = false; in registerPreferredForegroundService() 347 if (success) { in registerPreferredForegroundService() 350 return success; in registerPreferredForegroundService() 354 boolean success = false; in unregisterForegroundService() 359 success = true; in unregisterForegroundService() 362 if (success) { in unregisterForegroundService() 365 return success; in unregisterForegroundService()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 212 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config); in updatePublish() 213 if (!success) { in updatePublish() 221 return success; in updatePublish() 243 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe() 244 if (!success) { in updateSubscribe() 252 return success; in updateSubscribe() 279 boolean success = mWifiAwareNativeApi.sendMessage(transactionId, mPubSubId, in sendMessage() 281 if (!success) { in sendMessage() 290 return success; in sendMessage()
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | ConfigManagerUtil.cpp | 30 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/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/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 | 171 boolean success = mManager.startPassenger(100, /* zoneId = */ 1); in testStartPassenger_Success() 172 assertThat(success).isTrue(); in testStartPassenger_Success() 178 boolean success = mManager.startPassenger(200, /* zoneId = */ 1); in testStartPassenger_Error() 179 assertThat(success).isFalse(); in testStartPassenger_Error() 185 boolean success = mManager.stopPassenger(100); in testStopPassenger_Success() 186 assertThat(success).isTrue(); in testStopPassenger_Success() 192 boolean success = mManager.stopPassenger(200); in testStopPassenger_Error() 193 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/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/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 1379 boolean success = restoreDefaultFocusInRoot(root); in handleWindowAddedEvent() 1380 if (!success) { in handleWindowAddedEvent() 1395 boolean success = restoreDefaultFocusInRoot(root); in restoreDefaultFocusInWindow() 1397 return success; in restoreDefaultFocusInWindow() 1418 boolean success = mFocusedNode != null; in restoreDefaultFocusInRoot() 1419 L.successOrFailure("Restored focus in root", success); in restoreDefaultFocusInRoot() 1420 return success; in restoreDefaultFocusInRoot() 1429 boolean success = performFocusAction(firstFocusable); in restoreDefaultFocusInRoot() 1431 return success; in restoreDefaultFocusInRoot() 1506 boolean success = mFocusedNode.performAction(ACTION_CLICK); in handleCenterButtonEvent() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | encodedstreamtest.cpp | 172 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/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/Nfc/src/com/android/nfc/beam/ |
D | BeamReceiveService.java | 103 private void invokeCompleteCallback(boolean success) { in invokeCompleteCallback() argument 107 msg.arg1 = success ? 1 : 0; in invokeCompleteCallback() 116 public void onTransferComplete(BeamTransferManager transfer, boolean success) { in onTransferComplete() argument 118 if (!success) { in onTransferComplete() 128 invokeCompleteCallback(success); in onTransferComplete()
|
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/ |
D | InitialLockSetupService.java | 159 boolean success = false; in setLock() 171 success = true; in setLock() 182 success = true; in setLock() 193 success = true; in setLock() 200 success = false; in setLock() 203 return success ? SetLockCodes.SUCCESS : SetLockCodes.FAIL_LOCK_GENERIC; in setLock()
|