1546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan/*
2546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * Copyright (C) 2015 The Android Open Source Project
3546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan *
4546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * Licensed under the Apache License, Version 2.0 (the "License");
5546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * you may not use this file except in compliance with the License.
6546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * You may obtain a copy of the License at
7546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan *
8546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan *      http://www.apache.org/licenses/LICENSE-2.0
9546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan *
10546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * Unless required by applicable law or agreed to in writing, software
11546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * distributed under the License is distributed on an "AS IS" BASIS,
12546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * See the License for the specific language governing permissions and
14546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan * limitations under the License.
15546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan */
16546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
17546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan#ifndef ANDROID_AIDL_TESTS_CLIENT_PARCELABLES_H
18546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan#define ANDROID_AIDL_TESTS_CLIENT_PARCELABLES_H
19546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
20546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan#include <utils/StrongPointer.h>
21546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
22546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan#include "android/aidl/tests/ITestService.h"
23546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
24546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan// Tests for passing and returning parcelable types.
25546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tannamespace android {
26546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tannamespace aidl {
27546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tannamespace tests {
28546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tannamespace client {
29546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
3088c320053c5c0f9c45a5700c89b23a9c0c745369Samuel Tanbool ConfirmSimpleParcelables(const sp<ITestService>& s);
3188c320053c5c0f9c45a5700c89b23a9c0c745369Samuel Tanbool ConfirmPersistableBundles(const sp<ITestService>& s);
32546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
33546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan}  // namespace client
34546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan}  // namespace tests
35546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan}  // namespace aidl
36546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan}  // namespace android
37546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan
38546d27d8776c91d0769202b82d9d81405e8ab5d7Samuel Tan#endif  // ANDROID_AIDL_TESTS_CLIENT_PARCELABLES_H
39