Searched refs:mDevice (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/include/binder/
H A DMemoryHeapBase.h73 if (mDevice == 0)
74 mDevice = device;
75 return mDevice ? NO_ERROR : ALREADY_EXISTS;
91 const char* mDevice; member in class:android::MemoryHeapBase
/frameworks/base/libs/binder/
H A DMemoryHeapBase.cpp45 mDevice(NULL), mNeedUnmap(false)
51 mDevice(0), mNeedUnmap(false)
68 mDevice(0), mNeedUnmap(false)
80 mDevice = device;
87 mDevice(0), mNeedUnmap(false)
103 mDevice = device;
183 return mDevice;
/frameworks/base/core/tests/hosttests/src/android/content/pm/
H A DPackageManagerHostTestUtils.java55 private IDevice mDevice = null; field in class:PackageManagerHostTestUtils
86 mDevice = device;
137 mDevice);
190 SyncResult result = mDevice.getSyncService().pushFile(
202 String result = mDevice.installPackage(localFilePath, replace);
215 String result = mDevice.installPackage(localFilePath, replace);
228 String remoteFilePath = mDevice.syncPackageToDevice(localFilePath);
232 mDevice.executeShellCommand(cmd, receiver);
233 mDevice.removeRemotePackage(remoteFilePath);
339 if ((mDevice !
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothDeviceProfileState.java105 private BluetoothDevice mDevice; field in class:BluetoothDeviceProfileState
119 if (!device.equals(mDevice)) return;
191 mDevice = new BluetoothDevice(address);
302 if (isPhoneDocked(mDevice)) {
308 if (mHeadsetService.getPriority(mDevice) ==
310 !mHeadsetService.isConnected(mDevice)) {
312 mHeadsetService.connectHeadset(mDevice);
315 mA2dpService.getSinkPriority(mDevice) ==
319 mA2dpService.connectSink(mDevice);
324 if (isPhoneDocked(mDevice)) {
[all...]
H A DBluetoothSocket.java87 private final BluetoothDevice mDevice; /* remote device */ field in class:BluetoothSocket
135 mDevice = device;
244 return mDevice;
/frameworks/base/libs/ui/tests/
H A DInputReader_test.cpp1120 InputDevice* mDevice; member in class:android::InputDeviceTest
1128 mDevice = new InputDevice(mFakeContext, DEVICE_ID, String8(DEVICE_NAME));
1132 delete mDevice;
1145 ASSERT_EQ(DEVICE_ID, mDevice->getId());
1146 ASSERT_STREQ(DEVICE_NAME, mDevice->getName());
1151 mDevice->configure();
1154 ASSERT_TRUE(mDevice->isIgnored());
1155 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, mDevice->getSources());
1158 mDevice->getDeviceInfo(&info);
1165 ASSERT_EQ(0, mDevice
1288 InputDevice* mDevice; member in class:android::InputMapperTest
[all...]
/frameworks/base/services/audioflinger/
H A DAudioHardwareGeneric.cpp223 mDevice = devices;
258 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice);
277 mDevice = device;
294 param.addInt(key, (int)mDevice);
333 mDevice = devices;
366 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice);
385 mDevice = device;
402 param.addInt(key, (int)mDevice);
H A DAudioDumpInterface.h58 uint32_t device() { return mDevice; }
69 uint32_t mDevice; // current device this output is routed to member in class:android::AudioStreamOutDump
101 uint32_t device() { return mDevice; }
109 uint32_t mDevice; // current device this output is routed to member in class:android::AudioStreamInDump
H A DAudioHardwareGeneric.h64 uint32_t mDevice; member in class:android::AudioStreamOutGeneric
97 uint32_t mDevice; member in class:android::AudioStreamInGeneric
H A DAudioPolicyManagerBase.cpp177 if (newDevice != inputDesc->mDevice) {
179 inputDesc->mDevice, newDevice, activeInput);
180 inputDesc->mDevice = newDevice;
389 if (newDevice != inputDesc->mDevice) {
391 inputDesc->mDevice, newDevice, activeInput);
392 inputDesc->mDevice = newDevice;
440 outputDesc->mDevice = mTestDevice;
447 mTestOutputs[mCurOutput] = mpClientInterface->openOutput(&outputDesc->mDevice,
469 outputDesc->mDevice = device;
476 output = mpClientInterface->openOutput(&outputDesc->mDevice,
[all...]
H A DA2dpAudioInterface.cpp224 mBluetoothEnabled(true), mDevice(0), mClosing(false), mSuspended(false)
259 mDevice = device;
370 mDevice = device;
396 param.addInt(key, (int)mDevice);
H A DA2dpAudioInterface.h116 uint32_t mDevice; member in class:android::A2dpAudioInterface::A2dpAudioStreamOut
H A DAudioDumpInterface.cpp266 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mLatency(0), mDevice(devices),
427 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mDevice(devices),
H A DAudioFlinger.h688 uint32_t device() { return mDevice; }
704 uint32_t mDevice; member in class:android::AudioFlinger::PlaybackThread
H A DAudioFlinger.cpp1002 mDevice(device)
1972 mDevice = (uint32_t)value;
1974 mEffectChains[i]->setDevice_l(mDevice);
4989 effect->setDevice(mDevice);
5054 effect->setDevice(mDevice);
/frameworks/base/core/tests/coretests/src/android/bluetooth/
H A DBluetoothTestUtils.java278 private BluetoothDevice mDevice; field in class:BluetoothTestUtils.PairReceiver
284 mDevice = device;
293 && mDevice.equals(intent.getParcelableExtra(
300 mDevice.setPin(mPin);
303 mDevice.setPasskey(mPasskey);
307 mDevice.setPairingConfirmation(true);
310 mDevice.setRemoteOutOfBandData();
314 && mDevice.equals(intent.getParcelableExtra(
/frameworks/base/include/ui/
H A DInputReader.h361 inline InputDevice* getDevice() { return mDevice; }
362 inline int32_t getDeviceId() { return mDevice->getId(); }
363 inline const String8 getDeviceName() { return mDevice->getName(); }
385 InputDevice* mDevice; member in class:android::InputMapper
/frameworks/base/libs/ui/
H A DInputReader.cpp776 mDevice(device), mContext(device->getContext()) {

Completed in 553 milliseconds