Home
last modified time | relevance | path

Searched refs:mRequest (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServerTest.java113 private HeaderSet mRequest = null; field in AvrcpBipObexServerTest
134 mRequest = new HeaderSet(); in setUp()
146 mRequest = null; in tearDown()
195 mRequest.setHeader(HeaderSet.TARGET, BLUETOOTH_UUID_AVRCP_COVER_ART); in testConnectWithValidUuidHeader()
196 int responseCode = mAvrcpBipObexServer.onConnect(mRequest, mReply); in testConnectWithValidUuidHeader()
206 mRequest.setHeader(HeaderSet.TARGET, NOT_BLUETOOTH_UUID_AVRCP_COVER_ART); in testConnectWithInvalidUuidHeader()
207 int responseCode = mAvrcpBipObexServer.onConnect(mRequest, mReply); in testConnectWithInvalidUuidHeader()
217 mAvrcpBipObexServer.onDisconnect(mRequest, mReply); in testDisonnect()
245 mRequest.setHeader(HeaderSet.TYPE, TYPE_BAD); in testOnGetBadType()
246 Operation op = makeOperation(mRequest, mOutputStream); in testOnGetBadType()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DCaptureRequestProxy.java31 private final CaptureRequest mRequest; field in CaptureRequestProxy
34 mRequest = request; in CaptureRequestProxy()
39 return mRequest.get(key); in get()
44 return mRequest.getKeys(); in getKeys()
49 return mRequest.getTag(); in getTag()
53 return mRequest.equals(other); in equals()
57 return mRequest.hashCode(); in hashCode()
61 return mRequest.describeContents(); in describeContents()
65 mRequest.writeToParcel(dest, flags); in writeToParcel()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java89 private ContactsRequest mRequest; field in ContactSelectionActivity
121 mRequest = mIntentResolver.resolveIntent(getIntent()); in onCreate()
122 if (!mRequest.isValid()) { in onCreate()
130 if (mActionCode != mRequest.getActionCode()) { in onCreate()
131 mActionCode = mRequest.getActionCode(); in onCreate()
158 mActionBarAdapter.initialize(savedState, mRequest); in prepareSearchViewAndActionBar()
162 mIsSearchSupported = mRequest.getActionCode() != ContactsRequest.ACTION_PICK_POSTAL in prepareSearchViewAndActionBar()
163 && mRequest.getActionCode() != ContactsRequest.ACTION_PICK_EMAILS in prepareSearchViewAndActionBar()
164 && mRequest.getActionCode() != ContactsRequest.ACTION_PICK_PHONES in prepareSearchViewAndActionBar()
165 && !mRequest.isLegacyCompatibilityMode(); in prepareSearchViewAndActionBar()
[all …]
DPeopleActivity.java144 private ContactsRequest mRequest; field in PeopleActivity
465 mContactsListFragment.setParameters(/* ContactsRequest */ mRequest, in onNewIntent()
497 mRequest = mIntentResolver.resolveIntent(getIntent()); in processIntent()
500 + " intent=" + getIntent() + " request=" + mRequest); in processIntent()
502 if (!mRequest.isValid()) { in processIntent()
507 switch (mRequest.getActionCode()) { in processIntent()
510 this, mRequest.getContactUri(), ScreenType.UNKNOWN); in processIntent()
554 mGroupUri = mRequest.getContactUri(); in createViewsAndFragments()
584 mContactsListFragment.setParameters(/* ContactsRequest */ mRequest, in setUpListFragment()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinItemDragListener.java49 private final PinItemRequest mRequest; field in PinItemDragListener
55 mRequest = request; in PinItemDragListener()
61 if (!mRequest.isValid()) { in onDragStart()
79 if (mRequest.getRequestType() == PinItemRequest.REQUEST_TYPE_SHORTCUT) { in createDragHelper()
81 new PinShortcutRequestActivityInfo(mRequest, mLauncher)); in createDragHelper()
86 mLauncher, mRequest.getAppWidgetProviderInfo(mLauncher)); in createDragHelper()
88 new PinWidgetFlowHandler(providerInfo, mRequest); in createDragHelper()
100 if (mRequest.getRequestType() == PinItemRequest.REQUEST_TYPE_APPWIDGET) { in createDragHelper()
101 dragHelper.setRemoteViewsPreview(getPreview(mRequest)); in createDragHelper()
DAddItemActivity.java95 private PinItemRequest mRequest; field in AddItemActivity
116 mRequest = PinRequestHelper.getPinItemRequest(getIntent()); in onCreate()
117 if (mRequest == null) { in onCreate()
139 if (mRequest.getRequestType() == PinItemRequest.REQUEST_TYPE_SHORTCUT) { in onCreate()
194 listener = new PinItemDragListener(mRequest, bounds, in onLongClick()
200 listener = new PinItemDragListener(mRequest, bounds, in onLongClick()
243 new PinShortcutRequestActivityInfo(mRequest, this); in setupShortcut()
251 .fromProviderInfo(this, mRequest.getAppWidgetProviderInfo(this)); in setupWidget()
256 mWidgetCell.setRemoteViewsPreview(PinItemDragListener.getPreview(mRequest)); in setupWidget()
301 if (mRequest.getRequestType() == PinItemRequest.REQUEST_TYPE_SHORTCUT) { in onPlaceAutomaticallyClick()
[all …]
DPinWidgetFlowHandler.java41 private final PinItemRequest mRequest; field in PinWidgetFlowHandler
45 mRequest = request; in PinWidgetFlowHandler()
50 mRequest = PinItemRequest.CREATOR.createFromParcel(parcel); in PinWidgetFlowHandler()
56 mRequest.writeToParcel(parcel, i); in writeToParcel()
64 mRequest.accept(extras); in startConfigActivity()
DPinShortcutRequestActivityInfo.java53 private final PinItemRequest mRequest; field in PinShortcutRequestActivityInfo
60 mRequest = request; in PinShortcutRequestActivityInfo()
93 mContext, mRequest, duration); in createWorkspaceItemInfo()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java67 private int mRequest; field in RequestPermissionActivity
91 if (mRequest == REQUEST_DISABLE) { in onCreate()
134 if (mRequest == REQUEST_ENABLE_DISCOVERABLE) { in onCreate()
141 if (mRequest == REQUEST_ENABLE) { in onCreate()
168 switch (mRequest) { in createDialog()
209 switch (mRequest) { in onActivityResult()
261 if (mRequest == REQUEST_ENABLE || mRequest == REQUEST_DISABLE) { in proceedAndFinish()
305 mRequest = REQUEST_ENABLE; in parseIntent()
307 mRequest = REQUEST_DISABLE; in parseIntent()
309 mRequest = REQUEST_ENABLE_DISCOVERABLE; in parseIntent()
[all …]
DRequestPermissionHelperActivity.java56 private int mRequest; field in RequestPermissionHelperActivity
82 switch (mRequest) { in createDialog()
119 switch (mRequest) { in onClick()
156 mRequest = RequestPermissionActivity.REQUEST_ENABLE; in parseIntent()
163 mRequest = RequestPermissionActivity.REQUEST_DISABLE; in parseIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java81 private int mRequest; field in BluetoothRequestPermissionActivity
96 mRequest = parseIntent(); in onCreate()
97 if (mRequest == REQUEST_UNKNOWN) { in onCreate()
112 switch (mRequest) { in onCreate()
223 if (mRequest == REQUEST_ENABLE_DISCOVERABLE) { in proceedAndFinish()
305 int message = mRequest == REQUEST_DISABLE ? R.string.bluetooth_turning_off in createWaitingDialog()
375 if (mRequest == REQUEST_ENABLE) { in onConfirmEnableBluetooth()
437 return mRequest; in getRequestType()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java591 private TetheredInterfaceRequest mRequest; field in EthernetTetheringTest.TetheredInterfaceRequester
611 assertNull("BUG: more than one tethered interface request", mRequest); in requestInterface()
613 mRequest = mEm.requestTetheredInterface(mHandler::post, this); in requestInterface()
622 if (mRequest != null) { in release()
624 mRequest.release(); in release()
625 mRequest = null; in release()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java104 private final @StringRes int mRequest; field in AppPermissionGroup
457 mRequest = request; in AppPermissionGroup()
580 return mRequest;