/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustArchive.java | 46 final ComponentName agent; field in class:TrustArchive.Event 57 private Event(int type, int userId, ComponentName agent, String message, argument 61 this.agent = agent; 72 public void logGrantTrust(int userId, ComponentName agent, String message, argument 74 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration, 78 public void logRevokeTrust(int userId, ComponentName agent) { argument 79 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, 0, false)); 82 public void logTrustTimeout(int userId, ComponentName agent) { argument 83 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, nul 86 logAgentDied(int userId, ComponentName agent) argument 90 logAgentConnected(int userId, ComponentName agent) argument 94 logAgentStopped(int userId, ComponentName agent) argument 98 logManagingTrust(int userId, ComponentName agent, boolean managing) argument [all...] |
H A D | TrustManagerService.java | 163 ComponentName settings; // setting to launch to modify agent. 164 TrustAgentWrapper agent; field in class:TrustManagerService.AgentInfo 251 // Disable agent if no features are enabled. 262 agentInfo.agent = new TrustAgentWrapper(mContext, this, 275 if (info.agent.isManagingTrust()) { 278 info.agent.destroy(); 348 AgentInfo agent = mActiveAgents.valueAt(i); 349 if (agent.userId == userId) { 351 agent.agent [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GpsXtraDownloader.java | 57 String agent = properties.getProperty("XTRA_USER_AGENT"); 58 if (TextUtils.isEmpty(agent)) { 61 mUserAgent = agent;
|
/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 | 228 // Timeout intervals for agent backup & restore operations 284 // The thread performing the sequence of queued backups binds to each app's agent 638 // 2. they run as a system-level uid but do not supply their own backup agent 654 // If it has an agent, it gets full backups only if it says so 658 // No agent or fullBackupOnly="true" means we do indeed perform full-data backups for it 2029 Slog.v(TAG, "Examining " + packageName + " for backup agent"); 2218 // fire off a backup agent, blocking until it attaches or times out 2220 IBackupAgent agent = null; 2226 Slog.d(TAG, "awaiting agent for " + app); 2228 // success; wait for the agent t 2759 invokeAgentForBackup(String packageName, IBackupAgent agent, IBackupTransport transport) argument 2828 failAgent(IBackupAgent agent, String message) argument 3283 preflightFullBackup(PackageInfo pkg, IBackupAgent agent) argument 3304 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest, byte[] widgetData) argument 4258 preflightFullBackup(PackageInfo pkg, IBackupAgent agent) argument 4694 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument 5875 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 200 void setTrustAgentConfiguration(in ComponentName admin, in ComponentName agent, 203 in ComponentName agent, int userId);
|
H A D | DevicePolicyManager.java | 2077 * Ignore trust agent state on secure keyguard screens 2902 * Only the device initializer agent can call this. 3254 * @param target Component name of the agent to be enabled. 3255 * @param configuration TrustAgent-specific feature bundle. If null for any admin, agent 3274 * Gets configuration for the given trust agent based on aggregating all calls to 3283 * for this {@param agent} or calls it with a null configuration, null is returned. 3284 * @param agent Which component to get enabled features for. 3285 * @return configuration for the given trust agent. 3288 @NonNull ComponentName agent) { 3289 return getTrustAgentConfiguration(admin, agent, UserHandl 3287 getTrustAgentConfiguration(@ullable ComponentName admin, @NonNull ComponentName agent) argument 3293 getTrustAgentConfiguration(@ullable ComponentName admin, @NonNull ComponentName agent, int userHandle) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 2770 Slog.d(TAG, "Asked to create backup agent for nonexistent package"); 2775 // full backup operation but no app-supplied agent? use the default implementation 2783 BackupAgent agent = mBackupAgents.get(packageName); 2784 if (agent != null) { 2787 Slog.v(TAG, "Reusing existing agent instance"); 2789 binder = agent.onBind(); 2792 if (DEBUG_BACKUP) Slog.v(TAG, "Initializing agent class " + classname); 2795 agent = (BackupAgent) cl.loadClass(classname).newInstance(); 2797 // set up the agent's context 2799 context.setOuterContext(agent); [all...] |
H A D | IActivityManager.java | 188 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 1596 IBinder agent = data.readStrongBinder(); 1597 backupAgentCreated(packageName, agent); 3858 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException { argument 3863 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 | 411 private static final String TAG_MANAGE_TRUST_AGENT_FEATURES = "manage-trust-agent-features"; 412 private static final String TAG_TRUST_AGENT_COMPONENT_OPTIONS = "trust-agent-component-options"; 4856 public void setTrustAgentConfiguration(ComponentName admin, ComponentName agent, argument 4862 Preconditions.checkNotNull(agent, "agent is null"); 4864 enforceNotManagedProfile(userHandle, "set trust agent configuration"); 4868 ap.trustAgentInfos.put(agent.flattenToString(), new TrustAgentInfo(args)); 4876 ComponentName agent, int userHandle) { 4880 Preconditions.checkNotNull(agent, "agent nul 4875 getTrustAgentConfiguration(ComponentName admin, ComponentName agent, int userHandle) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 2894 String8 agent = AaptXml::getAttribute(tree, local 2897 if (agent.length() > 0) { 2898 addProguardKeepRule(keep, agent, pkg.string(),
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 6156 // Check whether the next backup agent is in this process... 6159 "New app is backup target, launching agent for " + app); 6166 Slog.wtf(TAG, "Exception thrown creating backup agent in " + app, e); 15962 // Cause the target app to be launched if necessary and its backup agent 15963 // instantiated. The backup agent will invoke backupAgentCreated() on the 15978 // Backup agent is now in use, its package can't be stopped. 15996 Slog.e(TAG, "Unable to start backup agent process " + r); 16007 // If the process is already attached, schedule the creation of the backup agent now. 16023 // know that it's scheduled for a backup-agent operation. 16040 // A backup agent ha 16041 backupAgentCreated(String agentPackageName, IBinder agent) argument [all...] |