Home
last modified time | relevance | path

Searched refs:getOpPackageName (Results 1 – 25 of 68) sorted by relevance

123

/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java172 service.addConfiguration(configKey, config, mContext.getOpPackageName()); in addConfig()
213 service.removeConfiguration(configKey, mContext.getOpPackageName()); in removeConfig()
280 mContext.getOpPackageName()); in setBroadcastSubscriber()
283 mContext.getOpPackageName()); in setBroadcastSubscriber()
333 service.removeDataFetchOperation(configKey, mContext.getOpPackageName()); in setFetchReportsOperation()
336 mContext.getOpPackageName()); in setFetchReportsOperation()
370 service.removeActiveConfigsChangedOperation(mContext.getOpPackageName()); in setActiveConfigsChangedOperation()
374 mContext.getOpPackageName()); in setActiveConfigsChangedOperation()
526 return getDataWithFd(service, configKey, mContext.getOpPackageName()); in getReports()
528 return service.getData(configKey, mContext.getOpPackageName()); in getReports()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java2253 mService.getConfiguredNetworks(mContext.getOpPackageName(), in getConfiguredNetworks()
2278 mService.getConfiguredNetworks(mContext.getOpPackageName(), in getCallerConfiguredNetworks()
2316 mService.getPrivilegedConfiguredNetworks(mContext.getOpPackageName(), in getPrivilegedConfiguredNetworks()
2361 return mService.getPrivilegedConnectedNetwork(mContext.getOpPackageName(), in getPrivilegedConnectedNetwork()
2725 mService.setSsidsAllowlist(mContext.getOpPackageName(), new ArrayList<>(ssids)); in setSsidsAllowlist()
2746 mService.getSsidsAllowlist(mContext.getOpPackageName())); in getSsidsAllowlist()
2883 return mService.addOrUpdateNetworkPrivileged(config, mContext.getOpPackageName()); in addNetworkPrivileged()
3051 return mService.addOrUpdateNetwork(config, mContext.getOpPackageName(), extras); in addOrUpdateNetwork()
3406 networkSuggestions, mContext.getOpPackageName(), mContext.getAttributionTag()); in addNetworkSuggestions()
3459 mContext.getOpPackageName(), action); in removeNetworkSuggestions()
[all …]
DWifiScanner.java326 Bundle bundle = mService.getAvailableChannels(band, mContext.getOpPackageName(), in getAvailableChannels()
1282 mService.setScanningEnabled(enable, Process.myTid(), mContext.getOpPackageName()); in setScanningEnabled()
1326 mContext.getOpPackageName(), in registerScanListener()
1358 mService.unregisterScanListener(serviceListener, mContext.getOpPackageName(), in unregisterScanListener()
1424 mContext.getOpPackageName(), mContext.getAttributionTag()); in startBackgroundScan()
1448 mService.stopBackgroundScan(serviceListener, mContext.getOpPackageName(), in stopBackgroundScan()
1468 return mService.getScanResults(mContext.getOpPackageName(), in getScanResults()
1525 mContext.getOpPackageName(), in startScan()
1546 mService.stopScan(serviceListener, mContext.getOpPackageName(), in stopScan()
1635 mContext.getOpPackageName(), in startPnoScan()
[all …]
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java290 final String pkgName = mContext.getOpPackageName(); in TetheringManager()
314 final String pkgName = mContext.getOpPackageName(); in finalize()
589 final String callerPkg = mContext.getOpPackageName(); in tether()
620 final String callerPkg = mContext.getOpPackageName();
647 final String callerPkg = mContext.getOpPackageName();
932 final String callerPkg = mContext.getOpPackageName();
985 final String callerPkg = mContext.getOpPackageName();
1071 final String callerPkg = mContext.getOpPackageName();
1346 final String callerPkg = mContext.getOpPackageName();
1500 final String callerPkg = mContext.getOpPackageName();
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareManager.java384 mService.enableInstantCommunicationMode(mContext.getOpPackageName(), enable); in enableInstantCommunicationMode()
588 mService.connect(binder, mContext.getOpPackageName(), mContext.getAttributionTag(), in attach()
655 mService.publish(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in publish()
698 mService.subscribe(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in subscribe()
1302 mService.setOpportunisticModeEnabled(mContext.getOpPackageName(), enabled); in setOpportunisticModeEnabled()
1322 mService.isOpportunisticModeEnabled(mContext.getOpPackageName(), in isOpportunisticModeEnabled()
1345 mService.resetPairedDevices(mContext.getOpPackageName()); in resetPairedDevices()
1360 mService.removePairedDevice(mContext.getOpPackageName(), alias); in removePairedDevice()
1379 mContext.getOpPackageName(), in getPairedDevices()
DWifiAwareUtils.java95 if (context.getPackageManager().getApplicationInfo(context.getOpPackageName(), 0) in isLegacyVersion()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollProgressBarDrawable.java207 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress()
217 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress()
223 mContext.getOpPackageName(), in updateProgress()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollProgressBarDrawable.java208 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress()
218 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress()
224 mContext.getOpPackageName(), in updateProgress()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DICtsSdkProviderApi.aidl34 String getOpPackageName(); in getOpPackageName() method
DCtsSdkProviderApiImpl.java258 public String getOpPackageName() { in getOpPackageName() method in CtsSdkProviderApiImpl
259 return mContext.getOpPackageName(); in getOpPackageName()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecManager.java872 mOpPackageName = ctx.getOpPackageName(); in IpSecTunnelInterface()
1009 transform.getResourceId(), mContext.getOpPackageName()); in applyTunnelModeTransform()
1065 mContext.getOpPackageName()); in startTunnelModeTransformMigration()
DIpSecTransform.java130 mConfig, new Binder(), mContext.getOpPackageName()); in activate()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollEnrollingViewModel.java237 mVibrator.vibrate(mUserId, getApplication().getOpPackageName(), in vibrateError()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DMyMockContext.java149 public String getOpPackageName() { in getOpPackageName() method in MyMockContext
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DOutgoingCallTransaction.java66 mCallingPackage = mContext.getOpPackageName(); in OutgoingCallTransaction()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DWifiRttManager.java218 mService.startRanging(binder, mContext.getOpPackageName(), in startRanging()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DRssiUtilTest.java118 when(context.getOpPackageName()).thenReturn("TestPackage"); in testGetMaxSignalLevel()
/packages/modules/Connectivity/tests/unit/java/android/net/
DIpSecTransformTest.java93 public String getOpPackageName() { in setUp()
DIpSecManagerTest.java81 public String getOpPackageName() {
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DCustomizedSdkContextTest.java169 assertThat(mSdk.getOpPackageName()).isEqualTo(pm.getSdkSandboxPackageName()); in testGetOpPackageName()
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsManager.java221 sentIntents/*sentIntent*/, null /*deliveryIntent*/, context.getOpPackageName(), in rejectCallWithMessage()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DDynamicRoutingControllerTest.java80 public String getOpPackageName() { in setUp()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java310 when(mContext.getOpPackageName()).thenReturn(TEST_PACKAGE_NAME); in setUp()
2700 mContext.getOpPackageName()); in testAddNetworkPrivileged()
2748 verify(mWifiService).enableNetwork(TEST_NETWORK_ID, true, mContext.getOpPackageName()); in testEnableNetwork()
2759 verify(mWifiService).disableNetwork(TEST_NETWORK_ID, mContext.getOpPackageName()); in testDisableNetwork()
2812 verify(mWifiService).disconnect(mContext.getOpPackageName()); in testDisconnect()
2822 verify(mWifiService).reconnect(mContext.getOpPackageName()); in testReconnect()
2832 verify(mWifiService).reassociate(mContext.getOpPackageName()); in testReassociate()
2995 verify(mWifiService).setWifiEnabled(mContext.getOpPackageName(), true); in testSetWifiEnabled()
2997 verify(mWifiService).setWifiEnabled(mContext.getOpPackageName(), false); in testSetWifiEnabled()
4003 when(mContext.getOpPackageName()).thenReturn(TEST_PACKAGE_NAME); in testIsItPossibleToCreateInterface()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyManagerTest.java87 public String getOpPackageName() {
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pManagerTest.java86 when(mContextMock.getOpPackageName()).thenReturn(PACKAGE_NAME); in setUp()

123