16503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey/*
26503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * Copyright (C) 2017 The Android Open Source Project
36503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *
46503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * Licensed under the Apache License, Version 2.0 (the "License");
56503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * you may not use this file except in compliance with the License.
66503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * You may obtain a copy of the License at
76503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *
86503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *      http://www.apache.org/licenses/LICENSE-2.0
96503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *
106503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * Unless required by applicable law or agreed to in writing, software
116503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * distributed under the License is distributed on an "AS IS" BASIS,
126503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
136503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * See the License for the specific language governing permissions and
146503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * limitations under the License.
156503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey */
166503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey
176503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeypackage android.annotation;
186503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey
196503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport static java.lang.annotation.ElementType.FIELD;
206503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport static java.lang.annotation.ElementType.METHOD;
216503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport static java.lang.annotation.ElementType.PARAMETER;
226503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport static java.lang.annotation.RetentionPolicy.SOURCE;
236503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey
246503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport android.os.SystemClock;
256503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey
266503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport java.lang.annotation.Retention;
276503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeyimport java.lang.annotation.Target;
286503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey
296503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey/**
306503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * @memberDoc Value is a non-negative timestamp in the
316503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *            {@link SystemClock#elapsedRealtime()} time base.
326503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * @paramDoc Value is a non-negative timestamp in the
336503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *           {@link SystemClock#elapsedRealtime()} time base.
346503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * @returnDoc Value is a non-negative timestamp in the
356503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey *            {@link SystemClock#elapsedRealtime()} time base.
366503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey * @hide
376503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey */
386503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey@Retention(SOURCE)
396503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey@Target({METHOD, PARAMETER, FIELD})
406503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkeypublic @interface ElapsedRealtimeLong {
416503bd8e33dbf6e8357256d43c6e1158e32a0268Jeff Sharkey}
42