Home
last modified time | relevance | path

Searched refs:contexts (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptUtilsTest.java150 String[] contexts = DexoptUtils.getClassLoaderContexts( in testSplitChain() local
153 assertEquals(9, contexts.length); in testSplitChain()
154 assertEquals("PCL[]{PCL[a.dex:b.dex]}", contexts[0]); in testSplitChain()
156 contexts[1]); in testSplitChain()
157 assertEquals("DLC[];PCL[base-4.dex];PCL[base.dex]{PCL[a.dex:b.dex]}", contexts[2]); in testSplitChain()
158 assertEquals("PCL[];PCL[base-4.dex];PCL[base.dex]{PCL[a.dex:b.dex]}", contexts[3]); in testSplitChain()
159 assertEquals("PCL[];PCL[base.dex]{PCL[a.dex:b.dex]}", contexts[4]); in testSplitChain()
160 assertEquals("PCL[];PCL[base.dex]{PCL[a.dex:b.dex]}", contexts[5]); in testSplitChain()
161 assertEquals("PCL[];PCL[base-5.dex];PCL[base.dex]{PCL[a.dex:b.dex]}", contexts[6]); in testSplitChain()
162 assertEquals(null, contexts[7]); // config split in testSplitChain()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DErrorDialogController.java170 List<Context> contexts = getDisplayContexts(false /* lastUsedOnly */); in showCrashDialogs() local
172 for (int i = contexts.size() - 1; i >= 0; i--) { in showCrashDialogs()
173 final Context c = contexts.get(i); in showCrashDialogs()
189 List<Context> contexts = getDisplayContexts( in showAnrDialogs() local
192 for (int i = contexts.size() - 1; i >= 0; i--) { in showAnrDialogs()
193 final Context c = contexts.get(i); in showAnrDialogs()
201 List<Context> contexts = getDisplayContexts(false /* lastUsedOnly */); in showViolationDialogs() local
203 for (int i = contexts.size() - 1; i >= 0; i--) { in showViolationDialogs()
204 final Context c = contexts.get(i); in showViolationDialogs()
213 List<Context> contexts = getDisplayContexts(true /* lastUsedOnly */); in showDebugWaitingDialogs() local
[all …]
/frameworks/native/libs/renderengine/skia/
DSkiaVkRenderEngine.cpp139 SkiaRenderEngine::Contexts contexts; in createContexts() local
140 contexts.first = createContext(sVulkanInterface); in createContexts()
142 contexts.second = createContext(sProtectedContentVulkanInterface); in createContexts()
145 return contexts; in createContexts()
DSkiaGLRenderEngine.cpp308 SkiaRenderEngine::Contexts contexts; in createContexts() local
309 contexts.first = SkiaGpuContext::MakeGL_Ganesh(glInterface, mSkSLCacheMonitor); in createContexts()
312 contexts.second = SkiaGpuContext::MakeGL_Ganesh(glInterface, mSkSLCacheMonitor); in createContexts()
316 return contexts; in createContexts()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DAutofillTestHelper.java36 public static ViewNode findNodeByResourceId(List<FillContext> contexts, String resourceId) { in findNodeByResourceId() argument
37 for (FillContext context : contexts) { in findNodeByResourceId()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java115 public final ArrayMap<JobServiceContext, JobStatus> contexts = new ArrayMap<>(); field in JobConcurrencyManagerTest.InjectorForTest
126 contexts.put(context, job); in createJobServiceContext()
130 contexts.put(context, null); in createJobServiceContext()
257 for (int i = 0; i < mInjector.contexts.size(); ++i) { in testPrepareForAssignmentDetermination_onlyPreferredUidOnly()
258 doReturn(true).when(mInjector.contexts.keyAt(i)).isWithinExecutionGuaranteeTime(); in testPrepareForAssignmentDetermination_onlyPreferredUidOnly()
284 for (int i = 0; i < mInjector.contexts.size(); ++i) { in testPrepareForAssignmentDetermination_onlyStartedWithImmediacyPrivilege()
285 doReturn(i % 2 == 0).when(mInjector.contexts.keyAt(i)).isWithinExecutionGuaranteeTime(); in testPrepareForAssignmentDetermination_onlyStartedWithImmediacyPrivilege()
359 for (int i = 0; i < mInjector.contexts.size(); ++i) { in testDetermineAssignments_allPreferredUidOnly_shortTimeLeft()
360 doReturn(true).when(mInjector.contexts.keyAt(i)).isWithinExecutionGuaranteeTime(); in testDetermineAssignments_allPreferredUidOnly_shortTimeLeft()
362 .when(mInjector.contexts.keyAt(i)).getRemainingGuaranteedTimeMs(anyLong()); in testDetermineAssignments_allPreferredUidOnly_shortTimeLeft()
[all …]
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java1520 ArraySet<Context> contexts = new ArraySet<>(); in getToastContexts() local
1531 contexts.add(getContext().createDisplayContext(display)); in getToastContexts()
1532 return contexts; in getToastContexts()
1539 contexts.add(getContext().createDisplayContext(display)); in getToastContexts()
1542 if (!contexts.isEmpty()) { in getToastContexts()
1543 return contexts; in getToastContexts()
1551 contexts.add(getContext()); in getToastContexts()
1552 return contexts; in getToastContexts()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java880 final ArrayList<FillContext> contexts = in onHandleAssistData() local
885 request = new FillRequest(requestId, contexts, hints, mClientState, flags, in onHandleAssistData()
4250 final ArrayList<FillContext> contexts = mergePreviousSessionLocked( /* forSave= */ true); in callSaveLocked() local
4264 new SaveRequest(contexts, mClientState, mSelectedDatasetIds); in callSaveLocked()
4289 final ArrayList<FillContext> contexts; in mergePreviousSessionLocked() local
4295 contexts = new ArrayList<>(); in mergePreviousSessionLocked()
4311 contexts.addAll(previousContexts); in mergePreviousSessionLocked()
4320 contexts.addAll(mContexts); in mergePreviousSessionLocked()
4326 contexts = new ArrayList<>(mContexts); in mergePreviousSessionLocked()
4328 return contexts; in mergePreviousSessionLocked()
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dreduce_general_bad_result.rscript10 // in multiple contexts.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/config/
Dboot-image-profile.txt29787 HSPLjava/util/logging/LogManager;->contexts()Ljava/util/List;