/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | ThemeResolverTest.java | 47 assertThat(themeResolver.resolve("material")).isEqualTo(R.style.SuwThemeMaterial); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 48 assertThat(themeResolver.resolve("material_light")).isEqualTo(R.style.SuwThemeMaterial_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 49 assertThat(themeResolver.resolve("glif")).isEqualTo(R.style.SuwThemeGlif); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 50 assertThat(themeResolver.resolve("glif_light")).isEqualTo(R.style.SuwThemeGlif_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 51 assertThat(themeResolver.resolve("glif_v2")).isEqualTo(R.style.SuwThemeGlifV2); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 52 assertThat(themeResolver.resolve("glif_v2_light")).isEqualTo(R.style.SuwThemeGlifV2_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 53 assertThat(themeResolver.resolve("glif_v3")).isEqualTo(R.style.SuwThemeGlifV3); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 54 assertThat(themeResolver.resolve("glif_v3_light")).isEqualTo(R.style.SuwThemeGlifV3_Light); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 55 assertThat(themeResolver.resolve("unknown_theme")).isEqualTo(defaultTheme); in resolve_nonDayNight_shouldReturnCorrespondingTheme() 62 assertThat(themeResolver.resolve("material")).isEqualTo(R.style.SuwThemeMaterial_DayNight); in resolve_dayNight_shouldReturnDayNightTheme() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcTimeInStateReaderTest.java | 62 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testSimple() 78 final Path initialTimeInStateFile = mProcDirectory.toPath().resolve( in testHeaderFormat() 95 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testDifferentFile() 99 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testDifferentFile() 109 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testWrongLength() 113 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testWrongLength() 120 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testEmptyInitialFails()
|
D | KernelCpuThreadReaderTest.java | 86 setupDirectory(mProcDirectory.toPath().resolve(String.valueOf(uid)), in testReader_byUids() 95 mProcDirectory.toPath().resolve(uids[0] + "/task/" + uids[0] + "/time_in_state"), in testReader_byUids() 118 final Path selfThreadsPath = processPath.resolve("task"); in setupDirectory() 122 Files.write(processPath.resolve("cmdline"), processName.getBytes()); in setupDirectory() 128 final Path threadPath = selfThreadsPath.resolve(String.valueOf(threadIds[i])); in setupDirectory() 132 Files.write(threadPath.resolve("comm"), threadNames[i].getBytes()); in setupDirectory() 136 Files.newOutputStream(threadPath.resolve("time_in_state")); in setupDirectory()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/ |
D | ClassWidePolicyPropagatingFilter.kt | 30 private fun getClassWidePolicy(className: String, resolve: Boolean): FilterPolicyWithReason? { in <lambda>() 45 val p = if (resolve) { in <lambda>() 73 getClassWidePolicy(outerName, resolve = false)?.let { policy -> in <lambda>() 85 return getClassWidePolicy(className, resolve = true) in <lambda>() 94 return getClassWidePolicy(className, resolve = true) in <lambda>()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 79 EXPECT_EQ(AAUDIO_OK, sharedMemoryA.resolve(0, 16, ®ion1)); // fits in region in TEST() 80 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(-2, 16, ®ion1)); // offset is negative in TEST() 81 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, ®ion1)); // size too big in TEST() 82 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, ®ion1)); // goes past the end in TEST() 96 EXPECT_EQ(AAUDIO_OK, sharedMemoryB.resolve(0, 16, ®ion2)); in TEST() 115 EXPECT_EQ(AAUDIO_OK, sharedRegionA.resolve(sharedMemories, ®ion1)); in TEST() 128 EXPECT_EQ(AAUDIO_OK, sharedRegionB.resolve(sharedMemories, ®ion2)); in TEST() 161 EXPECT_EQ(AAUDIO_OK, ringBufferA.resolve(sharedMemories, &descriptorA)); in TEST() 177 EXPECT_EQ(AAUDIO_OK, ringBufferB.resolve(sharedMemories, &descriptorB)); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | ContextComponentResolver.java | 56 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
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | ThemeResolver.java | 59 public int resolve(Intent intent) { in resolve() method in ThemeResolver 60 return resolve( in resolve() 72 public int resolve(@Nullable String theme) { in resolve() method in ThemeResolver 73 return resolve(theme, /* suppressDayNight= */ false); in resolve() 77 private int resolve(@Nullable String theme, boolean suppressDayNight) { in resolve() method in ThemeResolver 92 activity.setTheme(resolve(activity.getIntent())); in applyTheme()
|
D | WizardManagerHelper.java | 296 .resolve(intent); in getThemeRes() 320 .resolve(intent); in getThemeRes() 352 .resolve(theme); in getThemeRes() 382 .resolve(theme); in getThemeRes()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | RecursiveStringArrayResourceResolver.java | 76 public Set<String> resolve(String pkg, @ArrayRes int rootId) { in resolve() method in RecursiveStringArrayResourceResolver 77 return resolve(List.of(), pkg, rootId); in resolve() 86 private Set<String> resolve(Collection<String> cache, String pkg, @ArrayRes int rootId) { in resolve() method in RecursiveStringArrayResourceResolver 145 return resolve(cache, resolvedPkg, importId); in resolveImport()
|
D | MostRestrictive.java | 35 PolicyValue<V> resolve(@NonNull LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies) { in resolve() method in MostRestrictive 36 return resolve(new ArrayList<>(adminPolicies.values())); in resolve() 40 PolicyValue<V> resolve(List<PolicyValue<V>> adminPolicies) { in resolve() method in MostRestrictive
|
D | ResolutionMechanism.java | 31 abstract PolicyValue<V> resolve(LinkedHashMap<EnforcingAdmin, PolicyValue<V>> adminPolicies); in resolve() method in ResolutionMechanism 38 PolicyValue<V> resolve(List<PolicyValue<V>> adminPolicies) { in resolve() method in ResolutionMechanism
|
/frameworks/base/core/java/android/os/vibrator/persistence/ |
D | ParsedVibration.java | 60 public VibrationEffect resolve(@NonNull Vibrator vibrator) { in resolve() method in ParsedVibration 61 return resolve(vibrator.getInfo()); in resolve() 85 public final VibrationEffect resolve(@NonNull VibratorInfo info) { in resolve() method in ParsedVibration
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AudioEndpointParcelable.cpp | 153 aaudio_result_t AudioEndpointParcelable::resolve(EndpointDescriptor *descriptor) { in resolve() function in AudioEndpointParcelable 154 aaudio_result_t result = mUpMessageQueueParcelable.resolve(mSharedMemories, in resolve() 157 result = mDownMessageQueueParcelable.resolve(mSharedMemories, in resolve() 161 result = mDownDataQueueParcelable.resolve(mSharedMemories, in resolve() 167 return mDownDataQueueParcelable.resolve(mSharedMemories, descriptor); in resolveDataQueue()
|
D | RingBufferParcelable.cpp | 109 aaudio_result_t RingBufferParcelable::resolve(SharedMemoryParcelable *memoryParcels, RingBufferDesc… in resolve() function in RingBufferParcelable 112 result = mReadCounterParcelable.resolve(memoryParcels, in resolve() 118 result = mWriteCounterParcelable.resolve(memoryParcels, in resolve() 124 result = mDataParcelable.resolve(memoryParcels, (void **) &descriptor->dataAddress); in resolve()
|
D | SharedRegionParcelable.cpp | 62 aaudio_result_t SharedRegionParcelable::resolve(SharedMemoryParcelable *memoryParcels, in resolve() function in SharedRegionParcelable 73 return memoryParcel->resolve(mOffsetInBytes, mSizeInBytes, regionAddressPtr); in resolve()
|
/frameworks/compile/mclinker/unittests/ |
D | StaticResolverTest.cpp | 58 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 84 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 111 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 138 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 159 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 188 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 209 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 234 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F() 257 bool result = m_pResolver->resolve(*old_sym, *new_sym, override, 0x0); in TEST_F()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/ |
D | ParsedVibrationTest.java | 62 assertThat(new ParsedVibration(List.of()).resolve(mVibratorMock)).isNull(); in empty() 111 return assertThat(new ParsedVibration(componentVibrations).resolve(vibrator)); in assertThatResolution() 115 return assertThat(new ParsedVibration(vibration).resolve(vibrator)); in assertThatResolution()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 344 ResolveInfo resolve = mContext.getPackageManager().resolveActivity(intent, in resolveStatic() local 346 if (resolve != null && resolve.activityInfo != null in resolveStatic() 347 && resolve.activityInfo.metaData != null in resolveStatic() 348 && resolve.activityInfo.metaData.containsKey(SLICE_METADATA_KEY)) { in resolveStatic() 350 resolve.activityInfo.metaData.getString(SLICE_METADATA_KEY)); in resolveStatic()
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | HostUtils.kt | 35 deleteFile(partition.baseAppFolder.resolve(it.removeSuffix(".apk")).toString()) in <lambda>() 104 .resolve(file.nameWithoutExtension) in makePathForApk() 105 .resolve(file.name) in makePathForApk()
|
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/ |
D | FileIO.ts | 73 return new Promise((resolve, reject) => { 86 resolve(records);
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 93 DEFAULT_PROC_PATH.resolve("self/time_in_state"); 274 final Path allThreadsPath = processPath.resolve("task"); in getProcessCpuUsage() 322 final Path threadCpuStatPath = threadDirectory.resolve(CPU_STATISTICS_FILENAME); in getThreadCpuUsage() 341 final Path processNamePath = processPath.resolve(PROCESS_NAME_FILENAME); in getProcessName() 352 final Path threadNamePath = threadPath.resolve(THREAD_NAME_FILENAME); in getThreadName()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | StepSegmentTest.java | 80 assertEquals(1f, original.resolve(VibrationEffect.MAX_AMPLITUDE).getAmplitude()); in testResolve() 81 assertEquals(0.2f, original.resolve(51).getAmplitude(), TOLERANCE); in testResolve() 84 assertSame(resolved, resolved.resolve(100)); in testResolve() 86 assertThrows(IllegalArgumentException.class, () -> resolved.resolve(1000)); in testResolve()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | RecursiveStringArrayResourceResolverTest.kt | 74 val actual = mTarget.resolve(/* pkg= */ PACKAGE, /* rootId = */ mockId) in testCanResolveTheArrayWithoutImports() 89 val actual = mTarget.resolve(/* pkg= */ PACKAGE, /* rootId= */ mockId) in testCanResolveTheArrayWithImports()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagSymbolResolutions.inc | 11 "Fails to resolve symbols [%0:%1]\nPlease reports to `%2'", 12 "Fails to resolve symbols [%0:%1]\nPlease reports to `%2'")
|
/frameworks/base/tools/preload/ |
D | sorttable.js | 475 var resolve = Object; // default 478 resolve = Function; 485 resolve = String; 488 resolve = Array; 490 resolve.forEach(object, block, context);
|