Home
last modified time | relevance | path

Searched refs:setupPermissions (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java167 setupPermissions( in testShouldShowActionDialog_noRESAndMES_true()
187 setupPermissions( in testShouldShowActionDialog_noRMAAndMES_true_33()
211 setupPermissions( in testShouldShowActionDialog_noRMIAndMES_true_33()
235 setupPermissions( in testShouldShowActionDialog_noRMVAndMES_true_33()
260 setupPermissions( in testShouldShowActionDialogForSubtitle_noRMARMVAndMES_true_33()
283 setupPermissions( in testShouldShowActionDialog_noMANAGE_MEDIA_true()
307 setupPermissions( in testShouldShowActionDialog_noMANAGE_MEDIA_true_33()
330 setupPermissions( in testShouldShowActionDialog_hasMMWithRES_false()
351 setupPermissions( in testShouldShowActionDialog_hasMMWithRM_false_33()
374 setupPermissions( in testShouldShowActionDialog_hasMMWithMES_false()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java133 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in setup()
234 setupPermissions(TEST_APP_PACKAGE_NAME); in checkAppNoPermission()
244 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in checkSdkNoPermission()
264 setupPermissions(INVALID_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_invalidPackage()
292 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_logCallingPackageNotFound()
310 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_logCallingPackageIdMismatch()
423 private void setupPermissions(String packageName, String... permissions) in setupPermissions() method in AdIdServiceImplTest
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DMainActivity.java90 private void setupPermissions() { in setupPermissions() method in MainActivity
118 setupPermissions(); in onCreate()