Searched refs:shouldShowActionDialog (Results 1 – 2 of 2) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PermissionActivityTest.java | 35 import static com.android.providers.media.PermissionActivity.shouldShowActionDialog; 149 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_favorite_false() 155 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_unfavorite_false() 170 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_noRESAndMES_true() 190 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noRMAAndMES_true_33() 214 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noRMIAndMES_true_33() 238 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noRMVAndMES_true_33() 263 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialogForSubtitle_noRMARMVAndMES_true_33() 286 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid, in testShouldShowActionDialog_noMANAGE_MEDIA_true() 310 assertThat(shouldShowActionDialog(getContext(), TEST_APP_PID, mTestAppUid33, in testShouldShowActionDialog_noMANAGE_MEDIA_true_33() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 200 final boolean shouldShowActionDialog; in onCreate() 203 shouldShowActionDialog = true; in onCreate() 205 shouldShowActionDialog = shouldShowActionDialog(this, -1 /* pid */, appInfo.uid, in onCreate() 212 shouldShowActionDialog = shouldShowActionDialog(this, -1 /* pid */, appInfo.uid, in onCreate() 216 if (!shouldShowActionDialog) { in onCreate() 405 static boolean shouldShowActionDialog(@NonNull Context context, int pid, int uid, in shouldShowActionDialog() method in PermissionActivity 407 return shouldShowActionDialog(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 414 static boolean shouldShowActionDialog(@NonNull Context context, int pid, int uid, in shouldShowActionDialog() method in PermissionActivity
|