1 /* 2 * Copyright 2016 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef __VTS_DATATYPE_H__ 18 #define __VTS_DATATYPE_H__ 19 20 #include "hal_camera.h" 21 #include "hal_gps.h" 22 #include "hal_light.h" 23 24 #define MAX_CHAR_POINTER_LENGTH 100 25 26 namespace android { 27 namespace vts { 28 29 extern void RandomNumberGeneratorReset(); 30 extern uint32_t RandomUint32(); 31 extern int32_t RandomInt32(); 32 extern uint64_t RandomUint64(); 33 extern int64_t RandomInt64(); 34 extern float RandomFloat(); 35 extern double RandomDouble(); 36 extern bool RandomBool(); 37 extern char* RandomCharPointer(); 38 extern void* RandomVoidPointer(); 39 40 } // namespace vts 41 } // namespace android 42 43 #endif 44