/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | cow_format.cpp | 26 std::ostream& operator<<(std::ostream& os, CowOperation const& op) { in operator <<() argument 27 os << "CowOperation(type:"; in operator <<() 29 os << "kCowCopyOp, "; in operator <<() 31 os << "kCowReplaceOp, "; in operator <<() 33 os << "kZeroOp, "; in operator <<() 35 os << "kCowFooterOp, "; in operator <<() 37 os << "kCowLabelOp, "; in operator <<() 39 os << "kCowClusterOp "; in operator <<() 41 os << "kCowXorOp "; in operator <<() 43 os << "kCowSequenceOp "; in operator <<() [all …]
|
/system/apex/tools/ |
D | apexer_with_DCLA_preprocessing_test.py | 20 import os 29 TEST_PRIVATE_KEY = os.path.join('testdata', 'com.android.example.apex.pem') 45 current_dir = os.path.dirname(os.path.realpath(__file__)) 68 tool_binary = os.path.join(get_current_dir(), 'apexer_with_DCLA_preprocessing') 69 if not os.path.isfile(tool_binary): 72 os.chmod(tool_binary, stat.S_IRUSR | stat.S_IXUSR); 77 tool_binary = os.path.join(get_current_dir(), 'bin', tool_name) 78 if not os.path.isfile(tool_binary): 79 host_build_top = os.environ.get('ANDROID_BUILD_TOP') 81 host_command_dir = os.path.join(host_build_top, 'out/host/linux-x86/bin') [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/ |
D | ITestService.java | 6 public interface ITestService extends android.os.IInterface 22 @Override public int UnimplementedMethod(int arg) throws android.os.RemoteException in UnimplementedMethod() 30 @Override public void Deprecated() throws android.os.RemoteException in Deprecated() 33 @Override public void TestOneway() throws android.os.RemoteException in TestOneway() 37 @Override public boolean RepeatBoolean(boolean token) throws android.os.RemoteException in RepeatBoolean() 41 @Override public byte RepeatByte(byte token) throws android.os.RemoteException in RepeatByte() 45 @Override public char RepeatChar(char token) throws android.os.RemoteException in RepeatChar() 49 @Override public int RepeatInt(int token) throws android.os.RemoteException in RepeatInt() 53 @Override public long RepeatLong(long token) throws android.os.RemoteException in RepeatLong() 57 @Override public float RepeatFloat(float token) throws android.os.RemoteException in RepeatFloat() [all …]
|
D | IOldName.java | 5 public interface IOldName extends android.os.IInterface 10 @Override public java.lang.String RealName() throws android.os.RemoteException in RealName() 15 public android.os.IBinder asBinder() { in asBinder() 20 public static abstract class Stub extends android.os.Binder implements android.aidl.tests.IOldName 31 public static android.aidl.tests.IOldName asInterface(android.os.IBinder obj) in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 42 @Override public android.os.IBinder asBinder() in asBinder() 66 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 69 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() 98 private android.os.IBinder mRemote; [all …]
|
D | INewName.java | 5 public interface INewName extends android.os.IInterface 10 @Override public java.lang.String RealName() throws android.os.RemoteException in RealName() 15 public android.os.IBinder asBinder() { in asBinder() 20 public static abstract class Stub extends android.os.Binder implements android.aidl.tests.INewName 31 public static android.aidl.tests.INewName asInterface(android.os.IBinder obj) in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 42 @Override public android.os.IBinder asBinder() in asBinder() 66 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 69 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() 98 private android.os.IBinder mRemote; [all …]
|
D | INamedCallback.java | 5 public interface INamedCallback extends android.os.IInterface 10 @Override public java.lang.String GetName() throws android.os.RemoteException in GetName() 15 public android.os.IBinder asBinder() { in asBinder() 20 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.INamedCa… 31 public static android.aidl.tests.INamedCallback asInterface(android.os.IBinder obj) in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 42 @Override public android.os.IBinder asBinder() in asBinder() 66 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 69 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() 98 private android.os.IBinder mRemote; [all …]
|
D | ICircular.java | 5 public interface ICircular extends android.os.IInterface 10 …@Override public android.aidl.tests.ITestService GetTestService() throws android.os.RemoteException in GetTestService() 15 public android.os.IBinder asBinder() { in asBinder() 20 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.ICircular 31 public static android.aidl.tests.ICircular asInterface(android.os.IBinder obj) in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 42 @Override public android.os.IBinder asBinder() in asBinder() 66 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 69 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() 98 private android.os.IBinder mRemote; [all …]
|
D | UnionWithFd.java | 5 public final class UnionWithFd implements android.os.Parcelable { 19 private UnionWithFd(android.os.Parcel _aidl_parcel) { in UnionWithFd() 49 public static UnionWithFd pfd(android.os.ParcelFileDescriptor _value) { in pfd() 53 public android.os.ParcelFileDescriptor getPfd() { in getPfd() 55 return (android.os.ParcelFileDescriptor) _value; in getPfd() 58 public void setPfd(android.os.ParcelFileDescriptor _value) { in setPfd() 62 …public static final android.os.Parcelable.Creator<UnionWithFd> CREATOR = new android.os.Parcelable… 64 public UnionWithFd createFromParcel(android.os.Parcel _aidl_source) { 74 public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) { in writeToParcel() 86 public void readFromParcel(android.os.Parcel _aidl_parcel) { in readFromParcel() [all …]
|
/system/apex/apexer/ |
D | apexer_test.py | 21 import os 39 TEST_PRIVATE_KEY = os.path.join("testdata", "com.android.example.apex.pem") 40 TEST_X509_KEY = os.path.join("testdata", "com.android.example.apex.x509.pem") 41 TEST_PK8_KEY = os.path.join("testdata", "com.android.example.apex.pk8") 42 TEST_AVB_PUBLIC_KEY = os.path.join("testdata", "com.android.example.apex.avbpubkey") 74 host_build_top = os.environ.get("ANDROID_BUILD_TOP") 76 host_command_dir = os.path.join(host_build_top, "out/host/linux-x86/bin") 77 args[0] = os.path.join(host_command_dir, args[0]) 129 current_dir = os.path.dirname(os.path.realpath(__file__)) 164 self._get_host_tools(os.path.join(get_current_dir(), "apexer_test_host_tools.zip")) [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-permission-java-source/gen/android/aidl/tests/permission/ |
D | IProtected.java | 5 public interface IProtected extends android.os.IInterface 10 @Override public void PermissionProtected() throws android.os.RemoteException in PermissionProtected() 13 @Override public void MultiplePermissionsAll() throws android.os.RemoteException in MultiplePermissionsAll() 16 @Override public void MultiplePermissionsAny() throws android.os.RemoteException in MultiplePermissionsAny() 19 @Override public void NonManifestPermission() throws android.os.RemoteException in NonManifestPermission() 23 …lic void SetGranted(java.util.List<java.lang.String> permissions) throws android.os.RemoteException in SetGranted() 27 public android.os.IBinder asBinder() { in asBinder() 32 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.permissi… 34 private final android.os.PermissionEnforcer mEnforcer; 36 public Stub(android.os.PermissionEnforcer enforcer) in Stub() [all …]
|
D | IProtectedInterface.java | 5 public interface IProtectedInterface extends android.os.IInterface 10 @Override public void Method1() throws android.os.RemoteException in Method1() 13 @Override public void Method2() throws android.os.RemoteException in Method2() 17 public android.os.IBinder asBinder() { in asBinder() 22 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.permissi… 24 private final android.os.PermissionEnforcer mEnforcer; 26 public Stub(android.os.PermissionEnforcer enforcer) in Stub() 37 this(android.os.PermissionEnforcer.fromContext( in Stub() 44 …public static android.aidl.tests.permission.IProtectedInterface asInterface(android.os.IBinder obj) in asInterface() 49 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() [all …]
|
D | INoPermission.java | 5 public interface INoPermission extends android.os.IInterface 10 @Override public void foo() throws android.os.RemoteException in foo() 14 public android.os.IBinder asBinder() { in asBinder() 19 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.permissi… 30 public static android.aidl.tests.permission.INoPermission asInterface(android.os.IBinder obj) in asInterface() 35 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 41 @Override public android.os.IBinder asBinder() in asBinder() 65 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 68 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() 96 private android.os.IBinder mRemote; [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-java-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.java | 5 public interface IFooInterface extends android.os.IInterface 18 @Override public void originalApi() throws android.os.RemoteException in originalApi() 21 …ceptUnionAndReturnString(android.aidl.versioned.tests.BazUnion u) throws android.os.RemoteException in acceptUnionAndReturnString() 25 …Foo inoutFoo, android.aidl.versioned.tests.Foo outFoo, int value) throws android.os.RemoteException in ignoreParcelablesAndRepeatInt() 29 … returnsLengthOfFooArray(android.aidl.versioned.tests.Foo[] foos) throws android.os.RemoteException in returnsLengthOfFooArray() 42 public android.os.IBinder asBinder() { in asBinder() 47 …public static abstract class Stub extends android.os.Binder implements android.aidl.versioned.test… 58 public static android.aidl.versioned.tests.IFooInterface asInterface(android.os.IBinder obj) in asInterface() 63 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 69 @Override public android.os.IBinder asBinder() in asBinder() [all …]
|
/system/chre/chpp/test/ |
D | packet_util.cpp | 96 void dumpRaw(std::ostream &os, const void *ptr, size_t len) { in dumpRaw() argument 112 os << " " << line << "\t" << lineChars << std::endl; in dumpRaw() 129 os << " " << line << tabs << lineChars << std::endl; in dumpRaw() 133 void dumpPreamble(std::ostream &os, uint16_t preamble) { in dumpPreamble() argument 135 os << std::endl in dumpPreamble() 138 os << " (ok)"; in dumpPreamble() 140 os << " (invalid -- expected 0x" << std::hex << kPreamble << ")"; in dumpPreamble() 142 os << std::endl; in dumpPreamble() 145 void dumpHeader(std::ostream &os, const ChppTransportHeader &hdr) { in dumpHeader() argument 146 os << "Header {" << std::endl in dumpHeader() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/nested/ |
D | INestedService.java | 5 public interface INestedService extends android.os.IInterface 10 …sult flipStatus(android.aidl.tests.nested.ParcelableWithNested p) throws android.os.RemoteException in flipStatus() 14 …te status, android.aidl.tests.nested.INestedService.ICallback cb) throws android.os.RemoteException in flipStatusWithCallback() 18 public android.os.IBinder asBinder() { in asBinder() 23 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.nested.I… 34 public static android.aidl.tests.nested.INestedService asInterface(android.os.IBinder obj) in asInterface() 39 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 45 @Override public android.os.IBinder asBinder() in asBinder() 73 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 76 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() [all …]
|
D | DeeplyNested.java | 5 public class DeeplyNested implements android.os.Parcelable 7 …public static final android.os.Parcelable.Creator<DeeplyNested> CREATOR = new android.os.Parcelabl… 9 public DeeplyNested createFromParcel(android.os.Parcel _aidl_source) { 19 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel() 28 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel() 33 …if (_aidl_parcelable_size < 4) throw new android.os.BadParcelableException("Parcelable too small")… in readFromParcel() 36 throw new android.os.BadParcelableException("Overflow in the size of parcelable"); in readFromParcel() 46 public static class A implements android.os.Parcelable 50 …public static final android.os.Parcelable.Creator<A> CREATOR = new android.os.Parcelable.Creator<A… 52 public A createFromParcel(android.os.Parcel _aidl_source) { [all …]
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 21 import os 45 random.seed(os.path.basename(pathname) if seed is None else seed) 79 self._exec_dir = os.path.abspath(os.path.dirname(sys.argv[0])) 81 self._avbtool_path = os.path.join(self._exec_dir, 'avbtool') 90 boot_img = os.path.join(temp_out_dir, 'boot.img') 91 kernel = generate_test_file(os.path.join(temp_out_dir, 'kernel'), 93 ramdisk = generate_test_file(os.path.join(temp_out_dir, 'ramdisk'), 117 '--out', os.path.join(temp_out_dir, 'out'), 156 os.path.join(temp_out_dir, 'out', 'boot_signature') 175 boot_img = os.path.join(temp_out_dir, 'boot.img') [all …]
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-java-source/gen/android/aidl/loggable/ |
D | ILoggableInterface.java | 5 public interface ILoggableInterface extends android.os.IInterface 10 …lue, android.os.IBinder binderValue, android.os.ParcelFileDescriptor pfdValue, android.os.ParcelFi… in LogThis() 15 public android.os.IBinder asBinder() { in asBinder() 20 …public static abstract class Stub extends android.os.Binder implements android.aidl.loggable.ILogg… 31 public static android.aidl.loggable.ILoggableInterface asInterface(android.os.IBinder obj) in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 42 @Override public android.os.IBinder asBinder() in asBinder() 66 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact() 69 …if (code >= android.os.IBinder.FIRST_CALL_TRANSACTION && code <= android.os.IBinder.LAST_CALL_TRAN… in onTransact() 120 android.os.IBinder _arg18; in onTransact() [all …]
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 37 std::ostream& operator<<(std::ostream& os, const keymaster_key_param_t& param) { in operator <<() argument 38 os << "Tag: " << keymaster::StringifyTag(param.tag); in operator <<() 41 os << " Invalid"; in operator <<() 44 os << " (Rep)"; in operator <<() 48 os << " Int: " << param.integer; in operator <<() 51 os << " (Rep)"; in operator <<() 55 os << " Enum: " << param.enumerated; in operator <<() 58 os << " (Rep)"; in operator <<() 62 os << " Long: " << param.long_integer; in operator <<() 65 os << " Date: " << param.date_time; in operator <<() [all …]
|
/system/apex/tests/testdata/sharedlibs/build/ |
D | shared_libs_repack.py | 31 import os 143 file_path = os.path.join(dir_name, i) 144 if os.path.exists(file_path): 166 if os.path.exists(os.path.join(dir_name, i)): 167 os.remove(os.path.join(dir_name, i)) 168 if os.path.isdir(os.path.join(dir_name, 'lost+found')): 169 shutil.rmtree(os.path.join(dir_name, 'lost+found')) 180 os.path.dirname(apexer_cmd) + ':prebuilts/sdk/tools/linux/bin' 194 os.close(fd) 203 if os.path.isfile('prebuilts/jdk/jdk17/linux-x86/bin/java'): [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-permission-java-source/gen/android/aidl/tests/permission/platform/ |
D | IProtected.java | 5 public interface IProtected extends android.os.IInterface 10 …edWithSourceAttribution(android.content.AttributionSource source) throws android.os.RemoteException in ProtectedWithSourceAttribution() 14 public android.os.IBinder asBinder() { in asBinder() 19 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.permissi… 21 private final android.os.PermissionEnforcer mEnforcer; 23 public Stub(android.os.PermissionEnforcer enforcer) in Stub() 34 this(android.os.PermissionEnforcer.fromContext( in Stub() 41 …public static android.aidl.tests.permission.platform.IProtected asInterface(android.os.IBinder obj) in asInterface() 46 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 52 @Override public android.os.IBinder asBinder() in asBinder() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-java-source/gen/android/aidl/fixedsizearray/ |
D | FixedSizeArrayExample.java | 5 public class FixedSizeArrayExample implements android.os.Parcelable 52 public android.os.IBinder[] binderNullableArray; 53 public android.os.ParcelFileDescriptor[] pfdNullableArray; 67 public android.os.IBinder[][] binderNullableMatrix; 68 public android.os.ParcelFileDescriptor[][] pfdNullableMatrix; 71 …public static final android.os.Parcelable.Creator<FixedSizeArrayExample> CREATOR = new android.os.… 73 public FixedSizeArrayExample createFromParcel(android.os.Parcel _aidl_source) { 83 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel() 147 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel() 152 …if (_aidl_parcelable_size < 4) throw new android.os.BadParcelableException("Parcelable too small")… in readFromParcel() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/extension/ |
D | ExtendableParcelable.java | 5 public class ExtendableParcelable implements android.os.Parcelable 9 …public final android.os.ParcelableHolder ext = new android.os.ParcelableHolder(android.os.Parcelab… 11 …public final android.os.ParcelableHolder ext2 = new android.os.ParcelableHolder(android.os.Parcela… 12 …public static final android.os.Parcelable.Creator<ExtendableParcelable> CREATOR = new android.os.P… 14 public ExtendableParcelable createFromParcel(android.os.Parcel _aidl_source) { 24 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel() 38 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel() 43 …if (_aidl_parcelable_size < 4) throw new android.os.BadParcelableException("Parcelable too small")… in readFromParcel() 60 throw new android.os.BadParcelableException("Overflow in the size of parcelable"); in readFromParcel() 74 if (_v instanceof android.os.Parcelable) { in describeContents() [all …]
|
/system/update_engine/payload_generator/ |
D | annotated_operation.cc | 31 void OutputExtents(std::ostream* os, in OutputExtents() argument 34 *os << " (" << extent.start_block() << ", " << extent.num_blocks() << ")"; in OutputExtents() 53 std::ostream& operator<<(std::ostream& os, const AnnotatedOperation& aop) { in operator <<() argument 58 os << InstallOperationTypeName(aop.op.type()) << " " << aop.op.data_length(); in operator <<() 60 os << " @" << aop.op.data_offset(); in operator <<() 62 os << std::endl << " name: " << aop.name; in operator <<() 65 os << std::endl << " src:"; in operator <<() 66 OutputExtents(&os, aop.op.src_extents()); in operator <<() 69 os << std::endl << " dst:"; in operator <<() 70 OutputExtents(&os, aop.op.dst_extents()); in operator <<() [all …]
|
/system/tools/mkbootimg/gki/ |
D | certify_bootimg_test.py | 21 import os 40 random.seed(os.path.basename(pathname) if seed is None else seed) 95 boot_img = os.path.join(temp_out_dir, name) 102 gki_info_path = os.path.join(temp_out_dir, 'gki-info.txt') 156 boot_img_copy = os.path.join(output_dir, 'boot_image_copy') 164 image.seek(-BOOT_SIGNATURE_SIZE, os.SEEK_END) 167 os.unlink(boot_img_copy) 177 output_path = os.path.join( 200 for boot_img in glob.glob(os.path.join(output_dir, 'boot*.img')): 201 img_name = os.path.splitext(os.path.basename(boot_img))[0] [all …]
|