Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManagerTest.java139 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()
DAdServicesExtDataStorageServiceDebugProxyTest.java103 doReturn(TEST_PARAMS.getIsU18Account()) in testGetAdServicesExtData_onResultSet()
125 expect.that(adServicesExtDataParams.getIsU18Account()) in testGetAdServicesExtData_onResultSet()
126 .isEqualTo(TEST_PARAMS.getIsU18Account()); in testGetAdServicesExtData_onResultSet()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManager.java145 isU18Account.set(result.getIsU18Account()); in getAdServicesExtData()
360 public boolean getIsU18Account() { in getIsU18Account() method in AdServicesExtDataStorageServiceManager
361 return getAdServicesExtData().getIsU18Account() == BOOLEAN_TRUE; in getIsU18Account()
476 sb.append("IsU18Account: ").append(params.getIsU18Account()); in updateRequestToString()
DAdServicesExtDataStorageServiceDebugProxy.java99 KEY_FIELD_IS_U18_ACCOUNT, params.getIsU18Account()); in setAdServicesExtData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtilsV2Test.java242 .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()
DAdExtDataConsentMigrationUtilsTest.java242 .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()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/extdata/
DGetAdServicesExtDataResultTest.java53 expect.that(fromParcel.getAdServicesExtDataParams().getIsU18Account()).isEqualTo(0); in testWriteToParcel()
DAdServicesExtDataParamsTest.java48 expect.that(fromParcel.getIsU18Account()).isEqualTo(0); in testWriteToParcel()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentForRStorageManager.java144 return mAdExtDataManager.getIsU18Account(); in isU18Account()
DAdExtDataConsentMigrationUtilsV2.java186 int isU18AccountRawValue = dataFromR.getIsU18Account(); in migrateAdExtDataV2()
DAdExtDataConsentMigrationUtils.java204 int isU18AccountRawValue = dataFromR.getIsU18Account(); in migrateAdExtData()
DConsentManager.java561 ? !mAdExtDataManager.getIsU18Account() in isOtaAdultUserFromRvc()
2242 () -> mAdExtDataManager.getIsU18Account(),
2381 if (mFlags.getU18UxEnabled() && mAdExtDataManager.getIsU18Account()) {
/packages/modules/AdServices/adservices/framework/java/android/adservices/extdata/
DAdServicesExtDataParams.java195 public int getIsU18Account() { in getIsU18Account() method in AdServicesExtDataParams
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAppConsentForRStorageManagerTest.java183 verify(mAdExtDataManager).getIsU18Account(); in testIsU18Account()
DConsentManagerTest.java4217 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()
/packages/modules/AdServices/adservices/framework/api/
Dsystem-current.txt141 method public int getIsU18Account();