Home
last modified time | relevance | path

Searched refs:UID (Results 1 – 25 of 94) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java92 private static final int UID = 12345; field in BatteryUtilsTest
270 AppOpsManager.OP_RUN_IN_BACKGROUND, UID, PACKAGE_NAME); in testBackgroundRestrictionOn_restrictionOn_returnTrue()
272 assertThat(mBatteryUtils.isBackgroundRestrictionEnabled(SDK_VERSION, UID, in testBackgroundRestrictionOn_restrictionOn_returnTrue()
279 AppOpsManager.OP_RUN_IN_BACKGROUND, UID, PACKAGE_NAME); in testBackgroundRestrictionOn_restrictionOff_returnFalse()
281 assertThat(mBatteryUtils.isBackgroundRestrictionEnabled(SDK_VERSION, UID, PACKAGE_NAME)) in testBackgroundRestrictionOn_restrictionOff_returnFalse()
309 mBatteryUtils.setForceAppStandby(UID, LOW_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forcePreOApp_forceTwoRestrictions()
312 verify(mAppOpsManager).setMode(AppOpsManager.OP_RUN_IN_BACKGROUND, UID, LOW_SDK_PACKAGE, in testSetForceAppStandby_forcePreOApp_forceTwoRestrictions()
314 verify(mAppOpsManager).setMode(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, UID, LOW_SDK_PACKAGE, in testSetForceAppStandby_forcePreOApp_forceTwoRestrictions()
321 mBatteryUtils.setForceAppStandby(UID, HIGH_SDK_PACKAGE, AppOpsManager.MODE_IGNORED); in testSetForceAppStandby_forceOApp_forceOneRestriction()
324 verify(mAppOpsManager, never()).setMode(AppOpsManager.OP_RUN_IN_BACKGROUND, UID, in testSetForceAppStandby_forceOApp_forceOneRestriction()
[all …]
DBatteryOptimizeUtilsTest.java69 private static final int UID = 12345; field in BatteryOptimizeUtilsTest
85 mBatteryOptimizeUtils = spy(new BatteryOptimizeUtils(mContext, UID, PACKAGE_NAME)); in setUp()
141 new BatteryOptimizeUtils(mContext, UID, null); in isDisabledForOptimizeModeOnly_invalidPackageName_returnTrue()
270 inOrder.verify(mMockBackend).isAllowlisted(PACKAGE_NAME, UID); in testResetAppOptimizationMode_Optimized_verifyAction()
284 inOrder.verify(mMockBackend).isAllowlisted(PACKAGE_NAME, UID); in testResetAppOptimizationMode_SystemOrDefault_verifyAction()
314 applicationInfo.uid = UID; in runTestForResetWithMode()
342 verify(mMockBatteryUtils).setForceAppStandby(UID, PACKAGE_NAME, appStandbyMode); in verifySetAppOptimizationMode()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DNotificationsAppListPreferenceControllerTest.java67 private static final int UID = 1001010; field in NotificationsAppListPreferenceControllerTest
111 mApplicationInfo.uid = UID; in setUp()
127 when(mMockNotificationManager.areNotificationsEnabledForPackage(PKG_NAME, UID)) in onCreate_createsPreference()
142 when(mMockNotificationManager.areNotificationsEnabledForPackage(PKG_NAME, UID)) in onCreate_notificationEnabled_isChecked()
154 when(mMockNotificationManager.areNotificationsEnabledForPackage(PKG_NAME, UID)) in onCreate_notificationDisabled_isNotChecked()
166 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(true); in onCreate_importanceLocked_isNotEnabled()
176 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_noNotificationPermission_isNotEnabled()
191 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_systemFixedFlag_isNotEnabled()
209 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_policyFixedFlag_isNotEnabled()
238 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_targetSdkBelow33_systemFixedFlag_isNotEnabled()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DNotificationsPreferenceControllerTest.java57 private static final int UID = 1001010; field in NotificationsPreferenceControllerTest
96 mPackageInfo.applicationInfo.uid = UID; in setUp()
105 when(mMockNotificationManager.areNotificationsEnabledForPackage(PKG_NAME, UID)) in onCreate_notificationEnabled_isChecked()
115 when(mMockNotificationManager.areNotificationsEnabledForPackage(PKG_NAME, UID)) in onCreate_notificationDisabled_isNotChecked()
125 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(true); in onCreate_importanceLocked_isNotEnabled()
134 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_noNotificationPermission_isNotEnabled()
148 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_systemFixedFlag_isNotEnabled()
165 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_policyFixedFlag_isNotEnabled()
182 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_hasPermissions_isEnabled()
201 when(mMockNotificationManager.isImportanceLocked(PKG_NAME, UID)).thenReturn(false); in onCreate_targetSdkBelow33_systemFixedFlag_isNotEnabled()
[all …]
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/
DDiscoveryPermissionsTest.java48 private static final int UID = 1234; field in DiscoveryPermissionsTest
60 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
65 when(mMockContext.checkPermission(BLUETOOTH_SCAN, PID, UID)).thenReturn(PERMISSION_DENIED); in test_enforceCallerDiscoveryPermission_exception()
74 when(mMockContext.checkPermission(BLUETOOTH_SCAN, PID, UID)).thenReturn(PERMISSION_GRANTED); in test_checkCallerDiscoveryPermission_granted()
83 when(mMockContext.checkPermission(BLUETOOTH_SCAN, PID, UID)).thenReturn(PERMISSION_DENIED); in test_checkCallerDiscoveryPermission_denied()
92 when(mMockAppOps.noteOp(DiscoveryPermissions.OPSTR_BLUETOOTH_SCAN, UID, PACKAGE_NAME, in test_checkNoteOpPermission_granted()
102 when(mMockAppOps.noteOp(DiscoveryPermissions.OPSTR_BLUETOOTH_SCAN, UID, PACKAGE_NAME, in test_checkNoteOpPermission_denied()
112 when(mMockContext.checkPermission(BLUETOOTH_SCAN, PID, UID)).thenReturn(PERMISSION_DENIED); in test_getPermissionLevel_none()
115 .getPermissionLevel(mMockContext, UID, PID)) in test_getPermissionLevel_none()
121 when(mMockContext.checkPermission(BLUETOOTH_SCAN, PID, UID)) in test_getPermissionLevel_scan()
[all …]
DBroadcastPermissionsTest.java46 private static final int UID = 1234; field in BroadcastPermissionsTest
56 .forTest(UID, PID, PACKAGE_NAME, /* attributionTag= */ null); in setup()
61 when(mMockContext.checkPermission(BLUETOOTH_ADVERTISE, PID, UID)) in test_checkCallerBroadcastPermission_granted()
71 when(mMockContext.checkPermission(BLUETOOTH_ADVERTISE, PID, UID)) in test_checkCallerBroadcastPermission_deniedPermission()
81 when(mMockContext.checkPermission(BLUETOOTH_ADVERTISE, PID, UID)) in test_getPermissionLevel_none()
84 assertThat(BroadcastPermissions.getPermissionLevel(mMockContext, UID, PID)) in test_getPermissionLevel_none()
90 when(mMockContext.checkPermission(BLUETOOTH_ADVERTISE, PID, UID)) in test_getPermissionLevel_advertising()
93 assertThat(BroadcastPermissions.getPermissionLevel(mMockContext, UID, PID)) in test_getPermissionLevel_advertising()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/
DProcessCompatUtilsTest.java33 private static final int UID = 100; field in ProcessCompatUtilsTest
55 assertThat(ProcessCompatUtils.isSdkSandboxUid(UID)).isFalse(); in testIsSdkSandboxUid_onSMinus_notSdkSandboxUid()
61 ExtendedMockito.doReturn(true).when(() -> Process.isSdkSandboxUid(UID)); in testIsSdkSandboxUid_onTPlus_sdkSandboxUId()
62 assertThat(ProcessCompatUtils.isSdkSandboxUid(UID)).isTrue(); in testIsSdkSandboxUid_onTPlus_sdkSandboxUId()
68 ExtendedMockito.doReturn(false).when(() -> Process.isSdkSandboxUid(UID)); in testIsSdkSandboxUid_onTPlus_notSdkSandboxUId()
69 assertThat(ProcessCompatUtils.isSdkSandboxUid(UID)).isFalse(); in testIsSdkSandboxUid_onTPlus_notSdkSandboxUId()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
DCarToastUITest.java60 private static final int UID = 0; field in CarToastUITest
116 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
129 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled()
141 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled()
154 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled()
166 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
185 carToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled()
197 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled()
209 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled()
221 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationDiffTest.java53 private static final int UID = 2; field in CarNotificationDiffTest
99 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout()
102 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout()
105 ID, TAG, UID, INITIAL_PID, mNotificationBuilder2.build(), USER_HANDLE, in setupBaseActivityAndLayout()
202 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
219 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
315 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue()
319 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue()
360 UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, OVERRIDE_GROUP_KEY, in areBundleEqual_diffSize_shouldReturnFalse()
363 UID, INITIAL_PID, newNotification.build(), USER_HANDLE, OVERRIDE_GROUP_KEY, in areBundleEqual_diffSize_shouldReturnFalse()
[all …]
DCarHeadsUpNotificationManagerTest.java72 private static final int UID = 2; field in CarHeadsUpNotificationManagerTest
198 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
201 new StatusBarNotification(PKG_2, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
205 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
208 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
212 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
215 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
219 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeAuthorizationFilterTest.java56 private static final int UID = 111; field in FledgeAuthorizationFilterTest
96 when(mPackageManager.getPackagesForUid(UID)) in testAssertCallingPackageName_isCallingPackageName()
99 mChecker.assertCallingPackageName(PACKAGE_NAME, UID, API_NAME_LOGGING_ID); in testAssertCallingPackageName_isCallingPackageName()
101 verify(mPackageManager).getPackagesForUid(UID); in testAssertCallingPackageName_isCallingPackageName()
110 () -> mChecker.assertCallingPackageName(null, UID, API_NAME_LOGGING_ID)); in testAssertCallingPackageName_nullPackageName_throwNpe()
117 when(mPackageManager.getPackagesForUid(UID)).thenReturn(new String[] {PACKAGE_NAME_OTHER}); in testAssertCallingPackageName_isNotCallingPackageName_throwSecurityException()
124 PACKAGE_NAME, UID, API_NAME_LOGGING_ID)); in testAssertCallingPackageName_isNotCallingPackageName_throwSecurityException()
129 verify(mPackageManager).getPackagesForUid(UID); in testAssertCallingPackageName_isNotCallingPackageName_throwSecurityException()
137 when(mPackageManager.getPackagesForUid(UID)).thenReturn(new String[] {}); in testAssertCallingPackageName_packageNotExist_throwSecurityException()
144 PACKAGE_NAME, UID, API_NAME_LOGGING_ID)); in testAssertCallingPackageName_packageNotExist_throwSecurityException()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDatabaseHelper.java67 String UID = "uid"; field
87 AnomalyColumns.UID +
97 " PRIMARY KEY (" + AnomalyColumns.UID + "," + AnomalyColumns.ANOMALY_TYPE + ","
110 String UID = "uid"; field
125 ActionColumns.UID +
133 " PRIMARY KEY (" + ActionColumns.ACTION_TYPE + "," + ActionColumns.UID + ","
DBatteryDatabaseManager.java26 import static com.android.settings.fuelgauge.batterytip.AnomalyDatabaseHelper.AnomalyColumns.UID;
89 values.put(UID, uid); in insertAnomaly()
104 final String[] projection = {PACKAGE_NAME, ANOMALY_TYPE, UID}; in queryAllAnomalies()
114 final int uid = cursor.getInt(cursor.getColumnIndex(UID)); in queryAllAnomalies()
172 final String[] projection = {ActionColumns.UID, ActionColumns.TIME_STAMP_MS}; in queryActionTime()
178 final int uidIndex = cursor.getColumnIndex(ActionColumns.UID); in queryActionTime()
198 values.put(ActionColumns.UID, uid); in insertAction()
213 ActionColumns.ACTION_TYPE + " = ? AND " + ActionColumns.UID + " = ? AND " in deleteAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAddTest.java48 private static final int UID = 12345; field in DeviceAdminAddTest
66 doReturn(UID).when(mBatteryUtils).getPackageUid(PACKAGE_NAME); in setUp()
92 doReturn(true).when(mBatteryUtils).isForceAppStandbyEnabled(UID, PACKAGE_NAME); in unrestrictAppIfPossible_appRestricted_unrestrictApp()
96 verify(mBatteryUtils).setForceAppStandby(UID, PACKAGE_NAME, AppOpsManager.MODE_ALLOWED); in unrestrictAppIfPossible_appRestricted_unrestrictApp()
101 doReturn(false).when(mBatteryUtils).isForceAppStandbyEnabled(UID, PACKAGE_NAME); in unrestrictAppIfPossible_appUnrestricted_doNothing()
105 verify(mBatteryUtils, never()).setForceAppStandby(UID, PACKAGE_NAME, in unrestrictAppIfPossible_appUnrestricted_doNothing()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/identity/
DCallerIdentityTest.java24 private static final int UID = 100; field in CallerIdentityTest
32 CallerIdentity.forTest(UID, PID, PACKAGE_NAME, ATTRIBUTION_TAG); in testToString()
40 CallerIdentity.forTest(UID, PID, PACKAGE_NAME, ATTRIBUTION_TAG); in testHashCode()
42 CallerIdentity.forTest(UID, PID, PACKAGE_NAME, ATTRIBUTION_TAG); in testHashCode()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java50 private static final int UID = 10214; field in SdkSandboxShellCommandUnitTest
94 debuggableInfo.uid = UID; in setup()
104 nonDebuggableInfo.uid = UID; in setup()
161 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenSdkSandboxDisabled()
207 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenSandboxAlreadyRunning()
232 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning()
259 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenBindingSandboxFails()
326 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStopFailsWhenSandboxIsNotRunning()
349 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStopSucceedsForDebuggablePackageWhenAlreadyRunning()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptionsTest.kt130 uid = UID in uninstallUpdates_updatedSystemAppAndUserAdmin_displayed()
146 uid = UID in uninstallForAllUsers_regularAppAndPrimaryUser_displayed()
164 AppOpsManager.OP_ACCESS_RESTRICTED_SETTINGS, UID, PACKAGE_NAME, null, null in shouldShowAccessRestrictedSettings()
169 uid = UID in shouldShowAccessRestrictedSettings()
183 UID, in shouldShowAccessRestrictedSettings()
200 const val UID = 123 constant
DHibernationSwitchPreferenceTest.kt131 appOpsManager.checkOpNoThrow(OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, UID, PACKAGE_NAME) in mockOpsMode()
210 verify(appOpsManager).setUidMode(OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, UID, MODE_ALLOWED) in An app is exempted - on click()
222 verify(appOpsManager).setUidMode(OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, UID, MODE_IGNORED) in An app is not exempted - on click()
237 const val UID = 123 constant
241 uid = UID in <lambda>()
246 uid = UID in <lambda>()
DAppNotificationPreferenceTest.kt93 uid = UID in whenNotInstalled_disable()
127 const val UID = 123 constant
130 uid = UID in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java43 private static final int UID = 3452; field in AppInfoTest
54 .setUid(UID) in setUp()
69 assertThat(appInfo.uid).isEqualTo(UID); in testParcel()
93 assertThat(mAppInfo.uid).isEqualTo(UID); in testBuilder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DPasswordUtilsTest.java58 private static final int UID = 1234; field in PasswordUtilsTest
138 when(mActivityService.getLaunchedFromUid(mActivityToken)).thenReturn(UID); in isCallingAppPermitted_permissionGranted_returnsTrue()
139 when(mContext.checkPermission(PERMISSION, -1, UID)).thenReturn(PERMISSION_GRANTED); in isCallingAppPermitted_permissionGranted_returnsTrue()
146 when(mActivityService.getLaunchedFromUid(mActivityToken)).thenReturn(UID); in isCallingAppPermitted_permissionDenied_returnsFalse()
147 when(mContext.checkPermission(PERMISSION, -1, UID)).thenReturn(PERMISSION_DENIED); in isCallingAppPermitted_permissionDenied_returnsFalse()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationListItemManagerTest.java50 private static final int UID = 12; field in ApplicationListItemManagerTest
89 appInfo.uid = UID; in onRebuildComplete_shouldNotifyRegisteredListener()
111 appInfo.uid = UID; in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener()
134 appInfo.uid = UID; in onRebuildComplete_calledAgainImmediately_shouldNotRunSecondCallImmediately()
156 appInfo.uid = UID; in onRebuildComplete_calledAgainImmediately_shouldRunSecondCallAfterUpdateInterval()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DSessionHandleTest.java37 private static final int UID = Process.myUid(); field in SessionHandleTest
40 new AttributionSource.Builder(UID).setPackageName(PACKAGE_NAME).build();
49 assertEquals(handle.getUid(), UID); in testBasic() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobServiceTest.java57 private static final int UID = 1234; field in AnomalyCleanupJobServiceTest
116 databaseManager.insertAnomaly(UID, PACKAGE_NAME, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
118 databaseManager.insertAnomaly(UID, PACKAGE_NAME_OLD, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
127 .setUid(UID) in onStartJob_cleanUpDataBefore30days()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/
DCarAudioManagerPermissionTest.java50 private static final int UID = 10; field in CarAudioManagerPermissionTest
205 () -> mCarAudioManager.getZoneIdForUid(UID)); in getZoneIdForUidPermission()
212 () -> mCarAudioManager.setZoneIdForUid(PRIMARY_AUDIO_ZONE, UID)); in setZoneIdForUidPermission()
219 () -> mCarAudioManager.clearZoneIdForUid(UID)); in clearZoneIdForUidPermission()

1234