/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationJavaUtil.java | 41 @Nullable UUID domainSetId, @Nullable Set<String> domains, int state) in setStatusForceNullable() argument 43 return service.setDomainVerificationStatus(domainSetId, domains, state); in setStatusForceNullable() 47 @Nullable UUID domainSetId, @Nullable Set<String> domains, boolean enabled, in setUserSelectionForceNullable() argument 50 return service.setDomainVerificationUserSelection(domainSetId, domains, enabled, userId); in setUserSelectionForceNullable() 54 @Nullable UUID domainSetId, @Nullable Set<String> domains, int state) in setStatusForceNullable() argument 56 return manager.setDomainVerificationStatus(domainSetId, domains, state); in setStatusForceNullable() 60 @Nullable UUID domainSetId, @Nullable Set<String> domains, boolean enabled) in setUserSelectionForceNullable() argument 62 return manager.setDomainVerificationUserSelection(domainSetId, domains, enabled); in setUserSelectionForceNullable()
|
D | DomainVerificationServiceUtil.kt | 23 fun DomainVerificationService.setStatus(domainSetId: UUID, domains: Set<String>, state: Int) = 24 setDomainVerificationStatus(domainSetId, domains.toMutableSet(), state) 27 domainSetId: UUID, 31 ) = setDomainVerificationUserSelection(domainSetId, domains.toMutableSet(), enabled, userId)
|
D | DomainVerificationPackageTest.kt | 95 assertThat(info.identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 103 assertThat(userState.identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 129 assertThat(identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 140 assertThat(identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 153 assertThat(identifier).isEqualTo(pkg2.domainSetId) in <lambda>() 164 assertThat(identifier).isEqualTo(pkg2.domainSetId) in <lambda>() 205 assertThat(info.identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 215 assertThat(userState.identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 255 assertThat(info.identifier).isEqualTo(pkg1.domainSetId) in <lambda>() 265 assertThat(userState.identifier).isEqualTo(pkg1.domainSetId) in <lambda>() [all …]
|
D | DomainVerificationManagerApiTest.kt | 169 assertThat(infoOne!!.identifier).isEqualTo(pkgWithDomains.domainSetId) in <lambda>() 325 assertThat(infoOne!!.identifier).isEqualTo(pkgWithDomains.domainSetId) in <lambda>() 337 assertThat(infoTwo!!.identifier).isEqualTo(pkgWithoutDomains.domainSetId) in <lambda>() 390 pkg1.domainSetId, in <lambda>() 397 pkg2.domainSetId, in <lambda>() 403 service.setUserSelection(pkg1.domainSetId, setOf(DOMAIN_2), true, 0) in <lambda>() 427 service.setUserSelection(pkg1.domainSetId, setOf(DOMAIN_2), true, 1) in <lambda>() 471 service.setUserSelection(pkg1.domainSetId, setOf(DOMAIN_2), true, 0) in <lambda>() 488 service.setUserSelection(pkg2.domainSetId, setOf(DOMAIN_2), true, 0) in <lambda>() 577 domainSetId: UUID, in <lambda>() [all …]
|
D | DomainVerificationUserSelectionOverrideTest.kt | 109 fun mockPkgState(pkgName: String, domainSetId: UUID) = in mockPkgState() 155 whenever(this.domainSetId) { domainSetId } in mockPkgState()
|
D | DomainVerificationPersistenceTest.kt | 302 val domainSetId = UUID(0L, id.toLong()) in <lambda>() constant 305 domainSetId, in <lambda>()
|
D | DomainVerificationEnforcerTest.kt | 347 fun mockPkgState(packageName: String, domainSetId: UUID) = in <lambda>() 351 whenever(this.domainSetId) { domainSetId } in <lambda>()
|
D | DomainVerificationSettingsMutationTest.kt | 219 whenever(domainSetId) { TEST_UUID } in <lambda>()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/ |
D | RetryRequestWorker.kt | 39 data class VerifyResult(val domainSetId: UUID, val host: String, val status: VerifyStatus) in <lambda>() constant in VerifyResult 49 .map { (domainSetId, packageName, host) -> in <lambda>() method 53 VerifyResult(domainSetId, host, status) in <lambda>() 63 .groupBy { it.domainSetId } in <lambda>() 64 .forEach { (domainSetId, resultsById) -> in <lambda>() method 69 domainSetId, in <lambda>()
|
D | SingleV2RequestWorker.kt | 37 domainSetId: UUID, in buildRequest() 44 .putString(DOMAIN_SET_ID_KEY, domainSetId.toString()) 58 val domainSetId = params.inputData.getString(DOMAIN_SET_ID_KEY)!!.let(UUID::fromString) in <lambda>() constant 64 verificationManager.setDomainVerificationStatus(domainSetId, setOf(host), status.value) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/ |
D | DomainVerificationStateMap.java | 63 public ValueType get(@NonNull UUID domainSetId) { in get() argument 64 return mDomainSetIdMap.get(domainSetId); in get() 67 public void put(@NonNull String packageName, @NonNull UUID domainSetId, in put() argument 74 mDomainSetIdMap.put(domainSetId, valueType); in put() 90 public ValueType remove(@NonNull UUID domainSetId) { in remove() argument 91 ValueType valueRemoved = mDomainSetIdMap.remove(domainSetId); in remove()
|
/frameworks/base/core/java/android/content/pm/verify/domain/ |
D | DomainVerificationManager.java | 313 public int setDomainVerificationStatus(@NonNull UUID domainSetId, @NonNull Set<String> domains, in setDomainVerificationStatus() argument 315 validateInput(domainSetId, domains); in setDomainVerificationStatus() 318 return mDomainVerificationManager.setDomainVerificationStatus(domainSetId.toString(), in setDomainVerificationStatus() 395 public int setDomainVerificationUserSelection(@NonNull UUID domainSetId, in setDomainVerificationUserSelection() argument 397 validateInput(domainSetId, domains); in setDomainVerificationUserSelection() 401 domainSetId.toString(), new DomainSet(domains), enabled, mContext.getUserId()); in setDomainVerificationUserSelection() 487 private void validateInput(@Nullable UUID domainSetId, @Nullable Set<String> domains) { in validateInput() argument 488 if (domainSetId == null) { in validateInput()
|
D | IDomainVerificationManager.aidl | 45 int setDomainVerificationStatus(String domainSetId, in DomainSet domains, int state); in setDomainVerificationStatus() argument 49 int setDomainVerificationUserSelection(String domainSetId, in DomainSet domains, in setDomainVerificationUserSelection() argument
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationManagerStub.java | 88 public int setDomainVerificationStatus(String domainSetId, @NonNull DomainSet domainSet, in setDomainVerificationStatus() argument 91 return mService.setDomainVerificationStatus(UUID.fromString(domainSetId), in setDomainVerificationStatus() 110 public int setDomainVerificationUserSelection(String domainSetId, @NonNull DomainSet domainSet, in setDomainVerificationUserSelection() argument 113 return mService.setDomainVerificationUserSelection(UUID.fromString(domainSetId), in setDomainVerificationUserSelection()
|
D | DomainVerificationService.java | 402 public int setDomainVerificationStatus(@NonNull UUID domainSetId, @NonNull Set<String> domains, in setDomainVerificationStatus() argument 411 return setDomainVerificationStatusInternal(mConnection.getCallingUid(), domainSetId, in setDomainVerificationStatus() 417 public int setDomainVerificationStatusInternal(int callingUid, @NonNull UUID domainSetId, in setDomainVerificationStatusInternal() argument 425 GetAttachedResult result = getAndValidateAttachedLocked(domainSetId, domains, in setDomainVerificationStatusInternal() 663 public int setDomainVerificationUserSelection(@NonNull UUID domainSetId, in setDomainVerificationUserSelection() argument 677 GetAttachedResult result = getAndValidateAttachedLocked(domainSetId, domains, in setDomainVerificationUserSelection() 1064 UUID domainSetId = newPkgSetting.getDomainSetId(); in addPackage() local 1090 pkgState = new DomainVerificationPkgState(pkgState, domainSetId, hasAutoVerifyDomains); in addPackage() 1100 pkgState = new DomainVerificationPkgState(pkgName, domainSetId, hasAutoVerifyDomains); in addPackage() 1147 mAttachedPkgStates.put(pkgName, domainSetId, pkgState); in addPackage() [all …]
|
D | DomainVerificationManagerInternal.java | 415 int setDomainVerificationStatusInternal(int callingUid, @NonNull UUID domainSetId, in setDomainVerificationStatusInternal() argument
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/ |
D | DomainVerificationProxyV1.java | 136 UUID domainSetId = mManager.getDomainVerificationInfoId(packageName); in runMessage() local 137 if (domainSetId == null) { in runMessage() 142 Pair.create(domainSetId, packageName)); in runMessage() 157 UUID domainSetId = pair.first; in runMessage() local 170 if (!Objects.equals(domainSetId, info.getIdentifier())) { in runMessage() 210 if (mManager.setDomainVerificationStatusInternal(callingUid, domainSetId, in runMessage() 222 if (mManager.setDomainVerificationStatusInternal(callingUid, domainSetId, in runMessage()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/ |
D | DomainVerificationReceiverV2.kt | 89 val (domainSetId, _, hostToStateMap) = manager.getDomainVerificationInfo(packageName) in <lambda>() constant 101 SingleV2RequestWorker.buildRequest(domainSetId, packageName, host) { in <lambda>()
|
D | DomainVerifier.kt | 68 val (domainSetId, _, hostToStateMap) = try { in <lambda>() constant 81 hostsToRetry.map { Triple(domainSetId, packageName, it) } in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageSettingBuilder.java | 154 public PackageSettingBuilder setDomainSetId(UUID domainSetId) { in setDomainSetId() argument 155 mDomainSetId = domainSetId; in setDomainSetId()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 251 int pkgFlags, int pkgPrivateFlags, @NonNull UUID domainSetId) { 259 this.mDomainSetId = domainSetId; 1513 public PackageSetting setDomainSetId(@NonNull UUID domainSetId) { 1514 mDomainSetId = domainSetId;
|
D | Settings.java | 959 int pkgFlags, int pkgPrivateFlags, @NonNull UUID domainSetId, boolean isSdkLibrary) { 969 p = new PackageSetting(name, realName, codePath, pkgFlags, pkgPrivateFlags, domainSetId) 1052 @NonNull UUID domainSetId, int targetSdkVersion, byte[] restrictUpdatedHash) { 1073 .setDomainSetId(domainSetId) 1083 pkgPrivateFlags, domainSetId) 1211 @Nullable Set<String> mimeGroupNames, @NonNull UUID domainSetId, 1270 .setDomainSetId(domainSetId) 3959 UUID domainSetId = DomainVerificationManagerInternal.DISABLED_ID; 3961 pkgPrivateFlags, domainSetId) 4064 UUID domainSetId; [all …]
|