E Vehicle Android General - 4 Flashcards
Some teams chose not to do PR’s when merging release to master and some do. Why is it a good idea?
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.
Who makes the dashboard app?
Vehicle handles the BFF and coolfire does the Android.
How many different passwords do we use at Enterprise?
Main windows password (Still need this even though I use mac) and the 2 application passwords - IProd and Ext-Qa
How do you check the IT asset tag number on a FCI zebra device?
While it is on, press the power button once and it will display the asset tag number.
How do you check your payroll information?
In the internet explorer startup page, click Payroll WorkCenter
What does CVD stand for?
Consolidated Vehicle Data
What does Terra stand for?
The advanced rental ready application.
What does SEEK stand for?
Search Everything Enterprise Knows
Explain the steps of getting into condition through open using a walkup. OR do it on the tablet or emulator.
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
Very basically, what is splunk and what do we use it for?
It is a tool that logs data. Enterprises splunk site logs all enterprise data and we can filter the data using search queries.
In a Splunk query, what happens when you put a space between parameters?
An AND operator will be inferred.
What does VOS stand for, what service is it connected to and what is it for?
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.
What does ICS stand for?
Inventory Control Service
In Bitbucket can you go back and look at old branches and PRs? How so?
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.
In our APK code, should storedLocation ever be null?
No, if it is, there is an error.
If I am unable to checkout a branch in git and stack overflow says to delete your git lock file, what should you do?
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.
In Jira, how do you indicate that a story is blocked by another story?
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.
Do we use the ‘m’ prefix in our code?
No, our team doesn’t do that anymore.
Basically, in our the Android Vehicle code, what do the service transformers do?
They prepare objects to be sent back to the BFF
In our Android Vehicle code, what classes do we use to prepare objects to be sent back to the BFF?
Service Transformers
In android, explain cancelable
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.
Generally describe the relationship with quick claim and claim info and what the APK does regarding them.
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
quickClaim is a DTO. Explain what that means and what we do with quickClaim.
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.
If I get a 9999 error on the tablet when trying to log into condition, what should I do to fix it?
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.
What is the advantage to using DTOs only as a transfer object, and not an object that you use in the APK?
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.
What is the package in the APK that has the objects that we pass to the BFF and they pass to us?
models\BFF
What is a DTO and what do we do with it.
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.
Do I have access to other repos like open and close? What can I do with them?
I have access to them in bit bucket. I can look at them there and I can also clone them.
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?
The second reviewer.
Why do we send data back to the BFF? What type of CRUD operation is this?
We send info back to them to update the data in the database like vehicle information. These are PUT operations.
What is the passcode to unlock the tablet? What is the passcode to unlock the zebra device?
Tablet - 8259 Zebra - 1210
What does LOE stand for? Example: Can we get an LOE for this story?
Level of effort
What does KPI stand for?
Key Performance Indicator
RXJava, RXjs, RXAndroid are all examples of using ____ .
Reactive Architecture.
In Spunk, commands are separated by what? If not specified, what is the first command?
Pipe bars like this: | Search
In our Vehicle Android code, what class controls the feature flag map?
VehicleBranchInfoHolder which extends BranchInfoHolder which is an EHI framework class and cannot be edited by us.
Explain what this change is doing in the ScanActivity class.

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.
Explain the difference between BaseActivityTest and TestBaseActivity.
BaseActivityTest has the actual tests. TestBaseActivity is used to mock calls for testing.
While looping through a list, can you modify the list? If you want to do this, what would be a solution?
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.
Generally explain what Buy Terms is
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.
What is the launcherApp?
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.
Should you have logic such as if else statements in Activities?
No, you shouldn’t really have logic in Activities.
Activities are part of what part of the MVVM architecture? Fragments are part of what part of the MVVM architecture?
Both are part of the View
What are the three big imporvements that Android Jetpack is pushing?
RXJava, MVVM, DataBinding
How do you run all tests in a package?
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
For the vehicle Android team, what app is manual search used in?
Final Check In
When you are running an android app and want to attach the debugger without rerunning the whole thing, what can you do?
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”
What is the code for starting an activity with the current activities intent? What is it with a different activities intent?
startActivity(getIntent()); Intent intent = new Intent(this, DifferentActivity.class); startActivity(intent);
How do you open the emulator just on its own without running the app?
Open the android virtual device manager using the icon in the top right of android studio.