Skip to content

Commit

Permalink
Build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Tornaco committed Nov 14, 2024
1 parent cb58764 commit 1ea07b7
Show file tree
Hide file tree
Showing 51 changed files with 2,365 additions and 6,435 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* This file is auto-generated. DO NOT MODIFY.
* Using: /home/tornaco/Android/Sdk/build-tools/35.0.0/aidl -I/home/tornaco/Documents/Thanox/android/android_framework/base/src/main/java -p/home/tornaco/Documents/Thanox/android/android_sdk/framework.aidl -p/home/tornaco/Documents/Thanox/android/android_sdk/thanos.aidl /home/tornaco/Documents/Thanox/android/android_framework/base/src/main/java/com/android/vending/licensing/ILicenseResultListener.aidl
*/
package com.android.vending.licensing;
public interface ILicenseResultListener extends android.os.IInterface
Expand All @@ -18,8 +19,8 @@ public android.os.IBinder asBinder() {
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.android.vending.licensing.ILicenseResultListener
{
private static final java.lang.String DESCRIPTOR = "com.android.vending.licensing.ILicenseResultListener";
/** Construct the stub at attach it to the interface. */
@SuppressWarnings("this-escape")
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
Expand All @@ -46,30 +47,32 @@ public static com.android.vending.licensing.ILicenseResultListener asInterface(a
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
java.lang.String descriptor = DESCRIPTOR;
if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRANSACTION) {
data.enforceInterface(descriptor);
}
if (code == INTERFACE_TRANSACTION) {
reply.writeString(descriptor);
return true;
}
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_verifyLicense:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
java.lang.String _arg1;
_arg1 = data.readString();
java.lang.String _arg2;
_arg2 = data.readString();
this.verifyLicense(_arg0, _arg1, _arg2);
return true;
break;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
return true;
}
private static class Proxy implements com.android.vending.licensing.ILicenseResultListener
{
Expand All @@ -95,34 +98,15 @@ public java.lang.String getInterfaceDescriptor()
_data.writeString(signedData);
_data.writeString(signature);
boolean _status = mRemote.transact(Stub.TRANSACTION_verifyLicense, _data, null, android.os.IBinder.FLAG_ONEWAY);
if (!_status && getDefaultImpl() != null) {
getDefaultImpl().verifyLicense(responseCode, signedData, signature);
return;
}
}
finally {
_data.recycle();
}
}
public static com.android.vending.licensing.ILicenseResultListener sDefaultImpl;
}
static final int TRANSACTION_verifyLicense = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
public static boolean setDefaultImpl(com.android.vending.licensing.ILicenseResultListener impl) {
// Only one user of this interface can use this function
// at a time. This is a heuristic to detect if two different
// users in the same process use this function.
if (Stub.Proxy.sDefaultImpl != null) {
throw new IllegalStateException("setDefaultImpl() called twice");
}
if (impl != null) {
Stub.Proxy.sDefaultImpl = impl;
return true;
}
return false;
}
public static com.android.vending.licensing.ILicenseResultListener getDefaultImpl() {
return Stub.Proxy.sDefaultImpl;
}
}
/** @hide */
public static final java.lang.String DESCRIPTOR = "com.android.vending.licensing.ILicenseResultListener";
public void verifyLicense(int responseCode, java.lang.String signedData, java.lang.String signature) throws android.os.RemoteException;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* This file is auto-generated. DO NOT MODIFY.
* Using: /home/tornaco/Android/Sdk/build-tools/35.0.0/aidl -I/home/tornaco/Documents/Thanox/android/android_framework/base/src/main/java -p/home/tornaco/Documents/Thanox/android/android_sdk/framework.aidl -p/home/tornaco/Documents/Thanox/android/android_sdk/thanos.aidl /home/tornaco/Documents/Thanox/android/android_framework/base/src/main/java/com/android/vending/licensing/ILicensingService.aidl
*/
package com.android.vending.licensing;
public interface ILicensingService extends android.os.IInterface
Expand All @@ -18,8 +19,8 @@ public android.os.IBinder asBinder() {
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.android.vending.licensing.ILicensingService
{
private static final java.lang.String DESCRIPTOR = "com.android.vending.licensing.ILicensingService";
/** Construct the stub at attach it to the interface. */
@SuppressWarnings("this-escape")
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
Expand All @@ -46,30 +47,32 @@ public static com.android.vending.licensing.ILicensingService asInterface(androi
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
java.lang.String descriptor = DESCRIPTOR;
if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRANSACTION) {
data.enforceInterface(descriptor);
}
if (code == INTERFACE_TRANSACTION) {
reply.writeString(descriptor);
return true;
}
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_checkLicense:
{
data.enforceInterface(descriptor);
long _arg0;
_arg0 = data.readLong();
java.lang.String _arg1;
_arg1 = data.readString();
com.android.vending.licensing.ILicenseResultListener _arg2;
_arg2 = com.android.vending.licensing.ILicenseResultListener.Stub.asInterface(data.readStrongBinder());
this.checkLicense(_arg0, _arg1, _arg2);
return true;
break;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
return true;
}
private static class Proxy implements com.android.vending.licensing.ILicensingService
{
Expand All @@ -93,36 +96,17 @@ public java.lang.String getInterfaceDescriptor()
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeLong(nonce);
_data.writeString(packageName);
_data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));
_data.writeStrongInterface(listener);
boolean _status = mRemote.transact(Stub.TRANSACTION_checkLicense, _data, null, android.os.IBinder.FLAG_ONEWAY);
if (!_status && getDefaultImpl() != null) {
getDefaultImpl().checkLicense(nonce, packageName, listener);
return;
}
}
finally {
_data.recycle();
}
}
public static com.android.vending.licensing.ILicensingService sDefaultImpl;
}
static final int TRANSACTION_checkLicense = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
public static boolean setDefaultImpl(com.android.vending.licensing.ILicensingService impl) {
// Only one user of this interface can use this function
// at a time. This is a heuristic to detect if two different
// users in the same process use this function.
if (Stub.Proxy.sDefaultImpl != null) {
throw new IllegalStateException("setDefaultImpl() called twice");
}
if (impl != null) {
Stub.Proxy.sDefaultImpl = impl;
return true;
}
return false;
}
public static com.android.vending.licensing.ILicensingService getDefaultImpl() {
return Stub.Proxy.sDefaultImpl;
}
}
/** @hide */
public static final java.lang.String DESCRIPTOR = "com.android.vending.licensing.ILicensingService";
public void checkLicense(long nonce, java.lang.String packageName, com.android.vending.licensing.ILicenseResultListener listener) throws android.os.RemoteException;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* This file is auto-generated. DO NOT MODIFY.
* Using: /home/tornaco/Android/Sdk/build-tools/35.0.0/aidl -I/home/tornaco/Documents/Thanox/android/android_framework/base/src/main/java -p/home/tornaco/Documents/Thanox/android/android_sdk/framework.aidl -p/home/tornaco/Documents/Thanox/android/android_sdk/thanos.aidl /home/tornaco/Documents/Thanox/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/IPluginLogger.aidl
*/
package github.tornaco.android.thanos.core;
public interface IPluginLogger extends android.os.IInterface
Expand Down Expand Up @@ -27,8 +28,8 @@ public android.os.IBinder asBinder() {
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements github.tornaco.android.thanos.core.IPluginLogger
{
private static final java.lang.String DESCRIPTOR = "github.tornaco.android.thanos.core.IPluginLogger";
/** Construct the stub at attach it to the interface. */
@SuppressWarnings("this-escape")
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
Expand All @@ -55,54 +56,53 @@ public static github.tornaco.android.thanos.core.IPluginLogger asInterface(andro
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
java.lang.String descriptor = DESCRIPTOR;
if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRANSACTION) {
data.enforceInterface(descriptor);
}
if (code == INTERFACE_TRANSACTION) {
reply.writeString(descriptor);
return true;
}
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_logV:
{
data.enforceInterface(descriptor);
java.lang.String _arg0;
_arg0 = data.readString();
this.logV(_arg0);
reply.writeNoException();
return true;
break;
}
case TRANSACTION_logD:
{
data.enforceInterface(descriptor);
java.lang.String _arg0;
_arg0 = data.readString();
this.logD(_arg0);
reply.writeNoException();
return true;
break;
}
case TRANSACTION_logW:
{
data.enforceInterface(descriptor);
java.lang.String _arg0;
_arg0 = data.readString();
this.logW(_arg0);
reply.writeNoException();
return true;
break;
}
case TRANSACTION_logE:
{
data.enforceInterface(descriptor);
java.lang.String _arg0;
_arg0 = data.readString();
this.logE(_arg0);
reply.writeNoException();
return true;
break;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
return true;
}
private static class Proxy implements github.tornaco.android.thanos.core.IPluginLogger
{
Expand All @@ -127,10 +127,6 @@ public java.lang.String getInterfaceDescriptor()
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeString(content);
boolean _status = mRemote.transact(Stub.TRANSACTION_logV, _data, _reply, 0);
if (!_status && getDefaultImpl() != null) {
getDefaultImpl().logV(content);
return;
}
_reply.readException();
}
finally {
Expand All @@ -146,10 +142,6 @@ public java.lang.String getInterfaceDescriptor()
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeString(content);
boolean _status = mRemote.transact(Stub.TRANSACTION_logD, _data, _reply, 0);
if (!_status && getDefaultImpl() != null) {
getDefaultImpl().logD(content);
return;
}
_reply.readException();
}
finally {
Expand All @@ -165,10 +157,6 @@ public java.lang.String getInterfaceDescriptor()
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeString(content);
boolean _status = mRemote.transact(Stub.TRANSACTION_logW, _data, _reply, 0);
if (!_status && getDefaultImpl() != null) {
getDefaultImpl().logW(content);
return;
}
_reply.readException();
}
finally {
Expand All @@ -184,40 +172,21 @@ public java.lang.String getInterfaceDescriptor()
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeString(content);
boolean _status = mRemote.transact(Stub.TRANSACTION_logE, _data, _reply, 0);
if (!_status && getDefaultImpl() != null) {
getDefaultImpl().logE(content);
return;
}
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
public static github.tornaco.android.thanos.core.IPluginLogger sDefaultImpl;
}
static final int TRANSACTION_logV = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_logD = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_logW = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_logE = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
public static boolean setDefaultImpl(github.tornaco.android.thanos.core.IPluginLogger impl) {
// Only one user of this interface can use this function
// at a time. This is a heuristic to detect if two different
// users in the same process use this function.
if (Stub.Proxy.sDefaultImpl != null) {
throw new IllegalStateException("setDefaultImpl() called twice");
}
if (impl != null) {
Stub.Proxy.sDefaultImpl = impl;
return true;
}
return false;
}
public static github.tornaco.android.thanos.core.IPluginLogger getDefaultImpl() {
return Stub.Proxy.sDefaultImpl;
}
}
/** @hide */
public static final java.lang.String DESCRIPTOR = "github.tornaco.android.thanos.core.IPluginLogger";
public void logV(java.lang.String content) throws android.os.RemoteException;
public void logD(java.lang.String content) throws android.os.RemoteException;
public void logW(java.lang.String content) throws android.os.RemoteException;
Expand Down
Loading

0 comments on commit 1ea07b7

Please sign in to comment.