Home
last modified time | relevance | path

Searched refs:PURPOSE_ADVERTISING (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt22 import com.android.permission.safetylabel.DataPurposeConstants.PURPOSE_ADVERTISING
170 assertThat(type.purposeSet).containsExactly(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING) in getDataTypeMap_dataCollected_validCategory_validBundle_validateSingleExpectedType()
186 assertThat(type.purposeSet).containsExactly(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING) in getDataTypeMap_dataShared_validCategory_validBundle_validateSingleExpectedType()
208 .containsExactly(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING) in getDataType_dataCollected_validDataType()
221 .containsExactly(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING) in getDataType_dataShared_validDataType()
239 .containsExactly(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING) in getDataType_validDataTypeWithAddedInvalidPurpose_onlyValidPurposes()
276 .containsExactly(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING) in getDataType_dataCollected_validDataType_noUserControl_noEphemeral()
DSafetyLabelTestPersistableBundles.kt25 import com.android.permission.safetylabel.DataPurposeConstants.PURPOSE_ADVERTISING in <lambda>()
343 putIntArray(KEY_PURPOSES, intArrayOf(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING)) in <lambda>()
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DDataPurposeConstants.java44 PURPOSE_ADVERTISING,
54 public static final int PURPOSE_ADVERTISING = 5; field in DataPurposeConstants
70 PURPOSE_ADVERTISING,
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryTest.kt228 private const val PURPOSE_ADVERTISING = 5 constant
267 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithLocationWithAds()
283 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithFinanceWithAds()
299 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithLocationAndFinanceWithAds()
308 putIntArray(PURPOSES_KEY, listOf(PURPOSE_ADVERTISING).toIntArray()) in createDataSharedWithLocationAndFinanceWithAds()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DAppsSafetyLabelHistory.kt22 import com.android.permission.safetylabel.DataPurposeConstants.PURPOSE_ADVERTISING in <lambda>()
139 it.purposeSet.contains(PURPOSE_ADVERTISING) in <lambda>()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DAppMetadata.kt169 putIntArray(KEY_PURPOSES, listOf(PURPOSE_ADVERTISING).toIntArray()) in createAppMetadataWithLocationSharingAds()
206 private const val PURPOSE_ADVERTISING = 5 constant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v34/
DPermissionRationaleActivity.java26 import static com.android.permission.safetylabel.DataPurposeConstants.PURPOSE_ADVERTISING;
136 PURPOSE_ADVERTISING,
475 case PURPOSE_ADVERTISING: in getStringForPurpose()