E Vehicle Android General - 4 Flashcards

1
Q

Some teams chose not to do PR’s when merging release to master and some do. Why is it a good idea?

A

It is a good idea so that developers on the team can check the PR to make sure that the changes that they did are included.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Who makes the dashboard app?

A

Vehicle handles the BFF and coolfire does the Android.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many different passwords do we use at Enterprise?

A

Main windows password (Still need this even though I use mac) and the 2 application passwords - IProd and Ext-Qa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you check the IT asset tag number on a FCI zebra device?

A

While it is on, press the power button once and it will display the asset tag number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you check your payroll information?

A

In the internet explorer startup page, click Payroll WorkCenter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does CVD stand for?

A

Consolidated Vehicle Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does Terra stand for?

A

The advanced rental ready application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does SEEK stand for?

A

Search Everything Enterprise Knows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain the steps of getting into condition through open using a walkup. OR do it on the tablet or emulator.

A

Open open. Select walk up from the hamburger menu. Select a date Enter a loyalty number (such as W48798F) press the magnifier glass from the keypad popup Choose “retail” for the rental type Click Next Select a car class Press create rental click next click yes click next click next Enter vehicle number Click the vehicle Select unit Select a rate Click through and click no new damage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Very basically, what is splunk and what do we use it for?

A

It is a tool that logs data. Enterprises splunk site logs all enterprise data and we can filter the data using search queries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In a Splunk query, what happens when you put a space between parameters?

A

An AND operator will be inferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does VOS stand for, what service is it connected to and what is it for?

A

Vehicle Operation Services It is connected to CVD. It is for keeping track of vehicle info like it’s status, damage, fuel. Basically everything except rental status info.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does ICS stand for?

A

Inventory Control Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In Bitbucket can you go back and look at old branches and PRs? How so?

A

Yes, you can look at branches by selecting the branches icon on the left side or PR’s by going to the PRs page and selecting merged in the drop down filter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In our APK code, should storedLocation ever be null?

A

No, if it is, there is an error.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

If I am unable to checkout a branch in git and stack overflow says to delete your git lock file, what should you do?

A

As long as I don’t have any commit or other actions in progress, it is safe to delete the git lock file from the repo.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

In Jira, how do you indicate that a story is blocked by another story?

A

Mark it as blocked and then scroll down to “issue links” and click the plus sign on the right side. Then say blocked by whatever story.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Do we use the ‘m’ prefix in our code?

A

No, our team doesn’t do that anymore.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Basically, in our the Android Vehicle code, what do the service transformers do?

A

They prepare objects to be sent back to the BFF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

In our Android Vehicle code, what classes do we use to prepare objects to be sent back to the BFF?

A

Service Transformers

21
Q

In android, explain cancelable

A

It means that you can click outside of the dialog box or the device back button and exit the dialog. It is a method that takes a boolean, so you can set it to either true or false to force users to use the dialog box to continue.

22
Q

Generally describe the relationship with quick claim and claim info and what the APK does regarding them.

A

We get quick claim object from the BFF and convert it into the object that we use, claimInfo. This is done with createClaimInfoFromQuickClaim in ClaimServiceTranformer

23
Q

quickClaim is a DTO. Explain what that means and what we do with quickClaim.

A

A DTO stands for data transfer object which means it should only be used for transferring data and we should not modify it. We take in quickClaim and convert the data sent with it into a ClaimInfo object that we will use for APK.

24
Q

If I get a 9999 error on the tablet when trying to log into condition, what should I do to fix it?

A

First, go to the internet app, press home and sign in to the EHI log in. Then, close all apps and try to sign in again. If that doesn’t work, Update the auth app via suite instaler or hockey app, starting with uat.

25
Q

What is the advantage to using DTOs only as a transfer object, and not an object that you use in the APK?

A

It follows the separation of concerns concept. It allows the BFF and the APK to be separate. If the BFF changes the DTO, it wont break us.

26
Q

What is the package in the APK that has the objects that we pass to the BFF and they pass to us?

A

models\BFF

27
Q

What is a DTO and what do we do with it.

A

A DTO stands for data transfer object. It should only be used to transfer data and when we get a DTO we should convert it into an object that we will use.

28
Q

Do I have access to other repos like open and close? What can I do with them?

A

I have access to them in bit bucket. I can look at them there and I can also clone them.

29
Q

Although we don’t always follow this, in the vehicle android team, who did we originally say should be the one to merge the pull request?

A

The second reviewer.

30
Q

Why do we send data back to the BFF? What type of CRUD operation is this?

A

We send info back to them to update the data in the database like vehicle information. These are PUT operations.

31
Q

What is the passcode to unlock the tablet? What is the passcode to unlock the zebra device?

A

Tablet - 8259 Zebra - 1210

32
Q

What does LOE stand for? Example: Can we get an LOE for this story?

A

Level of effort

33
Q

What does KPI stand for?

A

Key Performance Indicator

34
Q

RXJava, RXjs, RXAndroid are all examples of using ____ .

A

Reactive Architecture.

35
Q

In Spunk, commands are separated by what? If not specified, what is the first command?

A

Pipe bars like this: | Search

36
Q

In our Vehicle Android code, what class controls the feature flag map?

A

VehicleBranchInfoHolder which extends BranchInfoHolder which is an EHI framework class and cannot be edited by us.

37
Q

Explain what this change is doing in the ScanActivity class.

A

It is clearing the featureflags and then changing the intent form the current intent, from Scan Activity, to the intent of the SetLocationActivity, which we want so that the user will have to set their location again.

38
Q

Explain the difference between BaseActivityTest and TestBaseActivity.

A

BaseActivityTest has the actual tests. TestBaseActivity is used to mock calls for testing.

39
Q

While looping through a list, can you modify the list? If you want to do this, what would be a solution?

A

No, not while you are looping over it. You could create a new list and populate it how you want while looping over the original list and use the new list for what you want or replace the original list with it.

40
Q

Generally explain what Buy Terms is

A

When enterprise buys a vehicle, they are under contract to use it for X amount of miles or own it for X amount of days before selling it. Our project determines if the vehicle is “eligible to delete” based on these requirements.

41
Q

What is the launcherApp?

A

It is supposed to simulate coming into condition from other apps like open and close. We can set what we expect to be passed from those apps.

42
Q

Should you have logic such as if else statements in Activities?

A

No, you shouldn’t really have logic in Activities.

43
Q

Activities are part of what part of the MVVM architecture? Fragments are part of what part of the MVVM architecture?

A

Both are part of the View

44
Q

What are the three big imporvements that Android Jetpack is pushing?

A

RXJava, MVVM, DataBinding

45
Q

How do you run all tests in a package?

A

Make sure first that you are on the appropriate testing build variant such as ArmMockServices for physical device and X86MockServices for emulator. Right click and click run all tests in

46
Q

For the vehicle Android team, what app is manual search used in?

A

Final Check In

47
Q

When you are running an android app and want to attach the debugger without rerunning the whole thing, what can you do?

A

You can attach the debugger by pressing the button in the top right of Android Studio that is the rectangle with with the bug icon called “attach debugger”

48
Q

What is the code for starting an activity with the current activities intent? What is it with a different activities intent?

A

startActivity(getIntent()); Intent intent = new Intent(this, DifferentActivity.class); startActivity(intent);

49
Q

How do you open the emulator just on its own without running the app?

A

Open the android virtual device manager using the icon in the top right of android studio.