/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/startop/scripts/iorap/lib/ |
D | inode2filename_test.py | 65 assert a.resolve(1, 2) == None 69 assert a.resolve(1, 2) == "foo.bar" 70 assert a.resolve(4, 5) == None 74 assert a.resolve(1, 2) == "foo.bar" 75 assert a.resolve(4, 5) == "bar.baz" 79 assert a.resolve(1567, 8910) == "/a/b/c/" 80 assert a.resolve(4, 5) == "bar.baz"
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcTimeInStateReaderTest.java | 59 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()
|
D | KernelCpuThreadReaderTest.java | 79 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | ContextComponentResolver.java | 60 return resolve(className, mActivityCreators); in resolveActivity() 68 return resolve(className, mBroadcastReceiverCreators); in resolveBroadcastReceiver() 76 return resolve(className, mRecentsCreators); in resolveRecents() 84 return resolve(className, mServiceCreators); in resolveService() 92 return resolve(className, mSystemUICreators); in resolveSystemUI() 95 private <T> T resolve(String className, Map<Class<?>, Provider<T>> creators) { in resolve() method in ContextComponentResolver
|
/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/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/av/media/libaaudio/src/binding/ |
D | AudioEndpointParcelable.cpp | 84 aaudio_result_t AudioEndpointParcelable::resolve(EndpointDescriptor *descriptor) { in resolve() function in AudioEndpointParcelable 85 aaudio_result_t result = mUpMessageQueueParcelable.resolve(mSharedMemories, in resolve() 88 result = mDownMessageQueueParcelable.resolve(mSharedMemories, in resolve() 92 result = mDownDataQueueParcelable.resolve(mSharedMemories, in resolve()
|
D | RingBufferParcelable.cpp | 100 aaudio_result_t RingBufferParcelable::resolve(SharedMemoryParcelable *memoryParcels, RingBufferDesc… in resolve() function in RingBufferParcelable 103 result = mReadCounterParcelable.resolve(memoryParcels, in resolve() 109 result = mWriteCounterParcelable.resolve(memoryParcels, in resolve() 115 result = mDataParcelable.resolve(memoryParcels, (void **) &descriptor->dataAddress); in resolve()
|
D | SharedRegionParcelable.cpp | 60 aaudio_result_t SharedRegionParcelable::resolve(SharedMemoryParcelable *memoryParcels, in resolve() function in SharedRegionParcelable 71 return memoryParcel->resolve(mOffsetInBytes, mSizeInBytes, regionAddressPtr); in resolve()
|
D | SharedRegionParcelable.h | 42 aaudio_result_t resolve(SharedMemoryParcelable *memoryParcels, void **regionAddressPtr);
|
D | AudioEndpointParcelable.h | 55 aaudio_result_t resolve(EndpointDescriptor *descriptor);
|
/frameworks/base/core/tests/coretests/src/android/os/vibrator/ |
D | StepSegmentTest.java | 82 assertEquals(1f, original.resolve(VibrationEffect.MAX_AMPLITUDE).getAmplitude()); in testResolve() 83 assertEquals(0.2f, original.resolve(51).getAmplitude(), TOLERANCE); in testResolve() 86 assertSame(resolved, resolved.resolve(100)); in testResolve() 88 assertThrows(IllegalArgumentException.class, () -> resolved.resolve(1000)); in testResolve()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibrationEffectTest.java | 198 VibrationEffect.Composed resolved = DEFAULT_ONE_SHOT.resolve(51); in testResolveOneShot() 201 assertThrows(IllegalArgumentException.class, () -> DEFAULT_ONE_SHOT.resolve(1000)); in testResolveOneShot() 206 VibrationEffect.Composed resolved = TEST_WAVEFORM.resolve(102); in testResolveWaveform() 209 assertThrows(IllegalArgumentException.class, () -> TEST_WAVEFORM.resolve(1000)); in testResolveWaveform() 215 assertEquals(effect, effect.resolve(51)); in testResolvePrebaked() 223 assertEquals(effect, effect.resolve(51)); in testResolveComposed() 228 .resolve(51); in testResolveComposed()
|
/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/java/android/app/slice/ |
D | SliceManager.java | 351 ResolveInfo resolve = mContext.getPackageManager().resolveActivity(intent, in resolveStatic() local 353 if (resolve != null && resolve.activityInfo != null in resolveStatic() 354 && resolve.activityInfo.metaData != null in resolveStatic() 355 && resolve.activityInfo.metaData.containsKey(SLICE_METADATA_KEY)) { in resolveStatic() 357 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/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 93 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()
|
/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'")
|
D | Resolver.h | 52 virtual bool resolve(ResolveInfo& __restrict__ pOld,
|
/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);
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
D | HostNameResolver.java | 45 InetAddress resolve (String hostname) throws IOException; in resolve() method
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | FileIntegrityService.java | 137 .resolve(relativeDir)); in loadAllCertificates() 139 .resolve(relativeDir)); in loadAllCertificates()
|
/frameworks/base/core/java/android/os/incremental/ |
D | IncrementalManager.java | 215 final Path sourceBase = sourceAbsolutePath.toPath().resolve(sourceRelativePath); in linkFiles() 222 targetStorage.makeDirectory(targetRelative.resolve(relativeDir).toString()); in linkFiles() 232 targetRelative.resolve(relativeFile).toString()); in linkFiles()
|