1dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley/* 2dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * Copyright (C) 2016 The Android Open Source Project 3dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * 4dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * Licensed under the Apache License, Version 2.0 (the "License"); 5dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * you may not use this file except in compliance with the License. 6dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * You may obtain a copy of the License at 7dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * 8dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * http://www.apache.org/licenses/LICENSE-2.0 9dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * 10dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * Unless required by applicable law or agreed to in writing, software 11dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * distributed under the License is distributed on an "AS IS" BASIS, 12dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * See the License for the specific language governing permissions and 14dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley * limitations under the License. 15dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley */ 16dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 17dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley#ifndef ANDROID_AIDL_TESTS_CLIENT_UTF8_STRINGS_H 18dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley#define ANDROID_AIDL_TESTS_CLIENT_UTF8_STRINGS_H 19dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 20dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley#include <utils/StrongPointer.h> 21dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 22dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley#include "android/aidl/tests/ITestService.h" 23dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 24dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley// Tests for passing and returning utf8 strings. 25dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wileynamespace android { 26dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wileynamespace aidl { 27dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wileynamespace tests { 28dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wileynamespace client { 29dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 30dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wileybool ConfirmUtf8InCppStringRepeat( 31dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley const android::sp<android::aidl::tests::ITestService>& s); 32dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wileybool ConfirmUtf8InCppStringArrayReverse( 33dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley const android::sp<android::aidl::tests::ITestService>& s); 3499d699bef10f2455931fdd46861a25742a8fd7eaChristopher Wileybool ConfirmUtf8InCppStringListReverse( 3599d699bef10f2455931fdd46861a25742a8fd7eaChristopher Wiley const android::sp<android::aidl::tests::ITestService>& s); 36dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 37dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley} // namespace client 38dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley} // namespace tests 39dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley} // namespace aidl 40dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley} // namespace android 41dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 42dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley#endif // ANDROID_AIDL_TESTS_CLIENT_UTF8_STRINGS_H 43dca2ecf2883771b4c895e52a9f07e2467d603f77Christopher Wiley 44