Searched refs:onCompatChange (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | PlatformCompatTest.java | 146 verify(mListener1, times(2)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverrides() 158 verify(mListener1, never()).onCompatChange("other.package"); in testListenerNotCalledOnWrongPackage() 169 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 170 verify(mListener2, never()).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 181 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 182 verify(mListener2, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListeners() 194 verify(mListener1, times(2)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesForTest() 205 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListenersForTest() 206 verify(mListener2, never()).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListenersForTest() 217 verify(mListener1, times(1)).onCompatChange(PACKAGE_NAME); in testListenerCalledOnSetOverridesTwoListenersForTest() [all …]
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatChange.java | 58 void onCompatChange(String packageName); in onCompatChange() method 187 mListener.onCompatChange(packageName); in notifyListener()
|