Searched refs:onCompatChange (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | PlatformCompatTest.java | 208 verify(mListener1, times(2)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverrides() 223 verify(mListener1, never()).onCompatChange("other.package"); in testListenerNotCalledOnWrongPackage() 237 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 238 verify(mListener2, never()).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 249 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 250 verify(mListener2, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 265 verify(mListener1, times(2)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesForTest() 279 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesForTestTwoListeners() 280 verify(mListener2, never()).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesForTestTwoListeners() 291 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesForTestTwoListeners() [all …]
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatChange.java | 80 void onCompatChange(String packageName); in onCompatChange() method 411 mListener.onCompatChange(packageName); in notifyListener()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilter.java | 430 public void onCompatChange(String packageName) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 357 public void onCompatChange(String packageName) { in onCompatChange() method in OomAdjuster.PlatformCompatCache.CacheItem
|