Home
last modified time | relevance | path

Searched refs:getOwner (Results 1 – 16 of 16) sorted by relevance

/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDelegatorTest.java72 assertEquals(InstrumentationRegistry.getTargetContext().getPackageName(), getOwner(uri)); in testPushAllowed()
78 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testPushAllowed()
89 assertEquals(null, getOwner(uri)); in testOrphanedAllowed()
95 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testOrphanedAllowed()
106 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testPullBlocked()
113 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testPullBlocked()
127 private String getOwner(Uri uri) throws Exception { in getOwner() method in DelegatorTest
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroupList.java143 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress)) { in getNetworkId()
168 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress) && in getNetworkId()
189 return grp.getOwner().deviceAddress; in getOwnerAddr()
DWifiP2pGroup.java207 public WifiP2pDevice getOwner() { in getOwner() method in WifiP2pGroup
323 mOwner = new WifiP2pDevice(source.getOwner()); in WifiP2pGroup()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackImplTest.java359 assertNotNull(group.getOwner()); in testOnGroupStarted_success()
360 assertEquals(group.getOwner().deviceAddress, mDeviceAddress1String); in testOnGroupStarted_success()
628 assertEquals(mDeviceAddress2String, group.getOwner().deviceAddress); in testOnInvitationReceived()
DSupplicantP2pIfaceHalTest.java965 group.getOwner().deviceAddress = address; in testInvite_invalidArguments()
2581 group.getOwner().deviceAddress); in testLoadGroups()
DWifiP2pServiceImplTest.java1683 assertEquals(ANONYMIZED_DEVICE_ADDRESS, wifiP2pGroup.getOwner().deviceAddress); in testRequestGroupInfoSuccess()
1704 assertEquals(thisDeviceMac, wifiP2pGroup.getOwner().deviceAddress); in testRequestGroupInfoIncludesMacForNetworkSettingsApp()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2092 WifiP2pDevice owner = group.getOwner(); in processMessage()
2103 owner = group.getOwner(); in processMessage()
2110 config.deviceAddress = group.getOwner().deviceAddress; in processMessage()
2225 && EMPTY_DEVICE_ADDRESS.equals(mGroup.getOwner().deviceAddress)) { in processMessage()
2227 mGroup.getOwner().deviceAddress = mThisDevice.deviceAddress; in processMessage()
2607 && EMPTY_DEVICE_ADDRESS.equals(mGroup.getOwner().deviceAddress)) { in processMessage()
2609 mGroup.getOwner().deviceAddress = mThisDevice.deviceAddress; in processMessage()
2614 String devAddr = mGroup.getOwner().deviceAddress; in processMessage()
2648 WifiP2pDevice groupOwner = mGroup.getOwner(); in processMessage()
3536 if (group.getOwner() == null) { in updatePersistentNetworks()
[all …]
DSupplicantP2pIfaceHal.java1039 if (group.getOwner() == null) { in invite()
1044 if (group.getOwner().deviceAddress == null) { in invite()
1051 ownerMacAddress = NativeUtil.macAddressToByteArray(group.getOwner().deviceAddress); in invite()
1071 "invite(" + group.getInterface() + ", " + group.getOwner().deviceAddress in invite()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java576 RunningServiceDetails getOwner() {
586 if (getOwner().activeDetailForService(comp) == null) {
596 ActiveDetail ad = getOwner().activeDetailForService(comp);
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pGroupTest.java66 assertEquals(GROUP_OWNER, group.getOwner()); in testSetterGetter()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenAutomaticRuleHeaderPreferenceController.java84 mRule.getOwner().getPackageName(), 0); in getIcon()
DZenRulePreference.java169 ComponentInfo si = mServiceListing.findService(rule.getOwner()); in setAttributes()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaVolume.java116 UserHandle user = storageVolume.getOwner(); in fromStorageVolume()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pConnectionProcedure.java187 WifiP2pDevice owner = group.getOwner(); in isConnectedToPeer()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2192 String accountName = getOwner(calendarId); in handleInsertException()
2420 owner = getOwner(calendar_id); in insertInTransactionInner()
2464 owner = getOwner(calendar_id); in insertInTransactionInner()
2953 private String getOwner(long calId) { in getOwner() method in CalendarProvider2
/packages/modules/Wifi/framework/api/
Dcurrent.txt1022 method public android.net.wifi.p2p.WifiP2pDevice getOwner();