/cts/tests/tests/security/src/android/security/cts/AutomaticZenRuleTests/ |
D | AutomaticZenRuleTests.java | 87 private boolean testUsingAppComponents(ComponentName owner, ComponentName components[]) { in testUsingAppComponents() argument 90 final int ruleLimitPerPackage = (components != null && components.length > 1) ? 60 : 200; in testUsingAppComponents() 97 if (components != null) { in testUsingAppComponents() 98 for (int j = 0; j < components.length; ++j) { in testUsingAppComponents() 99 int ruleNo = i * components.length + j; in testUsingAppComponents() 102 components[j], conditionId, null, in testUsingAppComponents() 132 components != null ? ruleLimitPerPackage * components.length in testUsingAppComponents() 153 ComponentName[] components = {appComponent}; in testPocCVE_2022_20143() local 154 boolean testUsingAppSingleComponentStatus = testUsingAppComponents(null, components); in testPocCVE_2022_20143() 176 ComponentName[] components = {firstConfigurationActivity, secondConfigurationActivity}; in testPocCVE_2022_20425() local [all …]
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Sequence.java | 99 Iterable<? extends SequenceComponent> components = getComponents(); in decodeBerValue() local 105 SequenceComponent component = getComponent(components, tag); in decodeBerValue() 125 checkMandatoryFieldsPresent(components); in decodeBerValue() 131 private void checkMandatoryFieldsPresent(Iterable<? extends SequenceComponent> components) { in checkMandatoryFieldsPresent() argument 132 for (SequenceComponent component : components) { in checkMandatoryFieldsPresent() 143 private SequenceComponent getComponent(Iterable<? extends SequenceComponent> components, in getComponent() argument 145 for (SequenceComponent component : components) { in getComponent() 161 Iterable<? extends SequenceComponent> components = getComponents(); in encodePerImpl() local 162 int bitFieldSize = calculateBitFieldSize(components); in encodePerImpl() 166 for (SequenceComponent component : components) { in encodePerImpl() [all …]
|
D | Asn1ObjectIdentifier.java | 116 List<Integer> components = Lists.newLinkedList(); in decodeBerInternal() local 123 if (components.isEmpty()) { in decodeBerInternal() 126 components.add(firstComponent); in decodeBerInternal() 127 components.add(secondComponent); in decodeBerInternal() 129 components.add(currentComponent); in decodeBerInternal() 134 value = ImmutableList.copyOf(components); in decodeBerInternal()
|
/cts/tests/credentials/src/android/credentials/cts/ |
D | CtsDevicePolicyTest.java | 184 Set<String> components = in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders() local 188 assertThat(components) in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders() 227 Set<String> components = in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders_SDK() local 231 assertThat(components) in setCredentialManagerPolicy_allowlistAndSystemPolicy_allowsAllowlistedAndSystemProviders_SDK() 268 Set<String> components = in setCredentialManagerPolicy_allowlistPolicy_allowsAllowlistedProviders() local 272 assertThat(components).contains(nonSystemCredentialProviderService); in setCredentialManagerPolicy_allowlistPolicy_allowsAllowlistedProviders() 273 assertThat(components).doesNotContain(systemCredentialProviderService); in setCredentialManagerPolicy_allowlistPolicy_allowsAllowlistedProviders() 307 Set<String> components = in setCredentialManagerPolicy_blocklistPolicy_allowsNotBlocklistedProviders() local 311 assertThat(components).contains(credentialProviderService2); in setCredentialManagerPolicy_blocklistPolicy_allowsNotBlocklistedProviders() 312 assertThat(components).doesNotContain(credentialProviderService1); in setCredentialManagerPolicy_blocklistPolicy_allowsNotBlocklistedProviders() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Color_ColorLongTest.java | 185 float[] components = { 0.5f, 0.5f, 1.0f, 0.25f, 0.5f, 0.8f }; in testValueOf() local 186 Color color8 = valueOf(components, ColorSpace.get(Named.SRGB)); in testValueOf() 193 components[0] = 127.0f; in testValueOf() 194 assertNotEquals(color8.red(), components[0]); in testValueOf() local 218 float[] components = c.getComponents(); in testComponents() local 219 assertEquals(c.getComponentCount(), components.length); in testComponents() 220 assertEquals(c.red(), components[0], 0.0f); in testComponents() local 221 assertEquals(c.green(), components[1], 0.0f); in testComponents() local 222 assertEquals(c.blue(), components[2], 0.0f); in testComponents() local 223 assertEquals(c.alpha(), components[3], 0.0f); in testComponents() local [all …]
|
/cts/tests/framework/base/windowmanager/util/ |
D | Android.bp | 27 ":cts-wm-components", 42 ":cts-wm-components", 43 ":cts-wm-components-base",
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodFlowTestHelper.java | 59 final String[] components = { in setComponentsEnabledState() local 74 for (String component : components) { in setComponentsEnabledState()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 126 String[] components = mediaName.split(VIDEO_TOP_DIR); in getClipFormats() local 127 String key = mediaNameToKey(components[components.length -1]); in getClipFormats()
|
/cts/tests/tests/openglperf/ |
D | OWNERS | 2 # OpenGL Component: https://b.corp.google.com/components/25421/manage#basic
|
/cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/ |
D | DomainVerificationIntentTestBase.kt | 110 components: Collection<ComponentName>, in assertResolvesTo() 128 .containsExactlyElementsIn(components) in assertResolvesTo() 136 .containsExactlyElementsIn(components) in assertResolvesTo()
|
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/ |
D | DomainVerificationWorkProfileTestsBase.kt | 133 protected fun assertResolvesTo(vararg components: ComponentName) = in <lambda>() 134 assertResolvesTo(components.toList()) in <lambda>() 137 protected fun assertResolvesTo(components: Collection<ComponentName>) { in <lambda>() 144 assertThat(results).containsExactlyElementsIn(components) in <lambda>()
|
/cts/tests/framework/base/windowmanager/alertwindowservice/ |
D | Android.bp | 25 ":cts-wm-components-base",
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 327 final List<ComponentName> components = dpm.getActiveAdmins(); in getActiveDeviceAdminPackages() local 328 if (components == null) { in getActiveDeviceAdminPackages() 332 final HashSet<String> packages = new HashSet<>(components.size()); in getActiveDeviceAdminPackages() 333 for (ComponentName component : components) { in getActiveDeviceAdminPackages()
|
/cts/tests/framework/base/windowmanager/app_base/ |
D | Android.bp | 20 name: "cts-wm-components-base",
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityTestBase.java | 129 for (Components components : ALL_APPS) { in setUp() 130 AppOpsUtils.setOpMode(components.APP_PACKAGE_NAME, "android:system_alert_window", in setUp() 132 assertEquals(AppOpsUtils.getOpMode(components.APP_PACKAGE_NAME, in setUp()
|
/cts/tests/sensor/ |
D | Android.bp | 52 // JNI components for testing NDK
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | SipDelegateManagerTest.java | 1988 String[] components = str.split(crlf); in generateSipMessage() local 1994 if (components.length > 0) { in generateSipMessage() 1995 startLine = components[0] + crlf; in generateSipMessage() 1998 idx = composeSipSection(idx, components, sb); in generateSipMessage() 2004 idx = composeSipSection(idx, components, sb); in generateSipMessage() 2010 private int composeSipSection(int index, String[] components, StringBuilder sb) { in composeSipSection() argument 2012 while (index < components.length) { in composeSipSection() 2013 if (components[index].length() > 0) { in composeSipSection() 2014 sb.append(components[index]).append(crlf); in composeSipSection()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 1199 final ArraySet<ComponentName> components = new ArraySet<>(); 1200 components.add(new ComponentName(Helper.MY_PACKAGE, "some.activity")); 1201 Log.d(TAG, "setAugmentedAutofillWhitelist: " + components); 1202 mgr.setAugmentedAutofillWhitelist(null, components);
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 159 std::vector<C2Component::Traits> components = client->listComponents(); in getClient() local 160 for (C2Component::Traits traits : components) { in getClient()
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 65 components = name.split(".") 66 for comp in components[1:]:
|
/cts/tests/framework/base/windowmanager/ |
D | Android.bp | 21 name: "cts-wm-components",
|
/cts/tests/media/ |
D | README.md | 4 The aim of these tests is not solely to verify the CDD requirements but also to test components, th…
|
/cts/tests/tests/graphics/jni/ |
D | VulkanTestHelpers.cpp | 386 .components = formatInfo.samplerYcbcrConversionComponents, in init() 432 .components = in init() 550 .components = {VK_COMPONENT_SWIZZLE_IDENTITY, in init()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 990 final ArraySet<ComponentName> components = new ArraySet<>(); in testWhitelist_activityNotWhitelisted() local 991 components.add(new ComponentName(MY_PACKAGE, "some.activity")); in testWhitelist_activityNotWhitelisted() 992 service.setContentCaptureWhitelist(null, components); in testWhitelist_activityNotWhitelisted()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSessionManagerTest.java | 685 String[] components = enabledNotificationListeners.split(":"); in getEnabledNotificationListenerPackages() local 686 for (String componentString : components) { in getEnabledNotificationListenerPackages()
|