Lines Matching refs:mRequiredPermission
124 mRequiredPermission = SENSOR_PERMISSION_BODY_SENSORS; in Sensor()
126 mRequiredAppOp = appOps.permissionToOpCode(String16(mRequiredPermission)); in Sensor()
177 mRequiredPermission = SENSOR_PERMISSION_ACTIVITY_RECOGNITION; in Sensor()
180 appOps.permissionToOpCode(String16(mRequiredPermission)); in Sensor()
185 mRequiredPermission = SENSOR_PERMISSION_ACTIVITY_RECOGNITION; in Sensor()
188 appOps.permissionToOpCode(String16(mRequiredPermission)); in Sensor()
309 mRequiredPermission = hwSensor.requiredPermission; in Sensor()
310 if (!strcmp(mRequiredPermission, SENSOR_PERMISSION_BODY_SENSORS)) { in Sensor()
364 if (mRequiredPermission.length() > 0) { in Sensor()
371 String16(mRequiredPermission)); in Sensor()
436 return mRequiredPermission; in getRequiredPermission()
533 sizeof(uint32_t) + FlattenableUtils::align<4>(mRequiredPermission.length()); in getFlattenedSize()
556 flattenString8(buffer, size, mRequiredPermission); in flatten()
596 if (!unflattenString8(buffer, size, mRequiredPermission)) { in unflatten()