Home
last modified time | relevance | path

Searched defs:callingInfo (Results 1 – 12 of 12) sorted by relevance

/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxServiceProvider.java68 void bindService(CallingInfo callingInfo, ServiceConnection serviceConnection); in bindService()
75 void unbindService(CallingInfo callingInfo); in unbindService()
82 void stopSandboxService(CallingInfo callingInfo); in stopSandboxService()
89 ISdkSandboxService getSdkSandboxServiceForApp(CallingInfo callingInfo); in getSdkSandboxServiceForApp()
97 void onServiceConnected(CallingInfo callingInfo, @NonNull ISdkSandboxService service); in onServiceConnected()
104 void onServiceDisconnected(CallingInfo callingInfo); in onServiceDisconnected()
111 void onAppDeath(CallingInfo callingInfo); in onAppDeath()
118 void onSandboxDeath(CallingInfo callingInfo); in onSandboxDeath()
125 boolean isSandboxBoundForApp(CallingInfo callingInfo); in isSandboxBoundForApp()
133 int getSandboxStatusForApp(CallingInfo callingInfo); in getSandboxStatusForApp()
[all …]
DSdkSandboxServiceProviderImpl.java70 public void bindService(CallingInfo callingInfo, ServiceConnection serviceConnection) { in bindService()
165 CallingInfo callingInfo = mAppSdkSandboxConnections.keyAt(i); in dump() local
181 public void unbindService(CallingInfo callingInfo) { in unbindService()
202 public void stopSandboxService(CallingInfo callingInfo) { in stopSandboxService()
226 public ISdkSandboxService getSdkSandboxServiceForApp(CallingInfo callingInfo) { in getSdkSandboxServiceForApp()
237 public void onServiceConnected(CallingInfo callingInfo, @NonNull ISdkSandboxService service) { in onServiceConnected()
247 public void onServiceDisconnected(CallingInfo callingInfo) { in onServiceDisconnected()
257 public void onAppDeath(CallingInfo callingInfo) { in onAppDeath()
264 public void onSandboxDeath(CallingInfo callingInfo) { in onSandboxDeath()
274 public boolean isSandboxBoundForApp(CallingInfo callingInfo) { in isSandboxBoundForApp()
[all …]
DSdkSandboxManagerService.java407 CallingInfo callingInfo; in getSandboxedSdks() local
451 CallingInfo callingInfo) { in getRegisteredAppOwnedSdkSandboxInterfacesForApp()
460 private ArrayList<LoadSdkSession> getLoadedSdksForApp(CallingInfo callingInfo) { in getLoadedSdksForApp()
484 final CallingInfo callingInfo = CallingInfo.fromBinder(mContext, callingPackageName); in addSdkSandboxProcessDeathCallback() local
506 private boolean registerForAppDeath(CallingInfo callingInfo, IBinder appBinderObject) { in registerForAppDeath()
533 final CallingInfo callingInfo = CallingInfo.fromBinder(mContext, callingPackageName); in removeSdkSandboxProcessDeathCallback() local
549 final CallingInfo callingInfo = CallingInfo.fromBinder(mContext, callingPackageName); in getAppOwnedSdkSandboxInterfaces() local
563 final CallingInfo callingInfo = CallingInfo.fromBinder(mContext, callingPackageName); in registerAppOwnedSdkSandboxInterface() local
597 final CallingInfo callingInfo = CallingInfo.fromBinder(mContext, callingPackageName); in unregisterAppOwnedSdkSandboxInterface() local
621 CallingInfo callingInfo; in loadSdk() local
[all …]
DSdkSandboxStorageManager.java90 public void notifyInstrumentationStarted(CallingInfo callingInfo) { in notifyInstrumentationStarted()
102 public void onPackageAddedOrUpdated(CallingInfo callingInfo) { in onPackageAddedOrUpdated()
121 public void prepareSdkDataOnLoad(CallingInfo callingInfo) { in prepareSdkDataOnLoad()
128 public StorageDirInfo getSdkStorageDirInfo(CallingInfo callingInfo, String sdkName) { in getSdkStorageDirInfo()
144 public List<StorageDirInfo> getSdkStorageDirInfo(CallingInfo callingInfo) { in getSdkStorageDirInfo()
175 public StorageDirInfo getInternalStorageDirInfo(CallingInfo callingInfo, String subDirName) { in getInternalStorageDirInfo()
190 public List<StorageDirInfo> getInternalStorageDirInfo(CallingInfo callingInfo) { in getInternalStorageDirInfo()
218 private StorageDirInfo getSdkDataPackageDirInfo(CallingInfo callingInfo) { in getSdkDataPackageDirInfo()
243 private void reconcileSdkDataSubDirs(CallingInfo callingInfo, boolean forInstrumentation) { in reconcileSdkDataSubDirs()
412 final CallingInfo callingInfo = new CallingInfo(uid, packageName); in reconcileSdkDataPackageDirs() local
DSdkSandboxRestrictionManager.java98 CallingInfo callingInfo, PackageManagerHelper packageManagerHelper) in getEffectiveTargetSdkVersion()
DCallingInfo.java69 CallingInfo callingInfo = new CallingInfo(uid, packageNameUnchecked); in fromExternal() local
DLoadSdkSession.java172 CallingInfo callingInfo, in LoadSdkSession()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/com/android/server/sdksandbox/testutils/
DFakeSdkSandboxProvider.java70 public void bindService(CallingInfo callingInfo, ServiceConnection serviceConnection) { in bindService()
85 public void unbindService(CallingInfo callingInfo) { in unbindService()
90 public void stopSandboxService(CallingInfo callingInfo) { in stopSandboxService()
96 public ISdkSandboxService getSdkSandboxServiceForApp(CallingInfo callingInfo) { in getSdkSandboxServiceForApp()
101 public void onServiceConnected(CallingInfo callingInfo, @NonNull ISdkSandboxService service) { in onServiceConnected()
106 public void onServiceDisconnected(CallingInfo callingInfo) { in onServiceDisconnected()
111 public void onAppDeath(CallingInfo callingInfo) {} in onAppDeath()
114 public void onSandboxDeath(CallingInfo callingInfo) {} in onSandboxDeath()
117 public boolean isSandboxBoundForApp(CallingInfo callingInfo) { in isSandboxBoundForApp()
122 public int getSandboxStatusForApp(CallingInfo callingInfo) { in getSandboxStatusForApp()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java167 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenSdkSandboxDisabled() local
213 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenSandboxAlreadyRunning() local
239 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning() local
267 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenBindingSandboxFails() local
335 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStopFailsWhenSandboxIsNotRunning() local
358 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStopSucceedsForDebuggablePackageWhenAlreadyRunning() local
429 CallingInfo callingInfo, in startSdkSandboxIfNeeded()
442 void stopSdkSandboxService(CallingInfo callingInfo, String reason) {} in stopSdkSandboxService()
445 boolean isSdkSandboxServiceRunning(CallingInfo callingInfo) { in isSdkSandboxServiceRunning()
DSdkSandboxStorageManagerUnitTest.java132 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getSdkStorageDirInfo_nonExistingStorage() local
152 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getSdkStorageDirInfo_storageExists() local
164 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getInernalStorageDirInfo_nonExistingStorage() local
186 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getInternalStorageDirInfo_storageExists() local
447 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getSdkStorageDirInfo() local
471 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getInternalStorageDirInfo() local
DSdkSandboxServiceProviderImplUnitTest.java240 private void bindService(CallingInfo callingInfo, FakeServiceConnection serviceConnection) in bindService()
246 CallingInfo callingInfo, in bindService()
287 private void unbindService(CallingInfo callingInfo) { in unbindService()
326 FakeServiceConnection(CallingInfo callingInfo) { in FakeServiceConnection()
DSdkSandboxManagerServiceUnitTest.java1256 final CallingInfo callingInfo = new CallingInfo(mClientAppUid, TEST_PACKAGE); in testNotifyInstrumentationStarted_doesNotAllowLoadSdk() local
1290 final CallingInfo callingInfo = new CallingInfo(mClientAppUid, TEST_PACKAGE); in testNotifyInstrumentationFinished_canLoadSdk() local
1506 final CallingInfo callingInfo = new CallingInfo(callingUid, TEST_PACKAGE); in testStopSdkSandbox() local
1698 final CallingInfo callingInfo = new CallingInfo(callingUid, TEST_PACKAGE); in testKillswitchStopsSandbox() local