Searched refs:mco (Results 1 – 2 of 2) sorted by relevance
1168 final MockContentObserver mco = new MockContentObserver(); in testRegisterContentObserver() local1170 mContentResolver.registerContentObserver(TABLE1_URI, true, mco); in testRegisterContentObserver()1171 assertFalse(mco.hadOnChanged()); in testRegisterContentObserver()1180 return mco.hadOnChanged(); in testRegisterContentObserver()1184 mco.reset(); in testRegisterContentObserver()1185 mContentResolver.unregisterContentObserver(mco); in testRegisterContentObserver()1186 assertFalse(mco.hadOnChanged()); in testRegisterContentObserver()1189 assertFalse(mco.hadOnChanged()); in testRegisterContentObserver()1192 mContentResolver.registerContentObserver(null, false, mco); in testRegisterContentObserver()1217 final MockContentObserver mco = new MockContentObserver(); in testRegisterContentObserverForAllUsersWithoutPermission() local[all …]
377 final MockContentObserver mco = new MockContentObserver(); in testRegisterContentObserver() local379 Settings.Config.registerContentObserver(NAMESPACE1, true, mco); in testRegisterContentObserver()380 assertFalse(mco.hadOnChanged()); in testRegisterContentObserver()386 return mco.hadOnChanged(); in testRegisterContentObserver()390 mco.reset(); in testRegisterContentObserver()391 Settings.Config.unregisterContentObserver(mco); in testRegisterContentObserver()392 assertFalse(mco.hadOnChanged()); in testRegisterContentObserver()395 assertFalse(mco.hadOnChanged()); in testRegisterContentObserver()398 Settings.Config.registerContentObserver(null, false, mco); in testRegisterContentObserver()