/frameworks/base/core/tests/coretests/src/com/android/internal/power/ |
D | EnergyConsumerStatsTest.java | 63 final EnergyConsumerStats.Config config = in testConstruction() 64 new EnergyConsumerStats.Config(supportedStandardBuckets, customBucketNames, in testConstruction() 99 final EnergyConsumerStats.Config config = in testReadWriteParcel() 100 new EnergyConsumerStats.Config(supportedStandardBuckets, customBucketNames, in testReadWriteParcel() 143 final EnergyConsumerStats.Config config = in testCreateAndReadConfigFromParcel() 144 new EnergyConsumerStats.Config(supportedStandardBuckets, customBucketNames, in testCreateAndReadConfigFromParcel() 149 EnergyConsumerStats.Config.writeToParcel(config, parcel); in testCreateAndReadConfigFromParcel() 153 final EnergyConsumerStats.Config newConfig = EnergyConsumerStats.Config.createFromParcel( in testCreateAndReadConfigFromParcel() 176 EnergyConsumerStats.Config.writeToParcel(null, parcel); in testCreateAndReadConfigFromParcel_nullConfig() 180 final EnergyConsumerStats.Config newConfig = EnergyConsumerStats.Config.createFromParcel( in testCreateAndReadConfigFromParcel_nullConfig() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | GraphicsPerformanceTests.java | 90 Bitmap.Config.RGB_565); in setUp() 202 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); in createBitmap() 220 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); in createBitmap() 238 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565); in createBitmap() 256 return Bitmap.createBitmap(63, 63, Bitmap.Config.RGB_565); in createBitmap() 274 return Bitmap.createBitmap(127, 127, Bitmap.Config.RGB_565); in createBitmap() 292 return Bitmap.createBitmap(319, 239, Bitmap.Config.RGB_565); in createBitmap() 310 return Bitmap.createBitmap(319, 479, Bitmap.Config.RGB_565); in createBitmap() 328 return Bitmap.createBitmap(8, 8, Bitmap.Config.RGB_565); in createBitmap() 346 return Bitmap.createBitmap(16, 16, Bitmap.Config.RGB_565); in createBitmap() [all …]
|
D | BitmapTest.java | 33 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testBasic() 34 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testBasic() 35 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); in testBasic() 61 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888); in testBasic() 62 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); in testBasic() 63 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_8888); in testBasic() 68 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testMutability() 70 Bitmap.Config.ARGB_8888); in testMutability() 93 Bitmap.Config.ARGB_8888); in testGetPixelsWithAlpha() 118 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); in testGetPixelsWithoutAlpha() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | BaseInterpolator.java | 19 import android.content.pm.ActivityInfo.Config; 25 private @Config int mChangingConfiguration; 29 public @Config int getChangingConfiguration() { in getChangingConfiguration() 36 void setChangingConfiguration(@Config int changingConfiguration) { in setChangingConfiguration()
|
/frameworks/base/core/java/android/os/ |
D | IpcDataCache.java | 415 public static class Config { class in IpcDataCache 438 public Config(int maxEntries, @NonNull @IpcDataCacheModule String module, in Config() method in IpcDataCache.Config 449 public Config(int maxEntries, @NonNull @IpcDataCacheModule String module, in Config() method in IpcDataCache.Config 458 public Config(@NonNull Config root, @NonNull String api, @NonNull String name) { in Config() method in IpcDataCache.Config 466 public Config(@NonNull Config root, @NonNull String api) { in Config() method in IpcDataCache.Config 475 public Config child(@NonNull String name) { in child() 476 final Config result = new Config(this, api(), name); in child() 549 public IpcDataCache(@NonNull Config config, @NonNull QueryHandler<Query, Result> computer) { in IpcDataCache() 587 public IpcDataCache(@NonNull Config config, @NonNull RemoteCall<Query, Result> computer) { in IpcDataCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/util/ |
D | MobileMappings.kt | 23 import com.android.settingslib.mobile.MobileMappings.Config 33 fun mapIconSets(config: Config): Map<String, MobileIconGroup> in mapIconSets() 34 fun getDefaultIcons(config: Config): MobileIconGroup in mapIconSets() 42 override fun mapIconSets(config: Config): Map<String, MobileIconGroup> = in mapIconSets() 45 override fun getDefaultIcons(config: Config): MobileIconGroup = in mapIconSets()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | PersistentSystemFontConfigTest.java | 46 PersistentSystemFontConfig.Config config = new PersistentSystemFontConfig.Config(); in testWriteRead() 64 PersistentSystemFontConfig.Config another = new PersistentSystemFontConfig.Config(); in testWriteRead() 82 PersistentSystemFontConfig.Config config = new PersistentSystemFontConfig.Config(); in testWrongType()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 295 public void reconfigure(int width, int height, @NonNull Config config) { in reconfigure() 354 public void setConfig(@NonNull Config config) { in setConfig() 428 if (getConfig() == Config.HARDWARE) { in checkHardware() 473 public enum Config { enum in Bitmap 589 private static Config sConfigs[] = { 593 Config(int ni) { in Config() method in Bitmap.Config 598 static Config nativeToConfig(int ni) { in nativeToConfig() 692 if (getConfig() == Config.HARDWARE) { in noteHardwareBitmapSlowCall() 714 public Bitmap copy(@NonNull Config config, boolean isMutable) { in copy() 716 if (config == Config.HARDWARE && isMutable) { in copy() [all …]
|
/frameworks/base/apct-tests/perftests/settingsprovider/src/android/provider/ |
D | SettingsProviderPerfTest.java | 57 Settings.Config.putString(NAMESPACE, SETTING_NAME1, "1", true); in setUp() 58 Settings.Config.putString(NAMESPACE, SETTING_NAME2, "2", true); in setUp() 64 Settings.Config.deleteString(NAMESPACE, SETTING_NAME1); in destroy() 65 Settings.Config.deleteString(NAMESPACE, SETTING_NAME2); in destroy() 110 Settings.Config.getStrings(mContentResolver, NAMESPACE, names); in testSettingsNamespaceConsecutiveRead() 123 Settings.Config.putString(NAMESPACE, SETTING_NAME2, Integer.toString(i), true); in testSettingsNamespaceConsecutiveReadAfterWrite() 126 Settings.Config.getStrings(mContentResolver, NAMESPACE, names); in testSettingsNamespaceConsecutiveReadAfterWrite()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifStyleTest.java | 39 import org.robolectric.annotation.Config; 44 @Config(sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK}) 66 @Config(sdk = Config.NEWEST_SDK)
|
D | GlifDimensionTest.java | 33 import org.robolectric.annotation.Config; 36 @Config(sdk = Config.ALL_SDKS) 51 @Config(qualifiers = "sw600dp") 82 @Config(qualifiers = "sw600dp")
|
D | GlifV3StyleTest.java | 35 import org.robolectric.annotation.Config; 38 @Config(minSdk = Config.OLDEST_SDK, maxSdk = Config.NEWEST_SDK)
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/ |
D | GlifLayoutTest.java | 47 import org.robolectric.annotation.Config; 50 @Config(sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK}) 116 @Config(qualifiers = "sw600dp") 149 @Config(qualifiers = "sw600dp") 178 @Config(qualifiers = "sw600dp") 188 @Config(qualifiers = "sw600dp") 245 @Config(qualifiers = "sw600dp") 260 @Config(qualifiers = "sw600dp") 287 @Config(qualifiers = "sw600dp") 314 @Config(qualifiers = "sw600dp") [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 86 typedef CCodecConfig Config; typedef 199 status_t configure(Config &config __unused) { in configure() 299 status_t configure(Config &config) { in configure() 465 Config mConfig; 533 status_t configure(Config &config) { in configure() 687 Config mConfig; 1035 Mutexed<std::unique_ptr<Config>>::Locked configLocked(mConfig); in allocate() 1036 const std::unique_ptr<Config> &config = *configLocked; in allocate() 1117 Mutexed<std::unique_ptr<Config>>::Locked configLocked(mConfig); in configure() 1118 const std::unique_ptr<Config> &config = *configLocked; in configure() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | StateListAnimator.java | 19 import android.content.pm.ActivityInfo.Config; 57 private @Config int mChangingConfigurations; 227 public @Config int getChangingConfigurations() { in getChangingConfigurations() 241 public void setChangingConfigurations(@Config int configs) { in setChangingConfigurations() 251 public void appendChangingConfigurations(@Config int configs) { in appendChangingConfigurations() 313 @Config int mChangingConf; 322 public @Config int getChangingConfigurations() { in getChangingConfigurations()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardBlueprintRepository.kt | 28 …com.android.systemui.keyguard.ui.view.layout.blueprints.transitions.IntraBlueprintTransition.Config in <lambda>() 60 val refreshTransition = MutableSharedFlow<Config>(extraBufferCapacity = 1) in <lambda>() 61 @VisibleForTesting var targetTransitionConfig: Config? = null in <lambda>() 92 fun refreshBlueprint(config: Config = Config.DEFAULT) { in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/theme/typography/ |
D | TypefaceTokens.kt | 54 private enum class Config(val configName: String, val default: String) { class in TypefaceNames 62 brand = getTypefaceName(context, Config.Brand), in get() 63 plain = getTypefaceName(context, Config.Plain), in get() 67 private fun getTypefaceName(context: Context, config: Config): String { in getTypefaceName()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/ |
D | ScrollViewScrollHandlingDelegateTest.java | 31 import org.robolectric.annotation.Config; 33 @Config(sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK})
|
D | ListViewScrollHandlingDelegateTest.java | 35 import org.robolectric.annotation.Config; 37 @Config(sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK})
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | NameValueCacheTest.java | 83 Settings.Config.clearProviderForTest(); in setUp() 89 mMockContentResolver.addProvider(Settings.Config.CONTENT_URI.getAuthority(), in setUp() 105 when(mMockIContentProvider.call(any(), eq(Settings.Config.CONTENT_URI.getAuthority()), in setUp() 132 when(mMockIContentProvider.call(any(), eq(Settings.Config.CONTENT_URI.getAuthority()), in setUp() 231 Settings.Config.clearProviderForTest(); in cleanUp() 244 Settings.Config.setStrings(mMockContentResolver, NAMESPACE, keyValues); in testCaching_singleNamespace() 248 Map<String, String> returnedValues = Settings.Config.getStrings(mMockContentResolver, in testCaching_singleNamespace() 254 Map<String, String> cachedKeyValues = Settings.Config.getStrings(mMockContentResolver, in testCaching_singleNamespace() 261 Settings.Config.setStrings(mMockContentResolver, NAMESPACE, keyValues); in testCaching_singleNamespace() 265 Map<String, String> returnedValues2 = Settings.Config.getStrings(mMockContentResolver, in testCaching_singleNamespace() [all …]
|
D | SettingsProviderTest.java | 348 r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig() 353 results = r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig() 358 results = r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig() 364 r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig() 368 results = r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig() 373 r.call(Settings.Config.CONTENT_URI, in testCall_putAndGetConfig() 388 r.call(Settings.Config.CONTENT_URI, Settings.CALL_METHOD_PUT_CONFIG, name, args); in testCall_deleteConfig() 392 r.call(Settings.Config.CONTENT_URI, in testCall_deleteConfig() 397 results = r.call(Settings.Config.CONTENT_URI, Settings.CALL_METHOD_DELETE_CONFIG, name, in testCall_deleteConfig() 401 results = r.call(Settings.Config.CONTENT_URI, in testCall_deleteConfig() [all …]
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | SplitNavLayoutTest.java | 37 import org.robolectric.annotation.Config; 46 @Config(shadows = ShadowConfiguration.class) 64 @Config(qualifiers = "w1760dp-land") 80 @Config(qualifiers = "w1760dp-land") 92 @Config(qualifiers = "iw-w1250dp-land") 106 @Config(qualifiers = "iw-w1760dp-land")
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MffContext.java | 47 public static class Config { class in MffContext 129 init(context, new Config()); in MffContext() 148 public MffContext(Context context, Config config) { in MffContext() 323 private void init(Context context, Config config) { in init() 331 private void fetchDummySurfaceView(Context context, Config config) { in fetchDummySurfaceView() 339 private void determineGLSupport(Context context, Config config) { in determineGLSupport() 351 private void determineCameraSupport(Config config) { in determineCameraSupport()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | IpcDataCacheTest.java | 164 IpcDataCache.Config config = new IpcDataCache.Config(4, MODULE, API, "testCache2"); in testRemoteCall() 282 TestCache(IpcDataCache.Config c) { in TestCache() 286 TestCache(IpcDataCache.Config c, TestQuery query) { in TestCache() 380 IpcDataCache.Config a = new IpcDataCache.Config(8, MODULE, "apiA"); in testConfig() 386 IpcDataCache.Config b = new IpcDataCache.Config(a, "apiB"); in testConfig() 392 IpcDataCache.Config c = new IpcDataCache.Config(a, "apiC", "nameC"); in testConfig() 398 IpcDataCache.Config d = a.child("nameD"); in testConfig() 417 IpcDataCache.Config e = a.child("nameE"); in testConfig()
|
/frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/ |
D | RecyclerViewScrollHandlingDelegateTest.java | 36 import org.robolectric.annotation.Config; 38 @Config(sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK})
|