Searched refs:KEY_PURPOSES (Results 1 – 5 of 5) sorted by relevance
31 PersistableBundle().apply { putIntArray(KEY_PURPOSES, (1..7).toList().toIntArray()) } in createDefaultAppMetadata()146 KEY_PURPOSES, in createAppMetadataWithLocationSharingNoAds()169 putIntArray(KEY_PURPOSES, listOf(PURPOSE_ADVERTISING).toIntArray()) in createAppMetadataWithLocationSharingAds()213 private const val KEY_PURPOSES = "purposes" constant
25 import com.android.permission.safetylabel.DataType.KEY_PURPOSES229 val purposes: IntArray = typePersistableBundle.getIntArray(KEY_PURPOSES)!! in getDataType_validDataTypeWithAddedInvalidPurpose_onlyValidPurposes()231 typePersistableBundle.putIntArray(KEY_PURPOSES, updatedPurposes) in getDataType_validDataTypeWithAddedInvalidPurpose_onlyValidPurposes()245 typePersistableBundle.remove(KEY_PURPOSES) in getDataType_dataTypeWithInvalidPurpose_nullDataType()247 typePersistableBundle.putIntArray(KEY_PURPOSES, updatedPurposes) in getDataType_dataTypeWithInvalidPurpose_nullDataType()258 typePersistableBundle.remove(KEY_PURPOSES) in getDataType_noPurpose_nullDataType()
28 import com.android.permission.safetylabel.DataType.KEY_PURPOSES in <lambda>()343 putIntArray(KEY_PURPOSES, intArrayOf(PURPOSE_APP_FUNCTIONALITY, PURPOSE_ADVERTISING)) in <lambda>()
38 @VisibleForTesting static final String KEY_PURPOSES = "purposes"; field in DataType95 int[] purposeList = dataTypeBundle.getIntArray(KEY_PURPOSES); in getDataType()
229 private const val KEY_PURPOSES = "purposes" in <lambda>() constant366 KEY_PURPOSES, in <lambda>()