Searched refs:getIsAdultAccount (Results 1 – 16 of 16) sorted by relevance
140 expect.that(result.getIsAdultAccount()).isEqualTo(BOOLEAN_FALSE); in testGetAdServicesExtData_onResultSet_returnsParams()163 expect.that(result.getIsAdultAccount()).isEqualTo(BOOLEAN_UNKNOWN); in testGetAdServicesExtData_onErrorSet_returnsDefaultParams()185 expect.that(result.getIsAdultAccount()).isEqualTo(BOOLEAN_UNKNOWN); in testGetAdServicesExtData_timedOut_returnsDefaultParams()351 expect.that(mParamsCaptor.getValue().getIsAdultAccount()).isEqualTo(BOOLEAN_FALSE); in testSetIsAdultAccount_withFalse()359 expect.that(mParamsCaptor.getValue().getIsAdultAccount()).isEqualTo(BOOLEAN_TRUE); in testSetIsAdultAccount_withTrue()366 expect.that(mManager.getIsAdultAccount()).isFalse(); in testGetIsAdultAccount_withZeroRetrieved_returnsFalse()374 expect.that(mManager.getIsAdultAccount()).isTrue(); in testGetIsAdultAccount_withOneRetrieved_returnsTrue()454 expect.that(mParamsCaptor.getValue().getIsAdultAccount()).isEqualTo(BOOLEAN_UNKNOWN); in testClearDataOnOtaAsync()
106 doReturn(TEST_PARAMS.getIsAdultAccount()) in testGetAdServicesExtData_onResultSet()127 expect.that(adServicesExtDataParams.getIsAdultAccount()) in testGetAdServicesExtData_onResultSet()128 .isEqualTo(TEST_PARAMS.getIsAdultAccount()); in testGetAdServicesExtData_onResultSet()
146 isAdultAccount.set(result.getIsAdultAccount()); in getAdServicesExtData()378 public boolean getIsAdultAccount() { in getIsAdultAccount() method in AdServicesExtDataStorageServiceManager379 return getAdServicesExtData().getIsAdultAccount() == BOOLEAN_TRUE; in getIsAdultAccount()479 sb.append("IsAdultAccount: ").append(params.getIsAdultAccount()); in updateRequestToString()
101 KEY_FIELD_IS_ADULT_ACCOUNT, params.getIsAdultAccount()); in setAdServicesExtData()
244 .setAdultAccount(TEST_PARAMS_WITH_ALL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()307 .setAdultAccount(TEST_PARAMS_WITH_PARTIAL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()520 .setAdultAccount(TEST_PARAMS_WITH_ALL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()585 .setAdultAccount(TEST_PARAMS_WITH_PARTIAL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
244 .setAdultAccount(TEST_PARAMS_WITH_ALL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()307 .setAdultAccount(TEST_PARAMS_WITH_PARTIAL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()516 .setAdultAccount(TEST_PARAMS_WITH_ALL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()578 .setAdultAccount(TEST_PARAMS_WITH_PARTIAL_DATA.getIsAdultAccount() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
54 expect.that(fromParcel.getAdServicesExtDataParams().getIsAdultAccount()).isEqualTo(1); in testWriteToParcel()
49 expect.that(fromParcel.getIsAdultAccount()).isEqualTo(1); in testWriteToParcel()
128 return mAdExtDataManager.getIsAdultAccount(); in isAdultAccount()
193 int isAdultAccountRawValue = dataFromR.getIsAdultAccount(); in migrateAdExtDataV2()
213 int isAdultAccountRawValue = dataFromR.getIsAdultAccount(); in migrateAdExtData()
562 && mAdExtDataManager.getIsAdultAccount() in isOtaAdultUserFromRvc()2299 () -> mAdExtDataManager.getIsAdultAccount(),2383 } else if (mAdExtDataManager.getIsAdultAccount()) {
201 public int getIsAdultAccount() { in getIsAdultAccount() method in AdServicesExtDataParams
171 verify(mAdExtDataManager).getIsAdultAccount(); in testIsAdultAccount()
4357 doReturn(false).when(mAdServicesExtDataManagerMock).getIsAdultAccount(); in isAdultAccountTest_ppapiAndAdExtDataServiceOnly()4359 verify(mAdServicesExtDataManagerMock).getIsAdultAccount(); in isAdultAccountTest_ppapiAndAdExtDataServiceOnly()4361 doReturn(true).when(mAdServicesExtDataManagerMock).getIsAdultAccount(); in isAdultAccountTest_ppapiAndAdExtDataServiceOnly()4366 verify(mAdServicesExtDataManagerMock, times(2)).getIsAdultAccount(); in isAdultAccountTest_ppapiAndAdExtDataServiceOnly()4564 doReturn(true).when(mAdServicesExtDataManagerMock).getIsAdultAccount(); in testIsRvcAdultUser_ageCheckFlagOn()4567 verify(mAdServicesExtDataManagerMock).getIsAdultAccount(); in testIsRvcAdultUser_ageCheckFlagOn()4622 when(mAdServicesExtDataManagerMock.getIsAdultAccount()).thenReturn(true); in testGetUx_ppapiAndAdExtDataServiceOnly_postRollback_rvcUx()4626 verify(mAdServicesExtDataManagerMock).getIsAdultAccount(); in testGetUx_ppapiAndAdExtDataServiceOnly_postRollback_rvcUx()
138 method public int getIsAdultAccount();