Operating System

What does m mean in Linux Kernel Configuration File?

Linux Kernel has multiple configuration which can be enabled on the need basis. CONFIG_UNIX=m Above is an example of configuration. A configuration can one of the possible value y : Yes, it is always installed n: No, never installed m: Module, it can be installed and uninstalled as you wish

2022-11-14T18:33:40+05:30Categories: Linux|

interface_cast and asBinder Explanation

Binder in Android are used for Inter Process Communication. In Android code base, interface_cast and asBinder function are used at multiple places in context of Binder. This article tries to explain the interpretation of these API. interface_cast Let's analyze it based on the following ICameraClient example: // https://android.googlesource.com/platform/frameworks/av/+/refs/heads/master/camera/ICamera.cpp sp<ICameraClient> cameraClient [...]

2022-06-10T19:20:20+05:30Categories: Android|

Binder Native and Proxy Object in Android

Binder framework takes an object-oriented approach in its design principle and every entity that is capable of serving inter-process calls is a user-space object. In native user space the IBinder is the base class of all kinds of Binder objects i.e. proxy objects and native objects. All native Binder objects [...]

2022-06-07T18:53:22+05:30Categories: Android|Tags: |

What is Binder in Android ?

There are several techniques to achieve IPC (Inter-process communication) like files, sockets, signals, pipes, message queues, semaphores, shared memory, etc. Binder is an Android-specific IPC mechanism, which enables an RPC (remote procedure call) mechanism between the client and server processes. Client process can execute remote methods in the server process [...]

2022-03-30T19:55:33+05:30Categories: Android|Tags: |

Working With Environment Variable in Linux

Environment variables are a set of dynamic named values in Linux, used by applications launched in shell. It allow you to customize how the system works and the behavior of the applications. For example, the environment variable can store information about the default browser or the path to executable files. [...]

2022-03-29T19:11:11+05:30Categories: Linux|

Working with Directory in Linux

In this article, we will show you how to work with directory in Linux. We can create a directory using mkdir command. To delete a directory use rmdir command. Current Working Directory To find the current working directory, use pwd command as shown below. pwd What the pwd does is [...]

2022-03-10T19:30:31+05:30Categories: Linux|

List Files and Directories in Linux

The ls command list files and directories in Linux within the file system, and shows detailed information about them. This article will show you how to use the ls command through examples and most common ls options. Below is the syntax of the command ls [OPTION]... [FILE]... When used with [...]

2022-04-29T15:03:28+05:30Categories: Linux|

Advanced Configuration and Power Interface Specification

ACPI system description tables Advanced Configuration and Power Interface Specification (ACPI) defines a generic, extensible table-passing mechanism, plus specific tables for describing the platform to the operating system. Table structures and headers, including ID and checksum fields, are defined in the ACPI specification.  Tables enable to code generic software to [...]

2022-02-09T17:18:18+05:30Categories: Windows|

MessageQueue, Handler and Looper in Android

Looper, Handler, MessageQueue, and HandlerThread are useful in asynchronous programming. Handler and Looper working Message Message is a data object. It contains payload of the message. Message class implements Parcelable interface (so that it can be put in extras to bundles and intents). Primarily it is: int what — message [...]

2022-01-07T10:03:16+05:30Categories: Android|Tags: |

Command Line Hacks in Linux

Open current directory from Terminalxdg-open .Above command will be open current directory (single dot) in file explorer. xdg-open opens a file or URL in the user's preferred application. Syntax of the command isxdg-open {file URL}Open website from Terminalxdg-open 'http://www.freedesktop.org/'

2021-12-18T10:59:00+05:30Categories: Linux|Tags: |
Go to Top