Searched refs:mProcessWrapper (Results 1 – 2 of 2) 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()