Home
last modified time | relevance | path

Searched refs:findSendToAccount (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java18 import static com.android.shell.BugreportProgressService.findSendToAccount;
107 final Pair<UserHandle, Account> actual = findSendToAccount(mTestContext, preferredDomain); in checkFindSendToAccount()
121 assertNull(findSendToAccount(mTestContext, null)); in findSendToAccount_noWorkProfile()
122 assertNull(findSendToAccount(mTestContext, "")); in findSendToAccount_noWorkProfile()
123 assertNull(findSendToAccount(mTestContext, "android.com")); in findSendToAccount_noWorkProfile()
124 assertNull(findSendToAccount(mTestContext, "@android.com")); in findSendToAccount_noWorkProfile()
188 assertNull(findSendToAccount(mTestContext, null)); in findSendToAccount_withWorkProfile_noAccounts()
189 assertNull(findSendToAccount(mTestContext, "")); in findSendToAccount_withWorkProfile_noAccounts()
190 assertNull(findSendToAccount(mTestContext, "android.com")); in findSendToAccount_withWorkProfile_noAccounts()
191 assertNull(findSendToAccount(mTestContext, "@android.com")); in findSendToAccount_withWorkProfile_noAccounts()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java933 final Pair<UserHandle, Account> sendToAccount = findSendToAccount(context, in buildSendIntent()
1231 static Pair<UserHandle, Account> findSendToAccount(Context context, String preferredDomain) { in findSendToAccount() method in BugreportProgressService