Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 87) sorted by relevance

1234

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUtils.java28 public static void removeActiveAdmin(Context context, ComponentName cn) throws Exception { in removeActiveAdmin() argument
30 if (dpm.isAdminActive(cn)) { in removeActiveAdmin()
31 dpm.removeActiveAdmin(cn); in removeActiveAdmin()
32 assertNotActiveAdmin(context, cn); in removeActiveAdmin()
36 public static void assertNotActiveAdmin(Context context, ComponentName cn) throws Exception { in assertNotActiveAdmin() argument
39 for (int i = 0; i < 1000 && dpm.isAdminActive(cn); i++) { in assertNotActiveAdmin()
42 Assert.assertFalse(dpm.isAdminActive(cn)); in assertNotActiveAdmin()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DClearDeviceAdminWithNoProtectionTest.java29 final ComponentName cn = new ComponentName(getContext(), in testRemoveActiveAdmin() local
34 if (dpm.isAdminActive(cn)) { in testRemoveActiveAdmin()
35 dpm.removeActiveAdmin(cn); in testRemoveActiveAdmin()
36 for (int i = 0; i < 6000 && dpm.isAdminActive(cn); i++) { in testRemoveActiveAdmin()
40 assertFalse("Still active admin", dpm.isAdminActive(cn)); in testRemoveActiveAdmin()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPrimaryUserAdminHelper.java41 ComponentName cn = PrimaryUserDeviceAdmin.ADMIN_RECEIVER_COMPONENT; in testClearDeviceAdmin() local
42 if (mDpm.isAdminActive(cn)) { in testClearDeviceAdmin()
43 mDpm.removeActiveAdmin(cn); in testClearDeviceAdmin()
45 for (int i = 0; i < 2 * 60 && mDpm.isAdminActive(cn); i++) { in testClearDeviceAdmin()
49 assertFalse("Clear device admin failed", mDpm.isAdminActive(cn)); in testClearDeviceAdmin()
/cts/tests/app/src/android/app/cts/
DActivityManagerBaseTaskInfoTest.java34 ComponentName cn = new ComponentName("android.app.cts", in fillTaskInfo() local
36 taskInfo.baseActivity = cn.clone(); in fillTaskInfo()
37 taskInfo.topActivity = cn.clone(); in fillTaskInfo()
38 taskInfo.origActivity = cn.clone(); in fillTaskInfo()
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/
DComponentController.java26 private void enableComponent(ComponentName cn, boolean enabled) { in enableComponent() argument
27 getContext().getPackageManager().setComponentEnabledSetting(cn, in enableComponent()
31 Log.i(TAG, "setComponentEnabledSetting: " + cn + " enabled=" + enabled); in enableComponent()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DClearDeviceOwnerTest.java67 private void waitForActiveAdminRemoved(ComponentName cn) throws InterruptedException { in waitForActiveAdminRemoved() argument
68 for (int i = 0; i < 1000 && mDevicePolicyManager.isAdminActive(cn); i++) { in waitForActiveAdminRemoved()
71 assertFalse(mDevicePolicyManager.isAdminActive(cn)); in waitForActiveAdminRemoved()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java124 final ComponentName cn = SecondaryConditionProviderService.getId(); in testUnboundCPSMaintainsCondition_addsNewRule() local
129 addRule(cn, INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_addsNewRule()
142 addRule(cn, INTERRUPTION_FILTER_NONE, true); in testUnboundCPSMaintainsCondition_addsNewRule()
297 private void addRule(ComponentName cn, int filter, boolean enabled) { in addRule() argument
301 .appendPath(cn.toString()) in addRule()
304 cn, conditionId, filter, enabled)); in addRule()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java121 ComponentName cn = new ComponentName(mContext, BasicAdminReceiver.class); in testBroadcastReceivedForEnablingApp() local
122 UserHandle user = mDevicePolicyManager.createAndManageUser(cn, in testBroadcastReceivedForEnablingApp()
123 "Test User " + System.currentTimeMillis(), cn, in testBroadcastReceivedForEnablingApp()
141 mDevicePolicyManager.removeUser(cn, user); in testBroadcastReceivedForEnablingApp()
/cts/tests/tests/security/src/android/security/cts/
DSTKFrameworkTest.java53 ComponentName cn = in testInterceptedSIMCommandsToTelephony() local
55 intent.setComponent(cn); in testInterceptedSIMCommandsToTelephony()
/cts/tools/utils/
Dcertificates.py52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", argument
66 cert.get_subject().CN = cn
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java293 final int cn = 3; in asymmetricalCircleGrid() local
296 float positions[] = new float[n * cn]; in asymmetricalCircleGrid()
301 for (int j = 0; j < size.width * cn; j += cn) { in asymmetricalCircleGrid()
302 positions[(int) (i * size.width * cn + j + 0)] = in asymmetricalCircleGrid()
303 (2 * (j / cn) + i % 2) * (float) unit; in asymmetricalCircleGrid()
304 positions[(int) (i * size.width * cn + j + 1)] = in asymmetricalCircleGrid()
306 positions[(int) (i * size.width * cn + j + 2)] = 0; in asymmetricalCircleGrid()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java1355 ComponentName cn = new ComponentName("com.android", in testStartInstrumentation() local
1357 assertNotNull(cn); in testStartInstrumentation()
1360 assertFalse(mContext.startInstrumentation(cn, null, null)); in testStartInstrumentation()
/cts/tests/tests/media/assets/hls_variant/165340/
D22.ts598 …�������������������������������������������������������|_2�ɥ��>��P�3���"cn�H�6��;�<��]�|��?�\…
664 …��`�c��/�7�GA���!��!u���\@#?�$,T�2E�� �e�fU��/b�u���{f�w$� l��k�Z�K��cn��C 6*�…
D20.ts159 …�dG��Xa����)$!�'���]]d(F#����xir6�ޘ��Z?�/��,^P�)�g}�q r��z� *�#�cnP}����l_�kG���"F_�…
D07.ts329 …�����������������������������������������������������M�7��WFU����ӣ���\�J��cn��wx�/���4�7ot� �
D21.ts512 …�������������������������������������������w���Pé����W#���LI(m��=UG�х?�'��cn���-e~>���I+Z�7�+|H…
D05.ts417 ����$п�����P$?Fى�cn����#���\|=��^'a7����/���GJ��/"�ǾDt{{�'m�]��RP�7G�Z^�����*#…
D23.ts503 …��vW�6.��k�8��l�jժ�ֈiV%�λ=�ѕ�c�y��7��w��&/�ﵳY�� c�=�����͠�% ��@6�$�b5��cn��(--�]��aDy`}�V�f�…
/cts/tests/tests/media/assets/hls_variant/387360/
D06.ts163 |��ȍ�\��H�cn�f��w GN��)��#7)j��qGA���"��!��Z���P@#_�*-�TS4D���ޏ�l��T�E^F��M
444 …�H�=�{̕�,>���v7��@q��z;U�(���X3�g���\�g3x���{M_�! ��+�s�����E�S�b�i�����V���cn�!�h����
D13.ts72 …�Ա}��-�����Vc��B���N�3@a`kYByw�]�q���nt) -�����X��&dic6/Yۻ[ ;�cn�x�u��|Ί�" ��A,���…
D02.ts683 …ٹ�^G���պ����rM��H��n���DR�i�͐l�rg+W�(x=X<���t&�m�/`�Q������y8Un>����.cny�BB�6J����8�ӿۺ��w…
1088 …B�v�����g�E��6�y���k����ߕa�G��u�紼�Z,���2)nG����:c��UG�85 a��|�O�y���*cn�^�3�d� ��ű��j��o�e…
D08.ts128 …��E|� � ���l(������ �_�f� )Y )f`ܵ�]5��7<H��Օ��G;��}�{2�$�5-�4�tDŽ5�cn�;YD  n��\.�V&��…
/cts/tests/tests/media/assets/hls_variant/344388/
D01.ts691 …�|^�*�ޕ���] �s9�O*e�x�7��H�G��0��a���a�3 M����&��~��r�c�#�c���e�&8UHM��cn���i-�@���J���U�Ja…
D04.ts144 :�+P��l3h���Qb�H/��b�6P{G����r�RS�Ʌh�������)�No#��S��W�u�E� �pĿ��cn�&lnf(�{�����4.���…
410 …���3���k�@V�����Xv��GA������!�sgQ��� ���A�oJD7��8Dt$���[���Y�E�\^�cn>��B�.��Ѣ�UV��,��@…
D16.ts905 �& 3�}��z�|����`m����q�̶G���L���lg����9��b4��b,�ei�ѫ������D��ƅ�F <&�9A�)�����O��cn�…

1234