/frameworks/native/libs/binder/include/binder/ |
D | PersistableBundle.h | 47 size_t erase(const String16& key); 54 void putBoolean(const String16& key, bool value); 55 void putInt(const String16& key, int32_t value); 56 void putLong(const String16& key, int64_t value); 57 void putDouble(const String16& key, double value); 58 void putString(const String16& key, const String16& value); 59 void putBooleanVector(const String16& key, const std::vector<bool>& value); 60 void putIntVector(const String16& key, const std::vector<int32_t>& value); 61 void putLongVector(const String16& key, const std::vector<int64_t>& value); 62 void putDoubleVector(const String16& key, const std::vector<double>& value); [all …]
|
D | IServiceManager.h | 54 virtual sp<IBinder> getService( const String16& name) const = 0; 59 virtual sp<IBinder> checkService( const String16& name) const = 0; 65 virtual status_t addService(const String16& name, const sp<IBinder>& service, 73 virtual Vector<String16> listServices(int dumpsysFlags = DUMP_FLAG_PRIORITY_ALL) = 0; 86 status_t getService(const String16& name, sp<INTERFACE>* outService) in getService() 96 bool checkCallingPermission(const String16& permission); 97 bool checkCallingPermission(const String16& permission, 99 bool checkPermission(const String16& permission, pid_t pid, uid_t uid);
|
D | PermissionCache.h | 45 String16 name; 55 SortedVector< String16 > mPermissionNamesPool; 63 const String16& permission, uid_t uid) const; 65 void cache(const String16& permission, uid_t uid, bool granted); 70 static bool checkCallingPermission(const String16& permission); 72 static bool checkCallingPermission(const String16& permission, 75 static bool checkPermission(const String16& permission,
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.h | 39 const String16& resourceName, 46 const String16& resourceName, 54 const String16& resourceName, 84 String16 resourceName; 115 ResourceTable(Bundle* bundle, const String16& assetsPackage, PackageType type); 117 const String16& getAssetsPackage() const { in getAssetsPackage() 136 const String16& package, 137 const String16& type, 138 const String16& name, 142 const String16& package, [all …]
|
D | pseudolocalize.h | 10 virtual String16 start() { return String16(); } in start() 11 virtual String16 end() { return String16(); } in end() 12 virtual String16 text(const String16& text) = 0; 13 virtual String16 placeholder(const String16& text) = 0; 19 String16 text(const String16& text) { return text; } in text() 20 String16 placeholder(const String16& text) { return text; } in placeholder() 27 String16 text(const String16& text); 28 String16 placeholder(const String16& text); 34 String16 start(); 35 String16 end(); [all …]
|
D | XMLNode.h | 22 String16 getNamespaceResourcePackage(String16 namespaceUri, bool* outIsPublic = NULL); 27 const String16& endTag, 28 String16* outString, 45 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { in newNamespace() 50 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { in newElement() 67 const String16& getNamespacePrefix() const; 68 const String16& getNamespaceUri() const; 70 const String16& getElementNamespace() const; 71 const String16& getElementName() const; 89 String16 ns; [all …]
|
D | pseudolocalize.cpp | 6 static const String16 k_expansion_string = String16("one two three " 11 static const String16 k_rlm = String16("\xe2\x80\x8f"); 12 static const String16 k_rlo = String16("\xE2\x80\xae"); 13 static const String16 k_pdf = String16("\xE2\x80\xac"); 16 static const String16 k_placeholder_open = String16("\xc2\xbb"); 17 static const String16 k_placeholder_close = String16("\xc2\xab"); 40 String16 Pseudolocalizer::text(const String16& text) { in text() 41 String16 out; in text() 72 String16 chunk = String16(text, size, lastpos); in text() 182 static String16 pseudo_generate_expansion(const unsigned int length) { in pseudo_generate_expansion() [all …]
|
D | ResourceIdCache.cpp | 18 static const android::String16 TRUE16("1"); 19 static const android::String16 FALSE16("0"); 23 android::String16 hashedName; 27 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } in CacheEntry() 38 static uint32_t hash(const android::String16& hashableString) { in hash() 47 static inline String16 makeHashableName(const android::String16& package, in makeHashableName() 48 const android::String16& type, in makeHashableName() 49 const android::String16& name, in makeHashableName() 51 String16 hashable = String16(name); in makeHashableName() 58 uint32_t ResourceIdCache::lookup(const android::String16& package, in lookup() [all …]
|
D | ResourceTable.cpp | 41 const String16& resourceName, in compileXmlFile() 56 const String16& resourceName, in compileXmlFile() 72 const String16& resourceName, in compileXmlFile() 256 static String16 mayOrMust(int type, int flags) in mayOrMust() 259 return String16("<p>Must"); in mayOrMust() 262 return String16("<p>May"); in mayOrMust() 265 static void appendTypeInfo(ResourceTable* outTable, const String16& pkg, in appendTypeInfo() 266 const String16& typeName, const String16& ident, int type, in appendTypeInfo() 272 String16 fullMsg(mayOrMust(type, flags->value)); in appendTypeInfo() 273 fullMsg.append(String16(" be ")); in appendTypeInfo() [all …]
|
D | Symbol.h | 31 …inline Symbol(const android::String16& p, const android::String16& t, const android::String16& n, … 35 android::String16 package; 36 android::String16 type; 37 android::String16 name; 62 Symbol::Symbol(const android::String16& p, const android::String16& t, const android::String16& n, … in Symbol()
|
D | ResourceIdCache.h | 15 static uint32_t lookup(const String16& package, 16 const String16& type, 17 const String16& name, 20 static uint32_t store(const String16& package, 21 const String16& type, 22 const String16& name,
|
/frameworks/base/libs/storage/include/storage/ |
D | IMountService.h | 42 virtual int32_t mountVolume(const String16& mountPoint) = 0; 44 const String16& mountPoint, const bool force, const bool removeEncryption) = 0; 45 virtual int32_t formatVolume(const String16& mountPoint) = 0; 47 getStorageUsers(const String16& mountPoint, int32_t** users) = 0; 48 virtual int32_t getVolumeState(const String16& mountPoint) = 0; 49 virtual int32_t createSecureContainer(const String16& id, 50 const int32_t sizeMb, const String16& fstype, const String16& key, 52 virtual int32_t finalizeSecureContainer(const String16& id) = 0; 53 virtual int32_t destroySecureContainer(const String16& id) = 0; 54 virtual int32_t mountSecureContainer(const String16& id, [all …]
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 75 vector<String16> apps; in TEST() 76 vector<String16> versionStrings; in TEST() 77 vector<String16> installers; in TEST() 81 versionStrings.push_back(String16("v1")); in TEST() 82 versionStrings.push_back(String16("v1")); in TEST() 83 installers.push_back(String16("")); in TEST() 84 installers.push_back(String16("")); in TEST() 85 apps.push_back(String16(kApp1.c_str())); in TEST() 86 apps.push_back(String16(kApp2.c_str())); in TEST() 107 vector<String16> apps; in TEST() [all …]
|
D | LogEntryMatcher_test.cpp | 151 {android::String16("v1"), android::String16("v1"), android::String16("v2"), in TEST() 152 android::String16("v1"), android::String16("v2")}, in TEST() 153 {android::String16("pkg0"), android::String16("pkg1"), android::String16("pkg1"), in TEST() 154 android::String16("Pkg2"), android::String16("PkG3")} /* package name list */, in TEST() 155 {android::String16(""), android::String16(""), android::String16(""), in TEST() 156 android::String16(""), android::String16("")}); in TEST() 304 {android::String16("v1"), android::String16("v1"), android::String16("v2"), in TEST() 305 android::String16("v1"), android::String16("v2")}, in TEST() 306 {android::String16("pkg0"), android::String16("pkg1"), android::String16("pkg1"), in TEST() 307 android::String16("Pkg2"), android::String16("PkG3")} /* package name list */, in TEST() [all …]
|
/frameworks/native/services/utils/tests/ |
D | PriorityDumper_test.cpp | 35 MOCK_METHOD3(dumpCritical, status_t(int, const Vector<String16>&, bool)); 36 MOCK_METHOD3(dumpHigh, status_t(int, const Vector<String16>&, bool)); 37 MOCK_METHOD3(dumpNormal, status_t(int, const Vector<String16>&, bool)); 38 MOCK_METHOD3(dumpAll, status_t(int, const Vector<String16>&, bool)); 43 MOCK_METHOD3(dumpCritical, status_t(int, const Vector<String16>&, bool)); 44 MOCK_METHOD3(dumpHigh, status_t(int, const Vector<String16>&, bool)); 45 MOCK_METHOD3(dumpNormal, status_t(int, const Vector<String16>&, bool)); 56 static void addAll(Vector<String16>& av, const std::vector<std::string>& v) { in addAll() 58 av.add(String16(element.c_str())); in addAll() 63 Vector<String16> args; in TEST_F() [all …]
|
/frameworks/native/libs/binder/ |
D | PersistableBundle.cpp | 49 bool getValue(const android::String16& key, T* out, const map<android::String16, T>& map) { in getValue() argument 57 set<android::String16> getKeys(const map<android::String16, T>& map) { in getKeys() argument 58 if (map.empty()) return set<android::String16>(); in getKeys() 59 set<android::String16> keys; in getKeys() 153 size_t PersistableBundle::erase(const String16& key) { in erase() 167 void PersistableBundle::putBoolean(const String16& key, bool value) { in putBoolean() 172 void PersistableBundle::putInt(const String16& key, int32_t value) { in putInt() 177 void PersistableBundle::putLong(const String16& key, int64_t value) { in putLong() 182 void PersistableBundle::putDouble(const String16& key, double value) { in putDouble() 187 void PersistableBundle::putString(const String16& key, const String16& value) { in putString() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 40 service.addConfiguration(kConfigKey, configAsVec, String16(kAndroid.c_str())); in SendConfig() 138 service.mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 139 String16("")); in TEST() 153 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 154 {String16("")}); in TEST() 158 service.mUidMap->updateApp(start + 2, String16(kApp1.c_str()), 1, 2, String16("v2"), in TEST() 159 String16("")); in TEST() 178 service.mUidMap->updateMap(start, {1}, {1}, {String16("v1")}, {String16(kApp1.c_str())}, in TEST() 179 {String16("")}); in TEST() 183 service.mUidMap->removeApp(start + 2, String16(kApp1.c_str()), 1); in TEST() [all …]
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 52 static int sort_func(const String16* lhs, const String16* rhs) in sort_func() 76 static bool IsSkipped(const Vector<String16>& skipped, const String16& service) { in IsSkipped() 85 static bool ConvertPriorityTypeToBitmask(const String16& type, int& bitmask) { in ConvertPriorityTypeToBitmask() 101 String16 ConvertBitmaskToPriorityType(int bitmask) { in ConvertBitmaskToPriorityType() 103 return String16(PriorityDumper::PRIORITY_ARG_CRITICAL); in ConvertBitmaskToPriorityType() 106 return String16(PriorityDumper::PRIORITY_ARG_HIGH); in ConvertBitmaskToPriorityType() 109 return String16(PriorityDumper::PRIORITY_ARG_NORMAL); in ConvertBitmaskToPriorityType() 111 return String16(""); in ConvertBitmaskToPriorityType() 115 Vector<String16> services; in main() 116 Vector<String16> args; in main() [all …]
|
D | dumpsys.h | 42 Vector<String16> listServices(int priorityFlags, bool supportsProto) const; 52 static void setServiceArgs(Vector<String16>& args, bool asProto, int priorityFlags); 64 status_t startDumpThread(const String16& serviceName, const Vector<String16>& args); 72 void writeDumpHeader(int fd, const String16& serviceName, int priorityFlags) const; 90 status_t writeDump(int fd, const String16& serviceName, std::chrono::milliseconds timeout, 100 void writeDumpFooter(int fd, const String16& serviceName,
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 37 static const String16 sAndroidPermissionRecordAudio("android.permission.RECORD_AUDIO"); 38 static const String16 sModifyPhoneState("android.permission.MODIFY_PHONE_STATE"); 39 static const String16 sModifyAudioRouting("android.permission.MODIFY_AUDIO_ROUTING"); 41 static String16 resolveCallingPackage(PermissionController& permissionController, in resolveCallingPackage() 42 const String16& opPackageName, uid_t uid) { in resolveCallingPackage() 53 Vector<String16> packages; in resolveCallingPackage() 62 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal() 78 String16 resolvedOpPackageName = resolveCallingPackage( in checkRecordingInternal() 102 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() 106 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() [all …]
|
/frameworks/base/cmds/idmap/ |
D | scan.cpp | 81 String16 tmp(path); in flatten_path() 86 bool check_property(String16 property, String16 value) { in check_property() 102 String16 target; in parse_overlay_tag() 104 String16 propName = String16(); in parse_overlay_tag() 105 String16 propValue = String16(); in parse_overlay_tag() 108 String16 key(parser.getAttributeName(i, &len)); in parse_overlay_tag() 109 if (key == String16("targetPackage")) { in parse_overlay_tag() 112 target = String16(p, len); in parse_overlay_tag() 114 } else if (key == String16("priority")) { in parse_overlay_tag() 122 } else if (key == String16("isStatic")) { in parse_overlay_tag() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 24 using android::String16; 27 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos())); in TEST() 38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 47 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos())); in TEST() 58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 59 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 60 configs->addEntry(sw600dpV13Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.h | 128 virtual Status getIncidentReportList(const String16& pkg, const String16& cls, 129 vector<String16>* result); 131 virtual Status getIncidentReport(const String16& pkg, const String16& cls, 132 const String16& id, IncidentManager::IncidentReport* result); 134 virtual Status deleteIncidentReports(const String16& pkg, const String16& cls, 135 const String16& id); 137 virtual Status deleteAllIncidentReports(const String16& pkg); 143 virtual status_t dump(int fd, const Vector<String16>& args);
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 143 int32_t mountVolume(const String16& mountPoint) in mountVolume() 160 int32_t unmountVolume(const String16& mountPoint, const bool force, const bool removeEncryption) in unmountVolume() 179 int32_t formatVolume(const String16& mountPoint) in formatVolume() 196 int32_t getStorageUsers(const String16& mountPoint, int32_t** users) in getStorageUsers() 225 int32_t getVolumeState(const String16& mountPoint) in getVolumeState() 242 int32_t createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, in createSecureContainer() 243 const String16& key, const int32_t ownerUid) in createSecureContainer() 264 int32_t finalizeSecureContainer(const String16& id) in finalizeSecureContainer() 281 int32_t destroySecureContainer(const String16& id) in destroySecureContainer() 298 int32_t mountSecureContainer(const String16& id, const String16& key, const int32_t ownerUid) in mountSecureContainer() [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.h | 66 virtual status_t dump(int fd, const Vector<String16>& args); 77 virtual Status informOnePackage(const String16& app, int32_t uid, int64_t version, 78 const String16& version_string, const String16& installer); 79 virtual Status informOnePackageRemoved(const String16& app, int32_t uid); 101 const String16& packageName, 108 virtual Status getMetadata(const String16& packageName, 118 const String16& packageName) override; 125 const String16& packageName) override; 131 const String16& packageName) override; 137 const String16& packageName, [all …]
|