Searched refs:getIsU18Account (Results 1 – 16 of 16) sorted by relevance
139 expect.that(result.getIsU18Account()).isEqualTo(BOOLEAN_TRUE); in testGetAdServicesExtData_onResultSet_returnsParams()162 expect.that(result.getIsU18Account()).isEqualTo(BOOLEAN_UNKNOWN); in testGetAdServicesExtData_onErrorSet_returnsDefaultParams()184 expect.that(result.getIsU18Account()).isEqualTo(BOOLEAN_UNKNOWN); in testGetAdServicesExtData_timedOut_returnsDefaultParams()381 expect.that(mParamsCaptor.getValue().getIsU18Account()).isEqualTo(BOOLEAN_FALSE); in testSetIsU18Account_withFalse()389 expect.that(mParamsCaptor.getValue().getIsU18Account()).isEqualTo(BOOLEAN_TRUE); in testSetIsU18Account_withTrue()396 expect.that(mManager.getIsU18Account()).isTrue(); in testGetIsU18Account_withOneRetrieved_returnsTrue()404 expect.that(mManager.getIsU18Account()).isFalse(); in testGetIsU18Account_withZeroRetrieved_returnsFalse()453 expect.that(mParamsCaptor.getValue().getIsU18Account()).isEqualTo(BOOLEAN_UNKNOWN); in testClearDataOnOtaAsync()
103 doReturn(TEST_PARAMS.getIsU18Account()) in testGetAdServicesExtData_onResultSet()125 expect.that(adServicesExtDataParams.getIsU18Account()) in testGetAdServicesExtData_onResultSet()126 .isEqualTo(TEST_PARAMS.getIsU18Account()); in testGetAdServicesExtData_onResultSet()
145 isU18Account.set(result.getIsU18Account()); in getAdServicesExtData()360 public boolean getIsU18Account() { in getIsU18Account() method in AdServicesExtDataStorageServiceManager361 return getAdServicesExtData().getIsU18Account() == BOOLEAN_TRUE; in getIsU18Account()476 sb.append("IsU18Account: ").append(params.getIsU18Account()); in updateRequestToString()
99 KEY_FIELD_IS_U18_ACCOUNT, params.getIsU18Account()); in setAdServicesExtData()
242 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()305 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()518 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()583 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
242 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()305 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()514 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()576 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
53 expect.that(fromParcel.getAdServicesExtDataParams().getIsU18Account()).isEqualTo(0); in testWriteToParcel()
48 expect.that(fromParcel.getIsU18Account()).isEqualTo(0); in testWriteToParcel()
144 return mAdExtDataManager.getIsU18Account(); in isU18Account()
186 int isU18AccountRawValue = dataFromR.getIsU18Account(); in migrateAdExtDataV2()
204 int isU18AccountRawValue = dataFromR.getIsU18Account(); in migrateAdExtData()
561 ? !mAdExtDataManager.getIsU18Account() in isOtaAdultUserFromRvc()2242 () -> mAdExtDataManager.getIsU18Account(),2381 if (mFlags.getU18UxEnabled() && mAdExtDataManager.getIsU18Account()) {
195 public int getIsU18Account() { in getIsU18Account() method in AdServicesExtDataParams
183 verify(mAdExtDataManager).getIsU18Account(); in testIsU18Account()
4217 doReturn(false).when(mAdServicesExtDataManagerMock).getIsU18Account(); in isU18AccountTest_ppapiAndAdExtDataServiceOnly()4219 verify(mAdServicesExtDataManagerMock).getIsU18Account(); in isU18AccountTest_ppapiAndAdExtDataServiceOnly()4221 doReturn(true).when(mAdServicesExtDataManagerMock).getIsU18Account(); in isU18AccountTest_ppapiAndAdExtDataServiceOnly()4226 verify(mAdServicesExtDataManagerMock, times(2)).getIsU18Account(); in isU18AccountTest_ppapiAndAdExtDataServiceOnly()4563 doReturn(false).when(mAdServicesExtDataManagerMock).getIsU18Account(); in testIsRvcAdultUser_ageCheckFlagOn()4568 verify(mAdServicesExtDataManagerMock).getIsU18Account(); in testIsRvcAdultUser_ageCheckFlagOn()4605 when(mAdServicesExtDataManagerMock.getIsU18Account()).thenReturn(true); in testGetUx_ppapiAndAdExtDataServiceOnly_postRollback_u18Ux()4608 verify(mAdServicesExtDataManagerMock).getIsU18Account(); in testGetUx_ppapiAndAdExtDataServiceOnly_postRollback_u18Ux()4621 when(mAdServicesExtDataManagerMock.getIsU18Account()).thenReturn(false); in testGetUx_ppapiAndAdExtDataServiceOnly_postRollback_rvcUx()4625 verify(mAdServicesExtDataManagerMock).getIsU18Account(); in testGetUx_ppapiAndAdExtDataServiceOnly_postRollback_rvcUx()
141 method public int getIsU18Account();