Home
last modified time | relevance | path

Searched refs:mPhoneStoragePermissionApproved (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DMainWearActivity.java81 private boolean mPhoneStoragePermissionApproved; field in MainWearActivity
102 mPhoneStoragePermissionApproved = false; in onCreate()
232 if (mPhoneStoragePermissionApproved) { in onEnterAmbient()
254 if (mPhoneStoragePermissionApproved) { in onExitAmbient()
384 mPhoneStoragePermissionApproved = false; in onMessageReceived()
396 mPhoneStoragePermissionApproved = true; in onMessageReceived()
405 mPhoneStoragePermissionApproved = false; in onMessageReceived()
410 mPhoneStoragePermissionApproved = true; in onMessageReceived()
446 mPhoneStoragePermissionApproved = false; in sendMessage()
505 if (mPhoneStoragePermissionApproved) { in updatePhoneButtonOnUiThread()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java81 private boolean mPhoneStoragePermissionApproved; field in MainPhoneActivity
136 if (mPhoneStoragePermissionApproved) { in onClickPhoneStorage()
168 mPhoneStoragePermissionApproved = in onResume()
172 if (mPhoneStoragePermissionApproved) { in onResume()
431 if (mPhoneStoragePermissionApproved) { in sendWearPermissionResults()