test_class.declarator: EXPECTED_ACCOUNT = "abcd@xyz.com"
test_class.modifier: private static final
test_class.original_string: private static final String EXPECTED_ACCOUNT = "abcd@xyz.com";
test_class.type: String
test_class.var_name: EXPECTED_ACCOUNT
test_class.declarator: mockedCredential
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GoogleAccountCredential mockedCredential;
test_class.type: GoogleAccountCredential
test_class.var_name: mockedCredential
test_class.declarator: mockPreferences
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GeneralSharedPreferences mockPreferences;
test_class.type: GeneralSharedPreferences
test_class.var_name: mockPreferences
test_class.declarator: mockIntent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Intent mockIntent;
test_class.type: Intent
test_class.var_name: mockIntent
test_class.declarator: mockThemeUtils
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ThemeUtils mockThemeUtils;
test_class.type: ThemeUtils
test_class.var_name: mockThemeUtils
test_class.declarator: currentAccount
test_class.modifier: private
test_class.original_string: private String currentAccount;
test_class.type: String
test_class.var_name: currentAccount
test_class.declarator: savedAccount
test_class.modifier: private
test_class.original_string: private String savedAccount;
test_class.type: String
test_class.var_name: savedAccount
test_class.declarator: googleAccountsManager
test_class.modifier: private
test_class.original_string: private GoogleAccountsManager googleAccountsManager;
test_class.type: GoogleAccountsManager
test_class.var_name: googleAccountsManager
test_class.file: collect_app/src/test/java/org/odk/collect/android/utilities/gdrive/GoogleAccountsManagerTest.java
test_class.identifier: GoogleAccountsManagerTest
test_case.body: @Test
      public void isAccountNotSelectedAtStartTest() {
          assertFalse(googleAccountsManager.isAccountSelected());
      }
test_case.class_method_signature: GoogleAccountsManagerTest.isAccountNotSelectedAtStartTest()
test_case.full_signature: @Test public void isAccountNotSelectedAtStartTest()
test_case.identifier: isAccountNotSelectedAtStartTest
test_case.invocations: assertFalse isAccountSelected
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isAccountNotSelectedAtStartTest()
focal_class.declarator: transport
focal_class.modifier: @Nullable
      private
focal_class.original_string: @Nullable
      private HttpTransport transport;
focal_class.type: HttpTransport
focal_class.var_name: transport
focal_class.declarator: jsonFactory
focal_class.modifier: @Nullable
      private
focal_class.original_string: @Nullable
      private JsonFactory jsonFactory;
focal_class.type: JsonFactory
focal_class.var_name: jsonFactory
focal_class.declarator: intentChooseAccount
focal_class.modifier: private
focal_class.original_string: private Intent intentChooseAccount;
focal_class.type: Intent
focal_class.var_name: intentChooseAccount
focal_class.declarator: context
focal_class.modifier: private
focal_class.original_string: private Context context;
focal_class.type: Context
focal_class.var_name: context
focal_class.declarator: driveHelper
focal_class.modifier: private
focal_class.original_string: private DriveHelper driveHelper;
focal_class.type: DriveHelper
focal_class.var_name: driveHelper
focal_class.declarator: sheetsHelper
focal_class.modifier: private
focal_class.original_string: private SheetsHelper sheetsHelper;
focal_class.type: SheetsHelper
focal_class.var_name: sheetsHelper
focal_class.declarator: credential
focal_class.modifier: private
focal_class.original_string: private GoogleAccountCredential credential;
focal_class.type: GoogleAccountCredential
focal_class.var_name: credential
focal_class.declarator: preferences
focal_class.modifier: private
focal_class.original_string: private GeneralSharedPreferences preferences;
focal_class.type: GeneralSharedPreferences
focal_class.var_name: preferences
focal_class.declarator: themeUtils
focal_class.modifier: private
focal_class.original_string: private ThemeUtils themeUtils;
focal_class.type: ThemeUtils
focal_class.var_name: themeUtils
focal_class.file: collect_app/src/main/java/org/odk/collect/android/utilities/gdrive/GoogleAccountsManager.java
focal_class.identifier: GoogleAccountsManager
focal_class.class_method_signature: GoogleAccountsManager.GoogleAccountsManager(@NonNull Context context)
focal_class.full_signature: @Inject public  GoogleAccountsManager(@NonNull Context context)
focal_class.identifier: GoogleAccountsManager
focal_class.modifiers: @Inject public
focal_class.parameters: (@NonNull Context context)
focal_class.signature:  GoogleAccountsManager(@NonNull Context context)
focal_class.class_method_signature: GoogleAccountsManager.GoogleAccountsManager(@NonNull GoogleAccountCredential credential,
                                   @NonNull GeneralSharedPreferences preferences,
                                   @NonNull Intent intentChooseAccount,
                                   @NonNull ThemeUtils themeUtils
      )
focal_class.full_signature: public  GoogleAccountsManager(@NonNull GoogleAccountCredential credential,
                                   @NonNull GeneralSharedPreferences preferences,
                                   @NonNull Intent intentChooseAccount,
                                   @NonNull ThemeUtils themeUtils
      )
focal_class.identifier: GoogleAccountsManager
focal_class.modifiers: public
focal_class.parameters: (@NonNull GoogleAccountCredential credential,
                                   @NonNull GeneralSharedPreferences preferences,
                                   @NonNull Intent intentChooseAccount,
                                   @NonNull ThemeUtils themeUtils
      )
focal_class.signature:  GoogleAccountsManager(@NonNull GoogleAccountCredential credential,
                                   @NonNull GeneralSharedPreferences preferences,
                                   @NonNull Intent intentChooseAccount,
                                   @NonNull ThemeUtils themeUtils
      )
focal_class.class_method_signature: GoogleAccountsManager.initCredential(@NonNull Context context)
focal_class.full_signature: private void initCredential(@NonNull Context context)
focal_class.identifier: initCredential
focal_class.modifiers: private
focal_class.parameters: (@NonNull Context context)
focal_class.return: void
focal_class.signature: void initCredential(@NonNull Context context)
focal_class.class_method_signature: GoogleAccountsManager.showSettingsDialog(Activity activity)
focal_class.full_signature: public static void showSettingsDialog(Activity activity)
focal_class.identifier: showSettingsDialog
focal_class.modifiers: public static
focal_class.parameters: (Activity activity)
focal_class.return: void
focal_class.signature: void showSettingsDialog(Activity activity)
focal_class.class_method_signature: GoogleAccountsManager.isAccountSelected()
focal_class.full_signature: public boolean isAccountSelected()
focal_class.identifier: isAccountSelected
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAccountSelected()
focal_class.class_method_signature: GoogleAccountsManager.getLastSelectedAccountIfValid()
focal_class.full_signature: @NonNull public String getLastSelectedAccountIfValid()
focal_class.identifier: getLastSelectedAccountIfValid
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLastSelectedAccountIfValid()
focal_class.class_method_signature: GoogleAccountsManager.selectAccount(String accountName)
focal_class.full_signature: public void selectAccount(String accountName)
focal_class.identifier: selectAccount
focal_class.modifiers: public
focal_class.parameters: (String accountName)
focal_class.return: void
focal_class.signature: void selectAccount(String accountName)
focal_class.class_method_signature: GoogleAccountsManager.getAccountPickerCurrentAccount()
focal_class.full_signature: private Account getAccountPickerCurrentAccount()
focal_class.identifier: getAccountPickerCurrentAccount
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Account
focal_class.signature: Account getAccountPickerCurrentAccount()
focal_class.class_method_signature: GoogleAccountsManager.getDriveHelper()
focal_class.full_signature: public DriveHelper getDriveHelper()
focal_class.identifier: getDriveHelper
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DriveHelper
focal_class.signature: DriveHelper getDriveHelper()
focal_class.class_method_signature: GoogleAccountsManager.getSheetsHelper()
focal_class.full_signature: public SheetsHelper getSheetsHelper()
focal_class.identifier: getSheetsHelper
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SheetsHelper
focal_class.signature: SheetsHelper getSheetsHelper()
focal_class.class_method_signature: GoogleAccountsManager.getToken()
focal_class.full_signature: public String getToken()
focal_class.identifier: getToken
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getToken()
focal_class.class_method_signature: GoogleAccountsManager.getAccountChooserIntent()
focal_class.full_signature: public Intent getAccountChooserIntent()
focal_class.identifier: getAccountChooserIntent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Intent
focal_class.signature: Intent getAccountChooserIntent()
focal_method.body: public boolean isAccountSelected() {
          return credential.getSelectedAccountName() != null;
      }
focal_method.class_method_signature: GoogleAccountsManager.isAccountSelected()
focal_method.full_signature: public boolean isAccountSelected()
focal_method.identifier: isAccountSelected
focal_method.invocations: getSelectedAccountName
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isAccountSelected()