public PTransacts()

in niap-cc/Permissions/Tester/app/src/main/java/com/android/certifications/niap/permissions/utils/Transacts.java [406:643]


        public PTransacts() {
            super();
            mDeviceApiLevel = Build.VERSION_CODES.P;

            Map<String, Integer> transactIds = new HashMap<>();
            transactIds.put(getActiveServiceComponentName, 20);
            transactIds.put(updateKeyphraseSoundModel, 14);
            mDescriptorTransacts.put(VOICE_INTERACTION_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(bootFinished, 1);
            transactIds.put(showCpu, 1000);
            mDescriptorTransacts.put(SURFACE_FLINGER_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(resetTimeout, 13);
            transactIds.put(cancelEnrollment, 4);
            mDescriptorTransacts.put(FINGERPRINT_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(retainSubscriptionsForFactoryReset, 12);
            mDescriptorTransacts.put(EUICC_CONTROLLER_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(reboot, 18);
            transactIds.put(setPowerSaveMode, 15);
            mDescriptorTransacts.put(POWER_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(notifySystemEvent, 14);
            mDescriptorTransacts.put(CAMERA_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(isRecognitionActive, 12);
            mDescriptorTransacts.put(SOUND_TRIGGER_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(grantPermissionFromUser, 11);
            mDescriptorTransacts.put(SLICE_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setRingtonePlayer, 47);
            transactIds.put(getRingtonePlayer, 48);
            transactIds.put(isAudioServerRunning, 83);
            mDescriptorTransacts.put(AUDIO_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(noteStartAudio, 5);
            transactIds.put(getAwakeTimeBattery, 75);
            mDescriptorTransacts.put(BATTERY_STATS_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(onApplicationActive, 19);
            mDescriptorTransacts.put(SHORTCUT_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setWallpaper, 1);
            mDescriptorTransacts.put(WALLPAPER_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getVtDataUsage, 173);
            transactIds.put(enableLocationUpdates, 34);
            mDescriptorTransacts.put(TELEPHONY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(requestEmbeddedSubscriptionInfoListRefresh, 11);
            mDescriptorTransacts.put(ISUB_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getActiveNotifications, 38);
            transactIds.put(getZenRules, 90);
            transactIds.put(isNotificationPolicyAccessGrantedForPackage, 86);
            mDescriptorTransacts.put(NOTIFICATION_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(movePackage, 126);
            transactIds.put(installExistingPackageAsUser, 131);
            transactIds.put(addOnPermissionsChangeListener, 159);
            transactIds.put(getHarmfulAppWarning, 190);
            transactIds.put(isPackageDeviceAdminOnAnyUser, 179);
            transactIds.put(isPackageStateProtected, 194);
            transactIds.put(getMoveStatus, 123);
            transactIds.put(resetApplicationPreferences, 66);
            mDescriptorTransacts.put(PACKAGE_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getSubscriptionPlans, 18);
            transactIds.put(getUidPolicy, 4);
            transactIds.put(registerListener, 6);
            mDescriptorTransacts.put(NET_POLICY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setTimeZone, 3);
            transactIds.put(setTime, 2);
            mDescriptorTransacts.put(ALARM_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getActiveProjectionInfo, 4);
            mDescriptorTransacts.put(MEDIA_PROJECTION_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setPersistentVrModeEnabled, 7);
            transactIds.put(getVrModeState, 5);
            transactIds.put(setStandbyEnabled, 11);
            mDescriptorTransacts.put(VR_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getCacheSizeBytes, 77);
            transactIds.put(getEncryptionState, 32);
            transactIds.put(benchmark, 60);
            mDescriptorTransacts.put(MOUNT_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setDataSaverModeEnabled, 50);
            mDescriptorTransacts.put(NETWORK_MANAGEMENT_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(bindBackupAgent, 88);
            transactIds.put(performIdleMaintenance, 180);
            transactIds.put(setDumpHeapDebugLimit, 225);
            transactIds.put(updateLockTaskPackages, 228);
            transactIds.put(getGrantedUriPermissions, 263);
            transactIds.put(setHasTopUi, 285);
            transactIds.put(dismissKeyguard, 289);
            transactIds.put(resumeAppSwitches, 87);
            transactIds.put(getContentProviderExternal, 138);
            transactIds.put(getIntentForIntentSender, 161);
            transactIds.put(getTaskDescription, 80);
            transactIds.put(getAssistContextExtras, 162);
            transactIds.put(unhandledBack, 7);
            transactIds.put(inputDispatchingTimedOut, 159);
            transactIds.put(setFrontActivityScreenCompatMode, 123);
            transactIds.put(setAlwaysFinish, 38);
            transactIds.put(startActivityFromRecents, 198);
            transactIds.put(releasePersistableUriPermission, 182);
            transactIds.put(requestBugReport, 156);
            transactIds.put(getFrontActivityScreenCompatMode, 122);
            transactIds.put(setProcessLimit, 47);
            transactIds.put(signalPersistentProcesses, 55);
            transactIds.put(updateConfiguration, 43);
            transactIds.put(appNotRespondingViaProvider, 184);
            transactIds.put(shutdown, 85);
            mDescriptorTransacts.put(ACTIVITY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(awaken, 2);
            transactIds.put(isDreaming, 7);
            mDescriptorTransacts.put(DREAMS_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setTemporaryAutoBrightnessAdjustment, 26);
            transactIds.put(startWifiDisplayScan, 4);
            transactIds.put(requestColorMode, 13);
            mDescriptorTransacts.put(DISPLAY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setAnimationScale, 47);
            transactIds.put(requestUserActivityNotification, 92);
            transactIds.put(removeWindowToken, 18);
            transactIds.put(thawRotation, 60);
            transactIds.put(registerShortcutKey, 85);
            transactIds.put(clearWindowContentFrameStats, 76);
            transactIds.put(overridePendingAppTransitionRemote, 30);
            transactIds.put(setRecentsVisibility, 67);
            transactIds.put(stopFreezingScreen, 36);
            transactIds.put(dismissKeyguard, 42);
            transactIds.put(screenshotWallpaper, 62);
            mDescriptorTransacts.put(WINDOW_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setUserRestriction, 20);
            transactIds.put(noteOperation, 2);
            mDescriptorTransacts.put(APP_OPS_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(temporaryEnableAccessibilityStateUntilKeyguardRemoved, 11);
            transactIds.put(registerUiTestAutomationService, 9);
            transactIds.put(setPictureInPictureActionReplacingConnection, 8);
            transactIds.put(getWindowToken, 12);
            mDescriptorTransacts.put(ACCESSIBILITY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setBindAppWidgetPermission, 20);
            mDescriptorTransacts.put(APPWIDGET_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setBackupEnabled, 7);
            mDescriptorTransacts.put(BACKUP_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(reportEnabledTrustAgentsChanged, 3);
            transactIds.put(unregisterTrustListener, 5);
            mDescriptorTransacts.put(TRUST_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getWifiApConfiguration, 48);
            transactIds.put(stopSoftAp, 42);
            transactIds.put(setWifiEnabled, 25);
            mDescriptorTransacts.put(WIFI_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getControlFd, 21);
            mDescriptorTransacts.put(USB_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(installCaCert, 82);
            transactIds.put(getDoNotAskCredentialsOnBoot, 181);
            transactIds.put(setDeviceOwner, 65);
            mDescriptorTransacts.put(DEVICE_POLICY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getNextEntry, 3);
            mDescriptorTransacts.put(DROPBOX_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(tether, 20);
            transactIds.put(getAlwaysOnVpnPackage, 48);
            transactIds.put(getActiveNetworkForUid, 2);
            transactIds.put(startNattKeepalive, 72);
            mDescriptorTransacts.put(CONNECTIVITY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(forceUpdate, 8);
            mDescriptorTransacts.put(NETWORK_STATS_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setOnMediaKeyListener, 12);
            transactIds.put(setOnVolumeKeyLongPressListener, 11);
            mDescriptorTransacts.put(MEDIA_SESSION_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setTouchCalibrationForInputDevice, 10);
            transactIds.put(isInTabletMode, 20);
            transactIds.put(addKeyboardLayoutForInputDevice, 17);
            transactIds.put(enableInputDevice, 4);
            transactIds.put(tryPointerSpeed, 7);
            mDescriptorTransacts.put(INPUT_DESCRIPTOR, transactIds);
        }