public QTransacts()

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


        public QTransacts() {
            super();
            mDeviceApiLevel = Build.VERSION_CODES.Q;

            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(cancelAuthenticationFromService, 5);
            transactIds.put(resetTimeout, 16);
            transactIds.put(cancelEnrollment, 7);
            mDescriptorTransacts.put(FINGERPRINT_DESCRIPTOR, transactIds);

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

            transactIds = new HashMap<>();
            transactIds.put(takePersistableUriPermission, 1);
            transactIds.put(getGrantedUriPermissions, 4);
            mDescriptorTransacts.put(URI_GRANTS_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(reboot, 22);
            mDescriptorTransacts.put(POWER_DESCRIPTOR, transactIds);

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

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

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

            transactIds = new HashMap<>();
            transactIds.put(setRingtonePlayer, 56);
            transactIds.put(getRingtonePlayer, 57);
            transactIds.put(isAudioServerRunning, 93);
            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, 178);
            transactIds.put(enableLocationUpdates, 23);
            mDescriptorTransacts.put(TELEPHONY_DESCRIPTOR, transactIds);

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

            transactIds = new HashMap<>();
            transactIds.put(getActiveNotifications, 50);
            transactIds.put(getZenRules, 106);
            transactIds.put(isNotificationPolicyAccessGrantedForPackage, 102);
            mDescriptorTransacts.put(NOTIFICATION_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(movePackage, 129);
            transactIds.put(installExistingPackageAsUser, 134);
            transactIds.put(getRuntimePermissionsVersion, 207);
            transactIds.put(addOnPermissionsChangeListener, 162);
            transactIds.put(getHarmfulAppWarning, 194);
            transactIds.put(isPackageDeviceAdminOnAnyUser, 182);
            transactIds.put(isPackageStateProtected, 203);
            transactIds.put(getMoveStatus, 126);
            transactIds.put(resetApplicationPreferences, 69);
            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(getFrontActivityScreenCompatMode, 25);
            transactIds.put(getTaskDescription, 52);
            transactIds.put(getAssistContextExtras, 99);
            transactIds.put(setFrontActivityScreenCompatMode, 26);
            transactIds.put(startActivityAsCaller, 12);
            transactIds.put(dismissKeyguard, 134);
            mDescriptorTransacts.put(ACTIVITY_TASK_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, 46);
            mDescriptorTransacts.put(NETWORK_MANAGEMENT_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(unhandledBack, 8);
            transactIds.put(bindBackupAgent, 77);
            transactIds.put(setAlwaysFinish, 33);
            transactIds.put(performIdleMaintenance, 139);
            transactIds.put(startActivityFromRecents, 148);
            transactIds.put(setDumpHeapDebugLimit, 159);
            transactIds.put(updateLockTaskPackages, 161);
            transactIds.put(setHasTopUi, 185);
            transactIds.put(requestBugReport, 125);
            transactIds.put(resumeAppSwitches, 76);
            transactIds.put(getContentProviderExternal, 108);
            transactIds.put(getIntentForIntentSender, 128);
            transactIds.put(setProcessLimit, 40);
            transactIds.put(signalPersistentProcesses, 48);
            transactIds.put(updateConfiguration, 38);
            transactIds.put(appNotRespondingViaProvider, 140);
            transactIds.put(shutdown, 74);
            mDescriptorTransacts.put(ACTIVITY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(generateChallenge, 12);
            mDescriptorTransacts.put(FACE_DESCRIPTOR, transactIds);

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

            transactIds = new HashMap<>();
            transactIds.put(setTemporaryAutoBrightnessAdjustment, 27);
            transactIds.put(startWifiDisplayScan, 5);
            transactIds.put(requestColorMode, 14);
            mDescriptorTransacts.put(DISPLAY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(setAnimationScale, 35);
            transactIds.put(requestUserActivityNotification, 89);
            transactIds.put(removeWindowToken, 17);
            transactIds.put(thawRotation, 48);
            transactIds.put(registerShortcutKey, 80);
            transactIds.put(clearWindowContentFrameStats, 70);
            transactIds.put(overridePendingAppTransitionRemote, 20);
            transactIds.put(setRecentsVisibility, 61);
            transactIds.put(stopFreezingScreen, 24);
            transactIds.put(dismissKeyguard, 30);
            transactIds.put(screenshotWallpaper, 53);
            mDescriptorTransacts.put(WINDOW_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(clearHistory, 20);
            transactIds.put(setUserRestriction, 27);
            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(setBackupEnabled, 13);
            mDescriptorTransacts.put(BACKUP_DESCRIPTOR, transactIds);

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

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

            transactIds = new HashMap<>();
            transactIds.put(setSensorPrivacy, 4);
            mDescriptorTransacts.put(SENSOR_PRIVACY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(getWifiApConfiguration, 49);
            transactIds.put(stopSoftAp, 43);
            transactIds.put(setWifiEnabled, 26);
            mDescriptorTransacts.put(WIFI_DESCRIPTOR, transactIds);

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

            transactIds = new HashMap<>();
            transactIds.put(installCaCert, 85);
            transactIds.put(getDoNotAskCredentialsOnBoot, 186);
            transactIds.put(setDeviceOwner, 66);
            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, 78);
            mDescriptorTransacts.put(CONNECTIVITY_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(hasEnrolledBiometrics, 4);
            mDescriptorTransacts.put(BIOMETRIC_DESCRIPTOR, transactIds);

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

            transactIds = new HashMap<>();
            transactIds.put(addOnRoleHoldersChangedListenerAsUser, 7);
            mDescriptorTransacts.put(ROLE_DESCRIPTOR, transactIds);

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

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

            transactIds = new HashMap<>();
            transactIds.put(reloadPersistedData, 5);
            mDescriptorTransacts.put(ROLLBACK_DESCRIPTOR, transactIds);

            transactIds = new HashMap<>();
            transactIds.put(hideBiometricDialog, 45);
            transactIds.put(onBiometricHelp, 43);
            mDescriptorTransacts.put(STATUS_BAR_DESCRIPTOR, transactIds);
        }