diff options
author | Yiming Jing <yimingjing@google.com> | 2021-08-03 22:28:15 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-03 22:28:15 +0000 |
commit | aa950fe0c8546fb4a99d32c333125738d42c8f98 (patch) | |
tree | f2f470f6f65f12d0af6841050b325a17370b4ecf | |
parent | df660d593495d41b167e50b570de00e320e68437 (diff) | |
parent | a9c6ecb7875b81d995d325822cc63fd89d9ffd10 (diff) | |
download | DebuggingRestrictionController-aa950fe0c8546fb4a99d32c333125738d42c8f98.tar.gz |
Add license headers am: a9c6ecb787android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-release
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/DebuggingRestrictionController/+/15447645
Change-Id: I2a6cee1b326482241322d4c5e48cc1b9560131b6
16 files changed, 212 insertions, 3 deletions
diff --git a/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/LoginTest.java b/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/LoginTest.java index 62e6020..69bd1ae 100644 --- a/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/LoginTest.java +++ b/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/LoginTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller; import static androidx.test.core.app.ApplicationProvider.getApplicationContext; diff --git a/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/TokenTest.java b/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/TokenTest.java index f6aa750..ab291ed 100644 --- a/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/TokenTest.java +++ b/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/TokenTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller; import static androidx.test.espresso.Espresso.onView; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/SelfSignedTrustManager.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/SelfSignedTrustManager.java index 903fd84..14f483e 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/SelfSignedTrustManager.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/SelfSignedTrustManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.auth; import android.util.Log; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenPayload.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenPayload.java index a00caff..c0b8919 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenPayload.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenPayload.java @@ -1,18 +1,17 @@ /* - * Copyright 2020 Google Inc. All Rights Reserved. + * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ package com.android.car.debuggingrestrictioncontroller.auth; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenValidator.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenValidator.java index 6f28f6a..7fc88ec 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenValidator.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/TokenValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.auth; import androidx.annotation.NonNull; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoggedInUserView.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoggedInUserView.java index b96d3d6..142dd85 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoggedInUserView.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoggedInUserView.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.login; /** Class exposing authenticated user details to the UI. */ diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginActivity.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginActivity.java index 71a3d44..9879e5e 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginActivity.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.login; import android.content.Intent; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginFormState.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginFormState.java index 3626a4f..6f217c8 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginFormState.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginFormState.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.login; import androidx.annotation.Nullable; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginResult.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginResult.java index 5d93847..d07f726 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginResult.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.login; import androidx.annotation.Nullable; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginViewModel.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginViewModel.java index 7f71989..2360684 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginViewModel.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/LoginViewModel.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.login; import android.util.Patterns; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenActivity.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenActivity.java index 984c7f3..02a32db 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenActivity.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.token; import android.app.Activity; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenResult.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenResult.java index 8a4da6b..1e763fe 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenResult.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenResult.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.token; import androidx.annotation.Nullable; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenView.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenView.java index 7603436..01da070 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenView.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenView.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.token; import java.util.HashMap; diff --git a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenViewModel.java b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenViewModel.java index c9f112e..ebb4130 100644 --- a/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenViewModel.java +++ b/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/TokenViewModel.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.android.car.debuggingrestrictioncontroller.ui.token; import android.util.Base64; diff --git a/soong/BuildConfig.java b/soong/BuildConfig.java index 5f7c83c..43111a6 100644 --- a/soong/BuildConfig.java +++ b/soong/BuildConfig.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.android.car.debuggingrestrictioncontroller; public final class BuildConfig { diff --git a/soong/FirebaseApplication.java b/soong/FirebaseApplication.java index 96860ca..54d2d46 100644 --- a/soong/FirebaseApplication.java +++ b/soong/FirebaseApplication.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.android.car.debuggingrestrictioncontroller; import android.app.Application; |