Home
last modified time | relevance | path

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

12

/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DJsonWebKeyUnittest.cpp66 const String8 js( in TEST_F() local
77 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F()
82 const String8 js( in TEST_F() local
99 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F()
104 const String8 js( in TEST_F() local
121 EXPECT_TRUE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F()
129 const String8 js( in TEST_F() local
146 EXPECT_TRUE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F()
154 const String8 js( in TEST_F() local
184 EXPECT_TRUE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); in TEST_F()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Djson_format.py120 js = self._MessageToJsonObject(message)
121 return json.dumps(js, indent=2)
131 js = {}
132 return self._RegularMessageToJsonObject(message, js)
134 def _RegularMessageToJsonObject(self, message, js): argument
155 js[name] = js_map
158 js[name] = [self._FieldToJsonObject(field, k)
161 js[name] = self._FieldToJsonObject(field, value)
173 if name in js:
177 js[name] = {}
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java104 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
105 if (!predicate.test(js)) { in dumpControllerStateLocked()
109 js.printUniqueId(pw); in dumpControllerStateLocked()
111 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
125 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
126 if (!predicate.test(js)) { in dumpControllerStateLocked()
130 js.writeToShortProto(proto, StateControllerProto.IdleController.TrackedJob.INFO); in dumpControllerStateLocked()
132 js.getSourceUid()); in dumpControllerStateLocked()
DStorageController.java162 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
163 if (!predicate.test(js)) { in dumpControllerStateLocked()
167 js.printUniqueId(pw); in dumpControllerStateLocked()
169 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
186 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
187 if (!predicate.test(js)) { in dumpControllerStateLocked()
191 js.writeToShortProto(proto, StateControllerProto.StorageController.TrackedJob.INFO); in dumpControllerStateLocked()
193 js.getSourceUid()); in dumpControllerStateLocked()
DConnectivityController.java493 final JobStatus js = jobs.valueAt(i); in updateTrackedJobsLocked() local
498 if (networkMatch || !Objects.equals(js.network, network)) { in updateTrackedJobsLocked()
499 changed |= updateConstraintsSatisfied(js, network, capabilities); in updateTrackedJobsLocked()
514 final JobStatus js = jobs.valueAt(j); in onNetworkActive() local
515 if (js.isReady()) { in onNetworkActive()
517 Slog.d(TAG, "Running " + js + " due to network activity."); in onNetworkActive()
519 mStateChangedListener.onRunJobNow(js); in onNetworkActive()
621 final JobStatus js = jobs.valueAt(j); in dumpControllerStateLocked() local
622 if (!predicate.test(js)) { in dumpControllerStateLocked()
626 js.printUniqueId(pw); in dumpControllerStateLocked()
[all …]
DBatteryController.java239 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
240 if (!predicate.test(js)) { in dumpControllerStateLocked()
244 js.printUniqueId(pw); in dumpControllerStateLocked()
246 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
268 final JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
269 if (!predicate.test(js)) { in dumpControllerStateLocked()
273 js.writeToShortProto(proto, StateControllerProto.BatteryController.TrackedJob.INFO); in dumpControllerStateLocked()
275 js.getSourceUid()); in dumpControllerStateLocked()
DContentObserverController.java359 JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
360 if (!predicate.test(js)) { in dumpControllerStateLocked()
364 js.printUniqueId(pw); in dumpControllerStateLocked()
366 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
452 JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() local
453 if (!predicate.test(js)) { in dumpControllerStateLocked()
458 js.writeToShortProto(proto, in dumpControllerStateLocked()
461 js.getSourceUid()); in dumpControllerStateLocked()
DQuotaController.java1275 final JobStatus js = jobs.valueAt(i); in maybeUpdateConstraintForPkgLocked() local
1276 if (isTopStartedJobLocked(js)) { in maybeUpdateConstraintForPkgLocked()
1279 changed |= js.setQuotaConstraintSatisfied(true); in maybeUpdateConstraintForPkgLocked()
1281 && realStandbyBucket == getEffectiveStandbyBucket(js)) { in maybeUpdateConstraintForPkgLocked()
1285 changed |= setConstraintSatisfied(js, realInQuota); in maybeUpdateConstraintForPkgLocked()
1288 changed |= setConstraintSatisfied(js, isWithinQuotaLocked(js)); in maybeUpdateConstraintForPkgLocked()
1754 JobStatus js = mRunningBgJobs.valueAt(i); in dump() local
1755 if (predicate.test(js)) { in dump()
1756 pw.println(js.toShortString()); in dump()
1771 JobStatus js = mRunningBgJobs.valueAt(i); in dump() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am713 js/README.md \
714 js/binary/arith.js \
715 js/binary/arith_test.js \
716 js/binary/constants.js \
717 js/binary/decoder.js \
718 js/binary/decoder_test.js \
719 js/binary/encoder.js \
720 js/binary/proto_test.js \
721 js/binary/reader.js \
722 js/binary/reader_test.js \
[all …]
DREADME.md65 | JavaScript | [js](js) |
/frameworks/base/core/jni/android/graphics/
DCreateJavaOutputStreamAdaptor.cpp19 JavaInputStreamAdaptor(JavaVM* jvm, jobject js, jbyteArray ar, jint capacity, in JavaInputStreamAdaptor() argument
22 , fJavaInputStream(js) in JavaInputStreamAdaptor()
30 static JavaInputStreamAdaptor* Create(JNIEnv* env, jobject js, jbyteArray ar, in Create() argument
35 js = env->NewGlobalRef(js); in Create()
36 if (!js) { in Create()
42 env->DeleteGlobalRef(js); in Create()
47 return new JavaInputStreamAdaptor(jvm, js, ar, capacity, swallowExceptions); in Create()
/frameworks/base/services/core/java/com/android/server/
DZramWriteback.java125 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedNextWriteback() local
127 js.schedule(new JobInfo.Builder(WRITEBACK_IDLE_JOB_ID, sZramWriteback) in schedNextWriteback()
171 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in scheduleZramWriteback() local
175 js.schedule(new JobInfo.Builder(MARK_IDLE_JOB_ID, sZramWriteback) in scheduleZramWriteback()
183 js.schedule(new JobInfo.Builder(WRITEBACK_IDLE_JOB_ID, sZramWriteback) in scheduleZramWriteback()
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java47 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
62 js.schedule(builder.build()); in schedule()
66 JobScheduler js = (JobScheduler) ctx.getSystemService( in cancel() local
68 js.cancel(getJobIdForUserId(userId)); in cancel()
DKeyValueBackupJob.java106 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
107 js.schedule(builder.build()); in schedule()
116 JobScheduler js = (JobScheduler) ctx.getSystemService( in cancel() local
118 js.cancel(getJobIdForUserId(userId)); in cancel()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
DREADME.md24 into `.js` files. The compiler is not currently available via
42 $ cd js
73 (`myproto_libs.js` in this example). The generated file will `goog.provide()`
86 generated code, the core library `.js` files in this directory, and the
105 (so `messages_pb.js` and `base_pb.js` in this example). The generated
107 `google-protobuf.js`. If you are installing from `npm`, this file should
130 …rc/google/protobuf/compiler/js/js_generator.h](https://github.com/google/protobuf/blob/master/src/…
134 - `--js_out=library=myprotos_lib.js,binary:.`: this contains the options
135 `library=myprotos.lib.js` and `binary` and outputs to the current directory.
Dtest2.proto50 // Floating extensions are only supported when generating a _lib.js library.
/frameworks/base/services/core/java/com/android/server/camera/
DCameraStatsJobService.java65 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
66 if (js == null) { in schedule()
70 js.schedule(new JobInfo.Builder(CAMERA_REPORTING_JOB_ID, sCameraStatsJobServiceName) in schedule()
/frameworks/base/services/core/java/com/android/server/job/
DJobConcurrencyManager.java298 final JobServiceContext js = mService.mActiveServices.get(i); in assignJobsToContextsInternalLocked() local
299 final JobStatus status = js.getRunningJobLocked(); in assignJobsToContextsInternalLocked()
306 preferredUidForContext[i] = js.getPreferredUid(); in assignJobsToContextsInternalLocked()
404 JobStatus js = activeServices.get(i).getRunningJobLocked(); in assignJobsToContextsInternalLocked() local
405 if (js != null) { in assignJobsToContextsInternalLocked()
450 JobStatus js = it.next(); in printPendingQueueLocked() local
452 .append(js.getJob().getId()) in printPendingQueueLocked()
454 .append(js.getUid()) in printPendingQueueLocked()
DJobSchedulerService.java2979 final JobStatus js = mJobs.getJobByUidAndJobId(uid, jobId); in executeRunCommand() local
2980 if (js == null) { in executeRunCommand()
2984 js.overrideState = (force) ? JobStatus.OVERRIDE_FULL : JobStatus.OVERRIDE_SOFT; in executeRunCommand()
2985 if (!js.isConstraintsSatisfied()) { in executeRunCommand()
2986 js.overrideState = 0; in executeRunCommand()
3010 final JobStatus js = jc.getRunningJobLocked(); in executeTimeoutCommand() local
3014 js.printUniqueId(pw); in executeTimeoutCommand()
3016 pw.println(js.getServiceComponent().flattenToShortString()); in executeTimeoutCommand()
3117 final JobStatus js = mJobs.getJobByUidAndJobId(uid, jobId); in getJobState() local
3118 if (DEBUG) Slog.d(TAG, "get-job-state " + uid + "/" + jobId + ": " + js); in getJobState()
[all …]
DJobStore.java658 JobStatus js = jobs.get(i); in run() local
659 js.prepareLocked(am); in run()
660 js.enqueueTime = now; in run()
661 this.jobSet.add(js); in run()
664 if (js.getUid() == Process.SYSTEM_UID) { in run()
666 if (isSyncJob(js)) { in run()
934 JobStatus js = new JobStatus( in restoreJobFromXml() local
940 return js; in restoreJobFromXml()
/frameworks/base/services/core/java/com/android/server/pm/
DDynamicCodeLoggingService.java78 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
79 js.schedule(new JobInfo.Builder(IDLE_LOGGING_JOB_ID, serviceName) in schedule()
84 js.schedule(new JobInfo.Builder(AUDIT_WATCHING_JOB_ID, serviceName) in schedule()
DBackgroundDexOptService.java114 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
118 js.schedule(new JobInfo.Builder(JOB_POST_BOOT_UPDATE, sDexoptServiceName) in schedule()
125 js.schedule(new JobInfo.Builder(JOB_IDLE_OPTIMIZE, sDexoptServiceName) in schedule()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java99 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() local
101 js.schedule(new JobInfo.Builder(JOB_DISKSTATS_LOGGING, sDiskStatsLoggingService) in schedule()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dmain.cc93 google::protobuf::compiler::js::Generator js_generator; in main()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java275 final JobStatus js = new JobStatus(b.build(), SOME_UID, "somePackage", in testMassivePeriodClampedOnRead() local
281 mTaskStoreUnderTest.add(js); in testMassivePeriodClampedOnRead()
305 final JobStatus js = JobStatus.createFromJobInfo(b.build(), SOME_UID, null, -1, null); in testPriorityPersisted() local
306 mTaskStoreUnderTest.add(js); in testPriorityPersisted()

12