Home
last modified time | relevance | path

Searched refs:js (Results 1 – 14 of 14) sorted by relevance

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DSharedUidTest.java47 final JobScheduler js = getContext().getSystemService(JobScheduler.class); in testCancelDisabledPackageJob() local
55 js.cancel(JOBID); in testCancelDisabledPackageJob()
57 assertEquals(JobScheduler.RESULT_SUCCESS, js.schedule(ji)); in testCancelDisabledPackageJob()
60 assertNotNull("Job should be registered", js.getPendingJob(JOBID)); in testCancelDisabledPackageJob()
95 assertNotNull("Job shouldn't be canceled", js.getPendingJob(JOBID)); in testCancelDisabledPackageJob()
97 js.cancel(JOBID); in testCancelDisabledPackageJob()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobSchedulingTest.java300 JobScheduler js = getContext().getSystemService(JobScheduler.class);
301 assertNull(js.getNamespace());
303 js = js.forNamespace("A");
304 assertEquals("A", js.getNamespace());
305 js = js.forNamespace("B");
306 assertEquals("B", js.getNamespace());
307 js = js.forNamespace("AB");
308 assertEquals("AB", js.getNamespace());
309 js = js.forNamespace("A");
310 assertEquals("A", js.getNamespace());
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/
DTriggerContentJobService.java63 JobScheduler js = context.getSystemService(JobScheduler.class); in scheduleJob() local
64 js.schedule(jobInfo); in scheduleJob()
DMockJobService.java236 final JobScheduler js = (JobScheduler) getSystemService( in onStartJob() local
239 js.enqueue(ji, new JobWorkItem(sub[subi].intent)); in onStartJob()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DTriggerContentJobService.java63 JobScheduler js = context.getSystemService(JobScheduler.class); in scheduleJob() local
64 js.schedule(jobInfo); in scheduleJob()
DMockJobService.java211 final JobScheduler js = (JobScheduler) getSystemService( in onStartJob() local
214 js.enqueue(ji, new JobWorkItem(sub[subi].intent)); in onStartJob()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java595 JobScheduler js = context.getSystemService(JobScheduler.class); in testScheduledJob() local
596 assertWithMessage("JobScheduler service not available").that(js).isNotNull(); in testScheduledJob()
603 js.schedule(job); in testScheduledJob()
613 JobScheduler js = context.getSystemService(JobScheduler.class); in testScheduledJob_CancelledJob() local
614 assertWithMessage("JobScheduler service not available").that(js).isNotNull(); in testScheduledJob_CancelledJob()
620 js.schedule(job); in testScheduledJob_CancelledJob()
621 js.cancel(1); in testScheduledJob_CancelledJob()
630 JobScheduler js = context.getSystemService(JobScheduler.class); in testScheduledJobPriority() local
631 assertWithMessage("JobScheduler service not available").that(js).isNotNull(); in testScheduledJobPriority()
643 js.schedule(job); in testScheduledJobPriority()
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionServiceCtsTestBase.java1304 JoinSpec js = new JoinSpec.Builder("songId") in testGlobalSearch_withJoin_packageFiltering() local
1314 .setJoinSpec(js) in testGlobalSearch_withJoin_packageFiltering()
1353 JoinSpec js = new JoinSpec.Builder("songId") in testGlobalSearch_withJoin() local
1369 .setJoinSpec(js) in testGlobalSearch_withJoin()
1385 js = new JoinSpec.Builder("songId") in testGlobalSearch_withJoin()
1399 .setJoinSpec(js) in testGlobalSearch_withJoin()
1442 JoinSpec js = in testGlobalSearch_withJoin_partialAccess() local
1458 .setJoinSpec(js) in testGlobalSearch_withJoin_partialAccess()
1499 JoinSpec js = in testGlobalSearch_withJoin_withoutAccess() local
1511 .setJoinSpec(js) in testGlobalSearch_withJoin_withoutAccess()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java580 String js = in testShouldInterceptRequestResponse() local
593 assertEquals("\"[404][Not Found]\"", mOnUiThread.evaluateJavascriptSync(js)); in testShouldInterceptRequestResponse()
597 assertEquals("\"[200][OK]\"", mOnUiThread.evaluateJavascriptSync(js)); in testShouldInterceptRequestResponse()
602 assertEquals("\"[123][unusual]\"", mOnUiThread.evaluateJavascriptSync(js)); in testShouldInterceptRequestResponse()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSessionCtsTestBase.java2868 JoinSpec js = in testQuery_advancedRankingWithJoin() local
2879 .setJoinSpec(js) in testQuery_advancedRankingWithJoin()
3011 JoinSpec js = in testQueryRankByTakenActions_useTakenActionGenericDocument() local
3027 .setJoinSpec(js) in testQueryRankByTakenActions_useTakenActionGenericDocument()
7470 JoinSpec js = in testQueryWithJoin_typePropertyFiltersOnNestedSpec() local
7482 .setJoinSpec(js) in testQueryWithJoin_typePropertyFiltersOnNestedSpec()
7602 JoinSpec js = in testQueryWithJoin_typePropertyFiltersOnOuterSpec() local
7615 .setJoinSpec(js) in testQueryWithJoin_typePropertyFiltersOnOuterSpec()
7754 JoinSpec js = in testSimpleJoin() local
7767 .setJoinSpec(js) in testSimpleJoin()
[all …]
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm35 ���5V`G�C�n�<�$c��F�h|[ffP`\da�j�%|>%ғ�Tn@<� -�^�^�dX��)� ބ��#�js�W�<� ������Jڨ|0��$���� …
Dcve_2018_13925.ts168 …8\�utK"x6+�6LVCW��t�t��JAUQ��&94�|��K�:QBI+0��aG�1����;Γ.��E�'����O�Q1�js���$"�TAWt\jA��.��…
1407 B ��2� ��;��jsy']4��z�e4i�@&����V�0IC�����[�l�G�1��-�a���4$�����5�'>T�*��jʵ^t�>8u6h@��))�…
4605 …��[ʆ��t5"�<cd��V��^a�M��T�.�2g���(s&�Y�*��U�T_(\�[CV0�qR�!���js&���*�L��WtMeG�1��…
Dcve_2019_2244.ts167 …8\�utK"x6+�6LVCW��t�t��JAUQ��&94�|��K�:QBI+0��aG�1����;Γ.��E�'����O�Q1�js���$"�TAWt\jA��.��…
1407 B ��2� ��;��jsy']4��z�e4i�@&����V�0IC�����[�l�G�1��-�a���4$�����5�'>T�*��jʵ^t�>8u6h@��))�…
4607 …��[ʆ��t5"�<cd��V��^a�M��T�.�2g���(s&�Y�*��U�T_(\�[CV0�qR�!���js&���*�L��WtMeG�1��…
Dcve_2019_2245.ts167 …8\�utK"x6+�6LVCW��t�t��JAUQ��&94�|��K�:QBI+0��aG�1����;Γ.��E�'����O�Q1�js���$"�TAWt\jA��.��…
1406 B ��2� ��;��jsy']4��z�e4i�@&����V�0IC�����[�l�G�1��-�a���4$�����5�'>T�*��jʵ^t�>8u6h@��))�…