edf5b7ec1e252a32d7b1fa713bbe1c62a825825f
[platform/upstream/grpc.git] / src / core / ext / transport / binder / wire_format / binder_constants.cc
1 // Copyright 2021 gRPC authors.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #include <grpc/impl/codegen/port_platform.h>
16
17 #include "src/core/ext/transport/binder/wire_format/binder_constants.h"
18
19 #ifndef ANDROID
20
21 const int FIRST_CALL_TRANSACTION = 0x00000001;
22 const int LAST_CALL_TRANSACTION = 0x00FFFFFF;
23
24 #endif  // ANDROID
25
26 namespace grpc_binder {
27
28 const int kFirstCallId = FIRST_CALL_TRANSACTION + 1000;
29
30 }  // namespace grpc_binder