Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
d78c0842
Commit
d78c0842
authored
3 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix cert-dcl16-c warnings"
parents
5ec4a129
623cf543
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libs/androidfw/tests/BackupHelpers_test.cpp
+1
-1
1 addition, 1 deletion
libs/androidfw/tests/BackupHelpers_test.cpp
services/core/jni/BroadcastRadio/types.h
+6
-6
6 additions, 6 deletions
services/core/jni/BroadcastRadio/types.h
with
7 additions
and
7 deletions
libs/androidfw/tests/BackupHelpers_test.cpp
+
1
−
1
View file @
d78c0842
...
...
@@ -50,7 +50,7 @@ TEST_F(BackupHelpersTest, WriteTarFileWithSizeLessThan2GB) {
TEST_F
(
BackupHelpersTest
,
WriteTarFileWithSizeGreaterThan2GB
)
{
TemporaryFile
tf
;
// Allocate a 2 GB file.
off64_t
fileSize
=
2
ll
*
1024
ll
*
1024
ll
*
1024
ll
+
512
ll
;
off64_t
fileSize
=
2
LL
*
1024
LL
*
1024
LL
*
1024
LL
+
512
LL
;
ASSERT_EQ
(
0
,
posix_fallocate64
(
tf
.
fd
,
0
,
fileSize
));
off64_t
tarSize
=
0
;
int
err
=
write_tarfile
(
/* packageName */
String8
(
"test-pkg"
),
/* domain */
String8
(
""
),
/* rootpath */
String8
(
""
),
/* filePath */
String8
(
tf
.
path
),
/* outSize */
&
tarSize
,
/* writer */
NULL
);
...
...
This diff is collapsed.
Click to expand it.
services/core/jni/BroadcastRadio/types.h
+
6
−
6
View file @
d78c0842
...
...
@@ -30,13 +30,13 @@ namespace BroadcastRadio {
// Keep in sync with STATUS_* constants from RadioManager.java.
enum
class
Status
:
jint
{
OK
=
0
,
ERROR
=
-
0x80000000
ll
,
// Integer.MIN_VALUE
ERROR
=
-
0x80000000
LL
,
// Integer.MIN_VALUE
PERMISSION_DENIED
=
-
1
,
// -EPERM
NO_INIT
=
-
19
,
// -ENODEV
BAD_VALUE
=
-
22
,
// -EINVAL
DEAD_OBJECT
=
-
32
,
// -EPIPE
INVALID_OPERATION
=
-
38
,
// -ENOSYS
TIMED_OUT
=
-
110
,
// -ETIMEDOUT
NO_INIT
=
-
19
,
// -ENODEV
BAD_VALUE
=
-
22
,
// -EINVAL
DEAD_OBJECT
=
-
32
,
// -EPIPE
INVALID_OPERATION
=
-
38
,
// -ENOSYS
TIMED_OUT
=
-
110
,
// -ETIMEDOUT
};
// Keep in sync with REGION_* constants from RadioManager.java.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment