Samsung
10+ Securitas Interview Questions and Answers
Q1. How Android buffers are passed from application to drivers.
Android buffers are passed from application to drivers through shared memory and buffer queues.
Android applications communicate with drivers through the HAL (Hardware Abstraction Layer)
Buffers are typically passed using shared memory regions
Buffer queues are used to manage the flow of data between application and driver
Example: Camera application passing image data to camera driver for processing
Q2. what is the challenge while creating multiple services in Android
The challenge while creating multiple services in Android is managing communication between services and ensuring proper synchronization.
Managing communication between services can be complex and error-prone.
Ensuring proper synchronization between services to avoid race conditions and data inconsistencies.
Handling dependencies between services and coordinating their interactions.
Testing and debugging multiple services can be challenging.
Examples: Implementing a music player a...read more
Q3. What is manifestation file and how is it used?
A manifestation file is a configuration file used to define the properties and settings of a software application.
Manifestation files typically include information such as the application's name, version, dependencies, and permissions.
They are commonly used in software development to ensure that the application runs correctly and has access to necessary resources.
Examples of manifestation files include AndroidManifest.xml for Android applications and package.json for Node.js ...read more
Q4. What happens if LINUX faces a hardware interrupt
When LINUX faces a hardware interrupt, it stops executing the current code and jumps to a specific interrupt handler.
LINUX stops executing the current code and jumps to a specific interrupt handler
The interrupt handler processes the interrupt and resumes normal execution afterwards
Different hardware interrupts are handled by different interrupt handlers
Q5. Describe about Permission files/SE Linux policy
Permission files/SE Linux policy control access to resources based on rules set by administrators.
Permission files define who can access a file or directory and what actions they can perform.
SE Linux policy is a security mechanism that enforces rules on how processes interact with resources.
SE Linux policy is based on labels assigned to processes and resources, determining access permissions.
SE Linux policy can be customized by administrators to meet specific security require...read more
Q6. a scenario to create a new Android service
Creating a new Android service
Define a class that extends Service class
Override onStartCommand() method to handle service logic
Register the service in AndroidManifest.xml file
Q7. 1. Find the max 3 items in a unsorted array
Find the max 3 items in an unsorted array of strings.
Sort the array in descending order.
Return the first 3 elements of the sorted array.
Q8. How to manage gralloc buffers
Managing gralloc buffers involves allocating, locking, and freeing memory for graphics rendering in Android.
Allocate gralloc buffer using gralloc_alloc() function
Lock buffer for reading or writing using gralloc_lock() function
Free buffer using gralloc_free() function
Example: gralloc_alloc(usage, width, height, format, &handle)
Example: gralloc_lock(handle, usage, left, top, width, height, &vaddr)
Q9. what is HIDL vs AIDL
HIDL stands for Hardware Interface Definition Language and is used for communication between HAL and framework. AIDL stands for Android Interface Definition Language and is used for inter-process communication in Android.
HIDL is used for communication between Hardware Abstraction Layer (HAL) and framework in Android
AIDL is used for inter-process communication in Android
HIDL is more efficient and faster than AIDL
Q10. boot up Android sequence
The Android boot up sequence involves several stages including power on, bootloader, kernel initialization, system server startup, and app launch.
Power on the device
Bootloader loads the Android OS kernel
Kernel initializes the system and drivers
System server starts up and launches essential services
Apps are launched and user interface becomes accessible
More about working at Samsung
Interview Process at Securitas
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month