/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustArchive.java | 47 final ComponentName agent; field in TrustArchive.Event 58 private Event(int type, int userId, ComponentName agent, String message, in Event() argument 62 this.agent = agent; in Event() 73 public void logGrantTrust(int userId, ComponentName agent, String message, in logGrantTrust() argument 75 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration, in logGrantTrust() 79 public void logRevokeTrust(int userId, ComponentName agent) { in logRevokeTrust() argument 80 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, 0, false)); in logRevokeTrust() 83 public void logTrustTimeout(int userId, ComponentName agent) { in logTrustTimeout() argument 84 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, 0, false)); in logTrustTimeout() 87 public void logAgentDied(int userId, ComponentName agent) { in logAgentDied() argument [all …]
|
D | TrustManagerService.java | 360 TrustAgentWrapper agent; field in TrustManagerService.AgentInfo 592 if (agentInfo.agent == null) { in refreshAgentList() 593 agentInfo.agent = new TrustAgentWrapper(mContext, this, in refreshAgentList() 609 if (info.agent.isManagingTrust()) { in refreshAgentList() 612 info.agent.destroy(); in refreshAgentList() 710 AgentInfo agent = mActiveAgents.valueAt(i); in dispatchDeviceLocked() local 711 if (agent.userId == userId) { in dispatchDeviceLocked() 713 agent.agent.onDeviceLocked(); in dispatchDeviceLocked() 715 agent.agent.onDeviceUnlocked(); in dispatchDeviceLocked() 723 AgentInfo agent = mActiveAgents.valueAt(i); in dispatchEscrowTokenActivatedLocked() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | ProfilerInfo.java | 57 public final String agent; field in ProfilerInfo 69 boolean streaming, String agent, boolean attachAgentDuringBind) { in ProfilerInfo() argument 75 this.agent = agent; in ProfilerInfo() 85 agent = in.agent; in ProfilerInfo() 93 public ProfilerInfo setAgent(String agent, boolean attachAgentDuringBind) { in setAgent() argument 95 this.autoStopProfiler, this.streamingOutput, agent, attachAgentDuringBind); in setAgent() 133 out.writeString(agent); in writeToParcel() 147 proto.write(ProfilerInfoProto.AGENT, agent); in writeToProto() 170 agent = in.readString(); in ProfilerInfo() 188 && Objects.equals(agent, other.agent); in equals() [all …]
|
D | ActivityThread.java | 1163 public void attachAgent(String agent) { in attachAgent() argument 1164 sendMessage(H.ATTACH_AGENT, agent); in attachAgent() 3728 private static boolean attemptAttachAgent(String agent, ClassLoader classLoader) { in attemptAttachAgent() argument 3730 VMDebug.attachAgent(agent, classLoader); in attemptAttachAgent() 3733 Slog.e(TAG, "Attaching agent with " + classLoader + " failed: " + agent); in attemptAttachAgent() 3738 static void handleAttachAgent(String agent, LoadedApk loadedApk) { in handleAttachAgent() argument 3740 if (attemptAttachAgent(agent, classLoader)) { in handleAttachAgent() 3744 attemptAttachAgent(agent, null); in handleAttachAgent() 3886 BackupAgent agent = backupAgents.get(packageName); in handleCreateBackupAgent() local 3887 if (agent != null) { in handleCreateBackupAgent() [all …]
|
D | IActivityManager.aidl | 164 void setAgentApp(in String packageName, @nullable String agent); in setAgentApp() argument 274 void backupAgentCreated(in String packageName, in IBinder agent, int userId); in backupAgentCreated() argument
|
/frameworks/base/tools/dump-coverage/ |
D | README.md | 3 libdumpcoverage.so is a JVMTI agent designed to dump coverage information for a process, where the … 5 The JVMTI agent is used to make the calls to JaCoCo in its process. 19 adb shell 'am attach-agent com.android.deskclock /system/lib/libdumpcoverage.so=dump:/data/data/com… 25 adb shell 'am attach-agent com.android.deskclock /system/lib/libdumpcoverage.so=reset' 38 In dump mode, the agent makes JNI calls equivalent to
|
/frameworks/base/services/core/java/com/android/server/ |
D | TestNetworkService.java | 330 TestNetworkAgent agent = 341 mTestNetworkTracker.put(agent.getNetwork().netId, agent); 355 final TestNetworkAgent agent; 357 agent = mTestNetworkTracker.get(netId); 360 if (agent == null) { 362 } else if (agent.mUid != Binder.getCallingUid()) { 367 agent.teardown();
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | AdbRestoreFinishedRunnable.java | 18 AdbRestoreFinishedRunnable(IBackupAgent agent, int token, in AdbRestoreFinishedRunnable() argument 20 mAgent = agent; in AdbRestoreFinishedRunnable()
|
D | RestoreFileRunnable.java | 40 RestoreFileRunnable(UserBackupManagerService backupManagerService, IBackupAgent agent, in RestoreFileRunnable() argument 42 mAgent = agent; in RestoreFileRunnable()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbRestoreEngine.java | 49 File dataDir, FileMetadata info, ParcelFileDescriptor inFD, IBackupAgent agent, in KeyValueAdbRestoreEngine() argument 55 mAgent = agent; in KeyValueAdbRestoreEngine() 82 private void invokeAgentForAdbRestore(IBackupAgent agent, FileMetadata info, File restoreData) in invokeAgentForAdbRestore() argument 96 agent.doRestore(backupData, info.version, newState, mToken, in invokeAgentForAdbRestore()
|
D | KeyValueAdbBackupEngine.java | 101 IBackupAgent agent = bindToAgent(targetApp); in backupOnePackage() local 103 if (agent == null) { in backupOnePackage() 111 if (!invokeAgentForAdbBackup(mCurrentPackage.packageName, agent)) { in backupOnePackage() 158 private boolean invokeAgentForAdbBackup(String packageName, IBackupAgent agent) { in invokeAgentForAdbBackup() argument 169 agent.doBackup( in invokeAgentForAdbBackup()
|
D | Trampoline.java | 440 public void agentConnectedForUser(int userId, String packageName, IBinder agent) in agentConnectedForUser() argument 443 mService.agentConnected(userId, packageName, agent); in agentConnectedForUser() 448 public void agentConnected(String packageName, IBinder agent) throws RemoteException { in agentConnected() argument 449 agentConnectedForUser(binderGetCallingUserId(), packageName, agent); in agentConnected() local
|
/frameworks/base/tools/lock_agent/ |
D | Android.bp | 4 srcs: ["agent.cpp"], 25 srcs: ["agent.cpp"],
|
D | start_with_lockagent.sh | 4 if [[ "$1" == --agent-options ]] ; then
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkProviderTest.kt | 126 val agent = object : NetworkAgent(context, mHandlerThread.looper, "TestAgent", nc, lp, in <lambda>() constant 132 callback.id == agent.providerId in <lambda>() 135 agent.sendNetworkScore(updatedScore) in <lambda>() 139 callback.id == agent.providerId in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsPsdsDownloader.java | 64 String agent = properties.getProperty("XTRA_USER_AGENT"); in GpsPsdsDownloader() local 65 if (TextUtils.isEmpty(agent)) { in GpsPsdsDownloader() 68 mUserAgent = agent; in GpsPsdsDownloader()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 509 final IBackupAgent agent; in bindAgent() local 511 agent = in bindAgent() 514 if (agent == null) { in bindAgent() 522 return agent; in bindAgent() 666 private void extractAgentData(PackageInfo packageInfo, IBackupAgent agent) in extractAgentData() argument 706 agent.doBackup( in extractAgentData() 751 private void agentFail(IBackupAgent agent, String message) { in agentFail() argument 753 agent.fail(message); in agentFail() 904 private void agentDoQuotaExceeded(@Nullable IBackupAgent agent, String packageName, long size) { in agentDoQuotaExceeded() argument 905 if (agent != null) { in agentDoQuotaExceeded() [all …]
|
/frameworks/base/core/proto/android/app/ |
D | profilerinfo.proto | 36 // Denotes an agent (and its parameters) to attach for profiling. 37 optional string agent = 6; field
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | FullBackupPreflight.java | 36 int preflightFullBackup(PackageInfo pkg, IBackupAgent agent); in preflightFullBackup() argument
|
D | FullBackupEngine.java | 81 IBackupAgent agent, in FullBackupRunner() argument 89 mAgent = agent; in FullBackupRunner()
|
D | PerformFullTransportBackupTask.java | 707 public int preflightFullBackup(PackageInfo pkg, IBackupAgent agent) { in preflightFullBackup() argument 717 agent.doMeasureFullBackup(mQuota, mCurrentOpToken, in preflightFullBackup() 745 callback -> agent.doQuotaExceeded(totalSize, mQuota, callback), in preflightFullBackup()
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 103 void agentConnectedForUser(int userId, String packageName, IBinder agent); in agentConnectedForUser() argument 108 void agentConnected(String packageName, IBinder agent); in agentConnected() argument
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 564 verify(agentMock.agent, never()).onBackup(any(), any(), any()); in testRunTask_whenTransportReturnsErrorForInitialization() 583 verify(agentMock.agent, never()).onBackup(any(), any(), any()); in testRunTask_whenTransportThrowsDuringInitialization() 625 verify(agentMock.agent, never()).onBackup(any(), any(), any()); in testRunTask_whenPackageNotEligibleForBackup() 655 verify(agentMock.agent, never()).onBackup(any(), any(), any()); in testRunTask_whenPackageDoesFullBackup() 656 verify(agentMock.agent, never()).onFullBackup(any()); in testRunTask_whenPackageDoesFullBackup() 684 verify(agentMock.agent, never()).onBackup(any(), any(), any()); in testRunTask_whenPackageIsStopped() 1013 verify(agentMock.agent) in testRunTask_whenTransportProvidesFlags_passesThemToTheAgent() 1025 verify(agentMock.agent).onBackup(any(), argThat(dataOutputWithTransportFlags(0)), any()); in testRunTask_whenTransportDoesNotProvidesFlags() 1035 BackupAgent agent1 = agentMocks.get(0).agent; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll() 1036 BackupAgent agent2 = agentMocks.get(1).agent; in testRunTask_whenTransportProvidesFlagsAndMultipleAgents_passesToAll() [all …]
|
/frameworks/base/services/coverage/java/com/android/server/coverage/ |
D | CoverageService.java | 25 import org.jacoco.agent.rt.RT;
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 616 void makeDefaultNetwork(TestNetworkAgent agent) { in makeDefaultNetwork() argument 617 if (Objects.equals(defaultNetwork, agent)) return; in makeDefaultNetwork() 620 defaultNetwork = agent; in makeDefaultNetwork()
|