/frameworks/native/services/surfaceflinger/Scheduler/ |
D | FrameRateOverrideMappings.cpp | 59 std::vector<FrameRateOverride> overrides; in getAllFrameRateOverrides() local 60 overrides.reserve(maxOverridesCount()); in getAllFrameRateOverrides() 63 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides() 68 if (std::find_if(overrides.begin(), overrides.end(), in getAllFrameRateOverrides() 69 [uid = uid](auto i) { return i.uid == uid; }) == overrides.end()) { in getAllFrameRateOverrides() 70 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides() 76 return overrides; in getAllFrameRateOverrides() 80 if (std::find_if(overrides.begin(), overrides.end(), in getAllFrameRateOverrides() 81 [uid = uid](auto i) { return i.uid == uid; }) == overrides.end()) { in getAllFrameRateOverrides() 82 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides() [all …]
|
/frameworks/base/core/java/com/android/internal/compat/ |
D | CompatibilityOverrideConfig.java | 32 public final Map<Long, PackageOverride> overrides; field in CompatibilityOverrideConfig 34 public CompatibilityOverrideConfig(Map<Long, PackageOverride> overrides) { in CompatibilityOverrideConfig() argument 35 this.overrides = overrides; in CompatibilityOverrideConfig() 40 overrides = new HashMap<>(); in CompatibilityOverrideConfig() 43 overrides.put(key, PackageOverride.createFromParcel(in)); in CompatibilityOverrideConfig() 54 dest.writeInt(overrides.size()); in writeToParcel() 55 for (Long key : overrides.keySet()) { in writeToParcel() 57 overrides.get(key).writeToParcel(dest); in writeToParcel()
|
D | IPlatformCompat.aidl | 161 void setOverrides(in CompatibilityChangeConfig overrides, in String packageName); in setOverrides() argument 202 … void putOverridesOnReleaseBuilds(in CompatibilityOverrideConfig overrides, in String packageName); in putOverridesOnReleaseBuilds() argument 214 void setOverridesForTest(in CompatibilityChangeConfig overrides, in String packageName); in setOverridesForTest() argument
|
/frameworks/base/services/core/xsd/platform-compat/overrides/schema/ |
D | current.txt | 2 package com.android.server.compat.overrides { 7 method public com.android.server.compat.overrides.ChangeOverrides.Deferred getDeferred(); 8 method public com.android.server.compat.overrides.ChangeOverrides.Raw getRaw(); 9 method public com.android.server.compat.overrides.ChangeOverrides.Validated getValidated(); 11 method public void setDeferred(com.android.server.compat.overrides.ChangeOverrides.Deferred); 12 method public void setRaw(com.android.server.compat.overrides.ChangeOverrides.Raw); 13 method public void setValidated(com.android.server.compat.overrides.ChangeOverrides.Validated); 18 …method public java.util.List<com.android.server.compat.overrides.OverrideValue> getOverrideValue(); 23 …method public java.util.List<com.android.server.compat.overrides.RawOverrideValue> getRawOverrideV… 28 …method public java.util.List<com.android.server.compat.overrides.OverrideValue> getOverrideValue(); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkTypeResIdCacheTest.kt | 32 private var overrides = MobileIconCarrierIdOverridesFake() variable 36 cache = NetworkTypeResIdCache(overrides) in setUp() 46 overrides.overriddenIds.add(CARRIER_1) in carrier1_overridden_usesOverride() 47 overrides.overridesByCarrierId[CARRIER_1] = mapOf(NET_TYPE_1 to iconOverride1) in carrier1_overridden_usesOverride() 54 overrides.overriddenIds.add(CARRIER_1) in carrier1_override_carrier2UsesDefault() 55 overrides.overridesByCarrierId[CARRIER_1] = mapOf(NET_TYPE_1 to iconOverride1) in carrier1_override_carrier2UsesDefault() 62 overrides.overriddenIds.add(CARRIER_1) in carrier1_overrideType1_type2UsesDefault() 63 overrides.overridesByCarrierId[CARRIER_1] = mapOf(NET_TYPE_1 to iconOverride1) in carrier1_overrideType1_type2UsesDefault()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 320 AString overrides; in exportResultsToXML() local 321 overrides.append(getProfilingVersionString()); in exportResultsToXML() 322 overrides.append("\n"); in exportResultsToXML() 323 overrides.append("<MediaCodecs>\n"); in exportResultsToXML() 325 overrides.append(" <Settings>\n"); in exportResultsToXML() 326 overrides.append(globalResultsToXml(global_results)); in exportResultsToXML() 327 overrides.append(" </Settings>\n"); in exportResultsToXML() 330 overrides.append(" <Encoders>\n"); in exportResultsToXML() 331 overrides.append(codecResultsToXml(encoder_results)); in exportResultsToXML() 332 overrides.append(" </Encoders>\n"); in exportResultsToXML() [all …]
|
/frameworks/base/services/core/xsd/ |
D | Android.bp | 25 name: "platform-compat-overrides", 26 srcs: ["platform-compat/overrides/platform-compat-overrides.xsd"], 27 api_dir: "platform-compat/overrides/schema", 28 package_name: "com.android.server.compat.overrides",
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatConfig.java | 47 import com.android.server.compat.overrides.ChangeOverrides; 48 import com.android.server.compat.overrides.Overrides; 49 import com.android.server.compat.overrides.XmlWriter; 319 synchronized void addPackageOverrides(CompatibilityOverrideConfig overrides, in addPackageOverrides() argument 321 addPackageOverridesWithoutSaving(overrides, packageName, skipUnknownChangeIds); in addPackageOverrides() 326 private void addPackageOverridesWithoutSaving(CompatibilityOverrideConfig overrides, in addPackageOverridesWithoutSaving() argument 328 for (Long changeId : overrides.overrides.keySet()) { in addPackageOverridesWithoutSaving() 334 addOverrideUnsafe(changeId, packageName, overrides.overrides.get(changeId)); in addPackageOverridesWithoutSaving() 339 PackageOverride overrides) { in addOverrideUnsafe() argument 350 c.addPackageOverride(packageName, overrides, allowedState, versionCode); in addOverrideUnsafe() [all …]
|
D | PlatformCompat.java | 260 public void setOverrides(CompatibilityChangeConfig overrides, String packageName) { in setOverrides() argument 264 for (long change : overrides.enabledChanges()) { in setOverrides() 267 for (long change : overrides.disabledChanges()) { in setOverrides() 278 public void setOverridesForTest(CompatibilityChangeConfig overrides, String packageName) { in setOverridesForTest() argument 282 for (long change : overrides.enabledChanges()) { in setOverridesForTest() 285 for (long change : overrides.disabledChanges()) { in setOverridesForTest() 299 for (CompatibilityOverrideConfig overrides : in putAllOverridesOnReleaseBuilds() 301 checkAllCompatOverridesAreOverridable(overrides.overrides.keySet()); in putAllOverridesOnReleaseBuilds() 308 public void putOverridesOnReleaseBuilds(CompatibilityOverrideConfig overrides, in putOverridesOnReleaseBuilds() argument 312 checkAllCompatOverridesAreOverridable(overrides.overrides.keySet()); in putOverridesOnReleaseBuilds() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/echo/ |
D | LogcatEchoSettingFormat.kt | 57 overrides: List<LogcatEchoOverride>, in stringifyOverrides() 59 return stringifyOverridesV0(overrides) in stringifyOverrides() 107 overrides: List<LogcatEchoOverride>, in stringifyOverridesV0() 113 for (override in overrides) { in stringifyOverridesV0()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkTypeResIdCache.kt | 35 private val overrides: MobileIconCarrierIdOverrides = MobileIconCarrierIdOverridesImpl() constant in com.android.systemui.statusbar.connectivity.NetworkTypeResIdCache 72 if (!overrides.carrierIdEntryExists(carrierId)) { in calculateOverriddenIcon() 76 return overrides.getOverrideFor(carrierId, name, context.resources) in calculateOverriddenIcon()
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | FlagsShellCommand.java | 95 Map<String, Map<String, String>> overrides; in listCmd() local 97 overrides = mFlagStore.getFlagsForNamespace(args[1]); in listCmd() 99 overrides = mFlagStore.getFlags(); in listCmd() 101 if (overrides.isEmpty()) { in listCmd() 107 for (Map.Entry<String, Map<String, String>> namespace : overrides.entrySet()) { in listCmd() 131 for (Map.Entry<String, Map<String, String>> namespace : overrides.entrySet()) { in listCmd()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/ |
D | AppCompatOverridesServiceTest.java | 17 package com.android.server.compat.overrides; 25 import static com.android.server.compat.overrides.AppCompatOverridesParser.FLAG_OWNED_CHANGE_IDS; 26 import static com.android.server.compat.overrides.AppCompatOverridesParser.FLAG_REMOVE_OVERRIDES; 189 addedOverrides = packageNameToAddedOverrides.get(PACKAGE_1).overrides; in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides() 201 addedOverrides = packageNameToAddedOverrides.get(PACKAGE_3).overrides; in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides() 229 assertThat(packageNameToAddedOverrides.get(PACKAGE_1).overrides.keySet()).containsExactly( in onPropertiesChanged_ownedChangeIdsFlagNotSet_onlyAddsOverrides() 262 assertThat(packageNameToAddedOverrides.get(PACKAGE_1).overrides.keySet()).containsExactly( in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove() 268 assertThat(packageNameToAddedOverrides.get(PACKAGE_3).overrides.keySet()).containsExactly( in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove() 351 assertThat(packageNameToAddedOverrides.get(PACKAGE_1).overrides.keySet()).containsExactly( in onPropertiesChanged_removeOverridesFlagAndSomePackageOverrideFlagsChanged_ok() 361 assertThat(packageNameToAddedOverrides.get(PACKAGE_3).overrides.keySet()).containsExactly( in onPropertiesChanged_removeOverridesFlagAndSomePackageOverrideFlagsChanged_ok() [all …]
|
D | OWNERS | 1 include /services/core/java/com/android/server/compat/overrides/OWNERS
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestDisplayWindowSettingsProvider.java | 50 @NonNull SettingsEntry overrides) { in updateOverrideSettings() argument 52 overrideSettings.setTo(overrides); in updateOverrideSettings()
|
/frameworks/av/media/libstagefright/tests/ |
D | MediaCodecListOverrides_test.cpp | 141 AString overrides; in TEST_F() local 150 overrides.setTo(buf, size); in TEST_F() 158 EXPECT_TRUE(overrides == expected); in TEST_F()
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 331 FrameRateOverride[] overrides) { in onFrameRateOverridesChanged() argument 383 FrameRateOverride[] overrides) { in dispatchFrameRateOverrides() argument 384 onFrameRateOverridesChanged(timestampNanos, physicalDisplayId, overrides); in dispatchFrameRateOverrides()
|
/frameworks/base/services/core/java/com/android/server/compat/overrides/ |
D | TEST_MAPPING | 7 "include-filter": "com.android.server.compat.overrides"
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 98 std::vector<FrameRateOverride> overrides) override; 270 nsecs_t timestamp, PhysicalDisplayId displayId, std::vector<FrameRateOverride> overrides) { in dispatchFrameRateOverrides() argument 282 auto frameRateOverrideArray = env->NewObjectArray(overrides.size(), frameRateOverrideClass, in dispatchFrameRateOverrides() 284 for (size_t i = 0; i < overrides.size(); i++) { in dispatchFrameRateOverrides() 286 env->NewObject(frameRateOverrideClass, frameRateOverrideInit, overrides[i].uid, in dispatchFrameRateOverrides() 287 overrides[i].frameRateHz); in dispatchFrameRateOverrides()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | SystemUiCarrierConfigTest.kt | 123 fun configWithOverrides(vararg overrides: Pair<String, Boolean>) = in <lambda>() 125 overrides.forEach { (key, value) -> config.putBoolean(key, value) } in <lambda>()
|
/frameworks/av/media/codec2/sfplugin/ |
D | TEST_MAPPING | 8 // failing 4 of 17, around max-input-size defaults & overrides
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | CompatConfigTest.java | 309 Map<Long, PackageOverride> overrides = new HashMap<>(); in testInstallerCanAddOverrides() local 310 overrides.put(disabledChangeId1, new PackageOverride.Builder() in testInstallerCanAddOverrides() 315 overrides.put(unknownChangeId, new PackageOverride.Builder().setEnabled(false).build()); in testInstallerCanAddOverrides() 316 CompatibilityOverrideConfig config = new CompatibilityOverrideConfig(overrides); in testInstallerCanAddOverrides() 395 Map<Long, PackageOverride> overrides = new HashMap<>(); in testPreventInstallerSetNonOverridable() local 396 overrides.put(disabledChangeId1, new PackageOverride.Builder().setEnabled(true).build()); in testPreventInstallerSetNonOverridable() 397 overrides.put(disabledChangeId2, new PackageOverride.Builder().setEnabled(true).build()); in testPreventInstallerSetNonOverridable() 398 overrides.put(disabledChangeId3, new PackageOverride.Builder().setEnabled(true).build()); in testPreventInstallerSetNonOverridable() 399 CompatibilityOverrideConfig config = new CompatibilityOverrideConfig(overrides); in testPreventInstallerSetNonOverridable() 427 Map<Long, PackageOverride> overrides = new HashMap<>(); in testCanAddOverridesForUnknownChangeIdOnDebugBuild() local [all …]
|
/frameworks/base/core/java/android/app/compat/ |
D | CompatChanges.java | 143 @NonNull Map<Long, PackageOverride> overrides) { in putPackageOverrides() argument 144 CompatibilityOverrideConfig config = new CompatibilityOverrideConfig(overrides); in putPackageOverrides()
|
/frameworks/native/cmds/idlcli/ |
D | utils.h | 33 namespace overrides { 72 using overrides::operator>>; 122 using overrides::operator>>; in get()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ICarrierConfigLoader.aidl | 34 void overrideConfig(int subId, in PersistableBundle overrides, boolean persistent); in overrideConfig() argument
|