Home
last modified time | relevance | path

Searched refs:permissions (Results 1 – 25 of 74) sorted by relevance

123

/development/samples/browseable/RuntimePermissions/
D_index.jd8 This sample shows runtime permissions available in Android M and above.
11 that is declared with optional, M and above only permissions.
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java123 List<PermissionInfo> permissions = new ArrayList<>(); in populatePermissionsMapping() local
134 permissions.add(pi); in populatePermissionsMapping()
137 if (!permissions.isEmpty()) { in populatePermissionsMapping()
138 mPermissionMap.put(info.packageName, permissions); in populatePermissionsMapping()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DPhonePermissionRequestActivity.java84 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
86 String permissionResult = "Request code: " + requestCode + ", Permissions: " + permissions in onRequestPermissionsResult()
/development/samples/browseable/RuntimePermissionsWear/
D_index.jd8 A sample that shows how you can handle remote data that requires permissions both on
/development/samples/browseable/RuntimePermissionsBasic/
D_index.jd8 …This sample shows a basic implementation for requesting permissions at runtime. Click the button t…
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFacePermissionActivity.java45 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
/development/docs/copyright-templates/
Dasm.txt12 ; See the License for the specific language governing permissions and
Dmake.txt12 # See the License for the specific language governing permissions and
Dplain.txt12 See the License for the specific language governing permissions and
Dc.txt13 * See the License for the specific language governing permissions and
Djava.txt13 * See the License for the specific language governing permissions and
/development/ndk/sources/android/ndk_helper/
DNOTICE12 See the License for the specific language governing permissions and
/development/python-packages/
DNOTICE12 See the License for the specific language governing permissions and
/development/ndk/sources/android/native_app_glue/
DNOTICE12 See the License for the specific language governing permissions and
/development/build/
Dsdk.exclude.atree13 # See the License for the specific language governing permissions and
Dsdk-android-arm64-v8a.atree13 # See the License for the specific language governing permissions and
Dsdk-android-mips64.atree13 # See the License for the specific language governing permissions and
Dsdk-android-mips.atree13 # See the License for the specific language governing permissions and
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java304 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
307 Log.d(TAG, "onRequestPermissionsResult(): " + permissions); in onRequestPermissionsResult()
332 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
/development/samples/devbytes/ui/ImmersiveMode/
Dbuild.gradle13 * See the License for the specific language governing permissions and
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java361 private boolean shouldShowRequestPermissionRationale(String[] permissions) { in shouldShowRequestPermissionRationale() argument
362 for (String permission : permissions) { in shouldShowRequestPermissionRationale()
382 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument
399 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
403 private boolean hasPermissionsGranted(String[] permissions) { in hasPermissionsGranted() argument
404 for (String permission : permissions) { in hasPermissionsGranted()
/development/ndk/platforms/android-17/samples/Teapot/jni/
Dteapot.inl13 * See the License for the specific language governing permissions and
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
Dteapot.inl13 * See the License for the specific language governing permissions and
/development/samples/training/InteractiveChart/
Dproject.properties13 # See the License for the specific language governing permissions and
/development/samples/TicTacToeLib/
Ddefault.properties13 # See the License for the specific language governing permissions and

123