Home
last modified time | relevance | path

Searched refs:resultValue (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAsyncResultHolderTests.java57 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetWithoutSet() local
58 assertEquals(DEFAULT_VALUE, resultValue); in testGetWithoutSet()
65 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetBeforeSet() local
66 assertEquals(DEFAULT_VALUE, resultValue); in testGetBeforeSet()
73 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetAfterSet() local
74 assertEquals(SET_VALUE, resultValue); in testGetAfterSet()
81 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetBeforeTimeout() local
82 assertEquals(SET_VALUE, resultValue); in testGetBeforeTimeout()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java349 VehiclePropValue resultValue = new VehiclePropValue(); in getValues() local
350 resultValue.prop = propId; in getValues()
351 resultValue.areaId = requestedPropValue.areaId; in getValues()
352 resultValue.value = new RawPropValues(); in getValues()
356 resultValue.value.byteValues = mBytes.clone(); in getValues()
360 resultValue = existingValue; in getValues()
362 resultValue = requestedPropValue; in getValues()
366 result.prop = resultValue; in getValues()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetConfigure.java98 Intent resultValue = new Intent(); in onActivityResult() local
99 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onActivityResult()
100 setResult(resultCode, resultValue); in onActivityResult()
/packages/apps/Messaging/src/com/android/messaging/ui/
DWidgetPickConversationActivity.java83 Intent resultValue = new Intent(); in onConversationClick() local
84 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onConversationClick()
85 setResult(RESULT_OK, resultValue); in onConversationClick()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/edit/
DEditInfoFragmentTest.java55 final boolean resultValue = false; in testOnPreferenceChange_with_listener()
56 doReturn(resultValue).when(preference).onPreferenceChange(preference, value); in testOnPreferenceChange_with_listener()
58 assertThat(listener.onPreferenceChange(preference, value)).isEqualTo(resultValue); in testOnPreferenceChange_with_listener()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java128 @Nullable ValueType resultValue, in AppSearchResult() argument
131 mResultValue = resultValue; in AppSearchResult()
/packages/modules/NeuralNetworks/runtime/test/
DTestStatsdTelemetry.cpp184 const auto [resultKey, resultValue] = aggregator.pop(); in TEST()
187 EXPECT_EQ(resultValue, value1); in TEST()
200 const auto [resultKey, resultValue] = aggregator.pop(); in TEST()
203 EXPECT_EQ(resultValue, AtomValue{.count = 5}); in TEST()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionScriptEngineTest.java1885 String renderUriSuffix, String resultValue, Set<Integer> adCounterKeys) {
1887 Objects.requireNonNull(resultValue, "Result value must not be null");
1890 .setMetadata("{\"result\":" + resultValue + "}")