/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialPrefix.java | 99 final ArrayList<String> result = new ArrayList<>(); in parseToIndexTokens() local 114 result.add(currentIndexToken.toString()); in parseToIndexTokens() 122 result.add(currentIndexToken.toString()); in parseToIndexTokens() 124 return result; in parseToIndexTokens() 135 final ArrayList<String> result = new ArrayList<>(); in generateNamePrefixes() local 150 result.add(fullNameToken.toString()); in generateNamePrefixes() 162 final int recursiveNameStart = result.size(); in generateNamePrefixes() 163 int recursiveNameEnd = result.size(); in generateNamePrefixes() 172 result.add(initial + fullNames.get(j)); in generateNamePrefixes() 175 result.add(initial + result.get(j)); in generateNamePrefixes() [all …]
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | form_filing_click_test.cc | 78 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyCheckboxDeviceCoords); in TEST() local 80 EXPECT_TRUE(result.FoundWidget()); in TEST() 81 EXPECT_EQ(FPDF_FORMFIELD_CHECKBOX, result.widget_type()); in TEST() 82 EXPECT_EQ(0, result.widget_index()); in TEST() 85 ASSERT_EQ(expected, result.widget_rect()); in TEST() 87 EXPECT_TRUE(result.read_only()); in TEST() 88 EXPECT_EQ("true", result.text_value()); in TEST() 89 EXPECT_FALSE(result.editable_text()); in TEST() 90 EXPECT_FALSE(result.multiselect()); in TEST() 91 EXPECT_FALSE(result.multi_line_text()); in TEST() [all …]
|
D | form_filing_textfield_test.cc | 98 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyLocationDeviceCoords); in TEST() local 100 EXPECT_TRUE(result.FoundWidget()); in TEST() 101 EXPECT_EQ(FPDF_FORMFIELD_TEXTFIELD, result.widget_type()); in TEST() 102 EXPECT_EQ(0, result.widget_index()); in TEST() 105 ASSERT_EQ(expected, result.widget_rect()); in TEST() 107 EXPECT_TRUE(result.read_only()); in TEST() 108 EXPECT_EQ("Mountain Lion", result.text_value()); in TEST() 109 EXPECT_FALSE(result.editable_text()); in TEST() 110 EXPECT_FALSE(result.multiselect()); in TEST() 111 EXPECT_FALSE(result.multi_line_text()); in TEST() [all …]
|
D | form_filing_combo_test.cc | 95 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyLocationDeviceCoords); in TEST() local 97 EXPECT_TRUE(result.FoundWidget()); in TEST() 98 EXPECT_EQ(FPDF_FORMFIELD_COMBOBOX, result.widget_type()); in TEST() 99 EXPECT_EQ(0, result.widget_index()); in TEST() 102 ASSERT_EQ(expected, result.widget_rect()); in TEST() 104 EXPECT_TRUE(result.read_only()); in TEST() 105 EXPECT_EQ("Frog", result.text_value()); in TEST() 106 EXPECT_FALSE(result.editable_text()); in TEST() 107 EXPECT_FALSE(result.multiselect()); in TEST() 108 EXPECT_FALSE(result.multi_line_text()); in TEST() [all …]
|
D | form_filing_listbox_test.cc | 82 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyLocationDeviceCoords); in TEST() local 84 EXPECT_TRUE(result.FoundWidget()); in TEST() 85 EXPECT_EQ(FPDF_FORMFIELD_LISTBOX, result.widget_type()); in TEST() 86 EXPECT_EQ(0, result.widget_index()); in TEST() 89 ASSERT_EQ(expected, result.widget_rect()); in TEST() 91 EXPECT_TRUE(result.read_only()); in TEST() 92 EXPECT_TRUE(result.text_value().empty()); in TEST() 93 EXPECT_FALSE(result.editable_text()); in TEST() 94 EXPECT_FALSE(result.multiselect()); in TEST() 95 EXPECT_FALSE(result.multi_line_text()); in TEST() [all …]
|
D | unchecked.h | 25 octet_iterator append(uint32_t cp, octet_iterator result) { in append() argument 27 *(result++) = static_cast<uint8_t>(cp); in append() 29 *(result++) = static_cast<uint8_t>((cp >> 6) | 0xc0); in append() 30 *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80); in append() 32 *(result++) = static_cast<uint8_t>((cp >> 12) | 0xe0); in append() 33 *(result++) = static_cast<uint8_t>(((cp >> 6) & 0x3f) | 0x80); in append() 34 *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80); in append() 36 *(result++) = static_cast<uint8_t>((cp >> 18) | 0xf0); in append() 37 *(result++) = static_cast<uint8_t>(((cp >> 12) & 0x3f) | 0x80); in append() 38 *(result++) = static_cast<uint8_t>(((cp >> 6) & 0x3f) | 0x80); in append() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringServiceTest.java | 139 void runTetheringCall(TestTetheringResult result) throws Exception; in runTetheringCall() argument 186 private void runTether(final TestTetheringResult result) throws Exception { in runTether() argument 187 mTetheringConnector.tether(TEST_IFACE_NAME, TEST_CALLER_PKG, TEST_ATTRIBUTION_TAG, result); in runTether() 190 verify(mTethering).tether(TEST_IFACE_NAME, IpServer.STATE_TETHERED, result); in runTether() 195 runAsNoPermission((result) -> { in testTether() argument 197 result); in testTether() 199 result.assertResult(TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION); in testTether() 203 runAsTetherPrivileged((result) -> { in testTether() argument 204 runTether(result); in testTether() 208 runAsWriteSettings((result) -> { in testTether() argument [all …]
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AnspImsPreferModePolicyBuilderTest.java | 57 String[] result = in testGetPolicyInMap_rove_in() local 62 Assert.assertEquals("Condition:WIFI_AVAILABLE", result[0]); in testGetPolicyInMap_rove_in() 64 result = in testGetPolicyInMap_rove_in() 69 Assert.assertEquals("Condition:WIFI_GOOD", result[0]); in testGetPolicyInMap_rove_in() 71 result = in testGetPolicyInMap_rove_in() 76 Assert.assertEquals("Condition:WIFI_GOOD", result[0]); in testGetPolicyInMap_rove_in() 78 result = in testGetPolicyInMap_rove_in() 83 Assert.assertEquals("Condition:WIFI_GOOD,CELLULAR_BAD", result[0]); in testGetPolicyInMap_rove_in() 85 result = in testGetPolicyInMap_rove_in() 90 Assert.assertEquals("Condition:WIFI_GOOD,CELLULAR_BAD", result[0]); in testGetPolicyInMap_rove_in() [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | OveruseConfigurationXmlHelper.cpp | 114 if (const auto result = readExactlyOneElement(kTagComponentType, rootElement); result.ok()) { in readComponentType() local 115 componentTypeElement = *result; in readComponentType() 117 return Error() << "Failed to read tag '" << kTagComponentType << "': " << result.error(); in readComponentType() 269 if (const auto result = readExactlyOneElement(kTagComponentLevelThresholds, rootElement); in readComponentLevelThresholds() local 270 result.ok()) { in readComponentLevelThresholds() 271 componentLevelThresholdElement = *result; in readComponentLevelThresholds() 274 << "': " << result.error(); in readComponentLevelThresholds() 278 if (const auto result = readPerStateBytes(componentLevelThresholdElement); result.ok()) { in readComponentLevelThresholds() local 279 thresholds.perStateWriteBytes = *result; in readComponentLevelThresholds() 282 << thresholds.name << "': " << result.error(); in readComponentLevelThresholds() [all …]
|
D | ServiceManager.cpp | 50 if (auto result = startWatchdogProcessService(mainLooper); !result.ok()) { in startServices() local 51 return result; in startServices() 54 if (auto result = mWatchdogServiceHelper->init(mWatchdogProcessService); !result.ok()) { in startServices() local 55 return Error() << "Failed to initialize watchdog service helper: " << result.error(); in startServices() 58 if (auto result = startPressureMonitor(); !result.ok()) { in startServices() local 59 ALOGE("%s", result.error().message().c_str()); in startServices() 62 if (auto result = startWatchdogPerfService(mWatchdogServiceHelper); !result.ok()) { in startServices() local 63 return result; in startServices() 65 if (auto result = packageInfoResolver->initWatchdogServiceHelper(mWatchdogServiceHelper); in startServices() local 66 !result.ok()) { in startServices() [all …]
|
/packages/modules/Bluetooth/system/stack/avdt/ |
D | avdt_api.cc | 164 tAVDT_RESULT result = AVDT_SUCCESS; in AVDT_CreateStream() local 170 result = AVDT_BAD_PARAMS; in AVDT_CreateStream() 183 result = AVDT_NO_RESOURCES; in AVDT_CreateStream() 190 return static_cast<uint16_t>(result); in AVDT_CreateStream() 208 uint16_t result = AVDT_SUCCESS; in AVDT_RemoveStream() local 216 result = AVDT_BAD_HANDLE; in AVDT_RemoveStream() 222 if (result != AVDT_SUCCESS) { in AVDT_RemoveStream() 223 log::error("result={} avdt_handle={}", result, handle); in AVDT_RemoveStream() 226 return result; in AVDT_RemoveStream() 259 uint16_t result = AVDT_SUCCESS; in AVDT_DiscoverReq() local [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/ |
D | ChooserRequestTest.kt | 70 val result = readChooserRequest(model, fakeChooserServiceFlags) in missingIntent() constant 72 assertThat(result).isInstanceOf(Invalid::class.java) in missingIntent() 73 result as Invalid<ChooserRequest> in missingIntent() 75 assertThat(result.errors) in missingIntent() 85 val result = readChooserRequest(model, fakeChooserServiceFlags) in referrerFillIn() constant 87 assertThat(result).isInstanceOf(Valid::class.java) in referrerFillIn() 88 result as Valid<ChooserRequest> in referrerFillIn() 90 val fillIn = result.value.getReferrerFillInIntent() in referrerFillIn() 102 val result = readChooserRequest(model, fakeChooserServiceFlags) in referrerPackage_isNullWithNonAppReferrer() constant 104 assertThat(result).isInstanceOf(Valid::class.java) in referrerPackage_isNullWithNonAppReferrer() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/ |
D | ValidationTest.kt | 29 val result: ValidationResult<String> = in required_valuePresent() constant 35 assertThat(result).isInstanceOf(Valid::class.java) in required_valuePresent() 36 result as Valid<String> in required_valuePresent() 38 assertThat(result.value).isEqualTo("return value: 1") in required_valuePresent() 39 assertThat(result.warnings).isEmpty() in required_valuePresent() 45 val result: ValidationResult<String> = in required_valueAbsent() constant 52 assertThat(result).isInstanceOf(Invalid::class.java) in required_valueAbsent() 53 result as Invalid<String> in required_valueAbsent() 55 assertThat(result.errors).containsExactly(NoValue("key", Importance.CRITICAL, Int::class)) in required_valueAbsent() 61 val result: ValidationResult<String> = in optional_valuePresent() constant [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/ |
D | SelectionChangeCallbackImplTest.kt | 176 val result = testSubject.onSelectionChanged(targetIntent) in <lambda>() constant 177 assertWithMessage("Callback result should not be null").that(result).isNotNull() in <lambda>() 178 requireNotNull(result) in <lambda>() 180 .that(result.customActions.getOrThrow().map { it.icon to it.label }) in <lambda>() 184 assertThat(result.modifyShareAction).isEqualTo(Absent) in <lambda>() 185 assertThat(result.alternateIntents).isEqualTo(Absent) in <lambda>() 186 assertThat(result.callerTargets).isEqualTo(Absent) in <lambda>() 187 assertThat(result.refinementIntentSender).isEqualTo(Absent) in <lambda>() 188 assertThat(result.resultIntentSender).isEqualTo(Absent) in <lambda>() 189 assertThat(result.metadataText).isEqualTo(Absent) in <lambda>() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ |
D | HpkeJniTest.java | 37 final byte[] result = HpkeJni.encrypt(sPublicKey, sPlaintext, sAssociatedData); in testHpkeEncrypt_Success() 38 Assert.assertNotNull(result); in testHpkeEncrypt_Success() 39 Assert.assertTrue(result.length > 0); in testHpkeEncrypt_Success() 44 final byte[] result = HpkeJni.decrypt(sPrivateKey, sCiphertext, sAssociatedData); in testHpkeDecrypt_Success() 45 Assert.assertNotNull(result); in testHpkeDecrypt_Success() 46 Assert.assertTrue(result.length > 0); in testHpkeDecrypt_Success() 47 Assert.assertTrue(new String(sPlaintext).equals(new String(result))); in testHpkeDecrypt_Success() 65 final byte[] result = HpkeJni.encrypt(/* publicKey= */ null, sPlaintext, sAssociatedData); in testHpkeEncrypt_publicKeyNull_fail() 66 Assert.assertNull(result); in testHpkeEncrypt_publicKeyNull_fail() 72 final byte[] result = HpkeJni.encrypt(shortPublicKey, sPlaintext, sAssociatedData); in testHpkeEncrypt_publicKeyShorterThan32_fail() [all …]
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/jni/ |
D | HpkeJniTest.java | 37 final byte[] result = HpkeJni.encrypt(sPublicKey, sPlaintext, sAssociatedData); in testHpkeEncrypt_Success() 38 Assert.assertNotNull(result); in testHpkeEncrypt_Success() 39 Assert.assertTrue(result.length > 0); in testHpkeEncrypt_Success() 44 final byte[] result = HpkeJni.decrypt(sPrivateKey, sCiphertext, sAssociatedData); in testHpkeDecrypt_Success() 45 Assert.assertNotNull(result); in testHpkeDecrypt_Success() 46 Assert.assertTrue(result.length > 0); in testHpkeDecrypt_Success() 47 Assert.assertTrue(new String(sPlaintext).equals(new String(result))); in testHpkeDecrypt_Success() 65 final byte[] result = HpkeJni.encrypt(/* publicKey= */ null, sPlaintext, sAssociatedData); in testHpkeEncrypt_publicKeyNull_fail() 66 Assert.assertNull(result); in testHpkeEncrypt_publicKeyNull_fail() 72 final byte[] result = HpkeJni.encrypt(shortPublicKey, sPlaintext, sAssociatedData); in testHpkeEncrypt_publicKeyShorterThan32_fail() [all …]
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/ |
D | fuzz_avrc.cc | 20 static void free_avrc_response(tAVRC_RESPONSE& result) { in free_avrc_response() argument 22 switch (result.pdu) { in free_avrc_response() 37 osi_free_and_reset((void**)&result.get_cur_app_val.p_vals); in free_avrc_response() 44 for (int i = 0; i < result.get_app_attr_txt.num_attr; i++) { in free_avrc_response() 45 osi_free_and_reset((void**)&result.get_app_attr_txt.p_attrs[i].p_str); in free_avrc_response() 47 osi_free_and_reset((void**)&result.get_app_attr_txt.p_attrs); in free_avrc_response() 51 for (int i = 0; i < result.get_app_val_txt.num_attr; i++) { in free_avrc_response() 52 osi_free_and_reset((void**)&result.get_app_val_txt.p_attrs[i].p_str); in free_avrc_response() 54 osi_free_and_reset((void**)&result.get_app_val_txt.p_attrs); in free_avrc_response() 64 for (int i = 0; i < result.get_attrs.num_attrs; i++) { in free_avrc_response() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/validator/ |
D | OutgoingTransportStateValidatorTest.java | 66 ValidationResult result = validator.validate(testMessage); in testVerifyMessageInOpenCloseState() local 67 assertFalse(result.isValidated); in testVerifyMessageInOpenCloseState() 69 result.restrictedReason); in testVerifyMessageInOpenCloseState() 73 result = validator.validate(testMessage); in testVerifyMessageInOpenCloseState() 74 assertTrue(result.isValidated); in testVerifyMessageInOpenCloseState() 77 result = validator.validate(testMessage); in testVerifyMessageInOpenCloseState() 78 assertFalse(result.isValidated); in testVerifyMessageInOpenCloseState() 80 result.restrictedReason); in testVerifyMessageInOpenCloseState() 107 ValidationResult result = validator.validate(generate200OkResponse("callId4")); in testVerifyMessageRestricted() local 108 assertTrue(result.isValidated); in testVerifyMessageRestricted() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/helper/ |
D | QuerySimSlotIndexTest.java | 68 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_nullInput_getNoneNullEmptyList() local 70 assertThat(result.size()).isEqualTo(0); in allSimSlotIndexCall_nullInput_getNoneNullEmptyList() 80 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_oneSimAndActivePsim_getList() local 82 assertThat(result.size()).isEqualTo(1); in allSimSlotIndexCall_oneSimAndActivePsim_getList() 83 assertThat(result.get(0)).isEqualTo(0); in allSimSlotIndexCall_oneSimAndActivePsim_getList() 93 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_oneSimAndActiveEsim_getList() local 95 assertThat(result.size()).isEqualTo(1); in allSimSlotIndexCall_oneSimAndActiveEsim_getList() 96 assertThat(result.get(0)).isEqualTo(1); in allSimSlotIndexCall_oneSimAndActiveEsim_getList() 106 List<Integer> result = SelectableSubscriptions.atomicToList(mActiveSimSlotIndex.get()); in allSimSlotIndexCall_twoSimsAndActivePsimActiveEsim_getList() local 108 assertThat(result.size()).isEqualTo(2); in allSimSlotIndexCall_twoSimsAndActivePsimActiveEsim_getList() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ThumbnailCacheTest.java | 74 Result result = mCache.getThumbnail(URI_1, USER_ID_0, MID_SIZE); in testMiss() local 76 assertMiss(result); in testMiss() 82 Result result = mCache.getThumbnail(URI_0, USER_ID_1, MID_SIZE); in testMiss_DifferentUser() local 83 assertMiss(result); in testMiss_DifferentUser() 90 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_Exact() local 92 assertHitExact(result); in testHit_Exact() 93 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Exact() 100 Result result = mCache.getThumbnail(URI_0, USER_ID_0, LARGE_SIZE); in testHit_Smaller() local 102 assertHitSmaller(result); in testHit_Smaller() 103 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Smaller() [all …]
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | TreeTraverserTest.java | 122 AccessibilityNodeInfo result = mTreeTraverser.findNodeOrAncestor(mNode0, in testFindNodeOrAncestor() local 124 assertThat(result).isEqualTo(mNode0); in testFindNodeOrAncestor() 125 Utils.recycleNode(result); in testFindNodeOrAncestor() 128 result = mTreeTraverser.findNodeOrAncestor(mNode1, /* stopPredicate= */ null, in testFindNodeOrAncestor() 130 assertThat(result).isEqualTo(mNode0); in testFindNodeOrAncestor() 131 Utils.recycleNode(result); in testFindNodeOrAncestor() 134 result = mTreeTraverser.findNodeOrAncestor(mNode2, /* stopPredicate= */ null, in testFindNodeOrAncestor() 136 assertThat(result).isEqualTo(mNode0); in testFindNodeOrAncestor() 137 Utils.recycleNode(result); in testFindNodeOrAncestor() 140 result = mTreeTraverser.findNodeOrAncestor(mNode2, /* stopPredicate= */ null, in testFindNodeOrAncestor() [all …]
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/safeparcel/ |
D | SafeParcelReader.java | 265 final String result = p.readString(); in createString() local 267 return result; in createString() 278 final IBinder result = p.readStrongBinder(); in readIBinder() local 280 return result; in readIBinder() 291 final PendingIntent result = PendingIntent.readPendingIntentOrNullFromParcel(p); in readPendingIntent() local 293 return result; in readPendingIntent() 305 final T result = creator.createFromParcel(p); in createParcelable() local 307 return result; in createParcelable() 318 final Bundle result = p.readBundle(); in createBundle() local 320 return result; in createBundle() [all …]
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | ThreadPriorityControllerTest.cpp | 74 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, policy, priority); in TEST_F() local 76 ASSERT_TRUE(result.ok()) << result.error().message(); in TEST_F() 87 auto result = mController->setThreadPriority(TEST_PID, TEST_TID, TEST_UID, policy, setPriority); in TEST_F() local 89 ASSERT_TRUE(result.ok()) << result.error().message(); in TEST_F() 93 auto result = mController->setThreadPriority(TEST_PID + 1, TEST_TID, TEST_UID, SCHED_FIFO, 1); in TEST_F() local 95 EXPECT_FALSE(result.ok()); in TEST_F() 96 EXPECT_EQ(result.error().code(), EX_ILLEGAL_STATE); in TEST_F() 100 auto result = mController->setThreadPriority(TEST_PID, TEST_TID + 1, TEST_UID, SCHED_FIFO, 1); in TEST_F() local 102 EXPECT_FALSE(result.ok()); in TEST_F() 103 EXPECT_EQ(result.error().code(), EX_ILLEGAL_STATE); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_cmd.cc | 217 const tBTA_AG_RESULT* result = bta_ag_result_by_code(code); in bta_ag_send_result() local 218 if (result == nullptr) { in bta_ag_send_result() 231 strlcpy(p, result->result_string, sizeof(buf) - 2); in bta_ag_send_result() 245 p += strlen(result->result_string); in bta_ag_send_result() 248 if (result->arg_type == BTA_AG_RES_FMT_INT) { in bta_ag_send_result() 250 } else if (result->arg_type == BTA_AG_RES_FMT_STR) { in bta_ag_send_result() 566 void bta_ag_send_call_inds(tBTA_AG_SCB* p_scb, tBTA_AG_RES result) { in bta_ag_send_call_inds() argument 570 size_t callsetup = bta_ag_indicator_by_result_code(result); in bta_ag_send_call_inds() 572 if (result == BTA_AG_END_CALL_RES) { in bta_ag_send_call_inds() 574 } else if (result == BTA_AG_IN_CALL_CONN_RES || in bta_ag_send_call_inds() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcherTest.java | 300 Source result = fetch.get(); in testBasicSourceRequest() local 301 assertEquals(ENROLLMENT_ID, result.getEnrollmentId()); in testBasicSourceRequest() 302 assertEquals(DEFAULT_DESTINATION, result.getAppDestinations().get(0).toString()); in testBasicSourceRequest() 303 assertEquals(DEFAULT_PRIORITY, result.getPriority()); in testBasicSourceRequest() 305 result.getEventTime() + TimeUnit.SECONDS.toMillis(DEFAULT_EXPIRY_ROUNDED), in testBasicSourceRequest() 306 result.getExpiryTime()); in testBasicSourceRequest() 307 assertEquals(DEFAULT_EVENT_ID, result.getEventId()); in testBasicSourceRequest() 308 assertEquals(DEBUG_KEY, result.getDebugKey()); in testBasicSourceRequest() 309 assertEquals(SHARED_AGGREGATION_KEYS, result.getSharedAggregationKeys()); in testBasicSourceRequest() 310 assertEquals(DEFAULT_REGISTRATION, result.getRegistrationOrigin().toString()); in testBasicSourceRequest() [all …]
|