/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerClientApiTest.java | 162 ShortcutInfo si = new ShortcutInfo.Builder(getTestContext(), "id") in testShortcutInfoMissingMandatoryFields() 164 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields() 170 ShortcutInfo si = new ShortcutInfo.Builder(getTestContext(), "id") in testShortcutInfoMissingMandatoryFields() 173 assertTrue(getManager().addDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields() 177 ShortcutInfo si = new ShortcutInfo.Builder(getTestContext(), "id") in testShortcutInfoMissingMandatoryFields() 181 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields() 186 ShortcutInfo si = new ShortcutInfo.Builder(getTestContext(), "id") in testShortcutInfoMissingMandatoryFields() 190 assertTrue(getManager().addDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields() 195 ShortcutInfo si = new ShortcutInfo.Builder(getTestContext(), "id") in testShortcutInfoMissingMandatoryFields() 198 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields() [all …]
|
D | ShortcutManagerLauncherCallbackTest.java | 86 for (ShortcutInfo si : shortcuts) { in onShortcutsChanged() 90 sb.append(si.getId()); in onShortcutsChanged() 95 for (ShortcutInfo si : shortcuts) { in onShortcutsChanged() 96 Log.i(TAG, " " + si); in onShortcutsChanged() 124 for (ShortcutInfo si : lastShortcuts) { in isShortcutById() 125 if (id.equals(si.getId()) && predicate.test(si)) { in isShortcutById() 296 retryUntil(() -> (c.isCalled() && c.isShortcutById("s1", si -> !si.isEnabled())), in testCallbacks() 315 retryUntil(() -> (c.isCalled() && c.isShortcutById("s1", si -> si.isEnabled())), in testCallbacks()
|
D | ShortcutManagerRequestPinTest.java | 123 .forShortcutWithId(SHORTCUT_ID, si -> { in testRequestPinShortcut() 124 assertEquals("label1", si.getShortLabel()); in testRequestPinShortcut() 300 .forShortcutWithId(SHORTCUT_ID, si -> { in testRequestPinShortcut_multiLaunchers_withDynamic() 301 assertEquals("label1", si.getShortLabel()); in testRequestPinShortcut_multiLaunchers_withDynamic()
|
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/ |
D | ShortcutManagerPostBackupTest.java | 45 .forAllShortcuts(si -> { in testRestoredOnOldVersion() 46 assertEquals("shortlabel1_new_one", si.getShortLabel()); in testRestoredOnOldVersion() 50 assertNull(si.getExtras()); in testRestoredOnOldVersion() 57 .forAllShortcuts(si -> { in testRestoredOnOldVersion() 59 assertEquals("shortlabel2", si.getShortLabel()); in testRestoredOnOldVersion() 81 .forAllShortcuts(si -> { in testRestoredOnNewVersion() 82 assertEquals("shortlabel1_new_one", si.getShortLabel()); in testRestoredOnNewVersion() 86 assertNull(si.getExtras()); in testRestoredOnNewVersion() 92 .forAllShortcuts(si -> { in testRestoredOnNewVersion() 93 assertEquals("shortlabel2_updated", si.getShortLabel()); in testRestoredOnNewVersion() [all …]
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | ShortcutManagerManagedUserTest.java | 79 .forShortcutWithId("s1", si -> { in test04_getAndLaunch_primary() 80 assertEquals("label1", si.getShortLabel()); in test04_getAndLaunch_primary() 81 assertEquals(userCurrent, si.getUserHandle()); in test04_getAndLaunch_primary() 86 .forShortcutWithId("s1", si -> { in test04_getAndLaunch_primary() 87 assertEquals("label2", si.getShortLabel()); in test04_getAndLaunch_primary() 88 assertEquals(userOther, si.getUserHandle()); in test04_getAndLaunch_primary() 115 .forShortcutWithId("s1", si -> { in test05_getAndLaunch_managed() 116 assertEquals("label2", si.getShortLabel()); in test05_getAndLaunch_managed() 117 assertEquals(userCurrent, si.getUserHandle()); in test05_getAndLaunch_managed()
|
D | ShortcutManagerSecondaryUserTest.java | 56 .forShortcutWithId("s1", si -> { in testCreateAndStart() 57 assertEquals(user, si.getUserHandle()); in testCreateAndStart()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicConvolve5x5.java | 23 private void test5(ScriptC_intrinsic_convolve5x5 sr, ScriptIntrinsicConvolve5x5 si, in test5() argument 26 si.setCoefficients(cf); in test5() 27 si.setInput(mAllocSrc); in test5() 33 si.forEach(mAllocRef, sc); in test5() 101 ScriptIntrinsicConvolve5x5 si = ScriptIntrinsicConvolve5x5.create(mRS, e); in testConvolve5() local 103 test5(sr, si, e, cf1, "test convolve", 1, w, h, sc); in testConvolve5() 104 test5(sr, si, e, cf2, "test convolve", 2, w, h, sc); in testConvolve5() 105 test5(sr, si, e, cf3, "test convolve", 3, w, h, sc); in testConvolve5() 107 si.destroy(); in testConvolve5()
|
D | IntrinsicConvolve3x3.java | 38 ScriptIntrinsicConvolve3x3 si = ScriptIntrinsicConvolve3x3.create(mRS, e); in testConvolve3() local 39 si.setCoefficients(cf1); in testConvolve3() 40 si.setInput(mAllocSrc); in testConvolve3() 41 si.forEach(mAllocRef, sc); in testConvolve3() 89 si.setCoefficients(cf2); in testConvolve3() 91 si.forEach(mAllocRef, sc); in testConvolve3() 126 si.setCoefficients(cf3); in testConvolve3() 128 si.forEach(mAllocRef, sc); in testConvolve3() 165 si.destroy(); in testConvolve3()
|
D | IntrinsicResize.java | 45 ScriptIntrinsicResize si = ScriptIntrinsicResize.create(mRS); in testResize() local 46 si.setInput(mAllocSrc); in testResize() 47 si.forEach_bicubic(mAllocRef); in testResize() 98 si.destroy(); in testResize()
|
D | MatrixTest.rscript | 707 const float si = sin(inRadians); 712 co + ux * ux * (1.f - co), ux * uy * (1.f - co) - uz * si, ux * uz * (1.f - co) + uy * si, 0.f, 713 uy * ux * (1.f - co) + uz * si, co + uy * uy * (1.f - co), uy * uz * (1.f - co) - ux * si, 0.f, 714 uz * ux * (1.f - co) - uy * si, uz * uy * (1.f - co) + ux * si, co + uz * uz * (1.f - co), 0.f,
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/ |
D | ShortcutManagerPostBackupTest.java | 100 .forAllShortcuts(si -> { in testRestoredOnNewVersion() 101 assertEquals("shortlabel2_updated", si.getShortLabel()); in testRestoredOnNewVersion() 133 .forAllShortcuts(si -> { in testBackupDisabled() 136 assertNull(si.getExtras()); in testBackupDisabled() 231 .forAllShortcuts(si -> { in testRestoreNoManifestOnOldVersion() 232 assertEquals("s1_new_one", si.getShortLabel()); in testRestoreNoManifestOnOldVersion() 237 .forAllShortcuts(si -> { in testRestoreNoManifestOnOldVersion() 238 assertEquals("ms1_new_one", si.getShortLabel()); in testRestoreNoManifestOnOldVersion() 333 .forAllShortcuts(si -> { in testInvisibleIgnored() 336 assertTrue(TextUtils.isEmpty(si.getLongLabel())); in testInvisibleIgnored()
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_black_level.py | 56 for si, s in enumerate(sensitivities): 84 pylab.plot(range(32), yhist.tolist()[0:32], 'rgb'[si]) 85 pylab.plot(range(32), uhist.tolist()[112:144], 'rgb'[si]+'--') 86 pylab.plot(range(32), vhist.tolist()[112:144], 'rgb'[si]+'--')
|
D | test_param_black_level_lock.py | 54 for si, s in enumerate(sensitivities):
|
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
D | CtsSyncManagerTest.java | 196 SyncInvocation si = res.getSyncInvocations().getSyncInvocations(0); in testInitialSync() local 198 assertEquals(ACCOUNT_1_A.name, si.getAccountName()); in testInitialSync() 199 assertEquals(ACCOUNT_1_A.type, si.getAccountType()); in testInitialSync() 200 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSync() 202 Bundle extras = ParcelUtils.fromBytes(si.getExtras().toByteArray()); in testInitialSync() 321 SyncInvocation si = res.getSyncInvocations().getSyncInvocations(0); in testInitialSyncInNeverBucket() local 323 assertEquals(ACCOUNT_1_A.name, si.getAccountName()); in testInitialSyncInNeverBucket() 324 assertEquals(ACCOUNT_1_A.type, si.getAccountType()); in testInitialSyncInNeverBucket() 325 assertEquals(APP1_AUTHORITY, si.getAuthority()); in testInitialSyncInNeverBucket() 327 Bundle extras = ParcelUtils.fromBytes(si.getExtras().toByteArray()); in testInitialSyncInNeverBucket()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | RouteSelectionDescriptorTest.java | 39 List<SliceInfo> si = new ArrayList<SliceInfo>(); in testConstructorAndGetters() local 42 TEST_PRECEDENCE, TEST_SESSION_TYPE, TEST_SSC_MODE, si, dnn); in testConstructorAndGetters()
|
D | NetworkSliceInfoTest.java | 114 NetworkSliceInfo si = new NetworkSliceInfo.Builder().setStatus(TEST_SLICE_STATUS).build(); in testGetterAndSetterForSliceStatus() local 115 assertThat(si.getStatus()).isEqualTo(SLICE_STATUS_CONFIGURED); in testGetterAndSetterForSliceStatus()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ActivityManagerIncidentTest.java | 130 for (ServiceRecordProto.StartItem si : srp.getDeliveredStartsList()) { in verifyServiceRecordProto() 131 verifyServiceRecordProtoStartItem(si, filterLevel); in verifyServiceRecordProto() 133 for (ServiceRecordProto.StartItem si : srp.getPendingStartsList()) { in verifyServiceRecordProto() 134 verifyServiceRecordProtoStartItem(si, filterLevel); in verifyServiceRecordProto() 141 …private static void verifyServiceRecordProtoStartItem(ServiceRecordProto.StartItem si, final int f… in verifyServiceRecordProtoStartItem() argument 142 verifyNeededUriGrantsProto(si.getNeededGrants(), filterLevel); in verifyServiceRecordProtoStartItem() 143 verifyUriPermissionOwnerProto(si.getUriPermissions(), filterLevel); in verifyServiceRecordProtoStartItem()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreNotificationTest.java | 87 try (BlockingObserver si = BlockingObserver.createAndRegister(mSpecificImages); in testSimple() argument 103 try (BlockingObserver si = BlockingObserver.createAndRegister(specificImage); in testSimple() argument 112 try (BlockingObserver si = BlockingObserver.createAndRegister(specificImage); in testSimple() argument 122 try (Cursor si = mResolver.query(mSpecificImages, null, null, null); in testCursor() argument 130 si.registerContentObserver(sio); in testCursor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 144 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap() 147 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap() 148 obj.put("height", sizes[si].getHeight()); in serializeStreamConfigurationMap() 151 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap() 157 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap() 160 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap() 161 obj.put("height", sizes[si].getHeight()); in serializeStreamConfigurationMap() 164 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 168 for (int si = 0; si < Array.getLength(sizes); si++) { in storeStreamConfigurationMap() 171 mStore.addResult("width", sizes[si].getWidth()); in storeStreamConfigurationMap() 172 mStore.addResult("height", sizes[si].getHeight()); in storeStreamConfigurationMap() 175 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in storeStreamConfigurationMap()
|
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 12.ts | 140 ���ޘ�#&g�{��a� �������ây7:J�ֳ@��?��23|[���ǥ\cT,��0t�5T]n`~�SV��3���S̱J��z�P@�>�����0�si"… 1293 '�����5��{)�hߪ�H��}�cx+=h_lz�+8��?ASPQ�����'W$� A�SqJn���h�)bM��}�ү��v���O���9�si,��+�*�+�…
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 19.ts | 486 …^�H[���'!�/���'}��f�������s6����b�nXYh����C�(C5�N��n�;p��=y#9������si�hj\0�%�ݿ�a�� �*"x …
|
D | 20.ts | 398 �������^[si�f�NG���X������ X�'����G��[�V#k����'@7�oր��̸��}�) ��Gu�p�J_��]
|
D | 04.ts | 695 �;{si����է�������_�v��g�%�L��_��_�����+z�l~[�o��)?wE��^����|��H�����ZZ������F��CW}e�'��ҝ�V���-…
|
/cts/tests/tests/media/assets/hls_variant/387360/ |
D | 13.ts | 177 <�.F��"DIޤ���6si����V�KޛZ'��x�,�C<g�]�C��i��<��[:AETX������N{��G_����p�=x;j#������…
|