Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 25 of 230) sorted by relevance

12345678910

/frameworks/native/cmds/atrace/
Datrace.rc1 ## Permissions to allow system-wide tracing to the kernel trace buffer.
5 # Allow writing to the kernel trace log.
6 chmod 0222 /sys/kernel/debug/tracing/trace_marker
7 chmod 0222 /sys/kernel/tracing/trace_marker
10 write /proc/sys/kernel/sched_schedstats 1
12 # Grant unix world read/write permissions to kernel tracepoints.
14 chmod 0666 /sys/kernel/debug/tracing/trace_clock
15 chmod 0666 /sys/kernel/tracing/trace_clock
16 chmod 0666 /sys/kernel/debug/tracing/buffer_size_kb
17 chmod 0666 /sys/kernel/tracing/buffer_size_kb
[all …]
Datrace_userdebug.rc1 ## Permissions to allow additional system-wide tracing to the kernel trace buffer.
4 # Grant unix world read/write permissions to enable kernel tracepoints.
11 chmod 0666 /sys/kernel/tracing/set_event
12 chmod 0666 /sys/kernel/debug/tracing/set_event
14 chmod 0666 /sys/kernel/tracing/events/workqueue/enable
15 chmod 0666 /sys/kernel/debug/tracing/events/workqueue/enable
16 chmod 0666 /sys/kernel/tracing/events/regulator/enable
17 chmod 0666 /sys/kernel/debug/tracing/events/regulator/enable
18 chmod 0666 /sys/kernel/tracing/events/filemap/enable
19 chmod 0666 /sys/kernel/debug/tracing/events/filemap/enable
[all …]
/frameworks/opt/net/wifi/service/
Dwifi-events.rc22 mkdir /sys/kernel/debug/tracing/instances/wifi 711
23 restorecon_recursive /sys/kernel/debug/tracing/instances/wifi
24 write /sys/kernel/debug/tracing/instances/wifi/tracing_on 0
25 write /sys/kernel/debug/tracing/instances/wifi/buffer_size_kb 1
26 write /sys/kernel/debug/tracing/instances/wifi/trace_options disable_on_free
30 # /sys/kernel/debug/tracing/instances/wifi/tracing_on.
32 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1
33 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1
34 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_assoc/enable 1
35 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_auth/enable 1
[all …]
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dstderr.txt.expect1 reflection3264_foreach_mismatch.rs:13:15: error: foreach kernel 'bb' has __attribute__((kernel)) fo…
2 reflection3264_foreach_mismatch.rs:22:18: error: foreach kernel 'dd' has output type 'uint' for 32-…
3 reflection3264_foreach_mismatch.rs:39:15: error: foreach kernel 'ii' has output type 'int' for 64-b…
4 reflection3264_foreach_mismatch.rs:40:16: error: foreach kernel 'jj' has output type 'int' for 32-b…
5 reflection3264_foreach_mismatch.rs:66:16: error: foreach kernel 'nn' has 1 input for 32-bit targets…
6 reflection3264_foreach_mismatch.rs:88:16: error: foreach kernel 'qq' has different special paramete…
7 reflection3264_foreach_mismatch.rs:124:16: error: 2nd input of foreach kernel 'uu' has type 'uint' …
8 reflection3264_foreach_mismatch.rs:124:16: error: 4th input of foreach kernel 'uu' has type 'struct…
9 reflection3264_foreach_mismatch.rs:133:6: error: foreach kernel 'xx' has 0 usrData parameters for 3…
10 reflection3264_foreach_mismatch.rs:132:6: error: foreach kernel 'ww' has 1 usrData parameter for 32…
[all …]
/frameworks/rs/script_api/
Drs_for_each.spec20 The @rsForEach() function can be used to invoke the root kernel of a script.
23 an executing kernel, like dimensions and current indices. These functions take
38 This type is used to suggest how the invoked kernel should iterate over the cells of the
41 This specification can help the caching behavior of the running kernel, e.g. the cache
48 summary: Handle to a kernel invocation context
50 The kernel context contains common characteristics of the allocations being iterated
54 You can access the kernel context by adding a special parameter named "context" of type
55 rs_kernel_context to your kernel function. See @rsGetDimX() and @rsGetArray0() for examples.
89 summary: Handle to a kernel function
91 An opaque type for a function that is defined with the kernel attribute. A value
[all …]
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect1 root_compute_really_bad.rs:4:5: error: Compute kernel root() is required to return a void type
2 root_compute_really_bad.rs:5:31: error: In compute kernel root(), special parameter 'x' must be def…
3 root_compute_really_bad.rs:6:19: error: In compute kernel root(), parameter 'extra1' cannot appear …
4 root_compute_really_bad.rs:6:36: error: In compute kernel root(), parameter 'extra2' cannot appear …
5 root_compute_really_bad.rs:4:14: error: Compute kernel root() cannot have non-pointer parameters be…
6 root_compute_really_bad.rs:4:23: error: Compute kernel root() cannot have non-pointer parameters be…
7 root_compute_really_bad.rs:4:33: error: Compute kernel root() cannot have non-pointer parameters be…
8 root_compute_really_bad.rs:4:48: error: Compute kernel root() cannot have non-pointer parameters be…
9 root_compute_really_bad.rs:4:59: error: Compute kernel root() cannot have non-pointer parameters be…
10 root_compute_really_bad.rs:4:5: error: Compute kernel root() must have at least one parameter for i…
[all …]
/frameworks/rs/script_api/include/
Drs_for_each.rsh22 * The rsForEach() function can be used to invoke the root kernel of a script.
25 * an executing kernel, like dimensions and current indices. These functions take
35 * This type is used to suggest how the invoked kernel should iterate over the cells of the
38 * This specification can help the caching behavior of the running kernel, e.g. the cache
51 * rs_kernel_context: Handle to a kernel invocation context
53 * The kernel context contains common characteristics of the allocations being iterated
57 * You can access the kernel context by adding a special parameter named "context" of type
58 * rs_kernel_context to your kernel function. See rsGetDimX() and rsGetArray0() for examples.
94 * rs_kernel: Handle to a kernel function
96 * An opaque type for a function that is defined with the kernel attribute. A value
[all …]
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dstderr.txt.expect1 reflection3264_reduce_mismatch.rs:37:12: error: reduction kernel 'cc' has result type 'uint' for 32…
2 reflection3264_reduce_mismatch.rs:37:12: error: 2nd input of reduction kernel 'cc' has type 'uint' …
3 reflection3264_reduce_mismatch.rs:37:12: error: 4th input of reduction kernel 'cc' has type 'uint' …
4 reflection3264_reduce_mismatch.rs:43:12: error: reduction kernel 'dd' has 2 inputs for 32-bit targe…
5 reflection3264_reduce_mismatch.rs:52:12: error: reduction kernel 'ee' is reflected in Java only for…
6 reflection3264_reduce_mismatch.rs:52:12: error: reduction kernel 'ee' has result type 'int' for 32-…
7 reflection3264_reduce_mismatch.rs:52:12: error: 2nd input of reduction kernel 'ee' has type 'uint' …
8 reflection3264_reduce_mismatch.rs:53:12: error: reduction kernel 'ff' is reflected in Java only for…
9 reflection3264_reduce_mismatch.rs:53:12: error: reduction kernel 'ff' has result type 'struct S' fo…
10 reflection3264_reduce_mismatch.rs:53:12: error: reduction kernel 'ff' has 3 inputs for 32-bit targe…
[all …]
/frameworks/compile/slang/tests/F_kernel_badattr/
Dkernel_badattr.rs4 int __attribute__((kernel("unimplemented"))) kernel(int arg) {
8 int __attribute__((kernel(7))) kernel2(int arg) {
12 int __attribute__((kernel("reduce", 1))) kernel3(int arg) {
16 int __attribute__((kernel("reduce"))) kernel4(int arg) {
Dstderr.txt.expect1 kernel_badattr.rs:4:20: error: 'kernel' attribute takes no arguments
2 kernel_badattr.rs:8:20: error: 'kernel' attribute takes no arguments
3 kernel_badattr.rs:12:20: error: 'kernel' attribute takes no arguments
4 kernel_badattr.rs:16:20: error: 'kernel' attribute takes no arguments
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
Dhealing.rs73 float3 __attribute__((kernel)) laplacian( uint32_t x, uint32_t y) {
87 float3 __attribute__((kernel)) convert_to_f(uchar4 in) {
91 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
95 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) {
100 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) {
108 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) {
122 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t y) {
140 float3 __attribute__((kernel))extractBorder(int2 in) {
144 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dhealing.rs25 float3 __attribute__((kernel)) laplacian(uint32_t x, uint32_t y) {
39 float3 __attribute__((kernel)) convert_to_f(uchar4 in) {
42 float3 __attribute__((kernel)) copy(float3 in) { return in; }
44 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
48 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) {
53 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) {
61 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) {
74 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t y) {
92 float3 __attribute__((kernel)) extractBorder(int2 in) {
96 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
/frameworks/compile/slang/tests/F_foreach_unexpected_kernel_arg/
Dstderr.txt.expect1 foreach_unexpected_kernel_arg.rs:11:13: error: Invalid kernel launch call. Expects a function desig…
2 foreach_unexpected_kernel_arg.rs:12:13: error: Invalid kernel launch call. Expects a function desig…
3 foreach_unexpected_kernel_arg.rs:13:24: error: Invalid kernel launch call. Expects a function desig…
4 foreach_unexpected_kernel_arg.rs:14:24: error: Invalid kernel launch call. Expects a function desig…
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DKernelDataForRenderScriptd1new.java89 float[] kernel = new float[kernelLength]; in generateDiskKernelArray() local
90 Arrays.fill(kernel, 0); in generateDiskKernelArray()
110 kernel[y * kernelDim + x] += 1; in generateDiskKernelArray()
120 kernel[n] /= sumKernelValues; in generateDiskKernelArray()
123 return kernel; in generateDiskKernelArray()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DKernelDataForRenderScriptF32.java87 float[] kernel = new float[kernelLength]; in generateDiskKernelArray() local
88 Arrays.fill(kernel, 0); in generateDiskKernelArray()
108 kernel[y * kernelDim + x] += 1; in generateDiskKernelArray()
118 kernel[n] /= sumKernelValues; in generateDiskKernelArray()
121 return kernel; in generateDiskKernelArray()
/frameworks/rs/tests/lldb/java/Allocations/src/rs/
Dallocs.rs35 uchar4 __attribute__((kernel)) swizzle_kernel(uchar4 in)
41 uint __attribute__((kernel)) square_kernel(ushort in)
54 double3 __attribute__((kernel)) add_half_kernel(double4 in)
64 struct complexStruct __attribute__((kernel))
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dcopy_test.rs31 float2 __attribute((kernel)) copyFloat2(float2 i) {
35 float3 __attribute((kernel)) copyFloat3(float3 i) {
39 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dcopy_test.rs29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dcopy_test.rs29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dimage_and_kernel.rsh20 // Auxiliary information that is needed to extract a kernel matrix from a buffer
21 // of a stack of kernel matrices.
23 // The starting position of a kernel matrix in a buffer of a stack of kernel
Dlayered_filter_fast_d1new.rs86 void __attribute__((kernel))
113 void __attribute__((kernel)) MarkLayerMask(uchar4 in, uint32_t x, uint32_t y) {
182 void __attribute__((kernel)) MarkLayerMaskPassInput(uchar in_sharp_actual_depth, uint32_t x) {
240 void __attribute__((kernel))
266 uchar __attribute__((kernel))
286 void __attribute__((kernel))
311 uchar __attribute__((kernel))
329 void __attribute__((kernel))
365 void __attribute__((kernel))
398 void __attribute__((kernel))
[all …]
/frameworks/compile/slang/
Dslang_rs_foreach_lowering.cpp121 const clang::FunctionDecl* kernel = matchFunctionDesignator(arg0); in matchKernelLaunchCall() local
123 if (kernel == nullptr) { in matchKernelLaunchCall()
131 *slot = mCtxt->getForEachSlotNumber(kernel); in matchKernelLaunchCall()
135 << funcName << kernel->getName(); in matchKernelLaunchCall()
139 return kernel; in matchKernelLaunchCall()
224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); in VisitCallExpr() local
225 if (kernel == nullptr) { in VisitCallExpr()
233 clang::QualType resultType = kernel->getReturnType().getCanonicalType(); in VisitCallExpr()
236 const unsigned numInputsExpected = RSExportForEach::getNumInputs(mCtxt->getTargetAPI(), kernel); in VisitCallExpr()
245 << kernel->getName(); in VisitCallExpr()
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Dallocs.rs21 uchar4 __attribute__((kernel)) swizzle_kernel(uchar4 in)
27 uint __attribute__((kernel)) square_kernel(ushort in)
40 double3 __attribute__((kernel)) add_half_kernel(double4 in)
/frameworks/rs/tests/lldb/cpp/Allocations/
Dallocs.rs21 uchar4 __attribute__((kernel)) swizzle_kernel(uchar4 in)
27 uint __attribute__((kernel)) square_kernel(ushort in)
40 double3 __attribute__((kernel)) add_half_kernel(double4 in)
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name64/
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name64.rs:18:16: error: 1st input of foreach kernel 'bb' has type '…
2 reflection3264_foreach_mismatch_name64.rs:8:6: error: 1st input of foreach kernel 'aa' has type 'ui…
3 reflection3264_foreach_mismatch_name64.rs:11:6: error: 2nd foreach kernel is 'cc32' for 32-bit targ…

12345678910