summaryrefslogtreecommitdiff
path: root/platform/android/java/aidl
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-08-27 13:31:38 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-08-27 13:44:16 +0200
commit6f0367052a3450d732aa197f20251b168e1094b4 (patch)
treeae29a032bea0d32a8c102533d2d86c236fcb67f5 /platform/android/java/aidl
parent071ebb1e4871431e7edf7f679afd02e594ea5af9 (diff)
Android: Resync Google licensing lib with upstream, unmodified
It had been synced with style changes (spaces -> tabs), not sure why I accepted to merge it this way back then... Synced with https://github.com/google/play-licensing/commit/eb57657f666363914085cdde49d875cf49f5ab06, same as before. Custom-changes will be reapplied in the next commit, if relevant.
Diffstat (limited to 'platform/android/java/aidl')
-rw-r--r--platform/android/java/aidl/com/android/vending/licensing/ILicenseResultListener.aidl21
-rw-r--r--platform/android/java/aidl/com/android/vending/licensing/ILicensingService.aidl23
2 files changed, 44 insertions, 0 deletions
diff --git a/platform/android/java/aidl/com/android/vending/licensing/ILicenseResultListener.aidl b/platform/android/java/aidl/com/android/vending/licensing/ILicenseResultListener.aidl
new file mode 100644
index 0000000000..869cb16f68
--- /dev/null
+++ b/platform/android/java/aidl/com/android/vending/licensing/ILicenseResultListener.aidl
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2010 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.vending.licensing;
+
+oneway interface ILicenseResultListener {
+ void verifyLicense(int responseCode, String signedData, String signature);
+}
diff --git a/platform/android/java/aidl/com/android/vending/licensing/ILicensingService.aidl b/platform/android/java/aidl/com/android/vending/licensing/ILicensingService.aidl
new file mode 100644
index 0000000000..9541a2090c
--- /dev/null
+++ b/platform/android/java/aidl/com/android/vending/licensing/ILicensingService.aidl
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2010 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.vending.licensing;
+
+import com.android.vending.licensing.ILicenseResultListener;
+
+oneway interface ILicensingService {
+ void checkLicense(long nonce, String packageName, in ILicenseResultListener listener);
+}