/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustArchive.java | 45 final ComponentName agent; field in class:TrustArchive.Event 56 private Event(int type, int userId, ComponentName agent, String message, argument 60 this.agent = agent; 71 public void logGrantTrust(int userId, ComponentName agent, String message, argument 73 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration, 77 public void logRevokeTrust(int userId, ComponentName agent) { argument 78 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, false, false)); 81 public void logTrustTimeout(int userId, ComponentName agent) { argument 82 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, nul 85 logAgentDied(int userId, ComponentName agent) argument 89 logAgentConnected(int userId, ComponentName agent) argument 93 logAgentStopped(int userId, ComponentName agent) argument 97 logManagingTrust(int userId, ComponentName agent, boolean managing) argument [all...] |
H A D | TrustManagerService.java | 160 ComponentName settings; // setting to launch to modify agent. 161 TrustAgentWrapper agent; field in class:TrustManagerService.AgentInfo 248 // Disable agent if no features are enabled. 259 agentInfo.agent = new TrustAgentWrapper(mContext, this, 272 if (info.agent.isManagingTrust()) { 275 info.agent.destroy(); 345 AgentInfo agent = mActiveAgents.valueAt(i); 346 if (agent.userId == userId) { 348 agent.agent [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GpsXtraDownloader.java | 68 String agent = properties.getProperty("XTRA_USER_AGENT"); 69 if (TextUtils.isEmpty(agent)) { 72 mUserAgent = agent; 125 if (DEBUG) Log.d(TAG, "XTRA user agent: " + mUserAgent);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | IBackupManager.aidl | 56 * Notifies the Backup Manager Service that an agent has become available. This 59 void agentConnected(String packageName, IBinder agent); 62 * Notify the Backup Manager Service that an agent has unexpectedly gone away. 89 * that data will be supplied to the new package's restore agent before the package
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | Trampoline.java | 150 public void agentConnected(String packageName, IBinder agent) throws RemoteException { argument 153 svc.agentConnected(packageName, agent);
|
H A D | BackupManagerService.java | 237 // Timeout intervals for agent backup & restore operations 293 // The thread performing the sequence of queued backups binds to each app's agent 623 // 2. they run as a system-level uid but do not supply their own backup agent 639 // If it has an agent, it gets full backups only if it says so 643 // No agent means we do full backups for it 1925 Slog.v(TAG, "Examining " + packageName + " for backup agent"); 2114 // fire off a backup agent, blocking until it attaches or times out 2116 IBackupAgent agent = null; 2122 Slog.d(TAG, "awaiting agent for " + app); 2124 // success; wait for the agent t 2623 invokeAgentForBackup(String packageName, IBackupAgent agent, IBackupTransport transport) argument 2692 failAgent(IBackupAgent agent, String message) argument 3116 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest, byte[] widgetData) argument 4369 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument 5556 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 188 void setTrustAgentConfiguration(in ComponentName admin, in ComponentName agent, 191 in ComponentName agent, int userId);
|
H A D | DevicePolicyManager.java | 1707 * Ignore trust agent state on secure keyguard screens 2694 * @param target Component name of the agent to be enabled. 2695 * @param configuration TrustAgent-specific feature bundle. If null for any admin, agent 2715 * Gets configuration for the given trust agent based on aggregating all calls to 2724 * for this {@param agent} or calls it with a null configuration, null is returned. 2725 * @param agent Which component to get enabled features for. 2726 * @return configuration for the given trust agent. 2729 ComponentName agent) { 2730 return getTrustAgentConfiguration(admin, agent, UserHandle.myUserId()); 2735 ComponentName agent, in 2728 getTrustAgentConfiguration(ComponentName admin, ComponentName agent) argument 2734 getTrustAgentConfiguration(ComponentName admin, ComponentName agent, int userHandle) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 2654 Slog.d(TAG, "Asked to create backup agent for nonexistent package"); 2659 // full backup operation but no app-supplied agent? use the default implementation 2667 BackupAgent agent = mBackupAgents.get(packageName); 2668 if (agent != null) { 2671 Slog.v(TAG, "Reusing existing agent instance"); 2673 binder = agent.onBind(); 2676 if (DEBUG_BACKUP) Slog.v(TAG, "Initializing agent class " + classname); 2679 agent = (BackupAgent) cl.loadClass(classname).newInstance(); 2681 // set up the agent's context 2683 context.setOuterContext(agent); [all...] |
H A D | IActivityManager.java | 182 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 1543 IBinder agent = data.readStrongBinder(); 1544 backupAgentCreated(packageName, agent); 3618 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException { argument 3623 data.writeStrongBinder(agent);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2AgentImpl.java | 985 AndroidCamera2AgentImpl agent, 990 mCameraAgent = agent; 984 AndroidCamera2ProxyImpl( AndroidCamera2AgentImpl agent, int cameraIndex, CameraDevice camera, CameraDeviceInfo.Characteristics characteristics, CameraCharacteristics properties) argument
|
H A D | AndroidCameraAgentImpl.java | 282 CameraHandler(CameraAgent agent, Looper looper) { argument 284 mAgent = agent;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 339 private static final String TAG_MANAGE_TRUST_AGENT_FEATURES = "manage-trust-agent-features"; 340 private static final String TAG_TRUST_AGENT_COMPONENT_OPTIONS = "trust-agent-component-options"; 4220 public void setTrustAgentConfiguration(ComponentName admin, ComponentName agent, argument 4226 enforceNotManagedProfile(userHandle, "set trust agent configuration"); 4231 if (agent == null) { 4232 throw new NullPointerException("agent is null"); 4236 ap.trustAgentInfos.put(agent.flattenToString(), new TrustAgentInfo(args)); 4243 ComponentName agent, int userHandle) { 4248 if (agent == null) { 4249 throw new NullPointerException("agent i 4242 getTrustAgentConfiguration(ComponentName admin, ComponentName agent, int userHandle) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 2863 String8 agent = AaptXml::getAttribute(tree, local 2866 if (agent.length() > 0) { 2867 addProguardKeepRule(keep, agent, pkg.string(),
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 6051 // Check whether the next backup agent is in this process... 6053 if (DEBUG_BACKUP) Slog.v(TAG, "New app is backup target, launching agent for " + app); 6060 Slog.wtf(TAG, "Exception thrown creating backup agent in " + app, e); 15371 // Cause the target app to be launched if necessary and its backup agent 15372 // instantiated. The backup agent will invoke backupAgentCreated() on the 15386 // Backup agent is now in use, its package can't be stopped. 15404 Slog.e(TAG, "Unable to start backup agent process " + r); 15415 // If the process is already attached, schedule the creation of the backup agent now. 15431 // know that it's scheduled for a backup-agent operation. 15448 // A backup agent ha 15449 backupAgentCreated(String agentPackageName, IBinder agent) argument [all...] |