Home
last modified time | relevance | path

Searched refs:getIsAdultAccount (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManagerTest.java140 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()
DAdServicesExtDataStorageServiceDebugProxyTest.java106 doReturn(TEST_PARAMS.getIsAdultAccount()) in testGetAdServicesExtData_onResultSet()
127 expect.that(adServicesExtDataParams.getIsAdultAccount()) in testGetAdServicesExtData_onResultSet()
128 .isEqualTo(TEST_PARAMS.getIsAdultAccount()); in testGetAdServicesExtData_onResultSet()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManager.java146 isAdultAccount.set(result.getIsAdultAccount()); in getAdServicesExtData()
378 public boolean getIsAdultAccount() { in getIsAdultAccount() method in AdServicesExtDataStorageServiceManager
379 return getAdServicesExtData().getIsAdultAccount() == BOOLEAN_TRUE; in getIsAdultAccount()
479 sb.append("IsAdultAccount: ").append(params.getIsAdultAccount()); in updateRequestToString()
DAdServicesExtDataStorageServiceDebugProxy.java101 KEY_FIELD_IS_ADULT_ACCOUNT, params.getIsAdultAccount()); in setAdServicesExtData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtilsV2Test.java244 .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()
DAdExtDataConsentMigrationUtilsTest.java244 .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()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/extdata/
DGetAdServicesExtDataResultTest.java54 expect.that(fromParcel.getAdServicesExtDataParams().getIsAdultAccount()).isEqualTo(1); in testWriteToParcel()
DAdServicesExtDataParamsTest.java49 expect.that(fromParcel.getIsAdultAccount()).isEqualTo(1); in testWriteToParcel()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentForRStorageManager.java128 return mAdExtDataManager.getIsAdultAccount(); in isAdultAccount()
DAdExtDataConsentMigrationUtilsV2.java193 int isAdultAccountRawValue = dataFromR.getIsAdultAccount(); in migrateAdExtDataV2()
DAdExtDataConsentMigrationUtils.java213 int isAdultAccountRawValue = dataFromR.getIsAdultAccount(); in migrateAdExtData()
DConsentManager.java562 && mAdExtDataManager.getIsAdultAccount() in isOtaAdultUserFromRvc()
2299 () -> mAdExtDataManager.getIsAdultAccount(),
2383 } else if (mAdExtDataManager.getIsAdultAccount()) {
/packages/modules/AdServices/adservices/framework/java/android/adservices/extdata/
DAdServicesExtDataParams.java201 public int getIsAdultAccount() { in getIsAdultAccount() method in AdServicesExtDataParams
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAppConsentForRStorageManagerTest.java171 verify(mAdExtDataManager).getIsAdultAccount(); in testIsAdultAccount()
DConsentManagerTest.java4357 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()
/packages/modules/AdServices/adservices/framework/api/
Dsystem-current.txt138 method public int getIsAdultAccount();