/frameworks/native/cmds/bugreportz/ |
H A D | bugreportz_test.cpp | 54 void WriteToSocket(const std::string& data) { argument 56 ADD_FAILURE() << "cannot write '" << data << "' because socket is already closed"; 59 int expected = data.length(); 60 int actual = write(write_fd_, data.data(), data.length());
|
/frameworks/native/libs/binder/ |
H A D | IAppOpsCallback.cpp | 40 Parcel data, reply; local 41 data.writeInterfaceToken(IAppOpsCallback::getInterfaceDescriptor()); 42 data.writeInt32(op); 43 data.writeString16(packageName); 44 remote()->transact(OP_CHANGED_TRANSACTION, data, &reply); 53 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 57 CHECK_INTERFACE(IAppOpsCallback, data, reply); 58 int32_t op = data.readInt32(); 59 String16 packageName = data.readString16(); 65 return BBinder::onTransact(code, data, repl 52 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IMediaResourceMonitor.cpp | 33 Parcel data, reply; local 34 data.writeInterfaceToken(IMediaResourceMonitor::getInterfaceDescriptor()); 35 data.writeInt32(pid); 36 data.writeInt32(type); 37 remote()->transact(NOTIFY_RESOURCE_GRANTED, data, &reply, IBinder::FLAG_ONEWAY); 45 status_t BnMediaResourceMonitor::onTransact( uint32_t code, const Parcel& data, Parcel* reply, argument 49 CHECK_INTERFACE(IMediaResourceMonitor, data, reply); 50 int32_t pid = data.readInt32(); 51 const int32_t type = data.readInt32(); 56 return BBinder::onTransact(code, data, repl [all...] |
H A D | IProcessInfoService.cpp | 34 Parcel data, reply; local 35 data.writeInterfaceToken(IProcessInfoService::getInterfaceDescriptor()); 36 data.writeInt32Array(length, pids); 37 data.writeInt32(length); // write length of output array, used by java AIDL stubs 38 status_t err = remote()->transact(GET_PROCESS_STATES_FROM_PIDS, data, &reply); 55 Parcel data, reply; local 56 data.writeInterfaceToken(IProcessInfoService::getInterfaceDescriptor()); 57 data.writeInt32Array(length, pids); 59 data.writeInt32(length); 60 data [all...] |
H A D | IResultReceiver.cpp | 40 Parcel data; local 41 data.writeInterfaceToken(IResultReceiver::getInterfaceDescriptor()); 42 data.writeInt32(resultCode); 43 remote()->transact(OP_SEND, data, NULL, IBinder::FLAG_ONEWAY); 52 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 56 CHECK_INTERFACE(IResultReceiver, data, reply); 57 int32_t resultCode = data.readInt32(); 65 return BBinder::onTransact(code, data, reply, flags); 51 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IShellCallback.cpp | 44 Parcel data, reply; local 45 data.writeInterfaceToken(IShellCallback::getInterfaceDescriptor()); 46 data.writeString16(path); 47 data.writeString16(seLinuxContext); 48 data.writeString16(mode); 49 remote()->transact(OP_OPEN_OUTPUT_FILE, data, &reply, 0); 62 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 66 CHECK_INTERFACE(IShellCallback, data, reply); 67 String16 path(data.readString16()); 68 String16 seLinuxContext(data 61 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IUidObserver.cpp | 35 Parcel data, reply; local 36 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); 37 data.writeInt32((int32_t) uid); 38 data.writeInt32(disabled ? 1 : 0); 39 remote()->transact(ON_UID_GONE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); 44 Parcel data, reply; local 45 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); 46 data.writeInt32((int32_t) uid); 47 remote()->transact(ON_UID_ACTIVE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); 52 Parcel data, repl local 66 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | IDisplayEventConnection.cpp | 64 status_t BnDisplayEventConnection::onTransact(uint32_t code, const Parcel& data, Parcel* reply, argument 67 return BBinder::onTransact(code, data, reply, flags); 72 return callLocal(data, reply, &IDisplayEventConnection::stealReceiveChannel); 74 return callLocal(data, reply, &IDisplayEventConnection::setVsyncRate); 76 return callLocalAsync(data, reply, &IDisplayEventConnection::requestNextVsync);
|
H A D | IProducerListener.cpp | 37 Parcel data, reply; local 38 data.writeInterfaceToken(IProducerListener::getInterfaceDescriptor()); 39 remote()->transact(ON_BUFFER_RELEASED, data, &reply, IBinder::FLAG_ONEWAY); 44 Parcel data, reply; local 45 data.writeInterfaceToken(IProducerListener::getInterfaceDescriptor()); 46 status_t err = remote()->transact(NEEDS_RELEASE_NOTIFY, data, &reply); 66 status_t BnProducerListener::onTransact(uint32_t code, const Parcel& data, argument 70 CHECK_INTERFACE(IProducerListener, data, reply); 74 CHECK_INTERFACE(IProducerListener, data, reply); 78 return BBinder::onTransact(code, data, repl [all...] |
/frameworks/native/libs/vr/libvr_manager/ |
H A D | vr_manager.cpp | 35 Parcel data, reply; local 36 data.writeInterfaceToken(IVrStateCallbacks::getInterfaceDescriptor()); 37 data.writeBool(enabled); 38 remote()->transact(ON_VR_STATE_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); 44 status_t BnVrStateCallbacks::onTransact(uint32_t code, const Parcel& data, argument 48 CHECK_INTERFACE(IVrStateCallbacks, data, reply); 49 onVrStateChanged(data.readBool()); 53 return BBinder::onTransact(code, data, reply, flags); 66 Parcel data, reply; local 67 data 78 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 98 Parcel data; variable 105 Parcel data; variable 113 Parcel data; variable 121 Parcel data; variable 128 Parcel data, reply; variable [all...] |
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.h | 45 uint8_t* data; member in struct:android::gl::buffer_t
|
/frameworks/native/services/media/arcvideobridge/ |
H A D | IArcVideoBridge.cpp | 39 Parcel data, reply; local 41 data.writeInterfaceToken(IArcVideoBridge::getInterfaceDescriptor()); 43 BOOTSTRAP_VIDEO_ACCELERATOR_FACTORY, data, &reply, 0); 52 Parcel data, reply; local 54 data.writeInterfaceToken(IArcVideoBridge::getInterfaceDescriptor()); 55 status_t status = remote()->transact(HOST_VERSION, data, &reply, 0); 67 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) { 71 CHECK_INTERFACE(IArcVideoBridge, data, reply); 77 CHECK_INTERFACE(IArcVideoBridge, data, reply); 82 return BBinder::onTransact(code, data, repl 66 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument [all...] |
/frameworks/native/services/surfaceflinger/tests/vsync/ |
H A D | vsync.cpp | 23 int receiver(int /*fd*/, int /*events*/, void* data) argument 25 DisplayEventReceiver* q = (DisplayEventReceiver*)data;
|
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/java/android/net/lowpan/ |
H A D | LowpanBeaconInfoTest.java | 112 * Write a {@link LowpanBeaconInfo} into an empty parcel and return the underlying data. 128 private static LowpanBeaconInfo unmarshall(byte[] data) { argument 130 p.unmarshall(data, 0, data.length);
|
H A D | LowpanChannelInfoTest.java | 56 * Write a {@link LowpanChannelInfo} into an empty parcel and return the underlying data. 72 private static LowpanChannelInfo unmarshall(byte[] data) { argument 74 p.unmarshall(data, 0, data.length);
|
H A D | LowpanCredentialTest.java | 70 * Write a {@link LowpanCredential} into an empty parcel and return the underlying data. 86 private static LowpanCredential unmarshall(byte[] data) { argument 88 p.unmarshall(data, 0, data.length);
|
H A D | LowpanProvisionTest.java | 106 * Write a {@link LowpanProvision} into an empty parcel and return the underlying data. 122 private static LowpanProvision unmarshall(byte[] data) { argument 124 p.unmarshall(data, 0, data.length);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | LegacyPasspointConfigParserTest.java | 104 * Helper function for parsing configuration data. 106 * @param data The configuration data to parse 110 private Map<String, LegacyPasspointConfig> parseConfig(String data) throws Exception { argument 111 // Write configuration data to file. 113 FileUtils.stringToFile(configFile, data); 126 * predefined test configuration data {@link #TEST_CONFIG}. 152 * Verify that an empty map is return when parsing an empty configuration data.
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
H A D | ItemLayoutTest.java | 49 public static Iterable<Object[]> data() { method in class:ItemLayoutTest
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | OemHookResponse.java | 37 * @param data Data returned by oem 39 public void sendRequestRawResponse(RadioResponseInfo responseInfo, ArrayList<Byte> data) { argument 45 ret = RIL.arrayListToPrimitiveArray(data); 54 * @param data Data returned by oem 56 public void sendRequestStringsResponse(RadioResponseInfo responseInfo, ArrayList<String> data) { argument 57 RadioResponse.responseStringArrayList(mRil, responseInfo, data);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | Base64.java | 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 62 * @return Array containing decoded data. 146 * encoded data." 148 * @param data The base-64 encoded data to groom 149 * @return The data, less non-base64 characters (see RFC 2045). 151 static byte[] discardNonBase64(byte[] data) { argument 152 byte groomedData[] = new byte[data.length]; 155 for (int i = 0; i < data [all...] |
/frameworks/rs/rsov/compiler/spirit/ |
H A D | file_utils.h | 44 ifs.read((char *)ret.data(), length); 56 void writeFile(const char *filename, const std::vector<T> &data) { argument 59 ofs.write(reinterpret_cast<const char *>(data.data()), 60 sizeof(T) * data.size());
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
H A D | AllEmojisTest.java | 76 public static Collection<Object[]> data() throws IOException { method in class:AllEmojisTest 81 final Collection<Object[]> data = new ArrayList<>(); 103 data.add(new Object[]{stringBuilder.toString(), codePointsBuilder.toString()}); 106 return data;
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | CtsMockitoUtils.java | 44 public void verify(VerificationData data) { argument 53 final List<Invocation> actualInvocations = data.getAllInvocations(); 56 if (data.getWanted().matches(invocation)) { 58 markAllInvocationsAsVerified(data); 75 + data.getWanted().toString()); 83 private void markAllInvocationsAsVerified(VerificationData data) { argument 84 for (Invocation invocation : data.getAllInvocations()) { 86 data.getWanted().captureArgumentsFrom(invocation);
|
/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/ |
H A D | PathInterpolatorExceptionParameterizedTest.java | 48 public static Object[] data() { method in class:PathInterpolatorExceptionParameterizedTest
|