Searched refs:mProcessWrapper (Results 1 – 4 of 4) sorted by relevance
47 ProcessWrapper mProcessWrapper; field in SystemProcessConditionTest69 final Condition condition = new SystemProcessCondition(mScope, mProcessWrapper); in testConditionFailsWithNonSystemProcess()70 when(mProcessWrapper.isSystemUser()).thenReturn(false); in testConditionFailsWithNonSystemProcess()90 final Condition condition = new SystemProcessCondition(mScope, mProcessWrapper); in testConditionSucceedsWithSystemProcess()91 when(mProcessWrapper.isSystemUser()).thenReturn(true); in testConditionSucceedsWithSystemProcess()
32 private final ProcessWrapper mProcessWrapper; field in SystemProcessCondition38 mProcessWrapper = processWrapper; in SystemProcessCondition()43 updateCondition(mProcessWrapper.isSystemUser()); in start()
32 private final ProcessWrapper mProcessWrapper; field in SystemUISecondaryUserService36 mProcessWrapper = processWrapper; in SystemUISecondaryUserService()42 if (mProcessWrapper.isSystemUser()) { in onCreate()
80 private ProcessWrapper mProcessWrapper; field in SystemUIApplication120 mProcessWrapper = rootComponent.getProcessWrapper(); in onCreate()138 if (mProcessWrapper.isSystemUser()) { in onCreate()241 return mProcessWrapper.isSystemUser(); in shouldStartSystemUserServices()245 return !mProcessWrapper.isSystemUser(); in shouldStartSecondaryUserServices()