-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EN: Add latest API details, improve performance
- Loading branch information
Showing
42 changed files
with
1,601 additions
and
215 deletions.
There are no files selected for viewing
10 changes: 8 additions & 2 deletions
10
play-services-basement/src/main/java/com/google/android/gms/common/api/ApiException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...ices-basement/src/main/java/com/google/android/gms/common/api/ResolvableApiException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,5 @@ android { | |
|
||
dependencies { | ||
api project(':play-services-basement') | ||
|
||
api project(':play-services-base-api') | ||
} |
8 changes: 8 additions & 0 deletions
8
...by-api/src/main/aidl/com/google/android/gms/nearby/exposurenotification/DailySummary.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification; | ||
|
||
parcelable DailySummary; |
8 changes: 8 additions & 0 deletions
8
...ain/aidl/com/google/android/gms/nearby/exposurenotification/DiagnosisKeysDataMapping.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification; | ||
|
||
parcelable DiagnosisKeysDataMapping; |
8 changes: 8 additions & 0 deletions
8
...-api/src/main/aidl/com/google/android/gms/nearby/exposurenotification/ExposureWindow.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification; | ||
|
||
parcelable ExposureWindow; |
8 changes: 8 additions & 0 deletions
8
...ogle/android/gms/nearby/exposurenotification/internal/GetCalibrationConfidenceParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
parcelable GetCalibrationConfidenceParams; |
8 changes: 8 additions & 0 deletions
8
.../com/google/android/gms/nearby/exposurenotification/internal/GetDailySummariesParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
parcelable GetDailySummariesParams; |
8 changes: 8 additions & 0 deletions
8
...e/android/gms/nearby/exposurenotification/internal/GetDiagnosisKeysDataMappingParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
parcelable GetDiagnosisKeysDataMappingParams; |
8 changes: 8 additions & 0 deletions
8
...com/google/android/gms/nearby/exposurenotification/internal/GetExposureWindowsParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
parcelable GetExposureWindowsParams; |
8 changes: 8 additions & 0 deletions
8
...in/aidl/com/google/android/gms/nearby/exposurenotification/internal/GetVersionParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
parcelable GetVersionParams; |
13 changes: 13 additions & 0 deletions
13
...om/google/android/gms/nearby/exposurenotification/internal/IDailySummaryListCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
import com.google.android.gms.nearby.exposurenotification.DailySummary; | ||
|
||
interface IDailySummaryListCallback { | ||
void onResult(in Status status, in List<DailySummary> result); | ||
} |
13 changes: 13 additions & 0 deletions
13
...e/android/gms/nearby/exposurenotification/internal/IDiagnosisKeysDataMappingCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
import com.google.android.gms.nearby.exposurenotification.DiagnosisKeysDataMapping; | ||
|
||
interface IDiagnosisKeysDataMappingCallback { | ||
void onResult(in Status status, in DiagnosisKeysDataMapping result); | ||
} |
13 changes: 13 additions & 0 deletions
13
.../google/android/gms/nearby/exposurenotification/internal/IExposureWindowListCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
import com.google.android.gms.nearby.exposurenotification.ExposureWindow; | ||
|
||
interface IExposureWindowListCallback { | ||
void onResult(in Status status, in List<ExposureWindow> result); | ||
} |
12 changes: 12 additions & 0 deletions
12
...c/main/aidl/com/google/android/gms/nearby/exposurenotification/internal/IIntCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
|
||
interface IIntCallback { | ||
void onResult(in Status status, int result); | ||
} |
12 changes: 12 additions & 0 deletions
12
.../main/aidl/com/google/android/gms/nearby/exposurenotification/internal/ILongCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
|
||
interface ILongCallback { | ||
void onResult(in Status status, long result); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...e/android/gms/nearby/exposurenotification/internal/SetDiagnosisKeysDataMappingParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification.internal; | ||
|
||
parcelable SetDiagnosisKeysDataMappingParams; |
37 changes: 37 additions & 0 deletions
37
...c/main/java/com/google/android/gms/nearby/exposurenotification/CalibrationConfidence.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2020, microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* Notice: Portions of this file are reproduced from work created and shared by Google and used | ||
* according to terms described in the Creative Commons 4.0 Attribution License. | ||
* See https://developers.google.com/readme/policies for details. | ||
*/ | ||
|
||
package com.google.android.gms.nearby.exposurenotification; | ||
|
||
import org.microg.gms.common.PublicApi; | ||
|
||
/** | ||
* Calibration confidence defined for an {@link ExposureWindow}. | ||
*/ | ||
@PublicApi | ||
public @interface CalibrationConfidence { | ||
/** | ||
* No calibration data, using fleet-wide as default options. | ||
*/ | ||
int LOWEST = 0; | ||
/** | ||
* Using average calibration over models from manufacturer. | ||
*/ | ||
int LOW = 1; | ||
/** | ||
* Using single-antenna orientation for a similar model. | ||
*/ | ||
int MEDIUM = 2; | ||
/** | ||
* Using significant calibration data for this model. | ||
*/ | ||
int HIGH = 3; | ||
|
||
@PublicApi(exclude = true) | ||
int VALUES = 4; | ||
} |
Oops, something went wrong.