/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
AdoptShellPermissionsRule.java | 13 * See the License for the specific language governing permissions and 30 * Custom JUnit4 rule that runs a test adopting Shell's permissions, revoking them at the end. 52 @Nullable String... permissions) { 54 mPermissions = permissions;
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
AdoptShellPermissionsRule.java | 13 * See the License for the specific language governing permissions and 30 * Custom JUnit4 rule that runs a test adopting Shell's permissions, revoking them at the end. 51 @Nullable String... permissions) { 53 mPermissions = permissions;
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/ |
status.pass.cpp | 49 TEST_CHECK(st.permissions() == perms::unknown); 54 TEST_CHECK(st.permissions() == perms::unknown); 64 permissions(dir, perms::none); 88 TEST_CHECK(st.permissions() == perms::unknown); 128 TEST_CHECK(st.permissions() != perms::unknown); 132 TEST_CHECK(st.permissions() != perms::unknown); 159 TEST_CHECK(st.permissions() != perms::unknown); 163 TEST_CHECK(st.permissions() != perms::unknown);
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AbstractStoreFileCommandHandlerTestCase.groovy | 13 * See the License for the specific language governing permissions and 24 import org.mockftpserver.fake.filesystem.Permissions 46 fileSystem.getEntry(FILE).permissions = Permissions.NONE 52 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x') 59 fileSystem.getEntry(DIR).permissions = new Permissions('rw-rw-rw-') 97 assert fileEntry.permissions == userAccount.defaultPermissionsForNewFile
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
refresh.pass.cpp | 70 const perms old_perms = status(dir).permissions(); 80 permissions(dir, perms::none); 83 permissions(dir, old_perms); 94 permissions(dir, perms::none); 111 const perms old_perms = status(dir).permissions(); 124 LIBCPP_ONLY(permissions(dir, perms::none)); 129 permissions(dir, old_perms); 144 LIBCPP_ONLY(permissions(dir, perms::none)); 157 perms old_perms = status(dir).permissions(); 161 permissions(dir, perms::none) [all...] |
/external/libchrome/base/debug/ |
proc_maps_linux.h | 37 // Bitmask of read/write/execute/private/shared permissions. 38 uint8_t permissions; member in struct:base::debug::MappedMemoryRegion
|
/build/make/target/product/ |
emulator_vendor.mk | 13 # See the License for the specific language governing permissions and 27 system/etc/permissions/android.software.verified_boot.xml \ 28 system/etc/permissions/privapp-permissions-goldfish.xml \
|
full_base_telephony.mk | 13 # See the License for the specific language governing permissions and 28 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
go_defaults_common.mk | 13 # See the License for the specific language governing permissions and 59 frameworks/native/data/etc/go_handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
PermissionActivity.java | 13 * See the License for the specific language governing permissions and 27 * A simple activity that requests permissions and returns the result. 69 public void onRequestPermissionsResult(int requestCode, String[] permissions, 72 permissions.length != 1 || 73 !permissions[0].equals(mPermission)) { 74 Log.d(TAG, "Received wrong permissions result");
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/ |
UsePermissionTest28.java | 13 * See the License for the specific language governing permissions and 45 String[] permissions = {ACCESS_FINE_LOCATION}; local 49 BasePermissionActivity.Result result = requestPermissions(permissions, 60 assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS, permissions,
|
/cts/tests/tests/os/jni/ |
android_os_cts_NoExecutePermissionTest.cpp | 13 * See the License for the specific language governing permissions and 37 char permissions[10]; local 38 int scan = sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %9s ", &start, &end, permissions); 40 retval = (permissions[2] == 'x');
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/ |
symlink_status.pass.cpp | 48 TEST_CHECK(st.permissions() == perms::unknown); 53 TEST_CHECK(st.permissions() == perms::unknown); 64 permissions(dir, perms::none); 81 TEST_CHECK(st.permissions() == perms::unknown); 102 TEST_CHECK(st.permissions() != perms::unknown); 106 TEST_CHECK(st.permissions() != perms::unknown); 136 TEST_CHECK(st.permissions() != perms::unknown); 140 TEST_CHECK(st.permissions() != perms::unknown); 170 TEST_CHECK(st.permissions() != perms::unknown); 174 TEST_CHECK(st.permissions() != perms::unknown) [all...] |
/device/linaro/hikey/ |
device-common.mk | 13 # See the License for the specific language governing permissions and 145 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ 146 frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.ambient_temperature.xml \ 147 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ 148 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ 149 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ 150 frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml \ 151 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ 152 frameworks/native/data/etc/android.hardware.sensor.relative_humidity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.relative_humidity.xml \ 153 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml [all...] |
/device/google/wahoo/ |
device.mk | 13 # See the License for the specific language governing permissions and 44 device/google/wahoo/default-permissions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default-permissions/default-permissions.xml \ 45 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ 46 frameworks/native/data/etc/android.software.verified_boot.xml:system/etc/permissions/android.software.verified_boot.xml 52 # Enforce privapp-permissions whitelist 163 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 164 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ 165 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml [all...] |
/device/google/cuttlefish/shared/auto/ |
device.mk | 13 # See the License for the specific language governing permissions and 37 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml 39 # Auto core hardware permissions 41 frameworks/native/data/etc/car_core_hardware.xml:system/etc/permissions/car_core_hardware.xml \ 42 frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml \ 46 frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml 48 # Location permissions 50 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml 52 # Broadcast Radio permissions 54 frameworks/native/data/etc/android.hardware.broadcastradio.xml:system/etc/permissions/android.hardware.broadcastradio.xm [all...] |
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
create_directory_with_attributes.pass.cpp | 45 const perms orig_p = status(dir).permissions(); 46 permissions(dir2, perms::none); 52 // Check that the permissions were unchanged 53 TEST_CHECK(orig_p == status(dir).permissions()); 63 permissions(env.test_root, perms::set_gid, perm_options::remove); 67 permissions(attr_dir, perms::none); 74 // Check that the new directory has the same permissions as attr_dir 76 TEST_CHECK(st.permissions() == perms::none);
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
XmlParser.java | 13 * See the License for the specific language governing permissions and 45 HashMap<String, PermissionList> permissions = getPermissions(); local 46 if (permissions != null) { 47 getFileEntryBuilder().putAllDevicePermissions(permissions); 79 + " to prase platform permissions xml file meta data\n"
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
hard_link_count.pass.cpp | 89 const perms old_perms = status(dir).permissions(); 92 permissions(dir, old_perms); 99 LIBCPP_ONLY(permissions(dir, perms::none)); 119 const perms old_perms = status(dir).permissions(); 163 // test a file w/o appropriate permissions. 167 permissions(dir, perms::none); 182 permissions(dir, old_perms); 188 permissions(dir, old_perms); 189 // test a symlink w/o appropriate permissions. 193 permissions(dir, perms::none) [all...] |
last_write_time.pass.cpp | 93 const perms old_perms = status(dir).permissions(); 136 // test a file w/o appropriate permissions. 140 permissions(dir, perms::none); 155 permissions(dir, old_perms); 161 permissions(dir, old_perms); 162 // test a symlink w/o appropriate permissions. 166 permissions(dir, perms::none); 181 permissions(dir, old_perms); 187 permissions(dir, old_perms); 188 // test a symlink to a file w/o appropriate permissions [all...] |
/device/google/cuttlefish/shared/tablet/ |
device.mk | 13 # See the License for the specific language governing permissions and 28 frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml
|
/external/pdfium/fxjs/xfa/ |
cjx_mdp.cpp | 33 void CJX_Mdp::permissions(CFXJSE_Value* pValue, function in class:CJX_Mdp
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ARM/ |
mappingsymbols.s | 5 # Check section containing code and data with no permissions for the section. 9 # Check section containing code and data with read/write permissions for the section. 13 # Check section containing data with no permissions for the section. 17 # Check section containing only data with read/write permissions for the section. 21 # Check section containing the ident string with no permissions for the section. 25 # Check section containing the attributes with no permissions for the section. 29 # Check section containing code and data with no permissions for the section. 34 # Check section containing code and data with no permissions for the section.
|
/device/google/bonito/ |
device.mk | 13 # See the License for the specific language governing permissions and 42 device/google/bonito/default-permissions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default-permissions/default-permissions.xml \ 43 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ 44 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.software.verified_boot.xml 46 # Enforce privapp-permissions whitelist 192 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 193 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ 194 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml [all...] |
/device/google/crosshatch/ |
device.mk | 13 # See the License for the specific language governing permissions and 40 device/google/crosshatch/default-permissions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default-permissions/default-permissions.xml \ 41 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ 42 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.software.verified_boot.xml 44 # Enforce privapp-permissions whitelist 202 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 203 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ 204 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml [all...] |