/packages/modules/Bluetooth/system/blueberry/controllers/ |
D | bt_stub.py | 27 six.moves.input('Power Off Bluetooth device, then press enter.') 31 six.moves.input('Power ON Bluetooth device, then press enter.') 35 six.moves.input('Put Bluetooth device into pairing mode, then press enter.') 43 mac_address = six.moves.input('Enter BT MAC address, then press enter.') 54 six.moves.input(f'Device name is: {device_name}') 58 six.moves.input('Factory reset Bluetooth on the Bluetooth device, ' 68 audio_playing = six.moves.input('Indicate if audio is playing: ' 75 six.moves.input('Press the Volume Up Button on the Bluetooth device, ' 80 six.moves.input('Press the Volume Down Button on the Bluetooth device, ' 85 six.moves.input('Press the Skip Track Button on the Bluetooth device, ' [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/ |
D | FoVPrimerTest.java | 33 Annotated input, result; in conversionTest() local 44 input = SphericalVector.fromCartesian(within).toAnnotated(); in conversionTest() 45 result = primer.prime(input, prediction, null, 0); in conversionTest() 46 assertThat(result.azimuth).isEqualTo(input.azimuth); in conversionTest() 47 assertThat(result.elevation).isEqualTo(input.elevation); in conversionTest() 51 input = SphericalVector.fromCartesian(outside).toAnnotated(); in conversionTest() 52 result = primer.prime(input, prediction, null, 0); in conversionTest() 62 Annotated input, result; in edgeCases() local 66 input = SphericalVector.fromDegrees(35 + 180, 1, 10).toAnnotated(); in edgeCases() 67 result = primer.prime(input, prediction, null, 0); in edgeCases() [all …]
|
/packages/modules/NeuralNetworks/common/ |
D | OperationsExecutionUtils.cpp | 292 bool reshapePrepare(const Shape& input, const int32_t* targetDims, const int32_t targetDimsSize, in reshapePrepare() argument 298 int32_t numInputElements = (int32_t)getNumberOfElements(input); in reshapePrepare() 321 output->type = input.type; in reshapePrepare() 323 output->offset = input.offset; in reshapePrepare() 324 output->scale = input.scale; in reshapePrepare() 329 bool depthToSpacePrepare(const Shape& input, int32_t blockSize, Shape* output) { in depthToSpacePrepare() argument 330 NN_OPS_CHECK(getNumberOfDimensions(input) == 4); in depthToSpacePrepare() 333 uint32_t batches = getSizeOfDimension(input, 0); in depthToSpacePrepare() 334 uint32_t height = getSizeOfDimension(input, 1); in depthToSpacePrepare() 335 uint32_t width = getSizeOfDimension(input, 2); in depthToSpacePrepare() [all …]
|
D | QuantUtils.h | 34 void MatrixBatchVectorMultiplyAccumulate(const int8_t* input, const int32_t* bias, in MatrixBatchVectorMultiplyAccumulate() argument 44 int8_t input_val = input[batch * n_input + col]; in MatrixBatchVectorMultiplyAccumulate() 82 inline bool GetInvSqrtQuantizedMultiplierExp(int32_t input, int reverse_shift, in GetInvSqrtQuantizedMultiplierExp() argument 84 NN_RET_CHECK_GE(input, 0); in GetInvSqrtQuantizedMultiplierExp() 85 if (input <= 1) { in GetInvSqrtQuantizedMultiplierExp() 97 while (input >= (1 << 29)) { in GetInvSqrtQuantizedMultiplierExp() 98 input /= 4; in GetInvSqrtQuantizedMultiplierExp() 101 const unsigned max_left_shift_bits = CountLeadingZeros(static_cast<uint32_t>(input)) - 1; in GetInvSqrtQuantizedMultiplierExp() 105 input <<= 2 * left_shift_bit_pairs; in GetInvSqrtQuantizedMultiplierExp() 106 NN_RET_CHECK_GE(input, (1 << 27)); in GetInvSqrtQuantizedMultiplierExp() [all …]
|
/packages/services/Car/cpp/evs/support_library/ |
D | StreamHandler.cpp | 229 bool isSameFormat(const BufferDesc& input, const BufferDesc& output) { in isSameFormat() argument 230 return input.width == output.width && input.height == output.height && in isSameFormat() 231 input.format == output.format && input.usage == output.usage && in isSameFormat() 232 input.stride == output.stride && input.pixelSize == output.pixelSize; in isSameFormat() 264 bool StreamHandler::processFrame(const BufferDesc& input, BufferDesc& output) { in processFrame() argument 266 if (!isSameFormat(input, output) || output.memHandle.getNativeHandle() == nullptr) { in processFrame() 267 output.width = input.width; in processFrame() 268 output.height = input.height; in processFrame() 269 output.format = input.format; in processFrame() 270 output.usage = input.usage; in processFrame() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
D | StreamUtils.java | 31 public static boolean byteToIntArray(int[] output, byte[] input, ByteOrder endianness) { in byteToIntArray() argument 32 int length = input.length - (input.length % 4); in byteToIntArray() 38 output[i] = ((input[j] & 0xFF) << 24) | ((input[j + 1] & 0xFF) << 16) in byteToIntArray() 39 | ((input[j + 2] & 0xFF) << 8) | ((input[j + 3] & 0xFF)); in byteToIntArray() 43 output[i] = ((input[j + 3] & 0xFF) << 24) | ((input[j + 2] & 0xFF) << 16) in byteToIntArray() 44 | ((input[j + 1] & 0xFF) << 8) | ((input[j] & 0xFF)); in byteToIntArray() 47 return input.length % 4 != 0; in byteToIntArray() 50 public static int[] byteToIntArray(byte[] input, ByteOrder endianness) { in byteToIntArray() argument 51 int[] output = new int[input.length / 4]; in byteToIntArray() 52 byteToIntArray(output, input, endianness); in byteToIntArray() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/macros/src/ |
D | lib.rs | 19 fn parse(input: ParseStream) -> Result<Self> { in parse() 21 let dispatcher: Type = input.parse()?; in parse() 22 input.parse::<Token![,]>()?; in parse() 25 let name: Ident = input.parse()?; in parse() 26 input.parse::<Token![->]>()?; in parse() 27 let rpath: Path = input.parse()?; in parse() 32 while input.peek(Token![,]) { in parse() 34 input.parse::<Token![,]>()?; in parse() 37 if input.peek(syn::token::Brace) { in parse() 38 let block: Block = input.parse()?; in parse() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | UidRangeUtilsTest.java | 296 final List<Integer> input = new ArrayList<Integer>(); in testConvertListToUidRange() local 299 assertEquals(expected, UidRangeUtils.convertListToUidRange(input)); in testConvertListToUidRange() 301 input.add(1); in testConvertListToUidRange() 303 assertEquals(expected, UidRangeUtils.convertListToUidRange(input)); in testConvertListToUidRange() 305 input.add(2); in testConvertListToUidRange() 308 assertEquals(expected, UidRangeUtils.convertListToUidRange(input)); in testConvertListToUidRange() 310 input.clear(); in testConvertListToUidRange() 311 input.add(1); in testConvertListToUidRange() 312 input.add(100); in testConvertListToUidRange() 316 assertEquals(expected, UidRangeUtils.convertListToUidRange(input)); in testConvertListToUidRange() [all …]
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | IsolatedWorkerTest.java | 88 RenderInput input = new RenderInput( in testOnRender() local 90 worker.onRender(input, receiver); in testOnRender() 109 EventInput input = new EventInput( in testOnEvent() local 111 worker.onEvent(input, receiver); in testOnEvent() 121 TrainingExamplesInput input = in testOnTrainingExamples() local 123 worker.onTrainingExamples(input, receiver); in testOnTrainingExamples() 135 WebTriggerInput input = new WebTriggerInput( in testOnWebTrigger() local 137 worker.onWebTrigger(input, receiver); in testOnWebTrigger() 145 ExecuteInput input, in onExecute() argument 147 assertEquals("com.example.app", input.getAppPackageName()); in onExecute() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | SpecialCharSequenceMgr.java | 78 static boolean handleChars(Context context, String input) { in handleChars() argument 79 return handleChars(context, input, null); in handleChars() 105 String input, in handleChars() argument 109 String dialString = PhoneNumberUtils.stripSeparators(input); in handleChars() 131 String input, in handleCharsForLockedDevice() argument 134 String dialString = PhoneNumberUtils.stripSeparators(input); in handleCharsForLockedDevice() 157 static private boolean handleSecretCode(String input) { in handleSecretCode() argument 159 int len = input.length(); in handleSecretCode() 160 if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) { in handleSecretCode() 162 phone.sendDialerSpecialCode(input.substring(4, len - 4)); in handleSecretCode() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MoreMath.java | 27 public static int clamp(int input, int lowerBound, int upperBound) { in clamp() argument 28 if (input < lowerBound) return lowerBound; in clamp() 29 if (input > upperBound) return upperBound; in clamp() 30 return input; in clamp() 37 public static float clamp(float input, float lowerBound, float upperBound) { in clamp() argument 38 if (input < lowerBound) return lowerBound; in clamp() 39 if (input > upperBound) return upperBound; in clamp() 40 return input; in clamp() 47 public static double clamp(double input, double lowerBound, double upperBound) { in clamp() argument 48 if (input < lowerBound) return lowerBound; in clamp() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/ |
D | SnakeCaseConverterTest.kt | 30 val input = "camelCase" in fromCamelCase_withCamelCaseInput_returnsSnakeCaseString() constant 32 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withCamelCaseInput_returnsSnakeCaseString() 39 val input = "" in fromCamelCase_withEmptyInput_returnsEmptyString() constant 41 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withEmptyInput_returnsEmptyString() 48 val input = "snake_case" in fromCamelCase_withSnakeCaseInput_returnsSnakeCaseString() constant 50 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withSnakeCaseInput_returnsSnakeCaseString() 57 val input = "camelCase_withUnderscores" in fromCamelCase_withInputHavingUnderscores_preservesUnderscores() constant 59 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withInputHavingUnderscores_preservesUnderscores() 66 val input = "PascalCase" in fromCamelCase_withPascalCaseInput_returnsSnakeCaseString() constant 68 val result = SnakeCaseConverter.fromCamelCase(input) in fromCamelCase_withPascalCaseInput_returnsSnakeCaseString() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
D | UnitBezier.java | 77 float input = target; in solve() local 81 float value = fn.value(input) - target; in solve() 83 return input; in solve() 85 float derivative = fn.derivative(input); in solve() 89 input = input - value / derivative; in solve() 95 input = target; in solve() 97 if (input < min) { in solve() 100 if (input > max) { in solve() 105 float value = fn.value(input); in solve() 107 return input; in solve() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | ReportAndRegisterEventImpl.java | 104 @NonNull ReportInteractionInput input, @NonNull ReportInteractionCallback callback) { in reportInteraction() 108 () -> filterAndValidateRequest(input), in reportInteraction() 118 performReporting(input); in reportInteraction() 133 notifyFailureToCaller(input.getCallerPackageName(), callback, t); in reportInteraction() 140 void performReporting(@NonNull ReportInteractionInput input) { in performReporting() argument 141 FluentFuture<List<Uri>> reportingUrisFuture = getReportingUris(input); in performReporting() 149 input.getReportingDestinations()) in performReporting() 153 if (canMeasurementRegisterAndReport(input)) { in performReporting() 154 return reportAndRegisterUris(reportingUris, input); in performReporting() 156 return reportUris(reportingUris, input); in performReporting() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 128 TvInputInfo input = in DvrScheduleManager() 131 input != null, TAG, "Input was removed for : %s", schedule)) { in DvrScheduleManager() 137 String inputId = input.getId(); in DvrScheduleManager() 156 TvInputInfo input = in DvrScheduleManager() 158 if (input == null) { in DvrScheduleManager() 164 String inputId = input.getId(); in DvrScheduleManager() 192 TvInputInfo input = in DvrScheduleManager() 195 input != null, TAG, "Input was removed for : %s", schedule)) { in DvrScheduleManager() 201 String inputId = input.getId(); in DvrScheduleManager() 524 TvInputInfo input = Utils.getTvInputInfoForProgram(mContext, program); in getConflictingSchedules() [all …]
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/ |
D | IsolatedServiceTest.java | 93 ExecuteInputParcel input = in testOnExecute() local 100 params.putParcelable(Constants.EXTRA_INPUT, input); in testOnExecute() 119 ExecuteInputParcel input = in testOnExecutePropagatesError() local 126 params.putParcelable(Constants.EXTRA_INPUT, input); in testOnExecutePropagatesError() 141 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteWithoutAppParams() local 143 params.putParcelable(Constants.EXTRA_INPUT, input); in testOnExecuteWithoutAppParams() 177 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteThrowsIfDataAccessServiceMissing() local 182 params.putParcelable(Constants.EXTRA_INPUT, input); in testOnExecuteThrowsIfDataAccessServiceMissing() 190 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteThrowsIfFederatedComputeServiceMissing() local 193 params.putParcelable(Constants.EXTRA_INPUT, input); in testOnExecuteThrowsIfFederatedComputeServiceMissing() [all …]
|
D | IsolatedServiceExceptionSafetyTestImpl.java | 37 @NonNull ExecuteInput input, in onExecute() 39 String exName = input.getAppParams().getString("ex", "n/a"); in onExecute() 45 @NonNull DownloadCompletedInput input, in onDownloadCompleted() 49 KeyValueStore downloadedContents = input.getDownloadedContents(); in onDownloadCompleted() 56 @NonNull RenderInput input, in onRender() 58 String exName = input.getRenderingConfig().getKeys().get(0); in onRender() 64 @NonNull EventInput input, in onEvent() 66 String exName = input.getParameters().getString("ex", "n/a"); in onEvent() 72 @NonNull TrainingExamplesInput input, in onTrainingExamples() 76 String exName = input.getTaskName(); in onTrainingExamples() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/ |
D | OdpResultHandlingServiceTests.java | 105 Bundle input = new Bundle(); in testHandleResult() local 107 input.putByteArray( in testHandleResult() 109 input.putString(ClientConstants.EXTRA_POPULATION_NAME, "population"); in testHandleResult() 110 input.putString(ClientConstants.EXTRA_TASK_ID, "task_name"); in testHandleResult() 111 input.putInt(ClientConstants.EXTRA_COMPUTATION_RESULT, STATUS_SUCCESS); in testHandleResult() 114 input.putParcelableArrayList( in testHandleResult() 117 ((IResultHandlingService.Stub) binder).handleResult(input, new TestCallback()); in testHandleResult() 136 Bundle input = new Bundle(); in testHandleResultWithCollectionUri() local 138 input.putByteArray( in testHandleResultWithCollectionUri() 140 input.putString(ClientConstants.EXTRA_POPULATION_NAME, "population"); in testHandleResultWithCollectionUri() [all …]
|
D | OdpExampleStoreServiceTests.java | 140 Bundle input = new Bundle(); in testStartQuery_lessThanMinExample_failure() local 143 input.putByteArray( in testStartQuery_lessThanMinExample_failure() 145 input.putString(ClientConstants.EXTRA_POPULATION_NAME, "PopulationName"); in testStartQuery_lessThanMinExample_failure() 146 input.putString(ClientConstants.EXTRA_TASK_ID, "TaskName"); in testStartQuery_lessThanMinExample_failure() 147 input.putString(ClientConstants.EXTRA_COLLECTION_URI, "CollectionUri"); in testStartQuery_lessThanMinExample_failure() 148 input.putInt(ClientConstants.EXTRA_ELIGIBILITY_MIN_EXAMPLE, 4); in testStartQuery_lessThanMinExample_failure() 150 binder.startQuery(input, callback); in testStartQuery_lessThanMinExample_failure() 174 Bundle input = new Bundle(); in testStartQuery_moreThanMinExample_failure() local 177 input.putByteArray( in testStartQuery_moreThanMinExample_failure() 179 input.putString(ClientConstants.EXTRA_POPULATION_NAME, "PopulationName"); in testStartQuery_moreThanMinExample_failure() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportAndRegisterEventImplTest.java | 266 ReportInteractionInput input = mInputBuilder.build(); in testImplSuccessfullyReportsRegisteredEvents() local 267 ReportEventTestCallback callback = callReportEvent(input, SHOULD_COUNT_LOG); in testImplSuccessfullyReportsRegisteredEvents() 273 verifyRegisterEvent(SELLER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplSuccessfullyReportsRegisteredEvents() 274 verifyRegisterEvent(BUYER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplSuccessfullyReportsRegisteredEvents() 294 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() local 301 syncRegisterEvent(BUYER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 303 ReportEventTestCallback callback = callReportEvent(input, SHOULD_COUNT_LOG); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 306 verifyRegisterEvent(SELLER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 307 verifyRegisterEvent(BUYER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 334 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException() local [all …]
|
D | ReportAndRegisterEventFallbackImplTest.java | 277 ReportInteractionInput input = mInputBuilder.build(); in testImplSuccessfullyReportsRegisteredEvents() local 278 ReportEventTestCallback callback = callReportEvent(input, SHOULD_COUNT_LOG); in testImplSuccessfullyReportsRegisteredEvents() 281 verifyRegisterEvent(SELLER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplSuccessfullyReportsRegisteredEvents() 282 verifyRegisterEvent(BUYER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplSuccessfullyReportsRegisteredEvents() 337 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() local 339 syncRegisterEvent(SELLER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 341 syncRegisterEvent(BUYER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 343 ReportEventTestCallback callback = callReportEvent(input, SHOULD_COUNT_LOG); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() 390 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException() local 397 syncRegisterEvent(BUYER_INTERACTION_REPORTING_PATH + CLICK_EVENT, input); in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException() [all …]
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | LSHProjection.cpp | 59 const RunTimeOperandInfo* input = GetInput(operation, operands, kInputTensor); in Prepare() local 60 NN_CHECK(NumDimensions(input) >= 1); in Prepare() 75 NN_CHECK_EQ(SizeOfDimension(weight, 0), SizeOfDimension(input, 0)); in Prepare() 96 int runningSignBit(const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, float seed) { in runningSignBit() argument 98 int input_item_bytes = nonExtensionOperandSizeOfData(input->type, input->dimensions) / in runningSignBit() 99 SizeOfDimension(input, 0); in runningSignBit() 100 char* input_ptr = (char*)(input->buffer); in runningSignBit() 106 for (uint32_t i = 0; i < SizeOfDimension(input, 0); ++i) { in runningSignBit() 126 const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, in SparseLshProjection() argument 134 int bit = runningSignBit<T>(input, weight, static_cast<float>(seed)); in SparseLshProjection() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | TranssionUtils.java | 47 public static boolean isTranssionSecretCode(String input) { in isTranssionSecretCode() argument 49 && TRANSSION_SECRET_CODES.contains(input); in isTranssionSecretCode() 61 public static void handleTranssionSecretCode(Context context, String input) { in handleTranssionSecretCode() argument 62 Assert.checkState(isTranssionSecretCode(input)); in handleTranssionSecretCode() 64 TelephonyManagerCompat.handleSecretCode(context, getDigitsFromSecretCode(input)); in handleTranssionSecretCode() 67 private static String getDigitsFromSecretCode(String input) { in getDigitsFromSecretCode() argument 69 Assert.checkArgument(input.length() > 3 && input.startsWith("*#") && input.endsWith("#")); in getDigitsFromSecretCode() 71 return input.substring(2, input.length() - 1); in getDigitsFromSecretCode()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | StochasticRoundingUtilTest.java | 63 String.format("Testcase failed for input: %f", testCase.input), in testRoundStochasticallyMatchesExpectedArguments() 65 StochasticRoundingUtil.roundStochastically(testCase.input, testCase.numBits), in testRoundStochasticallyMatchesExpectedArguments() 80 double input = 0.3; in testRoundStochasticallyIsNonDeterministic() local 83 double result = StochasticRoundingUtil.roundStochastically(input, 8); in testRoundStochasticallyIsNonDeterministic() 99 double input = 0.3; in testRoundStochasticallyApproximatesTrueSim() local 103 total += StochasticRoundingUtil.roundStochastically(input, 8); in testRoundStochasticallyApproximatesTrueSim() 106 assertTrue(total > .9 * input * numIters); in testRoundStochasticallyApproximatesTrueSim() 107 assertTrue(total < 1.1 * input * numIters); in testRoundStochasticallyApproximatesTrueSim() 129 public final double input; field in StochasticRoundingUtilTest.RoundingTestCase 133 RoundingTestCase(double input, int numBits, double output) { in RoundingTestCase() argument [all …]
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/ |
D | ResultHandlingServiceTest.java | 79 Bundle input = new Bundle(); in testHandleResult_success() local 80 input.putString(ClientConstants.EXTRA_TASK_ID, TASK_NAME); in testHandleResult_success() 81 input.putString(ClientConstants.EXTRA_POPULATION_NAME, TEST_POPULATION); in testHandleResult_success() 82 input.putInt(ClientConstants.EXTRA_COMPUTATION_RESULT, STATUS_SUCCESS); in testHandleResult_success() 83 input.putParcelableArrayList( in testHandleResult_success() 86 mBinder.handleResult(input, new TestFederatedComputeCallback()); in testHandleResult_success() 95 Bundle input = new Bundle(); in testHandleResult_failure() local 96 input.putString(ClientConstants.EXTRA_TASK_ID, TASK_NAME); in testHandleResult_failure() 97 input.putString(ClientConstants.EXTRA_POPULATION_NAME, TEST_POPULATION); in testHandleResult_failure() 98 input.putInt(ClientConstants.EXTRA_COMPUTATION_RESULT, STATUS_SUCCESS); in testHandleResult_failure() [all …]
|