/packages/apps/SecureElement/src/com/android/se/security/ |
D | ChannelAccess.java | 54 ChannelAccess ca = new ChannelAccess(); in clone() local 55 ca.setAccess(mAccess, mReason); in clone() 56 ca.setPackageName(mPackageName); in clone() 57 ca.setApduAccess(mApduAccess); in clone() 58 ca.setCallingPid(mCallingPid); in clone() 59 ca.setNFCEventAccess(mNFCEventAccess); in clone() 60 ca.setUseApduFilter(mUseApduFilter); in clone() 67 ca.setApduFilter(apduFilter); in clone() 69 ca.setApduFilter(null); in clone() 71 return ca; in clone() [all …]
|
D | AccessRuleCache.java | 163 ChannelAccess ca = mRuleCache.get(refDo); in putWithMerge() local 168 if (ca.getAccess() != ChannelAccess.ACCESS.DENIED) { in putWithMerge() 170 ca.setAccess(ChannelAccess.ACCESS.DENIED, channelAccess.getReason()); in putWithMerge() 172 ca.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in putWithMerge() 179 if (ca.getNFCEventAccess() != ChannelAccess.ACCESS.DENIED) { in putWithMerge() 181 ca.setNFCEventAccess(ChannelAccess.ACCESS.DENIED); in putWithMerge() 183 ca.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in putWithMerge() 190 if (ca.getApduAccess() != ChannelAccess.ACCESS.DENIED) { in putWithMerge() 192 ca.setApduAccess(ChannelAccess.ACCESS.DENIED); in putWithMerge() 193 } else if (ca.isUseApduFilter() || channelAccess.isUseApduFilter()) { in putWithMerge() [all …]
|
D | AccessControlEnforcer.java | 237 ChannelAccess ca = channel.getChannelAccess(); in checkCommand() local 238 if (ca == null) { in checkCommand() 241 String reason = ca.getReason(); in checkCommand() 246 Log.i(mTag, "checkCommand() : Access = " + ca.getAccess() + " APDU Access = " in checkCommand() 247 + ca.getApduAccess() + " Reason = " + reason); in checkCommand() 249 if (ca.getAccess() != ACCESS.ALLOWED) { in checkCommand() 252 if (ca.isUseApduFilter()) { in checkCommand() 253 ApduFilter[] accessConditions = ca.getApduFilter(); in checkCommand() 266 if (ca.getApduAccess() == ChannelAccess.ACCESS.ALLOWED) { in checkCommand()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | BaselinePerfTest.java | 43 CustomAudience ca = in test_joinCustomAudience_success() local 47 .joinCustomAudience(ca) in test_joinCustomAudience_success() 50 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in test_joinCustomAudience_success() 67 for (CustomAudience ca : customAudienceList) { in testAdSelectionAndReporting_normalFlow_success() 69 .joinCustomAudience(ca) in testAdSelectionAndReporting_normalFlow_success() 94 for (CustomAudience ca : customAudienceList) { in testAdSelectionAndReporting_normalFlow_success() 96 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in testAdSelectionAndReporting_normalFlow_success() 115 for (CustomAudience ca : customAudienceList) { in testAdSelectionAndReporting_normalFlowWithThrottling_success() 118 .joinCustomAudience(ca) in testAdSelectionAndReporting_normalFlowWithThrottling_success() 145 for (CustomAudience ca : customAudienceList) { in testAdSelectionAndReporting_normalFlowWithThrottling_success() [all …]
|
D | SelectAdsTestServerLatency.java | 40 for (CustomAudience ca : sCustomAudiences) { in tearDownAfterClass() 42 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in tearDownAfterClass() 52 for (CustomAudience ca : sCustomAudiences) { in tearDown() 54 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in tearDown() 56 removedCAs.add(ca); in tearDown()
|
D | FledgeAppNotAllowedMemoryTest.java | 92 CustomAudience ca = in tryToJoinAndLeaveCA() local 96 () -> mCustomAudienceClient.joinCustomAudience(ca).get(5, TimeUnit.SECONDS), in tryToJoinAndLeaveCA() 101 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in tryToJoinAndLeaveCA()
|
D | LimitPerfTests.java | 132 for (CustomAudience ca : caList) { in joinAll() 134 .joinCustomAudience(ca) in joinAll() 140 for (CustomAudience ca : caList) { in leaveAll() 142 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in leaveAll()
|
D | AdSelectionDataE2ETest.java | 490 for (CustomAudience ca : customAudiences) { in getWinningAdRenderIdForDummyScripts() 493 if (ca.getName().equals("winningCA")) { in getWinningAdRenderIdForDummyScripts() 494 return ca.getAds().get(0).getAdRenderId(); in getWinningAdRenderIdForDummyScripts()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | ScheduledUpdatesHandlerTest.java | 182 .map(ca -> ca.getName()) in testPerformScheduledUpdates_Success() 224 .map(ca -> ca.getName()) in testPerformScheduledUpdates_Success() 228 .map(ca -> ca.getName()) in testPerformScheduledUpdates_Success() 257 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 299 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 303 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 339 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 381 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 385 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 425 .map(ca -> ca.getName()) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabledButNoFlagsInResponse() [all …]
|
D | ScheduleCustomAudienceUpdateTestUtils.java | 119 CustomAudience ca = in generateCustomAudienceWithName() local 123 ca.getBuyer(), in generateCustomAudienceWithName() 125 ca.getActivationTime(), in generateCustomAudienceWithName() 126 ca.getExpirationTime(), in generateCustomAudienceWithName() 127 ca.getDailyUpdateUri(), in generateCustomAudienceWithName() 128 ca.getBiddingLogicUri(), in generateCustomAudienceWithName()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/ |
D | PartialCustomAudienceTest.java | 54 PartialCustomAudience ca = VALID_PARTIAL_CA; in testBuildValidPartialCARequestParcel_Success() local 60 ca.writeToParcel(p, 0); in testBuildValidPartialCARequestParcel_Success() 64 expect.that(ca.getName()).isEqualTo(fromParcel.getName()); in testBuildValidPartialCARequestParcel_Success() 65 expect.that(ca.getActivationTime().getEpochSecond()) in testBuildValidPartialCARequestParcel_Success() 67 expect.that(ca.getExpirationTime().getEpochSecond()) in testBuildValidPartialCARequestParcel_Success() 69 expect.that(ca.getUserBiddingSignals()).isEqualTo(fromParcel.getUserBiddingSignals()); in testBuildValidPartialCARequestParcel_Success() 119 PartialCustomAudience ca = VALID_PARTIAL_CA; in testToString() local 127 expect.that(expected).isEqualTo(ca.toString()); in testToString()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | PartialCustomAudienceTest.java | 74 PartialCustomAudience ca = VALID_PARTIAL_CA; in testBuildValidPartialCARequestParcel_Success() local 80 ca.writeToParcel(p, 0); in testBuildValidPartialCARequestParcel_Success() 84 expect.that(ca.getName()).isEqualTo(fromParcel.getName()); in testBuildValidPartialCARequestParcel_Success() 85 expect.that(ca.getActivationTime().getEpochSecond()) in testBuildValidPartialCARequestParcel_Success() 87 expect.that(ca.getExpirationTime().getEpochSecond()) in testBuildValidPartialCARequestParcel_Success() 89 expect.that(ca.getUserBiddingSignals()).isEqualTo(fromParcel.getUserBiddingSignals()); in testBuildValidPartialCARequestParcel_Success() 134 PartialCustomAudience ca = VALID_PARTIAL_CA; in testToString() local 142 expect.that(expected).isEqualTo(ca.toString()); in testToString()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | FrequencyCapAdFiltererImpl.java | 75 for (DBCustomAudience ca : cas) { in filterCustomAudiences() 79 totalAds += ca.getAds().size(); in filterCustomAudiences() 80 for (DBAdData ad : ca.getAds()) { in filterCustomAudiences() 82 ad, ca.getBuyer(), ca.getOwner(), ca.getName(), currentTime)) { in filterCustomAudiences() 87 toReturn.add(new DBCustomAudience.Builder(ca).setAds(filteredAds).build()); in filterCustomAudiences()
|
D | AppInstallAdFiltererImpl.java | 72 for (DBCustomAudience ca : cas) { in filterCustomAudiences() 76 totalAds += ca.getAds().size(); in filterCustomAudiences() 77 for (DBAdData ad : ca.getAds()) { in filterCustomAudiences() 78 if (doesAdPassAppInstallFilters(ad, ca.getBuyer())) { in filterCustomAudiences() 83 toReturn.add(new DBCustomAudience.Builder(ca).setAds(filteredAds).build()); in filterCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/utils/ |
D | CustomAudienceTestFixture.java | 65 for (CustomAudience ca : cas) { in leaveCustomAudience() 67 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in leaveCustomAudience() 135 for (CustomAudience ca : customAudiences) { in joinCustomAudiences() 137 .joinCustomAudience(ca) in joinCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/ |
D | CustomAudienceSetupRule.java | 146 for (CustomAudience ca : mCustomAudiences) { in joinCas() 149 .joinCustomAudience(ca) in joinCas() 163 for (CustomAudience ca : mCustomAudiences) { in apply() 166 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in apply()
|
D | StaticAdTechServerUtils.java | 216 public static String getAdRenderUri(int buyerIndex, String ca, int adId) { in getAdRenderUri() argument 217 String adPath = String.format(AD_URI_PATH_FORMAT, ca, adId); in getAdRenderUri()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceDaoTest.java | 844 DBCustomAudience.Builder ca = in testListDebuggableCustomAudiences_happyPath() local 846 DBCustomAudience ca1 = ca.setName("ca1").build(); in testListDebuggableCustomAudiences_happyPath() 847 DBCustomAudience ca2 = ca.setName("ca2").build(); in testListDebuggableCustomAudiences_happyPath() 884 DBCustomAudience ca = in testListBackgroundDebuggableCustomAudiences_happyPath() local 889 mCustomAudienceDao.persistCustomAudience(ca); in testListBackgroundDebuggableCustomAudiences_happyPath() 899 ca.getOwner(), ca.getBuyer()); in testListBackgroundDebuggableCustomAudiences_happyPath() 901 assertThat(caList).containsExactly(ca, ca2); in testListBackgroundDebuggableCustomAudiences_happyPath() 930 DBCustomAudience ca = in testViewBackgroundDebuggableCustomAudiences_happyPath() local 936 .setBuyer(ca.getBuyer()) in testViewBackgroundDebuggableCustomAudiences_happyPath() 937 .setName(ca.getName()) in testViewBackgroundDebuggableCustomAudiences_happyPath() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | AoaVector.java | 211 double ca = cos(azimuth); in fromSphericalVector() local 214 double az = acos(sqrt(max(ce * ce * ca * ca, 0) + se * se)) in fromSphericalVector()
|
D | SphericalVector.java | 161 double ca = cos(azimuth); in fromAoAVector() local 163 double azz = sqrt(max(ca * ca - se * se, 0)) / cos(vec.elevation); in fromAoAVector()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 247 for (String ca : aliases) { in removeKeys() 248 if (!TextUtils.isEmpty(ca)) { in removeKeys() 250 Log.d(TAG, "removing CA cert: " + ca); in removeKeys() 252 removeEntryFromKeyStore(ca); in removeKeys()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AppInstallAdFiltererImplTest.java | 336 for (DBCustomAudience ca : caList) { in validateAppInstallDBCalls() 337 for (DBAdData ad : ca.getAds()) { in validateAppInstallDBCalls() 345 calls.merge(new Pair<>(ca.getBuyer(), PACKAGE_NAME_TO_FILTER), 1, Integer::sum); in validateAppInstallDBCalls() 349 calls.merge(new Pair<>(ca.getBuyer(), packageName), 1, Integer::sum); in validateAppInstallDBCalls()
|
/packages/modules/Bluetooth/android/pandora/test/ |
D | avatar.sh | 60 isort --profile black -l 119 --ds --lbt 1 --ca "$@" "${_PY_SOURCES[@]}"
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainTestActivity.java | 164 X509Certificate ca = mTestKeyStore.getRootCertificate("RSA"); in testCaInstall() local 167 intent.putExtra(KeyChain.EXTRA_CERTIFICATE, ca.getEncoded()); in testCaInstall()
|
/packages/modules/Wifi/framework/tests/assets/hsr1/ |
D | HSR1ProfileWithCACert.conf | 50 Content-Type: application/x-x509-ca-cert
|