For a given Android device (Samsung Galaxy J7), the partition layout can be determined in a number of ways. The partitions file under /proc would give us details about all of the partitions available on the device.
The following screenshot shows the content of the partitions file:
The preceding entries show only the block names. To get a mapping of these blocks to their logical functions, check the contents of the directory by name present under /dev/block/platform/13540000.dwmmc0. The following screenshot shows the content of this directory: