/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | TestServiceClient.java | 22 import static org.hamcrest.core.Is.is; 79 assertThat(service.RepeatBoolean(query), is(query)); in testBooleanRepeat() 85 assertThat(service.RepeatChar(query), is(query)); in testCharRepeat() 91 assertThat(service.RepeatByte(query), is(query)); in testByteRepeat() 97 assertThat(service.RepeatInt(query), is(query)); in testIntRepeat() 111 assertThat(service.RepeatInt(query[i]), is(query[i])); in testConstRepeat() 118 assertThat(service.RepeatLong(query), is(query)); in testLongRepeat() 124 assertThat(service.RepeatFloat(query), is(query)); in testFloatRepeat() 130 assertThat(service.RepeatDouble(query), is(query)); in testDoubleRepeat() 136 assertThat(service.RepeatByteEnum(query), is(query)); in testByteEnumRepeat() [all …]
|
D | ExtensionTests.java | 20 import static org.hamcrest.core.Is.is; 68 assertThat(vep.ext.setParcelable(vp), is(true)); in testVintfParcelableHolderCanContainVintfParcelable() 69 assertThat(vep.ext.getParcelable(VintfParcelable.class), is(vp)); in testVintfParcelableHolderCanContainVintfParcelable() 74 assertThat(vep.ext.setParcelable(sp), is(false)); in testVintfParcelableHolderCannotContainNonVintfParcelable() 75 assertThat(vep.ext.getParcelable(VintfParcelable.class), is(nullValue())); in testVintfParcelableHolderCannotContainNonVintfParcelable() 80 assertThat(vep.ext.setParcelable(up), is(false)); in testVintfParcelableHolderCannotContainUnstableParcelable() 81 assertThat(vep.ext.getParcelable(UnstableParcelable.class), is(nullValue())); in testVintfParcelableHolderCannotContainUnstableParcelable() 86 assertThat(sep.ext.setParcelable(vp), is(true)); in testStableParcelableHolderCanContainVintfParcelable() 87 assertThat(sep.ext.getParcelable(VintfParcelable.class), is(vp)); in testStableParcelableHolderCanContainVintfParcelable() 92 assertThat(sep.ext.setParcelable(sp), is(true)); in testStableParcelableHolderCanContainNonVintfParcelable() [all …]
|
D | MapTests.java | 20 import static org.hamcrest.core.Is.is; 64 assertThat(readFoo.barMap.containsKey("Foo"), is(true)); in testWriteAndThenReadMaps() 65 assertThat(readFoo.barMap.size(), is(1)); in testWriteAndThenReadMaps() 68 assertThat(readBar.a, is(42)); in testWriteAndThenReadMaps() 69 assertThat(readBar.b, is("Bar")); in testWriteAndThenReadMaps() 71 assertThat(readFoo.stringMap.size(), is(1)); in testWriteAndThenReadMaps() 72 assertThat(readFoo.stringMap.get("Foo"), is("Bar")); in testWriteAndThenReadMaps() 74 assertThat(readFoo.interfaceMap.size(), is(1)); in testWriteAndThenReadMaps() 75 assertThat(readFoo.interfaceMap.get("Foo"), is(intf)); in testWriteAndThenReadMaps() 77 assertThat(readFoo.ibinderMap.size(), is(1)); in testWriteAndThenReadMaps() [all …]
|
D | ImmutableAnnotationTests.java | 19 import static org.hamcrest.core.Is.is; 57 assertThat(foo.a, is(foo2.a)); in testReadWriteImmutableParcelable() 58 assertThat(foo.b.s, is(foo2.b.s)); in testReadWriteImmutableParcelable() 59 assertThat(foo.c.size(), is(foo.c.size())); in testReadWriteImmutableParcelable() 60 assertThat(foo.c.get(0).s, is(foo2.c.get(0).s)); in testReadWriteImmutableParcelable() 61 assertThat(foo.c.size(), is(foo.c.size())); in testReadWriteImmutableParcelable() 62 assertThat(foo.d.get("key").s, is(foo2.d.get("key").s)); in testReadWriteImmutableParcelable() 63 assertThat(foo.e.length, is(foo.e.length)); in testReadWriteImmutableParcelable() 66 assertThat(foo.e[i].s, is(foo2.e[i].s)); in testReadWriteImmutableParcelable()
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | XmlParserTest.java | 19 import static org.hamcrest.core.Is.is; 64 assertThat(name, is("billName")); in testPurchaseSimple() 65 assertThat(zip, is(new BigInteger("1"))); in testPurchaseSimple() 66 assertThat(street, is("street1")); in testPurchaseSimple() 67 assertThat(largeZip, is(new BigInteger("-7922816251426433759"))); in testPurchaseSimple() 69 is(javax.xml.datatype.DatatypeFactory.newInstance().newXMLGregorianCalendar( in testPurchaseSimple() 98 assertThat(name, is("Peter")); in testNestedType() 99 assertThat(country, is("US")); in testNestedType() 100 assertThat(line2, is("Good Street")); in testNestedType() 132 assertThat(name, is("Petr")); in testSimpleComplexContent() [all …]
|
/system/media/audio_utils/ |
D | Doxyfile.orig | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
D | Doxyfile.bak | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
D | Doxyfile | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # file that follow. The default is UTF-8 which is also the encoding used for all 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
/system/chre/chre_api/doc/ |
D | Doxyfile | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
/system/chre/pal/doc/ |
D | Doxyfile | 6 # All text after a double hash (##) is considered a comment and is placed in 7 # front of the TAG it is preceding. 9 # All text after a single hash (#) is considered a comment and will be ignored. 10 # The format is: 21 # that follow. The default is UTF-8 which is also the encoding used for all text 25 # The default value is: UTF-8. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 31 # project for which the documentation is generated. This name is used in the 33 # The default value is: My Project. 39 # control system is used. [all …]
|
/system/bt/service/doc/ |
D | IBluetoothGattServerCallback.txt | 11 * distributed under the License is distributed on an "AS IS" BASIS, 26 * is the owning application's unique GATT server handle and can be used to 34 * been published and is discoverable. In this case handles of added service, 40 * Called when there is an incoming read request from the remote device with 42 * |offset| is the index of the characteristic value that 43 * the remote device wants to read from. If |is_long| is true, then this 44 * request is part of a Long Read procedure. An implementation should handle 48 * If |offset| is invalid then sendResponse should be called with 49 * GATT_ERROR_INVALID_OFFSET. If |is_long| is true but this characteristic is 58 * Called when there is an incoming read request from the remote device with [all …]
|
D | IBluetooth.txt | 11 * distributed under the License is distributed on an "AS IS" BASIS, 23 * Returns true if the Bluetooth adapter is powered and ready to use. This 24 * is equivalent to "getState() == ADAPTER_STATE_ON". 42 * false, if the state is not ADAPTER_STATE_OFF or if there is an error while 53 * false, if the state is not ADAPTER_STATE_ON or if there is an error while 64 * "XX:XX:XX:XX:XX:XX", where each "X" is a hexadecimal digit. Returns 65 * "00:00:00:00:00:00" if the address is not known, which is usually the case 66 * before the adapter is enabled for the first time. 71 * Sets the name assigned to the Bluetooth adapter. This is the name that will 78 * Returns the current name assigned to the Bluetooth adapter. This is the [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | README.md | 4 `libfiemap` is a library for creating block-devices that are backed by 12 - Mapping the image as a block device while /data is mounted. This is fairly 13 tricky and is described in more detail below. 14 - Mapping the image as a block device during first-stage init. This is simple 17 Image creation is done through `SplitFiemap`. Depending on the file system, 18 a large image may have to be split into multiple files. On Ext4 the limit is 20 where `<name>` is chosen by the process requesting the image. 22 At the same time, a file called `/metadata/gsi/<name>/lp_metadata` is created. 23 This is a super partition header that allows first-stage init to create dynamic 30 It is easy to make block devices out of blocks on `/data` when it is not [all …]
|
/system/bpf/bpfloader/ |
D | bpfloader.rc | 1 # zygote-start is what officially starts netd (see //system/core/rootdir/init.rc) 2 # However, on some hardware it's started from post-fs-data as well, which is just 6 # It is important that we start bpfloader after: 7 # - /sys/fs/bpf is already mounted, 8 # - apex (incl. rollback) is initialized (so that in the future we can load bpf 10 # - system properties have been set, this is because isBpfSupported() calls 13 # - logd is ready for us to log stuff 16 # failures (before memory is fragmented, and cpu is busy running tons of other 17 # stuff) and we absolutely want to be before netd and the system boot slot is 21 # Enable the eBPF JIT -- but do note that on 64-bit kernels it is likely [all …]
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 10 // distributed under the License is distributed on an "AS IS" BASIS, 22 // No snapshot is found. 39 // Name of the snapshot. This is usually the name of the snapshotted 48 // Size of the snapshot. This is the sum of lengths of ranges in the base 51 // This value is 0 if no snapshot is needed for this device because 55 // Size of the "COW partition". A COW partition is a special logical 61 // image if the COW partition is not big enough. 63 // This value is 0 if no space in super is left for the COW partition. 65 // is non-zero. 68 // Size of the "COW file", or "COW image". A COW file / image is created [all …]
|
/system/core/adb/ |
D | SYNC.TXT | 10 SERVICES.TXT sets the connection in sync mode. This mode is a binary mode that 14 After the initial "sync:" command is sent the server must respond with either 19 responses. The first four bytes are an id that specifies the sync request. It is 22 all binary integers are Little-Endian in the sync mode. Sync mode is 48 When a sync response "DONE" is received the listing is done. 51 The remote file name is split into two parts separated by the last 52 comma (","). The first part is the actual path, while the second is a decimal 60 After this the actual file is sent in chunks. Each chunk has the following 63 follows chunk size number of bytes. This is repeated until the file is 66 When the file is transferred a sync request "DONE" is sent, where length is set [all …]
|
D | SERVICES.TXT | 11 Ask the ADB server to quit immediately. This is used when the 12 ADB client detects that an obsolete server is running after an 19 After the OKAY, this is followed by a 4-byte hex len, 20 and a string that will be dumped as-is by the client, then 21 the connection is closed 24 This is a variant of host:devices which doesn't close the 25 connection. Instead, a new device list description is sent 26 each time a device is added/removed or the state of a given 32 This is a special query that is sent to the ADB server when a 33 new emulator starts up. <port> is a decimal number corresponding [all …]
|
D | protocol.txt | 4 When it comes down to it, aproto's primary purpose is to forward 15 a device or emulator that is connected to the bridge. 17 The protocol is designed to be straightforward and well-defined enough 35 unsigned data_length; /* length of payload (0 is allowed) */ 46 detail. Their format is COMMAND(arg0, arg1, payload) where the payload 47 is represented by a quoted string or an empty string if none should be 61 The version is used to ensure protocol compatibility and maxdata 63 is willing to accept. 70 Both sides send a CONNECT message when the connection between them is 71 established. Until a CONNECT message is received no other messages may [all …]
|
/system/bt/doc/ |
D | power_management.md | 5 Power management (PM) is an event-driven state machine, tickled by various 36 policy is determined by the greatest allowable power action defined across all 39 connection is up which specifies it is willing to go into SNIFF, but its action 59 - `BTA_DM_PM_NO_ACTION` is effectively a no-op and has a value of zero, so any 68 action is still the same, however -- SNIFF mode is attempted. There are 71 - `BTA_DM_PM_ACTIVE` is full-on power. 73 timeout is possible to be set, which effectively allows a power operation to 83 At this point, the power managment code is basically done until the first set of 88 while this variable is declared as an extern in the `bta_dm_int.h` file, it only 95 1. An event is fired from one of the methods mentioned above in [all …]
|
/system/extras/ANRdaemon/ |
D | README | 1 ANRdaemon is a daemon to help analyze ANR due to CPU starvation by logging system 2 activity when CPU usage is very high. The daemon uses debugfs underlying for 4 Depending on the CPU usage level, the trace is turn on/off by writting to the 5 global control /d/trace/trace_on. The raw trace file is stored at 19 Known issue: in the systrace output, anrdaemon will show up when the trace is 20 not running. This is because the daemon process turns off tracing when CPU usage 21 drops, the last entry it leaves in the raw trace file is the scheduler switched 24 the first entry in /d/tracing/trace logged by sched is switching away from the 26 file is parsed by systrace.py, the daemon process is shown as running for the
|
/system/libbase/ |
D | README.md | 3 ## Who is this library for? 5 This library is a collection of convenience functions to make common tasks 10 libbase's primary focus is on making it easier to do things easily and 13 the ideal is to have both. 17 The intention is to cover the 80% use cases, not be all things to all users. 23 The question for libbase is "should everyone be doing this?"/"does this 28 If your routine is actually something from a future C++ standard (that 31 API for n years" is a good way to reduce concerns about API choices. 38 Code here is also expected to have good test coverage. 42 after you're certain that the API is solid.
|
/system/media/camera/docs/ |
D | metadata_template.mako | 12 distributed under the License is distributed on an "AS IS" BASIS, 47 % if section.description is not None: 78 % if prop.details is not None: 82 % if prop.ndk_details is not None: 86 % if prop.hal_details is not None: 112 % if prop.type_notes is not None: 115 % if prop.container is not None: 119 % if prop.typedef is not None: 165 % if value.id is not None: 172 % if value.notes is not None: [all …]
|
/system/core/init/ |
D | README.md | 11 when it is the last character on a line, may be used for line-folding. 16 `${property.name}`. This also works in contexts where concatenation is 23 Services have unique names. If a second Service is defined 24 with the same name as an existing one, it is ignored and an error 25 message is logged. 30 The init language is used in plain text files that take the .rc file 34 /init.rc is the primary .rc file and is loaded by the init executable 35 at the beginning of its execution. It is responsible for the initial 40 the primary /init.rc. This is explained in more details in the 44 able to import init scripts during mount_all, however that is deprecated [all …]
|
/system/apex/docs/ |
D | README.md | 3 Android Pony EXpress (APEX) is a container format introduced in Android Q 4 that is used in the install flow for lower-level system 21 manager is the central repository of information about apps and can only be 24 - The APK format (particularly the manifest) is designed for Android apps and 30 APEX manager, which is a service that manages APEX files. 34 This is the format of an APEX file. 40 At the top level, an APEX file is a zip file in which files are stored 57 version information. This information is generally also available in 61 `apex_manifest.json` is recommended over `AndroidManifest.xml` for new code and 64 `apex_payload.img` is an ext4 file system image backed by dm-verity. The image [all …]
|
/system/security/keystore/ |
D | operation_config.proto | 11 * distributed under the License is distributed on an "AS IS" BASIS, 25 // What type of encryption algorithm is the key being used in the op for. 38 // If user authentication is required, is the requirement time based? If it 39 // is not time based then this field will not be used and the key is per 49 // Check what block mode is being used depending on the mode of encryption 56 // What purpose is this operation serving? Encrypt, decrypt, sign verify? 59 // Which ec curve was selected if elliptic curve cryptography is in use 62 // Standalone or is a file system required
|