Home
last modified time | relevance | path

Searched refs:resolve (Results 1 – 25 of 82) sorted by relevance

1234

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DProcTimeInStateReaderTest.java59 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testSimple()
75 final Path initialTimeInStateFile = mProcDirectory.toPath().resolve( in testHeaderFormat()
92 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testDifferentFile()
96 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testDifferentFile()
106 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testWrongLength()
110 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testWrongLength()
117 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testEmptyInitialFails()
H A DKernelCpuThreadReaderTest.java79 setupDirectory(mProcDirectory.toPath().resolve(String.valueOf(uid)), in testReader_byUids()
88 mProcDirectory.toPath().resolve(uids[0] + "/task/" + uids[0] + "/time_in_state"), in testReader_byUids()
111 final Path selfThreadsPath = processPath.resolve("task"); in setupDirectory()
115 Files.write(processPath.resolve("cmdline"), processName.getBytes()); in setupDirectory()
121 final Path threadPath = selfThreadsPath.resolve(String.valueOf(threadIds[i])); in setupDirectory()
125 Files.write(threadPath.resolve("comm"), threadNames[i].getBytes()); in setupDirectory()
129 Files.newOutputStream(threadPath.resolve("time_in_state")); in setupDirectory()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
H A DContextComponentResolver.java56 return resolve(className, mActivityCreators); in resolveActivity()
64 return resolve(className, mBroadcastReceiverCreators); in resolveBroadcastReceiver()
72 return resolve(className, mRecentsCreators); in resolveRecents()
80 return resolve(className, mServiceCreators); in resolveService()
83 private <T> T resolve(String className, Map<Class<?>, Provider<T>> creators) { in resolve() method in ContextComponentResolver
/aosp14/frameworks/base/core/java/android/app/slice/
H A DSliceManager.java357 ResolveInfo resolve = mContext.getPackageManager().resolveActivity(intent, in resolveStatic() local
359 if (resolve != null && resolve.activityInfo != null in resolveStatic()
360 && resolve.activityInfo.metaData != null in resolveStatic()
361 && resolve.activityInfo.metaData.containsKey(SLICE_METADATA_KEY)) { in resolveStatic()
363 resolve.activityInfo.metaData.getString(SLICE_METADATA_KEY)); in resolveStatic()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DKernelCpuThreadReader.java93 DEFAULT_PROC_PATH.resolve("self/time_in_state");
273 final Path allThreadsPath = processPath.resolve("task"); in getProcessCpuUsage()
321 final Path threadCpuStatPath = threadDirectory.resolve(CPU_STATISTICS_FILENAME); in getThreadCpuUsage()
340 final Path processNamePath = processPath.resolve(PROCESS_NAME_FILENAME); in getProcessName()
351 final Path threadNamePath = threadPath.resolve(THREAD_NAME_FILENAME); in getThreadName()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DHostUtils.kt35 deleteFile(partition.baseAppFolder.resolve(it.removeSuffix(".apk")).toString())
104 .resolve(file.nameWithoutExtension)
105 .resolve(file.name)
/aosp14/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
H A DFileIO.ts73 return new Promise((resolve, reject) => {
86 resolve(records);
/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DStepSegmentTest.java102 assertEquals(1f, original.resolve(VibrationEffect.MAX_AMPLITUDE).getAmplitude()); in testResolve()
103 assertEquals(0.2f, original.resolve(51).getAmplitude(), TOLERANCE); in testResolve()
106 assertSame(resolved, resolved.resolve(100)); in testResolve()
108 assertThrows(IllegalArgumentException.class, () -> resolved.resolve(1000)); in testResolve()
/aosp14/frameworks/base/tools/preload/
H A Dsorttable.js475 var resolve = Object; // default
478 resolve = Function;
485 resolve = String;
488 resolve = Array;
490 resolve.forEach(object, block, context);
/aosp14/frameworks/base/core/java/org/apache/http/conn/scheme/
H A DHostNameResolver.java45 InetAddress resolve (String hostname) throws IOException; in resolve() method
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DResolutionMechanism.java26 abstract PolicyValue<V> resolve(LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies); in resolve() method in ResolutionMechanism
H A DFlagUnion.java29 IntegerPolicyValue resolve( in resolve() method in FlagUnion
H A DMostRecent.java31 PolicyValue<V> resolve(@NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies) { in resolve() method in MostRecent
H A DStringSetUnion.java31 PolicyValue<Set<String>> resolve( in resolve() method in StringSetUnion
H A DMostRestrictive.java35 PolicyValue<V> resolve(@NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies) { in resolve() method in MostRestrictive
H A DTopPriority.java40 PolicyValue<V> resolve(@NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies) { in resolve() method in TopPriority
/aosp14/frameworks/base/core/java/com/android/internal/content/om/
H A DOverlayManagerImpl.java245 final Path frroPath = mBasePath.resolve(overlayName + FRRO_EXTENSION); in registerFabricatedOverlay()
246 final Path idmapPath = mBasePath.resolve(overlayName + IDMAP_EXTENSION); in registerFabricatedOverlay()
278 final Path frroPath = mBasePath.resolve(overlayName + FRRO_EXTENSION); in unregisterFabricatedOverlay()
279 final Path idmapPath = mBasePath.resolve(overlayName + IDMAP_EXTENSION); in unregisterFabricatedOverlay()
/aosp14/frameworks/base/core/java/android/os/incremental/
H A DIncrementalManager.java232 final Path sourceBase = sourceAbsolutePath.toPath().resolve(sourceRelativePath); in linkFiles()
239 targetStorage.makeDirectory(targetRelative.resolve(relativeDir).toString()); in linkFiles()
249 targetRelative.resolve(relativeFile).toString()); in linkFiles()
/aosp14/frameworks/base/tools/xmlpersistence/src/main/kotlin/
H A DParser.kt98 addDeclaration(name, typeDeclaration.resolve())
136 val type = classDeclaration.resolve().typeName
148 return when (val type = variable.type.resolve()) {
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibrationEffectTest.java644 VibrationEffect.Composed resolved = DEFAULT_ONE_SHOT.resolve(51); in testResolveOneShot()
647 assertThrows(IllegalArgumentException.class, () -> DEFAULT_ONE_SHOT.resolve(1000)); in testResolveOneShot()
652 VibrationEffect.Composed resolved = TEST_WAVEFORM.resolve(102); in testResolveWaveform()
655 assertThrows(IllegalArgumentException.class, () -> TEST_WAVEFORM.resolve(1000)); in testResolveWaveform()
661 assertEquals(effect, effect.resolve(51)); in testResolvePrebaked()
669 assertEquals(effect, effect.resolve(51)); in testResolveComposed()
674 .resolve(51); in testResolveComposed()
/aosp14/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/
H A DPermissionMethodUtils.kt28 val method = callExpression.resolve()?.getUMethod() ?: return false
/aosp14/frameworks/base/tools/processors/staledataclass/src/android/processor/staledataclass/
H A DStaleDataclassProcessor.kt161 .find { it.resolve(sourceRelative).isFile }
168 val source = repoRoot!!.resolve(sourceRelative)
/aosp14/frameworks/base/core/java/android/os/vibrator/
H A DVibrationEffectSegment.java101 public abstract <T extends VibrationEffectSegment> T resolve(int defaultAmplitude); in resolve() method in VibrationEffectSegment
/aosp14/frameworks/base/services/core/java/com/android/server/security/
H A DFileIntegrityService.java196 .resolve(relativeDir)); in loadAllCertificates()
198 .resolve(relativeDir)); in loadAllCertificates()
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
H A DNsdResolveQueue.java79 public void resolve(@NonNull NsdManager nsdManager, @NonNull NsdServiceInfo serviceInfo, in resolve() method in NsdResolveQueue

1234